/*
 * Десять раскладок блока «Бесплатные CS2 инструменты» (?tools=1…10).
 *
 * Общая часть — рамка, фон и типографика шапки; дальше каждая раскладка живёт в
 * своём разделе и ни на что, кроме мини-превью (.skt-* из home-tools.css), не
 * опирается. Движение везде разное: лента, всплытие сот, орбита, автоперелистывание,
 * сканирование, раскрытие полос.
 */

.sktx {
  --p: #9bde00;
  /* Мини-превью из home-tools.css красятся этой переменной: без неё дуга fade
     остаётся без обводки. */
  --skt-primary: #9bde00;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  background: #0b0b0e;
  box-shadow: 0 30px 80px -24px rgba(0, 0, 0, .7);
  color: #fff;
}
.sktx-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .5) .7px, transparent .7px);
  background-size: 22px 22px;
  opacity: .05;
}
.sktx-glow {
  position: absolute;
  left: 50%;
  top: -40%;
  width: 70%;
  height: 120%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(155, 222, 0, .16), transparent);
  transform: translateX(-50%);
  pointer-events: none;
}

/* ---- шапка -------------------------------------------------------------- */

.sktx-head { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 30px }
.sktx-head.is-center { align-items: center; text-align: center; padding-bottom: 20px }
.sktx-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(155, 222, 0, .75);
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
}
.sktx-kicker i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--p);
  box-shadow: 0 0 10px rgba(155, 222, 0, .9);
  animation: sktx-pulse 2.4s ease-in-out infinite;
}
@keyframes sktx-pulse { 50% { opacity: .35 } }
.sktx-head h2 {
  margin: 14px 0 0;
  max-width: 22ch;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.015em;
  text-transform: uppercase;
}
.sktx-head.is-center h2 { max-width: 26ch }
.sktx-head p { margin: 12px 0 0; max-width: 46ch; color: rgba(255, 255, 255, .45); font-size: 12.5px; line-height: 1.6 }
.sktx-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  border: 0;
  border-radius: 10px;
  padding: 11px 18px;
  background: var(--p);
  color: #0a1400;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 14px 30px -14px rgba(155, 222, 0, .9);
  transition: transform .2s, box-shadow .2s;
}
.sktx-cta:hover { transform: translateY(-1px); box-shadow: 0 18px 34px -14px rgba(155, 222, 0, 1) }
.sktx-cta .skt-arrow { width: 14px; height: 14px; transition: transform .2s }
.sktx-cta:hover .skt-arrow { transform: translateX(3px) }

.sktx-ico {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: rgba(155, 222, 0, .1);
  color: var(--p);
  transition: background .3s, transform .3s, color .3s;
}
.sktx-ico svg { width: 19px; height: 19px }

/* ---- 1. бегущая лента --------------------------------------------------- */

