.chart-container {
    padding: 123px 64px;
    padding-bottom: 0px;
}

.anime-page-content {
    padding: 0px 88px 40px 30px;
    max-width: 1587px;
    margin: 0 auto;
}

.season-header {
    display: flex;
    color: white;
    align-items: center;
    justify-content: space-between;
    padding: 0px 0px 27px;
}

.season-title-container {
    display: flex;
    align-items: baseline;
}

.season-header h1 {
    font-size: 39px;
    margin-right: 10px;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-transform: capitalize;
}

.season-arrow {
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.left-arrow {
    margin-right: 0px;
}

.right-arrow {
    margin-left: 0px;
}

.season-date {
    font-size: 18px;
    color: rgba(192, 192, 199, 0.8);
    font-weight: 400;
}

.search-container {
    display: flex;
    align-items: center;
    right: 0;
    margin-left: auto;
    margin-right: -62px;
    margin-top: 9px;
}

.search-input {
    width: 292px;
    height: 35px;
    border: 1px solid #808080;
    border-radius: 10px;
    padding-left: 45px; /* Увеличен отступ текста от иконки */
    background: #121212 url(/templates/kurosaw/img/Search.svg) no-repeat 12px center; /* Иконка уменьшена и сдвинута левее */
    background-size: 18px 18px; /* Размер иконки уменьшен */
    color: #c0c0c7;
    font-size: 16px;
}

.search-input::placeholder {
    color: #808080;
}

/* Общий контейнер для сортировки */
.sort-tabs-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}

