/* kits.css — стили страницы наборов (BEM) */

.kits__wrap {
  background: hsla(240, 7%, 12%, 0.88);
  box-shadow: 0px -1px 4px rgb(200 196 196 / 8%), 0px 4px 4px rgb(200 196 196 / 25%);
  border-radius: 7px;
  padding: 5px 5px 5px 5px;
  margin-bottom: 20px;
}

.kits__text    { padding: 0px 10px 0 10px; }

.kits__heading { margin-top: 20px; }

.kits__edition { float: right; margin-right: 40px; margin-bottom: 40px; }

.kits__table {
  margin: 5px 0px 0px 0px;
}

.kits__row img {
  min-width: 75px;
  width: 100%;
  max-height: 100%;
}

.kits__info {
  color: #d5dfea;
  font-size: 13px;
}

.kits__info span {
  color: #bce8ff;
  font-weight: 700;
}

.kits__rank--vip     { color: #FFFF55; font-weight: bold; }
.kits__rank--premium { color: #55FF55; font-weight: bold; }
.kits__rank--deluxe  { color: #55FFFF; font-weight: bold; }
.kits__rank--grand   { color: #00AAAA; font-weight: bold; }
.kits__rank--sponsor { color: #0000AA; font-weight: bold; }
.kits__rank--bmoder  { color: #FF55FF; font-weight: bold; }

/* Highslide — JS-библиотека, не переименовывать */
.highslide-wrapper,
.highslide-outline {
  background: #fff;
}

.highslide-image {
  border: 2px solid #fff;
}

.highslide-active-anchor {
  visibility: hidden;
}

.highslide-active-anchor img {
  visibility: hidden;
}

.highslide-dimming {
  background-color: #000;
}

.highslide-html {
  background-color: #fff;
}

.highslide-loading {
  display: block;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  text-decoration: none;
  padding: 3px;
  border: 1px solid #fff;
  background-color: #000;
}

a.highslide-full-expand {
  background: url(../../../assets/dleimages/fullexpand.gif) no-repeat;
  display: block;
  margin: 0 10px 10px 0;
  width: 34px;
  height: 34px;
}

.highslide-display-block {
  display: block;
}

.highslide-display-none {
  display: none;
}

.highslide-caption {
  display: none;
  padding: 5px;
  background: #fff;
}

.highslide-controls {
  width: 195px;
  height: 40px;
  background: url(../../../../../engine/classes/highslide/graphics/controlbar-black-border.gif)
    no-repeat 0 -90px;
  margin-right: 15px;
  margin-bottom: 10px;
  margin-top: 10px;
}

.highslide-controls ul {
  position: relative;
  left: 15px;
  height: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
  background: url(../../../../../engine/classes/highslide/graphics/controlbar-black-border.gif)
    no-repeat 100% -90px;
}

.highslide-controls li {
  float: left;
  padding: 5px 0;
}

.highslide-controls a {
  background: url(../../../../../engine/classes/highslide/graphics/controlbar-black-border.gif);
  display: block;
  float: left;
  height: 30px;
  width: 30px;
  outline: none;
}

.highslide-controls a.disabled {
  cursor: default;
}

.highslide-controls a span {
  display: none;
}

.highslide-controls .highslide-previous a {
  background-position: 0 0;
}

.highslide-controls .highslide-previous a:hover {
  background-position: 0 -30px;
}

.highslide-controls .highslide-previous a.disabled {
  background-position: 0 -60px !important;
}

.highslide-controls .highslide-play a {
  background-position: -30px 0;
}

.highslide-controls .highslide-play a:hover {
  background-position: -30px -30px;
}

.highslide-controls .highslide-play a.disabled {
  background-position: -30px -60px !important;
}

.highslide-controls .highslide-pause a {
  background-position: -60px 0;
}

.highslide-controls .highslide-pause a:hover {
  background-position: -60px -30px;
}

.highslide-controls .highslide-next a {
  background-position: -90px 0;
}

.highslide-controls .highslide-next a:hover {
  background-position: -90px -30px;
}

.highslide-controls .highslide-next a.disabled {
  background-position: -90px -60px !important;
}

.highslide-controls .highslide-move a {
  background-position: -120px 0;
}

.highslide-controls .highslide-move a:hover {
  background-position: -120px -30px;
}

.highslide-controls .highslide-full-expand a {
  background-position: -150px 0;
}

.highslide-controls .highslide-full-expand a:hover {
  background-position: -150px -30px;
}

.highslide-controls .highslide-full-expand a.disabled {
  background-position: -150px -60px !important;
}

.highslide-controls .highslide-close a {
  background-position: -180px 0;
}

.highslide-controls .highslide-close a:hover {
  background-position: -180px -30px;
}

td {
  padding: 15px;
  border-bottom: 1px solid rgba(90, 185, 234, 0.15);
  color: #d5dfea;
}

th {
  padding: 15px 0;
  border-bottom: 2px solid rgba(90, 185, 234, 0.3);
}

/* Скрываем чекбокс */
.kits__spoiler input[type="checkbox"] {
  display: none;
}

/* Стили для label (заголовок спойлера) */
.kits__spoiler label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
  font-weight: bold;
  font-size: 13px;
  margin: 0;
  user-select: none;
}

/* Hover эффект для заголовка */
.kits__spoiler label:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Стрелка в закрытом состоянии */
.kits__spoiler label::after {
  content: '▼';
  color: #ffffff;
  font-size: 12px;
  transition: transform 0.3s ease;
  display: inline-block;
}

/* Стрелка в открытом состоянии */
.kits__spoiler input:checked + label::after {
  transform: rotate(180deg);
}

/* Контент спойлера (скрыт по умолчанию) */
.kits__spoiler > div {
  display: none;
  padding: 8px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0 0 6px 6px;
  max-height: 200px;
  overflow-y: auto;
  color: #d5dfea !important;
  animation: slideDown 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: none;
  margin-top: -6px;
}

/* Показываем контент когда чекбокс активен */
.kits__spoiler input:checked ~ div {
  display: block;
}

/* Анимация появления */
@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 200px;
  }
}

/* Кастомный скроллбар для контента спойлера */
.kits__spoiler > div::-webkit-scrollbar {
  width: 8px;
}

.kits__spoiler > div::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.kits__spoiler > div::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.kits__spoiler > div::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* === ORPHANED CSS из reference kits.css === */

span.hr-intro {
  width: 142px;
  height: 3px;
  background: linear-gradient(to right, #5260d5, #42a4f3);
  display: flex;
  margin-left: 80px;
  margin-bottom: 10px;
}

td.th_base {
  color: #5d6875;
  font-size: 16px;
  padding: 15px 0;
  border-bottom: 1px solid #eef3fa;
}