.sktx-mq { position: relative; overflow: hidden; padding: 4px 0 30px }
.sktx-mq::before, .sktx-mq::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 90px;
  pointer-events: none;
}
.sktx-mq::before { left: 0; background: linear-gradient(90deg, #0b0b0e, transparent) }
.sktx-mq::after { right: 0; background: linear-gradient(270deg, #0b0b0e, transparent) }
.sktx-mq-track { display: flex; width: max-content; gap: 14px; padding: 0 14px; animation: sktx-run 34s linear infinite }
.sktx-mq:hover .sktx-mq-track { animation-play-state: paused }
@keyframes sktx-run { to { transform: translateX(calc(-50% - 7px)) } }
.sktx-mq-card {
  position: relative;
  display: flex;
  width: 212px;
  flex: none;
  flex-direction: column;
  gap: 9px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 14px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01));
  color: inherit;
  text-decoration: none;
  transition: border-color .25s, transform .25s, background .25s;
}
.sktx-mq-card:hover { border-color: rgba(155, 222, 0, .45); transform: translateY(-4px) }
.sktx-mq-card b { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em }
.sktx-mq-card i { color: rgba(255, 255, 255, .4); font-size: 11px; font-style: normal; line-height: 1.45 }
.sktx-mq-go { position: absolute; right: 14px; top: 16px; color: rgba(255, 255, 255, .18); transition: color .25s, transform .25s }
.sktx-mq-go .skt-arrow { width: 15px; height: 15px }
.sktx-mq-card:hover .sktx-mq-go { color: var(--p); transform: translateX(3px) }

/* ---- 2. соты ------------------------------------------------------------ */

.sktx2 { padding-bottom: 30px }
/* Два ряда по четыре; нижний сдвинут на полъячейки и приподнят — получаются соты. */
.sktx-hexes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; width: min(880px, 100%); margin: 0 auto; padding: 0 20px }
.sktx-hex {
  position: relative;
  display: block;
  aspect-ratio: .92;
  color: inherit;
  text-decoration: none;
  animation: sktx-fade .6s both;
  animation-delay: var(--d);
}
.sktx-hex:nth-child(n+5) { transform: translate(calc(50% + 6px), -23%) }
@keyframes sktx-fade { from { opacity: 0 } }
.sktx-hex-in {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  background: rgba(255, 255, 255, .04);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  text-align: center;
  transition: background .3s, transform .3s;
}
.sktx-hex:hover .sktx-hex-in { background: rgba(155, 222, 0, .16); transform: scale(1.05) }
.sktx-hex-in b { max-width: 86%; color: rgba(255, 255, 255, .78); font-size: 11px; font-weight: 800; line-height: 1.25; text-transform: uppercase }
.sktx-hex:hover .sktx-hex-in b { color: #fff }
.sktx-hex .sktx-ico { width: 40px; height: 40px; background: none }
.sktx-hex .sktx-ico svg { width: 22px; height: 22px }

/* ---- 3. орбита ---------------------------------------------------------- */

.sktx3 { display: grid; grid-template-columns: minmax(0, 1fr) 460px; align-items: center }
.sktx-orbit-side { display: flex; align-items: center }
.sktx-orbit { position: relative; height: 420px }
.sktx-ring { position: absolute; left: 50%; top: 50%; border: 1px dashed rgba(255, 255, 255, .08); border-radius: 50%; transform: translate(-50%, -50%) }
.sktx-ring.r1 { width: 300px; height: 300px }
.sktx-ring.r2 { width: 190px; height: 190px; border-style: solid; border-color: rgba(155, 222, 0, .12) }
.sktx-core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  width: 120px;
  height: 120px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 1px solid rgba(155, 222, 0, .35);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155, 222, 0, .16), rgba(155, 222, 0, .02));
  transform: translate(-50%, -50%);
}
.sktx-core b { font-size: 30px; font-weight: 900; line-height: 1 }
.sktx-core em {
  color: rgba(155, 222, 0, .8);
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 8px;
  font-style: normal;
  letter-spacing: .22em;
  text-transform: uppercase;
}
/* Кольцо иконок едет по кругу, сами иконки держатся прямо встречным вращением. */
.sktx-spin { position: absolute; inset: 0; animation: sktx-turn 46s linear infinite }
.sktx-orbit:hover .sktx-spin, .sktx-orbit:hover .sktx-node-in { animation-play-state: paused }
@keyframes sktx-turn { to { transform: rotate(360deg) } }
@keyframes sktx-unturn { to { transform: rotate(-360deg) } }
.sktx-node {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform: rotate(var(--a)) translateY(-150px);
  color: inherit;
  text-decoration: none;
}
.sktx-node-in {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  width: 112px;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transform: translate(-50%, -50%) rotate(calc(-1 * var(--a)));
  animation: sktx-unturn 46s linear infinite;
}
.sktx-node .sktx-ico {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: #121216;
}
.sktx-node:hover .sktx-ico { border-color: rgba(155, 222, 0, .6); background: rgba(155, 222, 0, .16); transform: scale(1.1) }
.sktx-node em {
  color: rgba(255, 255, 255, .45);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .04em;
  text-align: center;
  text-transform: uppercase;
  transition: color .25s;
}
.sktx-node:hover em { color: #fff }

/* ---- 4. оглавление ------------------------------------------------------ */

.sktx-lines { display: flex; flex-direction: column; padding: 0 30px 26px }
.sktx-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 14px 6px;
  color: inherit;
  text-decoration: none;
  transition: padding-left .25s, background .25s;
}
.sktx-line:hover { background: rgba(155, 222, 0, .05); padding-left: 14px }
.sktx-line em {
  color: rgba(155, 222, 0, .5);
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}
.sktx-line b { font-size: 14px; font-weight: 800; letter-spacing: .01em; text-transform: uppercase; white-space: nowrap }
/* Отточие как в оглавлении книги: точки тянутся между названием и описанием. */
.sktx-dots {
  flex: 1;
  height: 1px;
  min-width: 20px;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .28) 1px, transparent 1px);
  background-size: 6px 1px;
  background-repeat: repeat-x;
  transform: translateY(-3px);
}
.sktx-line i { color: rgba(255, 255, 255, .4); font-size: 11.5px; font-style: normal; white-space: nowrap }
.sktx-line .skt-arrow { width: 14px; height: 14px; color: rgba(255, 255, 255, .2); transition: color .25s, transform .25s }
.sktx-line:hover .skt-arrow { color: var(--p); transform: translateX(4px) }