.sort-options {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sort-text-chart {
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    color: rgb(192, 192, 199);
    margin-right: 8px;
    position: relative;
    bottom: 35px;
    right: 19px;
}

/* Кнопки сортировки */
.sort-buttons-container {
    display: flex;
    align-items: center;
    gap: 19px; /* Увеличено расстояние между кнопками */
    border-bottom: 1px solid rgb(33, 33, 33);
    position: relative;
    right: 18px;
    bottom: 48px;
}

.sort-button {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #808080;
    background: none;
    border: none;
    font-size: 19px;
    font-weight: 700;
    padding: 0;
    letter-spacing: -0.5px;
}

.sort-button.active {
    border-bottom: 2px solid #808080;
    color: #ffffff;
}

.sort-icon {
    width: 26px;
    height: 36px;
    margin-right: 8px;
    transition: filter 0.1s ease;
}
    
/* Стиль активной кнопки сортировки */
.sort-button.active .sort-icon {
    filter: brightness(0) invert(1);
}

/* Индивидуальные стили для иконок */
.date-icon {
    width: 26px;
    position: relative;
    bottom: 2px;
    left: -6px;
}

.popularity-icon {
    width: 26px;
    position: relative;
    bottom: 3px;
    left: -3px;
}

.rating-icon {
    width: 27px;
    position: relative;
    bottom: 4px;
}

.title-icon {
    width: 27px;
    position: relative;
    bottom: 4px;
}

/* Табы справа (категории контента) */
.chart-tabs-container {
    display: flex;
    gap: 22px;
    border-bottom: 1px solid rgb(33, 33, 33);
    width: fit-content;
    position: relative;
    right: -64px;
    bottom: 48px;
}

.chart-tab {
    cursor: pointer;
    color: #808080;
    font-size: 36px;
    font-weight: 400;
    letter-spacing: -1px;
}

.chart-tab-active {
    border-bottom: 2px solid #808080;
    color: #ffffff;
}

/* Сетка аниме карточек */
.anime-grid {
    margin-left: -88px;
    position: relative;
    gap: 14px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.anime-card {
    position: relative;
    height: 272px;
    display: flex;
    flex-direction: row;
    overflow: visible;
}

/* Аниме постер */
.anime-poster {
    width: 192px;
    height: 100%;
    border-radius: 12px 0 0 12px;
    object-fit: cover;
}

.anime-poster img {
    width: 100%;
    height: 100%;
    border-radius: 12px 0 0 12px;
    object-fit: cover;
}

/* Аниме информация, отображение времени иконок */
.anime-overlay {
    position: absolute;
    top: 0;
    width: 180px;
    background: rgba(0, 0, 0, 0.7);
    padding: 6px;
    display: flex;
    justify-content: space-between;
    color: white;
    font-weight: bold;
    border-radius: 12px 0 0 0;
    transition: border-radius 0.1s ease;
}

/* Таймер внизу изображения */
.anime-timer {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-self: center;
    cursor: help;
}

.anime-timer.released {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    color: #ffcc00; 
    cursor: default;
    
}
    
.anime-episode-count {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-self: center;
}


.cssload-container{
	display: block;
	width:100px;
    cursor: default;
}

.cssload-loading i{
	width: 6px;
	height: 6px;
	display: inline-block;
	border-radius: 50%;
	background: rgb(255,255,255);
}
.cssload-loading i:first-child{
	opacity: 0;
	animation:cssload-loading-ani2 0.58s linear infinite;
		-o-animation:cssload-loading-ani2 0.58s linear infinite;
		-ms-animation:cssload-loading-ani2 0.58s linear infinite;
		-webkit-animation:cssload-loading-ani2 0.58s linear infinite;
		-moz-animation:cssload-loading-ani2 0.58s linear infinite;
	transform:translate(-6px);
		-o-transform:translate(-6px);
		-ms-transform:translate(-6px);
		-webkit-transform:translate(-6px);
		-moz-transform:translate(-6px);
}
.cssload-loading i:nth-child(2),
.cssload-loading i:nth-child(3){
	animation:cssload-loading-ani3 0.58s linear infinite;
		-o-animation:cssload-loading-ani3 0.58s linear infinite;
		-ms-animation:cssload-loading-ani3 0.58s linear infinite;
		-webkit-animation:cssload-loading-ani3 0.58s linear infinite;
		-moz-animation:cssload-loading-ani3 0.58s linear infinite;
}
.cssload-loading i:last-child{
	animation:cssload-loading-ani1 0.58s linear infinite;
		-o-animation:cssload-loading-ani1 0.58s linear infinite;
		-ms-animation:cssload-loading-ani1 0.58s linear infinite;
		-webkit-animation:cssload-loading-ani1 0.58s linear infinite;
		-moz-animation:cssload-loading-ani1 0.58s linear infinite;
}




@keyframes cssload-loading-ani1{
	100%{
		transform:translate(9px);
		opacity: 0;
	}
}

@-o-keyframes cssload-loading-ani1{
	100%{
		-o-transform:translate(9px);
		opacity: 0;
	}
}

@-ms-keyframes cssload-loading-ani1{
	100%{
		-ms-transform:translate(9px);
		opacity: 0;
	}
}

@-webkit-keyframes cssload-loading-ani1{
	100%{
		-webkit-transform:translate(9px);
		opacity: 0;
	}
}

@-moz-keyframes cssload-loading-ani1{
	100%{
		-moz-transform:translate(9px);
		opacity: 0;
	}
}

@keyframes cssload-loading-ani2{
	100%{
		transform:translate(6px);
		opacity: 1;
	}
}

@-o-keyframes cssload-loading-ani2{
	100%{
		-o-transform:translate(6px);
		opacity: 1;
	}
}

@-ms-keyframes cssload-loading-ani2{
	100%{
		-ms-transform:translate(6px);
		opacity: 1;
	}
}

@-webkit-keyframes cssload-loading-ani2{
	100%{
		-webkit-transform:translate(6px);
		opacity: 1;
	}
}

@-moz-keyframes cssload-loading-ani2{
	100%{
		-moz-transform:translate(6px);
		opacity: 1;
	}
}

@keyframes cssload-loading-ani3{
	100%{
		transform:translate(6px);
	}
}

@-o-keyframes cssload-loading-ani3{
	100%{
		-o-transform:translate(6px);
	}
}

@-ms-keyframes cssload-loading-ani3{
	100%{
		-ms-transform:translate(6px);
	}
}

@-webkit-keyframes cssload-loading-ani3{
	100%{
		-webkit-transform:translate(6px);
	}
}

@-moz-keyframes cssload-loading-ani3{
	100%{
		-moz-transform:translate(6px);
	}
}

/* Контейнер для иконок внизу карточки */
.anime-info {
    position: absolute;
    bottom: 0px;
    width: 180px;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px 6px;
    display: flex;
    justify-content: center;
    height: 16px;
    border-radius: 0 0 0 12px;
    transition: border-radius 0.1s ease;
}

.anime-icons {
    display: flex;
    gap: 17px;
}

.anime-icon-chart {
    width: 16px;
    height: 16px;
    cursor: pointer;
    filter: brightness(0) invert(1);
}

.globe-icon {
    width: 20px;
    scale: 1.2;
}

.calendar-icon {
    width: 13px;
}

.eye-icon-chart {
    width: 21px;
}

.cross-icon {
    width: 16px;
}
    
 /* Дополнительный блок */
.anime-expanded-content {
    width: 223px;
    background-color: #1a1a1a;
    padding: 10px 15px 8px 15px;
    color: white;
    border-radius: 0 12px 12px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info-content {
    color: white;
    font-family: 'Arial', sans-serif;
}

/* Стили для заголовка аниме */
.anime-title-info {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

/* Стили для альтернативного названия аниме */
.anime-alt-title {
    font-size: 13px;
    color: #ccc;
    margin-bottom: 12px;
}

/* Разделительная линия */
.divider {
    border: 0;
    height: 1px;
    background-color: #444;
    margin: 8px 0;
}

/* Стиль для студии */
.anime-studio {
    font-size: 14px;
    margin-bottom: 12px;
}

/* Стиль для жанров */
.anime-genres {
    font-size: 14px;
    margin-bottom: 12px;
}

/* Стиль для рейтинга */
.anime-rating {
    font-size: 14px;
}
 
    
.anime-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}
.name-anime {
    margin-bottom: 4px;
}

/* Общие стили для иконок */
.anime-icon-wrapper {
    position: relative;
    display: inline-block;
}

.anime-icon {
    cursor: pointer;
}

/* Общие стили для таунтипов */
.tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    bottom: 156%; /* Расположен над иконкой */
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

/* Стрелка для таунтипа */
.tooltip::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
}

/* Отображение таунтипа при наведении */
.anime-icon-wrapper:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* Таунтип для anime-timer */
.anime-timer[data-tooltip] {
    position: relative;
}

.anime-timer[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 8px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    font-size: 12px;
    line-height: 1.2;
    transition: opacity 0.3s ease;
    z-index: 10;
    top: 173%; /* Подсказка отображается под таймером */
    left: 50%;
    transform: translateX(-50%);
}

.anime-timer[data-tooltip]::before {
    content: '';
    position: absolute;
    top: 101%;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
    border-width: 6px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.anime-timer[data-tooltip]:hover::after, .anime-timer[data-tooltip]:hover::before {
    opacity: 1;
    visibility: visible;
}
  