*{background:transparent;margin:0;outline:none;border:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}
ol,ul{list-style:none}
blockquote,q{quotes:none}
table{border-collapse:collapse;border-spacing:0}
input,select{vertical-align:middle;padding:2px}
article,aside,figure,figure img,hgroup,footer,header,nav,section{display:block}
body {
    font: 17px / 1.5 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    color: #2b2b2b;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    background-color: #000;
    transition: background-color 0.3s ease, color 0.3s ease;
}
img{max-width:100%}
.clr{clear:both}
.clearfix:after{content:"";display:table;clear:both}
a{color:#2a2a2a;text-decoration:none}
a:hover,a:focus{color:#c30;text-decoration:underline}
.full-text p {margin: 0 5px 10px;}
.gradient-logo{position:absolute;top:15px;left:189px;font-family:fantasy;letter-spacing:0.2px;transform:translateX(-50%);font-size:32px;background:linear-gradient(89deg,#07818d,#e0790d,#188a6d,#2bc0e4,#d34350);background-size:400%;-webkit-background-clip:text;-webkit-text-fill-color:transparent;animation:gradient-shift 20s infinite linear;text-align:center}
.gradient-logo::before{content:attr(data-shadow);position:absolute;top:0;left:0;z-index:-1;color:black;text-shadow:1px 2px 2px rgba(0,0,0,0.2);-webkit-text-stroke:0;transform:translate(1px,0px)}
.gradient-logo-pod{font-family:sans-serif;position:absolute;top:57px;left:188px;transform:translateX(-50%);font-size:16px;font-weight:bold;background:linear-gradient(89deg,#0f12ab,#9087bc,#c24711,#6d105f,#e024da);-webkit-background-clip:text;-webkit-text-fill-color:transparent;animation:gradient-shift 3s infinite linear;text-align:center;line-height:1;letter-spacing:-0.8px}
.gradient-logo-pod::before{content:attr(data-shadow);position:absolute;top:0;left:0;z-index:-1;text-shadow:1px 2px 2px rgba(0,0,0,0.2);transform:translate(1px,0)}
@keyframes gradient-shift{0%{background-position:0 50%}
 50%{background-position:100% 50%}
 100%{background-position:0 50%}
}
.text-container{position:absolute;bottom:5px;width:100%;text-align:center;color:#fff;font-size:12px}
.text-line{line-height:1.1}
h1{font-weight:300;font-size:16px;font:caption}
h2 {
    font-weight: 500;
    font-family: arial, verdana, sans-serif;
    background: #ffdaa9;
    font-size: 20px;
    text-shadow: 0 .04em 0 #e5a724;
    text-align: center;
    border-radius: 4px;
    margin: 0 0 2px;
    box-shadow: #763d0057 0 1px;
    padding: 10px;
    color: rgba(195, 38, 38, 0.86);
}
h3{font-weight:600;font-size:22px;margin-bottom:10px;text-align:center;margin-top:10px;padding:5px 0;color:rgb(249,102,38);font-family:Tahoma,Geneva,sans-serif}
h4{font-weight:600;font-size:18px}
h5{font-weight:600;margin:5px;font-size:16px;color:red}
.content h1{font-weight:600;font-size:24px;text-align:center;color:#424242;}
.content p{color:#424242;text-indent:20px;}
.infobox{font-weight:600;font-size:15px;border:1px solid #ff2828;margin-left:35px;padding-top:5px;padding-bottom:5px}
.infobox a{font-weight:600;font-size:15px;color:red}
/* Контейнер в шапке */
.header {
    display: flex;
    align-items: center;
}

/* Смещаем переключатель вправо к аватарке */
.theme-switcher {
    margin-left: auto;
    margin-right: 15px;
    display: flex;
}

/* Базовые стили кнопки (Светлая тема по умолчанию) */
button#themeToggle.theme-toggle {
width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    outline: none;
    margin: 20px;
    border-radius: 5px;
    background: #eca410;
    order: 1;
}

/* Стиль при наведении */
button#themeToggle.theme-toggle:hover {
    cursor: pointer;
    background: #ec6810;
}

/* Специфичные стили для ТЕМНОЙ темы (когда есть класс .dark-active) */
button#themeToggle.theme-toggle.dark-active {
    background: rgba(255, 255, 255, 0.15) !important; /* Светлая подложка */
    color: #fff !important; /* Белые иконки */
}

button#themeToggle.theme-toggle.dark-active:hover {
    background: rgba(255, 255, 255, 0.25) !important;
}

/* Иконки и анимация смены */
.theme-icon {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
}

/* В светлой теме скрываем солнце, показываем луну */
.theme-toggle .sun {
    opacity: 0;
    transform: translateY(20px) rotate(45deg);
}
.theme-toggle .moon {
    opacity: 1;
    transform: translateY(0) rotate(0);
}

/* В темной теме (dark-active) показываем солнце, скрываем луну */
.theme-toggle.dark-active .sun {
    opacity: 1;
    transform: translateY(0) rotate(0);
}
.theme-toggle.dark-active .moon {
    opacity: 0;
    transform: translateY(-20px) rotate(-45deg);
}
a.button2 {
    color: #7d4c00;
    width: 100%;
    height: 50px;
    font-size: 16px;
    font-weight: 700;
    line-height: 50px;
    text-align: center;
    background:#f5ae00;
    display: block;
    text-transform: uppercase;
}
a.button2:hover{background: #e51d1dbd;text-decoration: none;color: #fff;}
.fullstory-inform{display:block;margin: 8px 0 0;border-bottom:1px dashed #b8b8b8;border-top:1px dashed #b8b8b8;padding:5px 0;color:#888;overflow:hidden}
.fullstory-inform > small{margin:0 10px 0 0;float:left;height:15px;line-height:15px}
.fullstory-inform i{margin-right:2px}
.fullstory-inform .fullstory-inform-edit{float:right;margin:0}
.fullstory-inform .fullstory-inform-edit i{font-size:16px}
.form-wrap{margin:0;background-color:#fff;padding-top:20px;border:ridge}
.tox-tinymce{margin:8px 0 8px 0}
.sub-title h1{margin-bottom:15px;font-size:24px}
.pomog{font-weight:700;font-size:18px;color:red;text-align:center;margin-bottom:10px}
.button,.up-second li a,.up-edit a,.qq-upload-button,html input[type="button"],input[type="reset"],input[type="submit"]{padding:0 20px;color:#fff;display:inline-block;background-color:#c30;height:50px;line-height:50px;border-radius:9px;cursor:pointer}
button:not(.color-btn){color:#fff;display:inline-block;background-color:#c30;height:50px;cursor:pointer}
button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}
button[disabled],input[disabled]{cursor:default}
.ui-dialog-titlebar button:not(.color-btn) {float:right;}
.button:hover,.up-second li a:hover,.up-edit a:hover,.qq-upload-button:hover,button:not(.color-btn):hover,html input[type="button"]:hover,input[type="reset"]:hover,input[type="submit"]:hover{background-color:#b73003;color:#fff}
button:active,html input[type="button"]:active,input[type="reset"]:active,input[type="submit"]:active{box-shadow:inset 0 1px 4px 0 rgba(0,0,0,0.1)}
input[type="submit"].bbcodes,input[type="button"].bbcodes,input.bbcodes,.ui-button{font-size:12px!important;height:30px!important;line-height:30px!important;padding:0 15px;border-radius:3px;margin-top:2px;}
input[type="text"],input[type="password"]{display:block;width:100%;height:40px;line-height:40px;padding:0 15px;color:#000;border:1px solid #ee774f8c;background-color:hsla(33,99%,96%,1);border-radius:3px;-webkit-appearance:none;box-shadow:none!important}
input[type="email"]{display:block;float:right;width:100%;height:40px;line-height:40px;padding:0 15px;color:#000;border:1px solid #ee774f8c;background-color:hsla(33,99%,96%,1);border-radius:3px;-webkit-appearance:none;box-shadow:none!important}
input[type="text"]:focus{box-shadow:none!important}
input:focus::-webkit-input-placeholder{color:transparent}
input:focus::-moz-placeholder{color:transparent}
input:focus:-moz-placeholder{color:transparent}
input:focus:-ms-input-placeholder{color:transparent}
.box{padding:10px 12px}
.combo_field{float:left;width:calc(50% - 2px);margin-bottom:5px}
.combo_fielde{float:right;width:calc(50% - 2px);margin-bottom:5px}
.btn.btn-big{display:block;width:100%;max-width:170px;margin:10px auto 0;font-size:14px;font-weight:500;color:#fff;background-color:#ff5722;border:none;border-radius:5px;cursor:pointer;transition:background-color 0.3s ease,transform 0.2s ease}
.btn.btn-big[type="submit"]:hover{background-color:#e64a19}
.btn.btn-big:active{transform:scale(0.98)}
select{white-space:nowrap;line-height:1em;position:relative;outline:none;cursor:pointer;border:rgba(0,0,0,.2) 1px solid;border-bottom:rgba(0,0,0,.4) 1px solid;box-shadow:0 1px 2px rgba(0,0,0,.2);background:-webkit-gradient(linear,center bottom,center top,from(rgba(0,0,0,.1)),to(rgba(255,255,255,.1)))}
textarea{display:block;width:100%;padding:10px;border:1px solid #e3e3e3;background-color:#FFF;border-radius:0 0 6px 6px;box-shadow:inset 0 0 4px 0 rgba(0,0,0,0.1);overflow:auto;vertical-align:top;resize:vertical}
.img-box img{width:275px;height:100%}
.square-img img{display:block;width:150%;max-width:150%;margin-left:-25%}
.nowrap{white-space:normal;overflow:hidden;text-overflow:ellipsis}
button,.show-login{transition:all .3s}
.flex-row{display:flex;flex-flow:row wrap;padding:0;font-size:15px;justify-content:space-between}
.flex-col{display:flex;flex-direction:column;justify-content:center}
.ic-l span.fa{margin-right:10px}
.ic-r span.fa{margin-left:10px}
.ps-link{cursor:pointer}
.spisanime{padding:20px;margin-top:15px;margin-bottom:20px;background-color:#FFF;box-shadow:0 0 3px rgba(0,0,0,0.1)}
.spisanime a{color:#15a6c3}
.spisanime ol{list-style:decimal-leading-zero;padding-left:23px}
.zagalov{text-decoration:underline;margin-bottom:8px;font-weight:600;font-size:15px;color:#277ee0}
.player-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
    border-radius: 8px;
    overflow: hidden;

    transition:
        transform 0.45s cubic-bezier(.22,1,.36,1),
        box-shadow 0.45s ease;
    will-change: transform;
}

/* Наведение */
.player-container:hover {
    transform: scale(1.010);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

.player-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.wrap{height:auto;width:100%;min-width:320px;position:relative;padding-top:200px;background:url(../images/bg1_ai.webp) center top fixed no-repeat;background-size:100% auto}
.center{width:100%;min-width:320px;max-width:1400px;margin:0 auto;position:relative;z-index:200}
.main{border-radius: 10px 10px 0 0;background-image:url(../images/body_bg.png);box-shadow:0 0 10px 0 rgba(0,0,0,0.3)}
.header{border-radius: 10px 10px 0 0;position:relative;height:100px;padding:20px 80px 20px 320px;background:#fff right top no-repeat}
.cols{padding: 20px 20px 20px 0;}
/* Основной контейнер колонок */
.cols.clearfix {
    display: flex;
    flex-direction: row-reverse; 
    justify-content: flex-end; 
    gap: 20px; /* Отступ между сайдбаром и контентом */
    align-items: flex-start;
    float: none !important;
    width: 100%;
}

/* Сайдбар (теперь он слева) */
.sidebar {
    width: 324px;
    flex-shrink: 0;
    float: none !important;
    margin: 0 !important;
    background: #fdf6e9;
    border: 1px solid #eedcc4;
    border-radius: 5px;
    padding: 0 10px;
}

/* Контент (теперь он справа) */
.content {
    flex-grow: 1;
    min-width: 0;
}
.sidebar_rek {display: block; text-align: center; margin-top: 10px;margin-bottom: 20px;}
.sidebar_rek img {
    display: block;
    margin: 0 auto;
    width: 90%;
    height: auto;
    transition: transform 0.8s ease;
    box-shadow: #000 0 0 2px;
    background: #fff;
    overflow: hidden;
    border-radius: 4px;
}
.sidebar_rek img:hover {
    transform: scale(1.05);
}
.footer{background-color:#222;color:#FFF;padding:20px;position:relative;border:10px solid #C30;border-top:0;border-bottom:0}
.brand-link{display:block;position:absolute;left:0;top:0;right:0;bottom:0;z-index:40}
.logotype{height:100px;width:99px;filter:drop-shadow(0px 0px 1px coral);display:block;position:absolute;left:0;top:0;background:url(../images/logo.webp) left center no-repeat;background-size:contain;text-indent:150%;white-space:nowrap;overflow:hidden}
.show-login{overflow:hidden;cursor:pointer;width:80px;height:80px;line-height:75px;text-align:center;border-radius:50%;position:absolute;right:10px;top:10px;background-color:#c30;color:#FFF;font-size:18px;box-shadow: #000 0 0 4px;}
.show-login:hover{transform:rotate(360deg)}
.search-inner{width:100%;min-width:341px;position:relative}
.search-inner input,.search-inner input:focus{width:100%;height:60px;line-height:60px;padding:0 60px 0 20px;font-size:18px;font-weight:300}
.search-box button{position:absolute;right:0;top:0;border-radius:0;font-size:18px;padding:0;text-align:center;width:60px;height:60px;line-height:60px;color:#000!important;background:transparent!important}
.share-box{position:absolute;top:12px;right:0}
.share-box a{width:27px;height:32px;margin:0 5px 0 0;display:inline-block;border-radius:4px}
.share-box a:hover{opacity:.7}
.otst{margin:5px}
.full-soc .share-box{position:initial;padding-top:5px}
.mobilewseditor{background-color:#FFF}
.main-title {margin-bottom: 20px;margin-top: 20px;text-align: center;background-color: rgba(255, 241, 222, 0.4);}
.main-title h1,.main-title h2,.main-title h3{float:left;font-size:24px;font-weight:300;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:60%}
/* Контейнер сортера */
.sorter {
    display: flex;
    flex-direction: row; /* Выстраиваем в линию */
    flex-wrap: wrap;    /* Разрешаем перенос на новую строку, если места мало */
    align-items: center; 
    justify-content: flex-start; /* Прижимаем к левому краю */
    padding: 10px;
    background: #fdf6e9; /* Светлый фон как на скрине */
    border: 1px solid #eedcc4;
    border-radius: 5px;
}

/* Надпись "Сортировать по" */
.sorter::before {
    content: attr(data-label);
    font-size: 14px;
    font-weight: bold;
    color: #555;
    white-space: nowrap; /* Не даем надписи разрываться */
}

/* Форма и список внутри */
.sorter form, .sorter ul {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Каждый пункт сортировки */
.sorter li {
    position: relative;
    padding: 5px 12px;
    font-size: 14px;
    white-space: nowrap; /* Текст внутри кнопок не переносится */
}

/* Разделительные линии */
.sorter li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background-color: #e0c5a0;
}

/* Адаптация для мобильных (экраны меньше 760px) */
@media (max-width: 760px) {
    /* Контейнер сортера делаем вертикальным */
    .sorter {
        display: flex;
        flex-direction: column; 
        align-items: flex-start; /* Все прижимаем влево */
        padding: 12px;
        gap: 8px; /* Расстояние между заголовком и списком */
    }

    /* Надпись "Сортировать по:" */
    .sorter::before {
        display: block;
        margin-bottom: 5px;
        font-weight: bold;
        font-size: 14px;
        color: #555;
    }

    /* Список ссылок превращаем в гибкую сетку */
    .sorter ul.sort {
        display: flex;
        flex-wrap: wrap; /* Разрешаем перенос строк */
        width: 100%;
        gap: 0; /* Убираем gap, так как используем границы */
    }

    .sorter li {
        padding: 5px 8px;
        margin: 5px 0; /* Добавляем отступы сверху/снизу для многострочности */
        font-size: 13px;
        line-height: 1.2;
    }

    /* Убираем линии у тех элементов, которые оказались в конце строки (опционально) 
       или просто оставляем как есть для простоты */
    .sorter li:last-child {
        border-right: none;
    }
}
.asc a,.desc a{color:#d0542d}
.sort li.asc a:after,.sort li.desc a:after{content:"\f063";font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;margin-left:10px}
.sort li.desc a:after{content:"\f062"}
.grid-select{display:inline-block;float:right;line-height:30px}
.grid-select > span{display:block;height:30px;width:30px;text-align:center;float:left;margin-left:5px;font-size:18px;cursor:pointer}
.grid-select > span:hover,.grid-select > span.current{color:#fff;background-color:#d9c2a3}
[align] + .main-title{margin-top:10px}
.bottom-panel{display:block;position:fixed;bottom:0;background:#fff;width:100%;left:0;padding:10px;border-top:1px solid #e5e5e5}
.w100{width:100%}
.floaters{margin:20px -20px}
.mov{float:left;width:21%;margin:0 2% 40px}
.mov-t{display:inline-block;font-size:16px;font-weight:300}
.mov-c{font-size:12px;color:#888}
.mov-m{top:10px;right:0;display:inline-block;background-color:#c30;color:#fff;padding:0 5px;line-height:29px;font-size:12px;position:absolute}
.mov-m:before{position:absolute;right:100%;top:0;content:"";height:1px;border:14px solid #c30;border-left-color:transparent;border-right-width:5px}
.mov-mask{position:absolute;left:0;top:0;width:100%;height:100%;text-align:center;padding:20px;background-color:rgba(0,0,0,0.5);color:#FFF;font-size:36px;opacity:0}
.mov:hover .mov-mask{opacity:1}
.mov-mask span.fa{width:80px;height:80px;border-radius:50%;text-align:center;line-height:80px;box-shadow:inset 0 0 0 2px #fff;margin:0 auto;padding-left:3px}
.rate-f{height:40px;background-color:#222}
.rate3 span[id*="vote-num"],.rate3 span[id*="ratig-layer"]{display:none}
.pluss,.minuss{cursor:pointer;padding:0 10px;line-height:40px;width:50%;float:left;color:#71ce3f;text-align:center}
.minuss{color:#cf3e3e}
.rate-f span.fa{font-size:18px;margin-right:10px}
.pluss:hover{color:#FFF;background-color:#028c19}
.minuss:hover{background-color:#c1050a;color:#fff}
.retro-rating {
    background: #1a1f2e;
    padding: 5px 13px;
    font-family: 'Courier New', monospace;
    position: relative;
    box-shadow: 3px 3px 3px #4b3a22b3, inset 0 0 0 2px #c48d45;
    width: 200px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #fef3c7, #fffbeb);
    border: 2px solid #d97706;
}

.retro-rating::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23d97706' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.retro-display {
    margin-bottom: 5px;
}

.pixel-score {
    color: #757575;
    font-size: 1.2em;
    text-shadow: 0 0 3px #f48742;
    letter-spacing: 1px;
}

.pixel-number {
    color: #ff6b9d;
    font-weight: bold;
    font-size: 1.4em;
}

.pixel-bar {
    height: 18px;
    background: #fff9e1;
    border: 1px solid #cc904a;
    margin: 0 0 5px 0;
    position: relative;
    overflow: hidden;
}

.pixel-fill {
    height: 100%;
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform 1.1s cubic-bezier(.22,1,.36,1);
    will-change: transform;
}

/* Цвета без изменений */
.pixel-fill[data-color="good"] {
    background: linear-gradient(90deg, #00ff9d, #7dffb3);
}
.pixel-fill[data-color="mid"] {
    background: linear-gradient(90deg, #ffd166, #ff9d66);
}
.pixel-fill[data-color="bad"] {
    background: linear-gradient(90deg, #ff6b6b, #ff2d2d);
}

.pixel-label {
    color: #94a3b8;
    font-size: 0.9em;
    letter-spacing: 1px;
    text-align: right;
}

.retro-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 5px;
    border-top: 2px solid #4a5568;
}

.pixel-votes {
    color: #64748b;
    font-size: 0.9em;
}

.pixel-votes span {
    color: #d38d12;
    font-weight: bold;
    font-size: 17px;
}

.pixel-rank {
    font-size: 1.4em;
    font-weight: bold;
}

.pixel-rank[data-rank="SSS"] {
    color: #00ff9d;
    text-shadow: 0 0 12px #00ff9d;
}

.pixel-rank[data-rank="A"] {
    color: #ffd166;
    text-shadow: 0 0 10px #ffd166;
}

.pixel-rank[data-rank="B"] {
    color: #ff9d66;
    text-shadow: 0 0 8px #ff9d66;
}

.pixel-rank[data-rank="F"] {
    color: #ff4d6d;
    text-shadow: 0 0 6px #ff4d6d;
}

.mov-r{position:absolute;left:0;bottom:0;width:100%;height:40px;background-color:rgba(0,0,0,0.7)}
.mov-r span.fa{font-size:16px;margin-right:10px}
.movie-lines{margin-bottom:30px;padding-left:30px}
.movie-lines li{padding:3px 0 3px 127px;font-size:16px}
.movie-lines li:after{content:"";display:table;clear:both}
/* Для первых двух li */
.movie-lines li:nth-child(-n+2) {
    border-bottom: 2px dashed #e0c5a0;
    max-width: calc(100% - 110px); /* 220px = 200px (блок) + 20px (отступ) */
    margin-right: 20px; /* дополнительный отступ */
}

/* Для остальных li (с 3-го и далее) */
.movie-lines li:nth-child(n+3) {
    border-bottom: 2px dashed #e0c5a0;
    max-width: calc(100% - 0px);
    margin-right: 20px;
}
@media (max-width: 768px) {.movie-lines li:nth-child(-n+2),.movie-lines li:nth-child(n+3) {max-width: 100% !important; margin-right: 0 !important;}
.movie-lines {padding-left: 0;}
}
.ml-label{margin-left:-125px;float:left;display:inline-block;color:#888}
.ml-desc{width:100%;float:right;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:3}
.ml-deschiden{width:100%;float:right;overflow:hidden;-webkit-line-clamp: 3;-webkit-box-orient: vertical;display: -webkit-box;}
.movie-lines a{color:#c30}
.movie-desc{float:left;position:relative;margin-left:20px;}
.movie-text{display:none}
.socpost{color:#1577b3;text-decoration:overline;padding-left:5px}
.grid-list {margin: 20px 0 !important;padding: 10px;background: #fdf6e9;border: 1px solid #eedcc4;border-radius: 5px;}
/* Основной контейнер новости */
.grid-list .mov {
    position: relative;
    display: flex; /* Включаем флекс */
    align-items: flex-start; /* Выравнивание по верхнему краю */
    margin: 15px 0;
    width: 100%;
    gap: 20px; /* Удобный отступ между картинкой и текстом без margin */
}

/* Блок с картинкой */
.grid-list .mov-i {
    flex-shrink: 0; /* Запрещаем картинке сжиматься */
    width: 250px; 
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    border-radius: 5px;
}

.mov-i {
    position: relative;   /* якорь для иконок */
    overflow: hidden;     /* чтобы не вылезали */
}

/* Сама картинка */
.mov-i.img-box img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px 4px 0 0;
}

/* Правая часть с текстом */
.grid-list .movie-text {
    flex-grow: 1; /* Текст занимает всё оставшееся место */
    display: flex;
    flex-direction: column; /* Элементы внутри текста идут сверху вниз */
    position: relative;
}

/* Заголовок и другие блоки */
.grid-list .mov-t {
    width: 100%;
    padding-top: 5px;
    font-size: 1.2em;
}

/* Блок с категориями или доп. инфо */
.grid-list .mov-c {
    margin-top: 10px;
    position: static; /* Уходим от абсолютного позиционирования, чтобы текст не налезал друг на друга */
}

/* Скрываем ненужное как и раньше */
.grid-list .mov-mask,
.grid-thumb .button2,
.grid-thumb .mov-t {
    display: none;
}
.mbold{width:100%;color:red;font-weight:600;float:right}
.mbold2{width:100%;color:red;font-weight:600;float:right;padding-left:30px}
.rate_box {
    float: right;
    position: absolute;
    margin: 10px;
    right: 20px;
    z-index: 10;
}

.rate_view {
    background: #be1e2a; /* Ваш фирменный красный */
    background: linear-gradient(145deg, #be1e2a, #a01822); /* Легкий градиент для объема */
    border-radius: 10px;
    color: #fff;
    padding: 8px 12px;
    text-align: center;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; /* Более современные шрифты */
    box-shadow: 0 2px 3px rgba(0,0,0,0.5); /* Тень для эффекта "над карточкой" */
    min-width: 80px;
}

.rate_title {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.rate_num {
    font-size: 24px;
    line-height: 1;
}

.rate_num b {
    font-weight: bold;
}

.rate_num span {
    font-size: 19px;
    opacity: 0.9;
    margin-left: 1px;
    font-weight: 700;
}
.pomogite{font-weight:600;font-family:arial,verdana,sans-serif;font-size:23px;text-shadow:0 1px 0 #e5a724;text-align:center;color:rgba(195,38,38,0.86);text-decoration:underline}
.whiteleft{font-family:monospace;font-style:italic}
.pomogite2{font-weight:600;font-family:arial,verdana,sans-serif;font-size:16px;text-decoration:underline;margin:0 0 20px}
.pomogite2 a{color:#f54120}
.spiskoshel{padding-top:5px;font-weight:600;color:#0aa290}
.otstup{padding:10px 0 15px}
.colrr{color:#dc143c;text-decoration:overline}
.side-t{font-size:22px;font-weight:300;line-height:40px}
.side-b{margin-bottom:20px}
.nav ul li{width:48%;display:inline-block}
.nav2 ul li{width:16%;display:inline-block;margin-right:1px;padding:4px 0}
.nav a{display:block;padding:3px 0}
.nav a:hover{text-decoration:underline}
.decor{position:relative}
.mov-side{display:inline-block;margin-bottom:20px;vertical-align:top}
.mov-side-box {
	box-shadow: #000 0 0 2px;
	background: #fff;
	overflow: hidden;
	display: block;
	border-radius: 4px;
}
.mov-side-img img {
	display: block;
	width: 100%;
	height: auto;
}
.mov-side-title {
padding: 10px 5px;
font-size: 15px;
line-height: 18px;
text-align: center;
color: #000;
overflow: hidden;
background: #f392186b;
}
.mov-side:hover .mov-side-title{text-decoration:underline}
.imagemy{width:250px!important}
.site-desc{padding:10px;margin-bottom:10px;background: #fdf6e9;border: 1px solid #eedcc4;border-radius: 5px;}
.site-desc h1,.site-desc h2,.site-desc h3{text-transform:uppercase;font-weight:600;color:#ef6d2d;font-size:16px;text-align:center;padding-bottom:5px;margin-bottom:5px;border-bottom:1px solid #f1b192}
.site-desc h1 span,.site-desc h2 span,.site-desc h3 span{color:#c30}
.site-desc p{margin-bottom:8px;color:#64450f;text-indent: 20px;}
.site-desc a{color:#c30;text-decoration:underline}
.bot-menu{padding-right:250px}
.bot-menu li{display:inline-block;margin:0 20px 20px 0}
.bot-menu a{display:block;color:#fff}
.bot-text{padding-right:120px;min-height:30px}
.bot-text,.bot-text a{color:#e3e3e3;font-size:12px}
.bot-text a,.bot-menu a:hover{text-decoration:underline}
.footer .share-box{right:-12px;top:17px}
.count{width:89px;height:109px;right:20px;top:3px;position:absolute}
.full-wrap{padding-top:10px;background: #fdf6e9;border: 1px solid #eedcc4;border-radius: 5px;padding: 10px;}
.full{position:relative;padding:20px;background-color: #fafafa;box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);}
.full-title{margin-bottom:20px}
.full-title h1{text-align:left;font-size:26px;font-weight:bold;margin-bottom:5px}
.rates{margin-bottom:15px}
.rates > div{display:inline-block;margin-right:20px;line-height:30px}
.rates > div:before{content:attr(data-label);display:inline-block;padding:0 10px;margin-right:10px}
.r-kp:before{box-shadow:inset 0 0 0 1px #f60}
.r-imdb:before{box-shadow:inset 0 0 0 1px #fc0}
.slice{position:relative;overflow:hidden}
.slice:before{content:'';position:absolute;z-index:1;bottom:0;left:0;right:0;height:120px;pointer-events:none;background:-moz-linear-gradient(top,rgba(242,242,242,0) 0,#f2f2f2 100%);background:-webkit-linear-gradient(top,rgba(242,242,242,0) 0,#f2f2f2 100%);background:linear-gradient(to bottom,rgba(242,242,242,0) 0,#f2f2f2 100%)}
.slice-btn{position:absolute;z-index:2;bottom:0;left:0;right:0;text-align:left}
.slice-btn span{display:inline-block;padding:0 10px;line-height:30px;cursor:pointer;box-shadow:inset 0 0 0 1px #c30;text-transform:uppercase}
.tabsbox{position:relative;box-shadow:0 0 0 1px rgb(0 0 0 / 10%);line-height:1em;background:#fff;padding:5px;z-index:999}
.tabs-sel{margin-bottom:5px}
.tabs-sel span.current{background-color:#c30;color:#fff}
.belniz{margin-bottom:-33px}
.tabs-sel span,.mov-compl a{display:inline-block;cursor:pointer;padding:0 15px;line-height:40px;background-color:#ffd1ab;box-shadow:2px 2px 2px 0 rgba(0,0,0,0.1)}
.tabs-sel span.current{background-color:#c30;color:#fff}
.js .tabs-b{display:none}
.js .tabs-b.visible{display:block}
.tabsbox .video-box{background-color:#fff;box-shadow:0 0 0 1px rgba(0,0,0,0.1);padding:6px;}
.mov-compl{position:absolute;right:24px;margin-top:-39px}
.sharevid{margin-top:-67px;position:absolute;right:-88px}
.sub-text{margin-bottom:20px}
.sub-text span{font-size:70px;color:#888;float:left;margin:-7px 20px 0 0}
.rel-title{font-size:24px;font-weight:300;margin-bottom:20px}
.tcarusel{height:370px;overflow:hidden;position:relative;border-bottom:2px solid #ffa20f}
.tcarusel .tcarusel-scroll{position:relative;width:100000px}
.tcarusel-item{width:200px;margin:0 40px 0 0}
.tcarusel-next,.tcarusel-prev{display:inline-block;font-size:18px;position:absolute;top:10px;right:0;cursor:pointer}
.tcarusel-prev{right:40px}
.tcarusel-next:hover,.tcarusel-prev:hover{color:#c30}
/* Стили для замены устаревших элементов */
.skrin {
    margin: 20px 0;
    padding: 15px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
    background: #fdf6e9;
    border: 1px solid #eedcc4;
    border-radius: 5px;
}

.skrin-title {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2em;
    color: #424242;
}

/* Сетка скриншотов */
.screenshots-grid {
    display: grid;
    /* Фиксируем 4 колонки, чтобы они всегда были в одну линию */
    grid-template-columns: repeat(4, 1fr); 
    gap: 10px;
    width: 100%;
}

.screenshots-grid a {
    display: block;
    overflow: hidden;
    border-radius: 4px;
    background: #fdf6e9; /* Фон, если картинка долго грузится */
    box-shadow: 0 1px 2px 0px rgba(0, 0, 0, 0.5);
}

.screenshots-grid img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;   /* Заполняем пространство без деформации */
    transition: transform 0.3s ease;
}

.screenshots-grid a:hover img {
    transform: scale(1.05);
}

/* Адаптивность */
@media (max-width: 1024px) {
    .screenshots-grid {
        gap: 10px; /* Уменьшаем зазоры на средних экранах */
    }
}

@media (max-width: 768px) {
    .screenshots-grid {
        /* Переходим на 2 скриншота в ряд */
        grid-template-columns: repeat(2, 1fr); 
    }
    /* Если скрывали лишние, на мобильных можно показать 4-й (чтобы было 2 ряда по 2) */
    /* .screenshots-grid a:nth-child(4) { display: block; } */
}

@media (max-width: 480px) {
    .screenshots-grid {
        gap: 5px; /* Совсем маленькие отступы для телефонов */
    }
}

.shortcut-key {
    display: inline-block;
    padding: 2px 6px;
    background: #ffd1ab;
    border: 1px solid #8c3939;
    border-radius: 3px;
    font-family: monospace;
}

.warning-text {
    padding: 10px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    color: #856404;
}

.warning-icon {
    margin-right: 8px;
}

.warning-text strong {
    color: #dc3545;
}

/* Контейнер табов */
.tabsbox .tabs-sel {
    position: relative;
    display: inline-flex;
    background: #fdf6e9; 
    border-radius: 12px;
    padding: 4px; /* Внутренний отступ для бегунка */
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
    height: auto; /* Сбрасываем фиксированную высоту из общего CSS */
}

/* Сброс и оформление самих кнопок-вкладок */
.tabsbox .tab-btn {
    all: unset; /* Сброс всех стилей */
    position: relative;
    padding: 16px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #64748b !important; /* Цвет неактивного текста */
    z-index: 2;
    transition: color 0.3s ease;
    text-align: center;
    line-height: 1.2;
    display: inline-block; /* Для корректного позиционирования */
}

/* Активный текст (белый) */
.tabsbox .tab-btn[aria-selected="true"] {
    color: #ffffff !important;
}

/* Бегунок (подложка) */
.tabsbox .tabs-sel::before {
    content: "";
    position: absolute;
    left: var(--x, 4px);
    width: var(--w, 0);
    top: 4px;
    bottom: 4px;
    background: #18abb8; /* Ваш основной бирюзовый цвет */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(24, 171, 184, 0.3);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

/* Убираем эффекты наведения от глобальных кнопок */
.tabsbox .tab-btn:hover {
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

@media (max-width: 768px) {
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.preduprezdenie{border:1px solid #ee774f;margin:10px 0;padding:10px;font-size:15px;font-weight:600;text-align:center}
.video-box embed,.video-box object,.video-box video,.video-box iframe,.video-box frame{width:100%;max-width:100%!important;border:none;outline:none;overflow:hidden;z-index:99999999999}
.mejs-container{max-width:100%!important}
.full-text{padding-top: 10px;box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);background: #fdf6e9;border: 1px solid #eedcc4;border-radius: 5px;}
.full-text img:not(.emoji){max-width:100%;border:5px solid #e3e3e3}
.full-text > img[style*="left"],.full-text > .highslide img[style*="left"]{margin:0 10px 10px 0}
.full-text > img[style*="right"],.full-text > .highslide img[style*="right"]{margin:0 0 10px 10px}
.full-text a{text-decoration:underline;color:#06c}
.full-text a:hover{text-decoration:none}
.full-text h2,.full-text h3,.full-text h4,.full-text h5{margin:20px 0;font-size:18px}
.full-text p{margin-bottom:15px}
.full-text ul,.full-text ol{margin:0}
.full-text ul li{list-style:disc;margin-left:40px}
.full-text ol li{list-style:decimal;margin-left:40px}
.full-text table{width:100%;text-align:left}
.full-text table tr td{padding:10px;border:1px solid #ccc;font-size:12px}
.full-text table tr:nth-child(2n+1){background-color:#f6f6f6}
.full-text table img{display:block;margin:0;border:0;max-width:350px}
.attach{line-height:30px;background-color:#f5f5f5;padding:0 15px 0 0;border-radius:4px;overflow:hidden}
.attach .download-link{color:#FFF!important;text-decoration:none!important;margin-right:15px;float:left;display:inline-block;padding:0 15px;background:#0297dc}
.attach-info{float:right}
.attach i{margin-right:5px}
.dcont{border:1px solid #e3e3e3;padding:0 15px 15px;margin:20px 0;line-height:20px;background-color:#FFF}
.polltitle{display:block;padding:5px 15px;margin:0 -15px 15px;font-size:18px;background-color:#f5f5f5;line-height:normal}
.full-taglist{margin:15px 0;font-size:17px;gap:6px;}
.full-taglist-t{margin-bottom:5px;font-weight:600}
.full-taglist a {
    margin: 0 0 3px;
    padding: 4px 9px;
    border-radius: 3px;
    border: 1px solid #222;
    justify-content: space-between;
    text-decoration: none;
    background: #f8cf4178;
}
.full-taglist a:hover {
    background: #c30;
    color: #fff !important;
    border-color: #ff4500;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
    transform: translateY(-1px);
}
/* Адаптация для мобильных устройств (< 768px) */
@media screen and (max-width: 768px) {
    .full-taglist a {
        padding: 3px 7px; /* Уменьшаем отступы */
        font-size: 12px; /* Уменьшаем размер шрифта */
        margin: 0 0 2px; /* Уменьшаем отступ снизу */
        border-radius: 2px; /* Немного уменьшаем скругление */
    }
    
    /* Для очень маленьких экранов (< 480px) */
    @media screen and (max-width: 480px) {
        .full-taglist a {
            padding: 2px 5px;
            font-size: 11px;
            margin: 0 0 1px;
        }
    }
    
    /* Делаем теги более адаптивными на мобильных */
    .full-taglist {
        display: flex;
        flex-wrap: wrap;
        gap: 4px; /* Используем gap вместо margin для лучшего контроля */
    }
    
    .full-taglist a {
        flex: 0 0 auto; /* Не даем тегам растягиваться */
        max-width: 100%; /* Защита от переполнения */
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}
.fullstory a{color:#3397f9}
.add-commbtn + form #add-comm-form{display:none;margin:20px 0}
.add-comm-form{margin-top:20px;background-color:#fff;box-shadow:2px 2px 2px 0 rgba(0,0,0,0.1);padding:20px 20px 10px 140px;position:relative}
.ac-av{width:80px;height:80px;border-radius:50%;position:absolute;top:20px;left:30px;background:#CCC url(../dleimages/noavatar.webp) no-repeat;background-size:contain}
.ac-title{font-weight:700;margin-bottom:10px;font-size:16px}
.ac-inputs input{width:49%;float:left}
.ac-inputs input:last-child{float:right}
.ac-inputs,.ac-textarea{margin-bottom:15px}
.ac-textarea textarea{height:200px}
.ac-submit{position:absolute;top:120px;left:0;width:140px;text-align:center}
.sec-answer + .sec-label{margin-top:10px}
.add-com-but + form #addcform{display:none;margin:20px 0}
.ac-protect{margin-top:-10px}
.ac-protect .label{font-size:12px}
.add-comm-form .login-social{position:absolute;right:17px;top:10px}
.mass_comments_action{text-align:right;padding:5px 15px;margin:20px 0}
.last-comm-link{font-size:16px;margin-bottom:10px}
.last-comm-link a{color:#06c}
.comments-items{margin:20px 0}
.comm-item{margin-bottom:20px}
.comm-one{position:relative;height:40px}
.comm-one > div{height:100%;float:left;margin-right:20px;line-height:20px}
.comm-one:before{content:"";width:8px;height:8px;position:absolute;left:-2px;bottom:0;background-color:#ccc;border-radius:50%}
.status-online:before{background-color:#3C0}
.comm-av{width:40px;border-radius:50%}
.comm-author,.comm-author a{color:#c30}
.comm-author a:hover{text-decoration:underline}
.comm-date,.comm-num{font-size:12px;color:#888}
.comm-one > div.comm-ratebox{float:right;margin-right:0}
.comm-two{background-color:#ffeed3;padding:10px;border-radius:10px;margin:10px 0}
.signature{font:italic 11px Georgia,"Times New Roman",Times,serif;margin-top:10px;padding-top:10px;border-top:1px dashed #e3e3e3}
.comm-three ul{text-align:right;text-transform:uppercase}
.comm-three ul li{margin-left:5px;display:inline-block}
.comm-three li:first-child,.comm-three li.comm-q{float:left;margin-left:0;margin-right:10px}
.comm-three ul li a{font-size:10px}
.comm-three ul li span.fa{margin-right:10px;color:#888}
.comm-three a:hover{text-decoration:underline}
.comm-rate{background-color:#f5f5f5;background:linear-gradient(to bottom,#f9f9f9 0,#f5f5f5 100%);border-radius:4px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,0.2);height:24px;line-height:24px;position:relative;padding:0 30px;text-align:center}
.comm-rate a{display:block;color:#fff;background-color:#7db625;width:24px;height:24px;position:absolute;top:0;left:0;line-height:24px;font-size:12px}
.comm-rate a:nth-child(2){background-color:#cd3560;left:auto;right:0}
.comm-rate a:hover{opacity:.7}
.comm-rate > span > span.ratingzero{color:#444}
.comm-rate > span > span.ratingtypeplus{color:#06b601}
.comm-rate > span > span.ratingplus{color:#95c613}
.comm-rate > span > span.ratingminus{color:#ff0e0e}
.lcomm .comm-av{margin-right:10px}
.lcomm .comm-author,.lcomm .comm-group{width:150px;font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.lcomm .comm-two{background-color:transparent;padding:0;font-size:12px;margin-bottom:0}
.login-box{overflow:hidden !important;padding:20px;background-color:#fff;display:none}
.login-input{margin-bottom:20px}
.login-button button{display:block;text-align:center;font-size:18px;width:100%;height:40px;line-height:40px}
.login-checkbox{font-size:12px;margin:10px 0;color:#888}
.login-checkbox input{display:none}
.login-checkbox input + label:before{width:10px;height:10px;margin-right:5px;cursor:pointer;position:relative;top:2px;border-radius:3px;border:1px solid #ccc;content:"";background-color:#f6f6f6;display:inline-block}
.login-checkbox input:checked + label:before{background-color:#c9282d}
.login-links{text-align:center;line-height:30px}
.login-links a{float:left;text-decoration:underline}
.login-links a:last-child{float:right}
.login-links a:hover{text-decoration:none}
.login-social{text-align:center}
.login-social:before{content:attr(data-label);display:inline-block;vertical-align:top;line-height:30px;margin-right:10px}
.login-social a{display:inline-block;margin:0 3px 10px}
.login-social img{display:block;width:30px}
.login-social a:hover img{transform:scale(1.1)}
.login-avatar{text-align:center}
.avatar-box{display:inline-block;width:80px;height:80px;border-radius:0;overflow:hidden}
.avatar-box img{width:100%;min-height:100%}
.avatar-box + a{display:block;margin-top:5px;text-decoration:underline}
.login-menu{margin-top:13px;padding-left:0;padding-right:0}
.login-menu a{display:block;height:30px;padding:0 20px;line-height:30px;background-color:#f2f2f2;margin-bottom:5px;border-radius:3px}
.login-menu a:hover{color:#fff;background-color:#c30}
#gotop{position:fixed;width:40px;height:40px;right:10px;bottom:10px;cursor:pointer;z-index:9998;display:none;opacity:.8;background-color:#000;color:#fff;font-size:18px;text-align:center;line-height:40px;border-radius:4px}
.show-menu{display:none}
.rekotstup{margin-bottom:10px}
.otstup_verh{margin-top:10px}
.otstup_all{margin:10px 0 10px 0}
@media screen and (max-width:736px){.poverh{display:none}
}
@media screen and (max-width:1320px){.wrap{height:auto;width:100%;position:relative;padding-top:200px;background:url(../images/bg1_ai.webp) center top fixed no-repeat;background-size:100% auto}
}
@media screen and (max-width:1439px){.bottom-panel{display:none}
}
@media screen and (min-width:1440px){.wrap{padding-bottom:279px}
.imgniz{background:url(../images/bg2_1.webp) center bottom fixed no-repeat;background-size:100% auto;height:auto;width:100%;position:relative}
}
@media screen and (max-width:1220px){.show-menu{display:block;width:40px;height:40px;line-height:40px;text-align:center;cursor:pointer;font-size:30px;position:absolute;top:30px;left:240px}
.logotype{width:220px;}
.cols.clearfix{gap:0;}
.cols{padding:20px 0;overflow:hidden;}
.gradient-logo{top:22px;left:159px;font-size:24px;}
.gradient-logo-pod{top:49px;left:158px;font-size:13px;}
.content{padding:0 20px;}
/* Контейнер теперь не должен менять размеры при появлении сайдбара */
    .viss .cols {
        display: block !important; /* Уходим от flex, чтобы контент не сжимался */
        position: relative;
    }

    .sidebar {
        display: none;
    }

    /* Сайдбар выплывает ПОВЕРХ контента */
    .viss .sidebar {
        display: block !important;
        position: absolute; /* Ключевое изменение: вырываем из потока */
        top: 0;
        left: 0;
        width: 320px !important;
        min-height: 500px;
        z-index: 9999; /* Максимальный приоритет, чтобы быть над всем */
        
        background-color: #fff7e9; /* Плотный фон, чтобы контент не просвечивал */
        box-shadow: 5px 0 10px rgba(0,0,0,0.3);
        padding: 10px;
        margin: 100px 0 !important;
        border-right: 1px solid #eedcc4;
    }

    /* Контент остается на месте и не дергается */
    .viss .content {
        width: 100% !important;
        padding: 0 20px;
        opacity: 0.5; /* Опционально: приглушаем контент, пока открыто меню */
        pointer-events: none; /* Запрещаем клики по контенту, пока открыто меню */
    }
.tcarusel{height:380px}
.tcarusel-item{width:175px;margin:0 20px 0 0}
}
@media screen and (max-width:965px){.full-soc .share-box{display:none}
.socpost{display:none}
.movie-desc{position:relative;}
.grid-list .movie-text{display:block}
}
@media screen and (max-width:950px){.wrap{height:auto;width:100%;position:relative;padding-top:100px;background:url(../images/bg1_ai.webp) center top fixed no-repeat;background-size:100% auto}
.full-soc,.count{display:none}
.header{padding:20px 100px 20px 300px}
.floaters{margin:20px -10px}
.bot-menu,.bot-text{padding-right:0}
.tcarusel{height:360px}
.tcarusel-item{width:165px;margin:0 20px 0 0}
.pagi-nav{white-space:nowrap;overflow-y:hidden;overflow-x:auto}
.main-title h1,.main-title h2,.main-title h3{max-width:50%}
}
@media screen and (max-width:768px){
.search-inner {min-width:149px}
.rate_box{display:none}
.grid-list .mov {flex-direction: column; /* Картинка и текст друг под другом */}
.grid-list .mov-i {width: 100%;}
a.button2{position:relative;margin:0 auto;left:0;top:0}
.grid-list .movie-text{float:none;padding-top:20px}
.grid-list .mov-t,.grid-list .mov-c{left:0}
.tabs-sel span,.mov-compl a{padding:0 10px;line-height:40px;}
.tcarusel{height:330px}
.tcarusel-item{width:140px;margin:0 10px 0 0}
.comm-one > div{margin-right:10px}
.comm-three li.comm-q{display:inline-block}
.add-comm-form .login-social{position:static;text-align:left}
.ac-inputs input{width:100%;float:none!important;margin-top:10px}
.ac-protect{width:100%;float:none;margin:-10px 0 0}
.ac-submit button{float:none;display:block;text-align:center;width:100%}
.ui-dialog{width:100%!important}
.upop-left,.upop-right{float:none!important;width:100%!important;margin:0;padding:0 20px}
.upop-left{margin-bottom:10px;text-align:center}
.ui-dialog-buttonset button{margin:0 0 5px}
#dofullsearch,#searchsuggestions span.seperator{display:none!important}
.attach .download-link{margin:0 -15px 0 0;float:none;display:block;padding:0 10px}
.attach-info{float:none}
.clearfix:after{display:none}
.mov-m{font-size:12px}
.share-box{display:none}
.movie-desc {float: none;margin-left:0;}
.mov {float: none;}
.site-desc,.mov-compl{display:none}
.main-title h1,.main-title h2,.main-title h3{font-size:18px;max-width:60%}
.full-title h1,.rel-title{font-size:18px}
.full-title h4,.rel-title{font-size:18px;text-transform:uppercase}
.tcarusel{height:360px}
.tcarusel-item{width:165px;margin:0 20px 0 0}
.tcarusel-next,.tcarusel-prev{top:-2px}
.sub-text{font-size:12px}
.add-comm-form{padding:20px 10px;overflow:hidden}
.ac-av{display:none}
.ac-submit{position:static;width:100%}
.ac-submit button{width:100%}
.comments-tree-list .comments-tree-list{padding-left:0!important}
.mass_comments_action{display:none}
.sub-title h1{font-size:18px;line-height:24px}
}
.imgcentr{text-align:center}
@media screen and (max-width:599px){
.header {padding: 110px 20px 0px;height: 180px;}
.show-menu {left: auto !important;right: 110px;}
.full-soc{text-align:center}
}
@media screen and (max-width:470px){.logotype{width:180px}
.show-menu{left:190px}
.search-inner input,.search-inner input:focus{height:40px;line-height:40px;padding:0 50px 0 20px;font-size:14px;margin: 5px 0 10px 0;}
.search-box button{width:40px;height:40px;line-height:40px}
.mov-r{display:none}
.rel-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:75%;text-transform:uppercase}
.tcarusel{height:330px}
.tcarusel-item{width:135px;margin:0 10px 0 0}
.comm-one > div:nth-child(2){max-width:140px;overflow:hidden}
.comm-one > div:nth-child(3){display:none}
.ac-protect{margin:-10px -10px 0}
.login-social:before{display:block;line-height:30px;margin-right:0}
.clearfix:after{display:none}
.main-title{margin-bottom:auto;padding:inherit;line-height:normal;background-color:transparent;outline:none}
.mov-m{font-size:10px}
}
.playr{background-color:#fff;box-shadow:3px 3px 3px 0 rgba(0,0,0,0.1);padding:6px;padding-bottom:5px;padding-top:5px}
.poverh{position:absolute;margin-top:-400px}
.alert-blockk{background-color:#fdfcf6;padding:10px;display:none}
.alert-blockk .center{max-width:1200px;margin:0 auto;display:flex;flex-flow:row wrap;justify-content:space-between;align-items:center}
.alert-text{width:63%;margin:30px}
.alert-blockk ul{display:inline-block;white-space:nowrap}
.alert-blockk ul li{display:inline-block;margin:0 5px}
.alert-blockk ul a{display:block;white-space:normal;padding:10px 15px;background-color:#f0542e;color:#FFF;border-radius:3px;width:182px;text-align:center}
.alert-blockk ul a:hover{background-color:#f7884b;color:#FFF}
.alert-close{font-size:34px;display:inline-block;cursor:pointer;color:#ccc}
@media screen and (max-width:405px){
.show-menu {left: 80px !important;right: auto !important;top:68px;}
}
@media screen and (max-width:760px){.alert-text,.alert-blockk ul,.alert-close{width:100%;text-align:center;padding:5px 0}
}
.title_h3{width:100%;position:relative;margin-top:5px;margin-bottom:5px;margin-right:15px;color:#ffa20f;display:inline-block;padding:0 15px;box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);background: #fdf6e9;border: 1px solid #eedcc4;border-radius: 5px;}
.titlesecond{font-size:18px;color:#424242;font-family:'Trebuchet MS',Arial,Helvetica,sans-serif;font-weight:400}
.rate_like > a,.rate_like-dislike{float:left;line-height:22px;padding:0 8px;border:1px solid #eaeaea;border-radius:18px;text-decoration:none!important;font-weight:700;color:#919191;-webkit-transition:all ease .2s;transition:all ease .2s}
.rate_like > a:hover{border-color:#3394e6;color:#3394e6}
.rate_like .icon{width:16px;height:15px;margin:-.2em .3em 0 0}
.rate_like-dislike > a{display:inline-block;width:22px;height:22px;text-align:center}
.rate_like-dislike > a .icon{width:14px;height:15px;fill:#787878;vertical-align:middle;margin:-.3em 0 0}
.rate_like-dislike > a:hover .icon{fill:#3394e6}
.rate_like-dislike .ratingplus{color:#88c54d}
.rate_like-dislike .ratingminus{color:#e45757}
.rate_like-dislike > span{cursor:default;margin:0 .3em}
.comme-ratee{background-color:#f5f5f5;background:linear-gradient(to bottom,#f9f9f9 0,#f5f5f5 100%);border-radius:4px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,0.2);line-height:24px;position:relative;padding:0 30px;text-align:center}
.comme-ratee a{display:block;color:#fff;background-color:#7db625;width:24px;height:24px;position:absolute;top:0;left:0;line-height:24px;font-size:12px}
.comme-ratee a:nth-child(2){background-color:#cd3560;left:auto;right:0}
.comme-ratee a:hover{opacity:.7}
.comme-ratee > span > span.ratingzero{color:#444}
.comme-ratee > span > span.ratingtypeplus{color:#06b601}
.comme-ratee > span > span.ratingplus{color:#95c613}
.comme-ratee > span > span.ratingminus{color:#ff0e0e}
.movie_video{width:620px !important;text-align:center}
.blokrospis{outline:0 solid #000;width:100%;margin-bottom:15px}
.colrospis{background:#ffebd673;border:1px solid #feb96f;position:relative}
.raspisanie{padding:5px 0;display:block;text-align:center;color:#c85e11;font-size:20px;border-bottom:1px solid #fbc158}
#raspisanieMon a,#raspisanieTue a,#raspisanieThu a,#raspisanieFri a,#raspisanieSat a,#raspisanieSun a,#raspisanieWed a,#raspisanieNet a{display:block;padding:6px;margin-top:2px;background:#ffe2a5;color:#b67a08;position:relative;font-size:12px}
#raspisanieMont a,#raspisanieTuet a,#raspisanieThut a,#raspisanieFrit a,#raspisanieSatt a,#raspisanieSunt a,#raspisanieWedt a,#raspisanieNett a{display:block;padding:6px;margin-top:2px;background:#ffe4b8;color:#b67a08;position:relative;font-size:12px}
.raspistop{color:#4fed6a!important}
#raspisanieMon a:hover,#raspisanieTue a:hover,#raspisanieThu a:hover,#raspisanieFri a:hover,#raspisanieSat a:hover,#raspisanieSun a:hover,#raspisanieWed a:hover,#raspisanieNet a:hover{text-decoration:none;color:#fff;background:#22b612}
#raspisanieMont a:hover,#raspisanieTuet a:hover,#raspisanieThut a:hover,#raspisanieFrit a:hover,#raspisanieSatt a:hover,#raspisanieSunt a:hover,#raspisanieWedt a:hover,#raspisanieNett a:hover{text-decoration:none;color:#fff;background:#22b612}
.sduyfjhcp{padding:0 10px;margin-top:5px;padding-bottom:15px;border:1px solid #ffa20f;background-color:#ffeed36e}
.rolicve{text-align:center;padding:15px 5px 5px;margin-bottom:15px;border:1px solid #ffa20f;background-color:#ffeed36e}
.sjopcnhdf{padding:5px;margin-bottom:15px;border:1px solid #ffa20f;background-color:#ffeed36e}
.sihdfhmmxf{padding:5px;margin-top:5px;border:1px solid #ffa20f;background-color:#ffeed36e;width:252px;margin-left:-5px}
.uidjfhhsp{margin-top:15px;text-align:center}
.sokclqsjddf{margin-top:8px;text-align:center}
.tdfsshj{text-align:center}
.yad{border:1px dotted #fbfbfb;padding:3px}
.ui-dialog{z-index:10001!important}
/* Контейнер для кнопок сайдбара */
.sidebar-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 250px;
    margin: 0 auto;
    padding: 10px 0;
}

/* Базовый стиль для кнопок сайдбара */
.sidebar-btn {
    text-align: center;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    width: 100%;
    text-decoration: none;
    display: block;
}

/* Эффект при наведении */
.sidebar-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.sidebar-btn:active {
    transform: translateY(-1px);
}

/* Эффект свечения */
.sidebar-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.sidebar-btn:hover::after {
    left: 100%;
}

/* Стили ссылок внутри кнопок */
.sidebar-btn a {
    color: inherit;
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}
/* Расписание */
.rasp-btn {
    background: linear-gradient(135deg, #54ffa4 0%, #33cc7a 100%);
    border-color: #27ae60;
    color: #1a5d2c;
}

.rasp-btn:hover {
    background: linear-gradient(135deg, #63ffad 0%, #3dd487 100%);
    border-color: #2ecc71;
}

/* Онгоинги */
.ongoing-btn {
    background: linear-gradient(135deg, #ffcd46 0%, #ffb347 100%);
    border-color: #e67e22;
    color: #7d4c00;
}

.ongoing-btn:hover {
    background: linear-gradient(135deg, #ffd95e 0%, #ffc266 100%);
    border-color: #f39c12;
}

/* Телеграм группа */
.telegram-btn {
    background: linear-gradient(135deg, #54f1ff 0%, #4a90e2 100%);
    border-color: #3498db;
    color: #1a365d;
}

.telegram-btn:hover {
    background: linear-gradient(135deg, #6bf3ff 0%, #5a9ef0 100%);
    border-color: #2980b9;
}

/* Иконки для кнопок */
.sidebar-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.rasp-btn a::before {
    content: "📅";
    font-size: 20px;
}

.ongoing-btn a::before {
    content: "🎬";
    font-size: 20px;
}

.telegram-btn a::before {
    content: "📱";
    font-size: 20px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .sidebar-btn {
        padding: 14px 20px;
        font-size: 16px;
        border-radius: 10px;
    }
    
    .sidebar-buttons {
        gap: 12px;
        max-width: 100%;
    }
}
.modal{z-index:10001!important}
.hljs-comment,.hljs-quote{color:#a0a1a7;font-style:italic}
.hljs-doctag,.hljs-keyword,.hljs-formula{color:#a626a4}
.hljs-section,.hljs-name,.hljs-selector-tag,.hljs-deletion,.hljs-subst{color:#e45649}
.hljs-literal{color:#0184bb}
.hljs-string,.hljs-regexp,.hljs-addition,.hljs-attribute,.hljs-meta-string{color:#50a14f}
.hljs-built_in,.hljs-class .hljs-title{color:#c18401}
.hljs-attr,.hljs-variable,.hljs-template-variable,.hljs-type,.hljs-selector-class,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-number{color:#986801}
.hljs-symbol,.hljs-bullet,.hljs-link,.hljs-meta,.hljs-selector-id,.hljs-title{color:#4078f2}
.hljs-emphasis{font-style:italic}
.hljs-strong{font-weight:700}
.hljs-link{text-decoration:underline}
figure{margin:0}
figure.align-left{float:left}
figure.align-right{float:right}
figure.image.align-center{display:table;margin-left:auto;margin-right:auto}
figure.image figcaption{padding:1rem;background-color:#fafafa;font-size:.8rem;caption-side:bottom;word-break:break-word;text-align:center}
figure.image.align-center figcaption{display:table-caption}
.comments-image-gallery{margin:0;padding:0;list-style:none;clear:both}
.comments-image-gallery li{list-style:none;margin:0;padding:0}
.comments-image-gallery li img{float:left;margin-right:5px;border:5px solid #fff;width:100px;height:100px;transition:box-shadow .5s ease}
.comments-image-gallery li img:hover{box-shadow:0 0 7px rgba(0,0,0,0.4)}
.mce-toc{border:1px solid #dbdada;margin:0 0 .7rem}
.mce-toc h2{margin:4px}
.mce-toc ul{padding-left:20px;list-style:none;margin-top:0;margin-bottom:0;margin-block-start:1em;margin-block-end:1em}
.mce-toc ul ul{padding-left:20px;margin-block-start:0;margin-block-end:0}
.mce-toc li{list-style-type:none}
.image-bordered{border:1px solid #ddd}
.image-shadows{box-shadow:rgb(9 30 66 / 25%) 0 4px 8px -2px,rgb(9 30 66 / 8%) 0 0 0 1px}
.image-padded{padding:0.5rem}
.comments-user-profile{font-weight:bold;cursor:pointer;color:#3394e6}
.title_spoiler svg{vertical-align:middle;margin-top:-4px;margin-right:7px;height:16px;width:16px}
.mce-accordion summary{cursor:pointer}
.self_delete_link{border:0 none;display:inline-block;vertical-align:middle;cursor:pointer;padding:12px 27px;border-radius:10px;outline:none;background-color:#f44336;color:#fff;text-shadow:0 1px #333;text-decoration:none !important;box-shadow:0 1px 2px 0 rgba(0,0,0,0.2);box-sizing:border-box;transition:all ease .1s;transition:all ease .1s}
.DLEPush{z-index:2001;position:fixed;right:20px;top:20px}
@keyframes DLEPush-show{0%{transform:translateY(100%);opacity:0}
100%{transform:translateY(0);opacity:1}
}
.DLEPush-notification.wrapper{animation-name:DLEPush-show;animation-duration:1s;position:relative;display:grid;grid-template-columns:auto 1fr;align-items:center;color:#333;margin-bottom:10px;width:100%;max-width:400px;box-shadow:0 10px 15px rgb(0 0 0 / 20%);background-color:#fff;border-radius:10px}
.DLEPush-notification .DLEPush-icon{grid-column:1;grid-row:1 / span 2;display:flex;align-items:center;justify-content:center;color:#fff;width:45px;height:100%;border-top-left-radius:10px;border-bottom-left-radius:10px;text-align:center}
.DLEPush-notification .DLEPush-icon svg{scale:.8}
.DLEPush-notification .DLEPush-header{font-weight:500;grid-column:2;grid-row:1;font-size:1rem;margin-left:1rem;margin-top:.5rem}
.DLEPush-notification .DLEPush-header:empty{margin-top:0}
.DLEPush-notification .DLEPush-message{grid-column:2;grid-row:2;font-size:.875rem;margin:1rem}
.DLEPush-notification .DLEPush-message li,.DLEPush-notification .DLEPush-message ul{list-style-type:none;padding-left:0}
.DLEPush-notification .DLEPush-close{position:absolute;top:8px;right:10px;font-weight:300;background:none;border:0;font-size:1.15rem;cursor:pointer;line-height:1;padding:0;color:inherit;outline:0;opacity:0.75}
@media only screen and (min-width:601px){.DLEPush-notification.wrapper{min-width:400px}
}
.DLEPush-notification .DLEPush-close:hover{opacity:1}
.DLEPush-notification.wrapper.push-success{background-color:#e0f2f1}
.DLEPush-notification.wrapper.push-success .DLEPush-icon{background-color:#00897b}
.DLEPush-notification.wrapper.push-warning{background-color:#FFF3E0}
.DLEPush-notification.wrapper.push-warning .DLEPush-icon{background-color:#FF9800}
.DLEPush-notification.wrapper.push-error{background-color:#FBE9E7}
.DLEPush-notification.wrapper.push-error .DLEPush-icon{background-color:#FF5722}
input[type="text"].comments_author_field{width:100%;margin-bottom:10px}
.mce-accordion summary{cursor:pointer}
.ui-dialog-buttonset button.ui-button-delete{background-color:#f44336;border-color:#f44336;color:#fff;text-shadow:1px 1px 2px rgba(51,51,51,.5)}
.ui-dialog-buttonset button.ui-button-delete:hover{background-color:#db3a2f;border-color:#db3a2f;color:#fff;text-shadow:1px 1px 2px rgba(51,51,51,.5)}
.form-check-label{cursor:pointer}
.form-check-input{color:#0c5f7eed;flex-shrink:0;width:1.12rem;height:1.12rem;margin:-0.188rem 0.625rem 0 0;appearance:none;background-color:transparent;background-image:none;background-repeat:no-repeat;background-position:center;background-size:contain;border:1px solid #0c5f7eed;vertical-align:middle}
.form-check-input:checked[type=checkbox]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%230c5f7eed' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e")}
.form-check-input:checked[type=radio]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%230c5f7eed'/%3e%3c/svg%3e")}
.form-check-input[type=checkbox]{border-radius:.25rem}
.form-check-input[type=radio]{border-radius:50%}
.pm th{
    text-align: left;
    font-weight: 500;
    white-space: nowrap;
}
.pm th.pm_checkbox {
	text-align: center;
}
.pm_list.pm_subj, .pm_list.pm_icon, .pm_list.pm_last_user {
 cursor: pointer;
}
.pm_list.pm_icon svg {
	width: 1.4rem;
	height: 1.4rem;
	vertical-align: middle;
}

.pm_list.pm_icon.pm-unread-image {
 color: #3394e6;
}
.pm td.pm_list.pm_icon, .userstop td, th.pm_head.pm_icon {
	border-bottom: none;
}
.pm_list.pm_icon.pm-reply-image {
	color: #087e02c4;
}
.pm_list.pm_icon.pm-read-image {
	color: #afafaf;
}

.pm_list .pm_last_message, .pm_list .pm_last_date, .pm_list .pm_with_user {
	color: #64748b;
	font-size: .8rem;
}
.pm tbody > tr:hover {
    background-color: #e2e8f099;
}
.pm_navigation {
	margin-top: 1rem;
}
.pm_navigation .navigation {
	display: inline-block;
	color: #333333;
	background-color: #f5f5f5;
	border-radius: 0.188rem;
	padding: .4rem;
}

.pm_navigation .navigation a, .pm_navigation .navigation span {
    padding: 0.5rem;
    min-width: 2.25rem;
}
.pm_navigation .navigation span {
    background-color: #4581d0;
    color: #fff;
}
.pm_navigation .navigation a {
    text-decoration: none;
    color: #000;
}
.pm_navigation .navigation a:hover {
    background-color: #e2e8f0;
}
/* Контейнер: убираем лишние паддинги, делаем плотную сетку */
#year-list.year-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;           /* Минимальное расстояние между кнопками */
    padding: 5px 0;
    justify-content: space-between;
}

/* Кнопки: компактный размер и стиль под темный шаблон */
#year-list.year-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Расчет на 4 колонки в сайдбаре с учетом gap */
    width: calc(20% - 5px); 
    height: 28px;        /* Уменьшенная высота */
    font-size: 14px;
    font-weight: 600;
    border-radius: 3px;
    border: 1px solid #222;
    transition: all 0.2s ease;
    text-decoration: none !important;
}

/* Состояние при наведении: в цвет вашего логотипа/акцентов */
#year-list.year-grid a:hover {
    background: #c30;    /* Фирменный красный DLE/Animedub */
    color: #fff !important;
    border-color: #ff4500;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
    transform: translateY(-1px);
}

/* Адаптивность для узких экранов */
@media (max-width: 1024px) {
    #year-list.year-grid a {
        width: calc(33.3% - 5px); /* 3 колонки, если сайдбар сжимается */
    }
}

.quote_link {
	float: right;
}
.quote_link svg {
	color: #6c838e;
	vertical-align: middle;
}
.clipboard-copy-link svg {
	color: #6c838e;
	vertical-align: middle;
	margin-top: -3px;
}

/* Контейнер колонок */
.cols-mov {
    padding: 0 0 20px 280px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
}

.col-mov-right {
    width: 100%;
    float: right;
    padding-left: 30px;
    position: relative;
}

/* Контейнер для информации и рейтинга */
.info-container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    margin-bottom: 20px;
}

/* Список информации с новым стилем */
.mov-list {
    flex: 1;
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
    box-shadow: none !important;
    background: transparent !important;
}

.mov-list li {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 2px dashed #e0c5a0;
    transition: background 0.2s;
}

.mov-list li:hover {
    background-color: rgba(255, 241, 222, 0.3);
}

/* Убираем ВСЕ старые маркеры */
.mov-list li:before {
    display: none !important;
}

/* Лейблы */
.mov-list .mov-label {
    width: 140px;
    flex-shrink: 0;
    font-weight: bold;
    font-size: 14px;
    color: #555;
    letter-spacing: 0.5px;
}

/* Значения */
.mov-list .mov-desc {
    flex: 1;
    font-size: 15px;
    color: #333;
    font-family: 'Roboto', 'Open Sans', sans-serif;
    line-height: 1.4;
}

/* Заголовок на всю ширину */
.movshot {
    width: 100%;
    margin-bottom: 15px;
}

.movshot h2 {
    width: 100%;
    border-radius: 5px;
    text-align: center;
    margin: 0 0 15px;
    padding: 8px;
    color: rgba(195, 38, 38, 0.86);
    font-weight: 700;
    background: #FFC579;
    font-size: 15px;
    text-shadow: 0 1px 0 #e5a724;
}

/* Стили для постера (используем уже существующие) */
.mov-img {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin: 0 auto 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 3px 0px rgba(0, 0, 0, 0.5);
}

.mov-img picture,
.mov-img img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: transform 0.4s ease;
}

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

/* ===== АДАПТИВНОСТЬ ===== */

/* Планшеты */
@media (min-width: 769px) and (max-width: 1024px) {
    .info-container {
        gap: 15px;
    }
    
    .mov-list {
        min-width: 250px;
    }
    
    .mov-img {
        max-width: 300px;
    }
}

/* Мобильные устройства */
@media (max-width: 768px) {
    .cols-mov {
        padding: 15px !important;
    }
    
    .col-mov-right {
        padding-left: 0 !important;
    }
    
    .info-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .mov-list li {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 0;
    }
    
    .mov-list .mov-label {
        width: 100%;
        margin-bottom: 4px;
        font-size: 13px;
        color: #777;
    }
    
    .mov-img {
        max-width: 280px;
        margin: 0 auto 15px;
    }
    .full-text p {font-size: 14px;}
}

/* Маленькие мобильные */
@media (max-width: 480px) {
    .movshot h2 {
        font-size: 14px;
        padding: 6px;
    }
    
    .mov-list .mov-label {
        font-size: 12px;
    }
    
    .mov-list .mov-desc {
        font-size: 14px;
    }
    
    .retro-rating {
        width: 100%;
        max-width: 250px;
    }
    
    .cols-mov {
        padding: 10px !important;
    }
    
    .mov-img {
        max-width: 240px;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    }
}

/* Очень маленькие экраны */
@media (max-width: 360px) {
    .mov-img {
        max-width: 200px;
    }
    
    .mov-list li {
        padding: 8px 0;
    }
    
    .movshot h2 {
        font-size: 13px;
        padding: 5px;
    }
}

/* === СТИЛИ ДЛЯ НОВОГО РАСПОЛОЖЕНИЯ РЕЙТИНГА В HEADER === */

/* Контейнер для заголовка и рейтинга */
.title-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.title-left {
    flex: 1;
    min-width: 300px;
}

/* Рейтинг в заголовке */
.header-rating {
    flex-shrink: 0;
    margin: 0;
    transform-origin: top right;
    border-radius: 5px;
}

.header-rating .retro-display {
    margin-bottom: 3px;
}

.header-rating .pixel-score {
    font-size: 1.2em;
}

.header-rating .pixel-number {
    font-size: 1.2em;
}

.header-rating .pixel-bar {
    height: 15px;
}

.header-rating .pixel-label {
    font-size: 0.8em;
}

.header-rating .pixel-votes {
    font-size: 0.8em;
}

.header-rating .pixel-rank {
    font-size: 1.1em;
}

/* Оригинальное название */
.orig-name {
    display: block;
    font-size: 18px;
    color: #666;
    font-style: italic;
    margin-top: 5px;
}

/* Адаптивность для нового расположения */
@media (max-width: 768px) {
    .title-container {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .title-left {
        min-width: 100%;
    }
    
    .header-rating {
        align-self: center;
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .header-rating {
        width: 100%;
        max-width: 250px;
    }
}

/* === СТИЛИ ДЛЯ .full-tools НА КАРТИНКЕ === */

/* Полностью переопределяем стили .full-tools */
.full-tools {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 100;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
    padding: 8px 12px;
    display: flex;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    max-width: 90%; /* Ограничиваем максимальную ширину */
    box-sizing: border-box; /* Учитываем padding в ширине */
}

.full-tools a {
    color: #fff !important;
    font-size: 18px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    display: inline-block;
    flex-shrink: 0; /* Запрещаем сжимание иконок */
}

.full-tools a:hover {
    color: #FFC579 !important;
    transform: scale(1.2);
}

/* Контейнер для картинки теперь relative */
.col-mov-left {
    width: 280px;
    margin-left: -280px;
    float: left;
    position: relative; /* Добавляем для позиционирования .full-tools */
}

/* Адаптивность для .full-tools на картинке */
@media (max-width: 768px) {
    .full-tools {
        top: 5px;
        right: 5px;
        padding: 6px 10px;
        gap: 12px;
        max-width: calc(100% - 10px); /* Не выходит за пределы родителя */
    }
    
    .full-tools a {
        font-size: 16px;
    }
    
    .col-mov-left {
        width: 100% !important;
        margin-left: 0 !important;
        float: none !important;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .full-tools {
        top: 3px;
        right: 3px;
        padding: 5px 8px;
        gap: 10px;
        border-radius: 3px;
    }
    
    .full-tools a {
        font-size: 14px;
    }
}