/* ---- 5. бенто ----------------------------------------------------------- */

.sktx-bentos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 18px;
}
.sktx-bento {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, .025);
  color: inherit;
  text-decoration: none;
  transition: border-color .25s, background .25s, transform .25s;
}
a.sktx-bento:hover { border-color: rgba(155, 222, 0, .4); background: rgba(155, 222, 0, .06); transform: translateY(-3px) }
.sktx-bento.intro { grid-column: span 2; grid-row: span 2; border: 0; padding: 0; background: none }
.sktx-bento.intro .sktx-head { padding: 12px 10px }
.sktx-bento.big { grid-column: span 2; grid-row: span 2; justify-content: flex-start }
.sktx-bento b { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em }
.sktx-bento i { color: rgba(255, 255, 255, .4); font-size: 11px; font-style: normal; line-height: 1.45 }
.sktx-bento-art { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 14px }
.sktx-bento-art .skt-bars { height: 70px }
.sktx-bento-art .skt-bars i { width: 16px }
.sktx-bento-art .skt-sum { font-size: 24px }
.sktx-bento .sktx-ico { background: rgba(155, 222, 0, .08) }

/* ---- 6. вкладки с автопоказом ------------------------------------------- */

.sktx6 { display: grid; grid-template-columns: 400px minmax(0, 1fr) }
.sktx-tabs { display: flex; flex-direction: column; border-right: 1px solid rgba(255, 255, 255, .06) }
.sktx-tabs-head .sktx-head { padding: 26px 26px 18px }
.sktx-tabs-head .sktx-head h2 { font-size: 23px }
.sktx-tabs-list { display: flex; flex: 1; flex-direction: column }
.sktx-tab {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 11px;
  border-top: 1px solid rgba(255, 255, 255, .05);
  padding: 9px 24px;
  color: inherit;
  text-decoration: none;
  transition: background .25s;
}
.sktx-tab:hover { background: rgba(155, 222, 0, .06) }
.sktx-tab .sktx-ico { width: 30px; height: 30px; border-radius: 9px }
.sktx-tab .sktx-ico svg { width: 15px; height: 15px }
.sktx-tab b { display: block; font-size: 12px; font-weight: 800; text-transform: uppercase }
.sktx-tab i { display: block; color: rgba(255, 255, 255, .35); font-size: 10.5px; font-style: normal }
.sktx-screen { position: relative; min-height: 430px; background: radial-gradient(120% 90% at 70% 0%, rgba(155, 222, 0, .07), transparent 60%) }
.sktx-pane {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 40px;
  opacity: 0;
  /* Экран листает инструменты сам: каждый виден свою восьмую долю цикла. */
  animation: sktx-cycle 20.8s linear infinite;
  animation-delay: var(--d);
}
/* Окно у каждой панели — чуть шире её восьмой доли, чтобы соседние перекрывались
   и между инструментами не мелькал пустой экран. */
