@font-face {
      font-family: Pompadur;
      src: url(https://ledibagisupercot.ru/font/FONT.otf)
    }
html{
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
btn{
  font-family: Pompadur, 'site', cursive;
}
    h1, h2 {
      font-family: Pompadur, 'site', cursive;
    }
      .close:hover {background: #e6e6ff;}
body{
  overflow-x: hidden;
  margin: 0;
  -webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
@media screen and (max-width: 320px){
.box{
  max-width: 480px;
}
.player>iframe {
  max-width: 480px;
  height: 270px;
}
}
@media screen and (max-width: 420px){
.box{
  max-width: 490px;
}
.br{
  height: 10px;
}
.Hyina{
  height: 0px;
}
.player>iframe {
  max-width: 490px;
  height: 276px;
}
}
@media screen and (max-width: 480px) /* Mobile */ {
.box{
  max-width: 480px;
}
.Hyina{
  height: 0px;
}
.player>iframe {
  max-width: 490px;
  height: 276px;
}
}
@media screen and (max-width: 768px) /* Mobile */ {
button, img {
  max-width: 90%;
}
.box{
  width: 500px;
}
.Hyina{
  height: 0px;
}
.player>iframe {
  width: 470px;
  height: 265px;
}
}
@media screen and (max-width: 848px) /* Mobile */ {
button, img {
  max-width: 90%;
}
.box{
  width: 500px;
}
.Hyina{
  height: 0px;
}
.player>iframe {
  width: 470px;
  height: 265px;
}
}
@media screen and (min-width: 850px) /* Mobile */ {
.Hyina{
  height: 0px;
    }
button, img {
  max-width: 90%;
}
.player>iframe {
  width: 470px;
  height: 265px;
}
}
@media screen and (max-width: 1200px) /* Mobile */ {
.player>iframe {
  width: 470px;
  height: 265px;
}
}
@media screen and (min-width: 1200px) /* Mobile */ {
.player>iframe {
  border-radius: 15px;
  width: 470px;
  height: 265px;
}
}
@media screen and (min-width: 1900px) /* Mobile */{
.ep_list{
  margin-left: 62px;
}
.player>iframe {
  width: 470px;
  height: 650px;
}
.player>iframe {
  width: 100%;
  height: 265px;
}
}
.player>iframe {
  width: 100%;
  height: 265px;
}
.box{
    width: 100%;
}
}
html, body {
  height: 100%;
  width: 100%;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
.h1, h2,  h3, h4, pre{
  -ms-user-select: none; 
	-moz-user-select: none; 
	-webkit-user-select: none; 
  user-select: none;
}
.text{
    color: black;
    font-family: site;
    user-select: none;
}
h5{
  font-family: franklin gothic medium, cursive;
  font-size: 19px;
  user-select: none;
}
.player>iframe {
  max-width: 500px;
}
/* Стили для метки "Новая серия" */
.new-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff4757;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
}
/* Стили для иконок озвучки */
.dub-icon {
    height: 20px;
    margin-left: 5px;
    vertical-align: middle;
    display: inline-block;
}
/* Стили для дополнительного текста озвучки */
.custom-text {
    font-size: 0.9em;
    color: #666;
    margin-left: 5px;
    font-style: italic;
    display: inline-block;
}
/* Стили для контейнера синопсиса */
.synopsis-box {
    max-width: 800px;
    margin: 20px auto;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
/* Стили для текста синопсиса */
.synopsis-text {
    line-height: 1.6;
    white-space: pre-line;
    font-size: 14px;
    color: #333;
}
/* Позиционирование для контейнера названия серии */
.name_ep {
    position: relative;
    display: inline-block;
    margin-top: 10px;
}
/* Адаптивные стили для мобильных устройств */
@media (max-width: 768px) {
    .new-badge {
        top: -5px;
        right: -5px;
        font-size: 10px;
        padding: 2px 5px;
    }
    .dub-icon {
        height: 16px;
        margin-left: 5px;
    }
    .custom-text {
        font-size: 0.8em;
    }
    .synopsis-box {
        margin: 10px;
        padding: 10px;
    }
}
/* Стили для админ-панели (если нужно) */
.admin-badge {
    background-color: #6a11cb;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    margin-left: 5px;
    vertical-align: middle;
}
/* Стили админ-панели */
.tab {
    padding: 10px 15px;
    background: #ddd;
    cursor: pointer;
    border-radius: 5px 5px 0 0;
    margin-right: 5px;
}
.tab.active {
    background: #4CAF50;
    color: white;
}
.tab-content {
    display: none;
    padding: 15px;
    border: 1px solid #ddd;
    border-top: none;
}
.tab-content.active {
    display: block;
}
/* Общие стили для меток */
.new-badge {
    background: #ff4757;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}
.dub-marker {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
}
.dub-icon {
    height: 20px;
    width: auto;
    margin-right: 5px;
}
.dub-text {
    font-size: 14px;
    color: #666;
    font-style: italic;
}
/* Стили для каталога */
.ep {
    position: relative;
}
/* Стили для страницы серии */
.synopsis-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.synopsis-container h3 {
    margin-top: 0;
    color: #333;
}
.synopsis-text {
    line-height: 1.6;
    color: #444;
}
/* Адаптация для мобильных */
@media (max-width: 768px) {
    .new-badge {
        font-size: 10px;
        padding: 2px 5px;
    }
    .dub-icon {
        height: 16px;
    }
    .dub-text {
        font-size: 12px;
    }
}