@keyframes sktx-cycle {
  0% { opacity: 0; transform: translateY(10px) }
  1.6% { opacity: 1; transform: none }
  12.5% { opacity: 1; transform: none }
  14.2%, 100% { opacity: 0; transform: translateY(-10px) }
}
/* Как только курсор на списке, автопоказ уступает выбранному инструменту. */
.sktx6:has(.sktx-tab:hover) .sktx-pane { animation: none; opacity: 0; transform: none }
.sktx6:has(.sktx-tab.b0:hover) .sktx-pane.p0,
.sktx6:has(.sktx-tab.b1:hover) .sktx-pane.p1,
.sktx6:has(.sktx-tab.b2:hover) .sktx-pane.p2,
.sktx6:has(.sktx-tab.b3:hover) .sktx-pane.p3,
.sktx6:has(.sktx-tab.b4:hover) .sktx-pane.p4,
.sktx6:has(.sktx-tab.b5:hover) .sktx-pane.p5,
.sktx6:has(.sktx-tab.b6:hover) .sktx-pane.p6,
.sktx6:has(.sktx-tab.b7:hover) .sktx-pane.p7 { opacity: 1 }
.sktx-pane-top { display: flex; align-items: center; gap: 12px }
.sktx-pane-top b { font-size: 18px; font-weight: 800; text-transform: uppercase }
.sktx-pane-art { display: flex; max-width: 340px; flex-direction: column; gap: 12px }
.sktx-pane-art .skt-bars { height: 64px }
.sktx-pane-art .skt-bars i { width: 15px }
.sktx-pane-art .skt-sum { font-size: 22px }
.sktx-pane-art .skt-arc, .sktx-pane-art .skt-arc svg { width: 128px; height: 74px }
.sktx-pane-art .skt-arc b { font-size: 22px }
.sktx-pane-art .skt-stripes { height: 44px }
.sktx-pane-art .skt-cells i { height: 16px }
.sktx-pane-art .skt-chips i { padding: 8px 0; font-size: 11px }
.sktx-pane-art .skt-id b { padding: 6px 8px; font-size: 13px }
.sktx-pane-art .skt-trade i { height: 18px }
.sktx-pane-note { color: rgba(255, 255, 255, .4); font-size: 12px; font-style: normal }

/* ---- 7. пилюли ---------------------------------------------------------- */

.sktx7 { text-align: center }
.sktx-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 4px 40px 34px }
.sktx-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  padding: 9px 18px 9px 10px;
  background: rgba(255, 255, 255, .03);
  color: inherit;
  text-decoration: none;
  animation: sktx-pop .5s both;
  animation-delay: var(--d);
  transition: border-color .25s, background .25s, transform .25s;
}
@keyframes sktx-pop { from { opacity: 0; transform: scale(.9) } }
.sktx-pill:hover { border-color: transparent; background: var(--p); color: #0a1400; transform: translateY(-2px) }
.sktx-pill .sktx-ico { width: 30px; height: 30px; background: rgba(155, 222, 0, .12) }
.sktx-pill:hover .sktx-ico { background: rgba(10, 20, 0, .15); color: #0a1400 }
.sktx-pill .sktx-ico svg { width: 16px; height: 16px }
.sktx-pill b { font-size: 12px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap }

/* ---- 8. журнальный разворот --------------------------------------------- */

.sktx8 { display: grid; grid-template-columns: minmax(0, 1fr) 470px }
.sktx-big { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 34px; border-right: 1px solid rgba(255, 255, 255, .06) }
.sktx-big-stack { position: relative; height: 210px; margin-top: 18px }
.sktx-big-item {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .35s, transform .35s;
}
.sktx8:not(:has(.sktx-erow:hover)) .sktx-big-item.g0,
.sktx8:has(.sktx-erow.e0:hover) .sktx-big-item.g0,
.sktx8:has(.sktx-erow.e1:hover) .sktx-big-item.g1,
.sktx8:has(.sktx-erow.e2:hover) .sktx-big-item.g2,
.sktx8:has(.sktx-erow.e3:hover) .sktx-big-item.g3,
.sktx8:has(.sktx-erow.e4:hover) .sktx-big-item.g4,
.sktx8:has(.sktx-erow.e5:hover) .sktx-big-item.g5,
.sktx8:has(.sktx-erow.e6:hover) .sktx-big-item.g6,
.sktx8:has(.sktx-erow.e7:hover) .sktx-big-item.g7 { opacity: 1; transform: none }
.sktx-big-item b {
  color: rgba(155, 222, 0, .9);
  font-size: 92px;
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.04em;
}
.sktx-big-item em { margin-top: 10px; font-size: 24px; font-style: normal; font-weight: 800; text-transform: uppercase }
.sktx-big-item u { margin-top: 8px; color: rgba(255, 255, 255, .45); font-size: 12.5px; text-decoration: none }
.sktx-big p { margin: 0 0 4px; max-width: 42ch; color: rgba(255, 255, 255, .4); font-size: 12.5px; line-height: 1.6 }
.sktx-erows { display: flex; flex-direction: column }
.sktx-erows h2 {
  margin: 0;
  padding: 24px 26px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}
.sktx-erow {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  padding: 10px 26px;
  color: inherit;
  text-decoration: none;
  transition: background .25s, padding-left .25s;
}
.sktx-erow:last-child { border-bottom: 0 }
.sktx-erow:hover { background: rgba(155, 222, 0, .06); padding-left: 32px }
.sktx-erow em {
  color: rgba(255, 255, 255, .22);
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}
.sktx-erow .sktx-ico { width: 30px; height: 30px; background: none }
.sktx-erow b { flex: 1; font-size: 12.5px; font-weight: 800; text-transform: uppercase }
.sktx-erow .skt-arrow { width: 14px; height: 14px; color: rgba(255, 255, 255, .2); transition: color .25s, transform .25s }
.sktx-erow:hover .skt-arrow { color: var(--p); transform: translateX(4px) }

/* ---- 9. экраны инспекта -------------------------------------------------- */

.sktx-screens { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 4px 24px 28px }
.sktx-screen-card {
  position: relative;
  display: flex;
  min-height: 150px;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 12px;
  padding: 18px;
  background: #0e0e12;
  color: inherit;
  text-decoration: none;
  /* Пока курсора нет, карточка слегка расфокусирована — как предмет до инспекта. */
  filter: saturate(.5) brightness(.85);
  transition: filter .35s, border-color .35s;
}
.sktx-screen-card:hover { filter: none; border-color: rgba(155, 222, 0, .45) }
.sktx-frame { position: absolute; inset: 8px; pointer-events: none }
.sktx-frame i { position: absolute; width: 12px; height: 12px; border: 1px solid rgba(155, 222, 0, .5); opacity: .5; transition: opacity .3s, margin .3s }
.sktx-frame i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0 }
.sktx-frame i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0 }
.sktx-frame i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0 }
.sktx-frame i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0 }
.sktx-screen-card:hover .sktx-frame i { opacity: 1; margin: -4px }
.sktx-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 3px);
  opacity: .5;
}
.sktx-beam {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 36px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(155, 222, 0, .22), transparent);
  opacity: 0;
}
.sktx-screen-card:hover .sktx-beam { animation: sktx-beam 1.6s linear infinite }
@keyframes sktx-beam {
  0% { opacity: 0; transform: translateY(-36px) }
  15% { opacity: 1 }
  85% { opacity: 1 }
  100% { opacity: 0; transform: translateY(150px) }
}
.sktx-screen-card .sktx-ico { background: none; color: var(--p) }
.sktx-screen-card b { font-size: 12.5px; font-weight: 800; text-transform: uppercase }
.sktx-screen-card i { color: rgba(255, 255, 255, .4); font-size: 10.5px; font-style: normal; line-height: 1.45 }
.sktx-tag {
  position: absolute;
  right: 14px;
  bottom: 12px;
  color: rgba(155, 222, 0, .45);
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
}

/* ---- 10. аккордеон ------------------------------------------------------ */

.sktx10 { display: grid; grid-template-columns: 330px minmax(0, 1fr) }
.sktx-acc-side { display: flex; align-items: center; border-right: 1px solid rgba(255, 255, 255, .06) }
.sktx-acc { display: flex; height: 360px; gap: 0 }
.sktx-slat {
  position: relative;
  display: flex;
  flex: 1;
  overflow: hidden;
  border-left: 1px solid rgba(255, 255, 255, .05);
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent);
  color: inherit;
  text-decoration: none;
  transition: flex .45s cubic-bezier(.22, 1, .36, 1), background .3s;
}
.sktx-slat:first-child { border-left: 0 }
.sktx-slat:hover { flex: 3.6; background: rgba(155, 222, 0, .07) }
/* Свёрнутая полоса: иконка сверху, название боком. */
.sktx-slat-rail {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  transition: opacity .25s;
}
.sktx-slat-rail b {
  color: rgba(255, 255, 255, .55);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  writing-mode: vertical-rl;
}
.sktx-slat:hover .sktx-slat-rail { opacity: 0 }
.sktx-slat-open {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s .1s, transform .35s .1s;
}
.sktx-slat:hover .sktx-slat-open { opacity: 1; transform: none }
.sktx-slat-open b { font-size: 15px; font-weight: 800; text-transform: uppercase }
.sktx-slat-open i { color: rgba(255, 255, 255, .45); font-size: 12px; font-style: normal }
.sktx-slat-art { display: flex; max-width: 230px; flex-direction: column; gap: 10px; margin-top: 6px }
.sktx-slat-art .skt-bars { height: 48px }
.sktx-slat-art .skt-bars i { width: 12px }
.sktx-slat-go { margin-top: auto; color: var(--p) }
.sktx-slat-go .skt-arrow { width: 18px; height: 18px }

/* Мини-превью живут в home-tools.css и доигрываются по наведению родителя. */
.sktx-bento.big:hover .skt-bars i,
.sktx-pane .skt-bars i,
.sktx-slat:hover .skt-bars i { transform: scaleY(1) }
.sktx-pane .skt-pin, .sktx-slat:hover .skt-pin { left: 62% }
.sktx-pane .skt-arc-fg, .sktx-slat:hover .skt-arc-fg { stroke-dashoffset: 6 }
.sktx-pane .skt-stripes i:nth-child(2), .sktx-slat:hover .skt-stripes i:nth-child(2) { flex: 2.2 }
.sktx-pane .skt-cells i.on, .sktx-slat:hover .skt-cells i.on { animation: skt-blink 1.1s ease-in-out infinite }

/* ---- адаптив ------------------------------------------------------------ */

@media (max-width: 1200px) {
  .sktx3, .sktx6, .sktx8, .sktx10 { grid-template-columns: 1fr }
  .sktx-orbit-side, .sktx-acc-side, .sktx-tabs, .sktx-big { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .06) }
  .sktx-hexes { width: 100%; padding: 0 40px }
  .sktx-bentos { grid-template-columns: repeat(2, 1fr) }
  .sktx-screens { grid-template-columns: repeat(2, 1fr) }
  .sktx-screen { min-height: 330px }
}
@media (max-width: 760px) {
  .sktx-head { padding: 22px 18px }
  .sktx-head h2 { font-size: 23px }
  .sktx-hexes { grid-template-columns: repeat(2, 1fr); padding: 0 24px }
  .sktx-hex:nth-child(n+5) { transform: none }
  .sktx-hex:nth-child(2n) { transform: translateY(-23%) }
  /* На телефоне бенто остаётся в две колонки — одной он вытягивается на полтора
     экрана. Текст и крупная плитка занимают строку целиком. */
  .sktx-bentos { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 12px }
  .sktx-bento.intro, .sktx-bento.big { grid-column: span 2; grid-row: span 1 }
  .sktx-bento { padding: 14px }
  .sktx-bento-art .skt-bars { height: 52px }
  /* Экраны остаются в две колонки: восемь штук в одну растягивают блок вдвое. */
  .sktx-screens { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0 14px 20px }
  .sktx-screen-card { min-height: 128px; padding: 14px }
  .sktx-screen-card i { font-size: 10px }
  .sktx-lines { padding: 0 16px 18px }
  .sktx-line { flex-wrap: wrap; gap: 8px }
  .sktx-dots { display: none }
  .sktx-line i { flex-basis: 100%; white-space: normal }
  .sktx-orbit { height: 320px; transform: scale(.78) }
  .sktx-big-item b { font-size: 64px }
  .sktx-big-stack { height: 160px }
  /* Полосы аккордеона на телефоне становятся обычным списком. */
  .sktx-acc { height: auto; flex-direction: column }
  .sktx-slat { flex: none; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .05) }
  .sktx-slat:hover { flex: none }
  .sktx-slat-rail { display: none }
  .sktx-slat-open { position: static; opacity: 1; transform: none; padding: 14px 18px }
  /* Превью в развёрнутой полосе на телефоне убираем: список и так длинный. */
  .sktx-slat-art { display: none }
  .sktx-slat-go { position: absolute; right: 18px; top: 50%; margin: 0; transform: translateY(-50%) }
  .sktx-pills { padding: 0 16px 24px }
  .sktx-pill b { font-size: 11px }
}

/* На тач-экранах наведения нет — карточки инспекта не должны остаться мутными. */
@media (hover: none) {
  .sktx-screen-card { filter: none }
  .sktx-bento.big .skt-bars i, .sktx-slat .skt-bars i { transform: scaleY(1) }
}
