@font-face {
  font-family: 'Vepir';
  src: url('/assets/static/revakor.woff2') format('woff2');
  font-display: swap;
}

:root {
  color-scheme: dark;
  --tom-bg: #090d0c;
  --tom-panel: #11221d;
  --tom-raised: #142a23;
  --tom-line: #294239;
  --tom-text: #f0f7f3;
  --tom-muted: #b2c4bc;
  --tom-accent: #10b981;
  --tom-link: #75e8b6;
  --tom-gold: #ffd67b;
  --tom-radius: 16px;
  --tom-gap: clamp(12px, 1.4vw, 22px);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--tom-bg);
  color: var(--tom-text);
  font: 400 1rem/1.65 'Vepir', system-ui, sans-serif;
  -webkit-text-size-adjust: 100%;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--tom-link);
  text-decoration-thickness: .075em;
  text-underline-offset: .22em;
}

a:hover {
  color: var(--tom-gold);
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--tom-gold);
  outline-offset: 4px;
}

h1, h2, h3, p {
  margin: 0;
}

h1, h2, h3 {
  text-wrap: balance;
  line-height: 1.16;
}

h1 {
  margin: 0 0 clamp(16px, 3vw, 30px);
  max-width: 31ch;
  font-size: clamp(1.7rem, 3.2vw, 3.1rem);
  letter-spacing: -.04em;
}

h2 {
  font-size: clamp(1.28rem, 2.15vw, 2rem);
  letter-spacing: -.03em;
}

h3 {
  font-size: clamp(1rem, 1.7vw, 1.23rem);
}

.tom-wrap {
  width: min(100% - clamp(28px, 6vw, 96px), 1400px);
  margin-inline: auto;
}

.tom-skip {
  position: fixed;
  inset: .5rem auto auto .5rem;
  z-index: 20;
  padding: .65rem 1rem;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--tom-bg);
}

.tom-skip:focus {
  transform: none;
}

.tom-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #0c1511;
  border-bottom: 1px solid var(--tom-line);
}

.tom-header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 72px;
  gap: clamp(10px, 2vw, 28px);
}

.tom-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  color: var(--tom-text);
  text-decoration: none;
  font-size: clamp(.85rem, 1.4vw, 1.22rem);
  font-weight: 800;
  letter-spacing: .075em;
}

.tom-logo b {
  color: var(--tom-link);
}

.tom-emblem {
  display: block;
  flex: 0 0 auto;
  position: relative;
  width: 25px;
  height: 25px;
  transform: rotate(-35deg);
  border: 2px solid var(--tom-accent);
  border-radius: 65% 32% 65% 32%;
}

.tom-emblem::after {
  position: absolute;
  inset: 4px;
  content: '';
  border-radius: inherit;
  background: linear-gradient(90deg, var(--tom-accent) 45%, transparent 45% 55%, var(--tom-accent) 55%);
}

.tom-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(10px, 1.6vw, 24px);
  min-width: 0;
}

.tom-menu a,
.tom-actions .nev_nem {
  font-size: .88rem;
  white-space: nowrap;
}

.tom-menu a {
  display: block;
  padding-block: .6rem;
  color: var(--tom-muted);
  font-weight: 600;
  text-decoration: none;
}

.tom-menu a:hover {
  color: var(--tom-link);
}

.tom-actions,
.tom-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.nev_nem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: .62rem 1rem;
  border: 1px solid transparent;
  border-radius: 9px;
  background: var(--tom-accent);
  color: #04170e;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.nev_nem:hover {
  background: #56dba8;
}

.la_2z7ktt4,
.la_6qvwxkm,
.la_uwzs7bj {
  background: var(--tom-gold);
  color: #201704;
}

.la_2z7ktt4:hover,
.la_6qvwxkm:hover,
.la_uwzs7bj:hover {
  background: #ffe4a8;
}

.la_bgcrn6x,
.la_cwwa2m2 {
  border-color: var(--tom-line);
  background: var(--tom-panel);
  color: var(--tom-text);
}

.la_bgcrn6x:hover,
.la_cwwa2m2:hover {
  background: var(--tom-raised);
}

.tom-article {
  padding-top: clamp(16px, 2.8vw, 38px);
  padding-bottom: clamp(30px, 5vw, 74px);
}

.nev_ris,
.nev_pep {
  margin-bottom: .85rem;
  color: var(--tom-muted);
  font-size: .85rem;
}

.nev_ris ol {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .75rem;
  padding: 0;
  list-style: none;
}

.tom-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
  grid-template-areas: 'cover spotlight' 'cover cashier';
  grid-template-rows: 1.15fr 1fr;
  gap: var(--tom-gap);
}

.tom-cover,
.tom-spot,
.tom-cash,
.tom-install {
  overflow: hidden;
  border-radius: var(--tom-radius);
  background-color: var(--tom-panel);
}

.tom-cover {
  grid-area: cover;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: end;
  min-height: clamp(270px, 30vw, 416px);
  padding: clamp(20px, 3.8vw, 56px);
  background-image: linear-gradient(90deg, #090d0cf5 1%, #090d0cce 32%, #090d0c73 58%, #090d0c1a 100%), url('/assets/static/cover-naro.webp');
  background-size: cover;
  background-position: center, 65% center;
  box-shadow: inset 0 0 0 1px #8cf2c627;
}

.tom-cover strong,
.tom-install strong {
  display: block;
  margin-block: .25rem 1.25rem;
  color: var(--tom-text);
  font-size: clamp(1.7rem, 4vw, 4.1rem);
  line-height: 1.03;
  letter-spacing: -.055em;
}

.tom-cover strong span {
  display: block;
  margin-top: .13em;
  color: #ffe5a0;
  font-size: .58em;
  letter-spacing: -.025em;
}

.tom-kicker {
  color: var(--tom-link);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.tom-spot {
  grid-area: spotlight;
  padding: 0;
  border: 0;
  text-align: left;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr minmax(75px, 33%);
  align-items: center;
  gap: .5rem;
  background: radial-gradient(ellipse at 86% 37%, #245444 0%, #142b23 50%, #11221d 88%);
}

.tom-spot-label,
.tom-cash a {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  justify-content: center;
  text-decoration: none;
}

.tom-spot-label {
  padding: clamp(14px, 2.7vw, 38px);
  color: var(--tom-text);
}

.tom-spot strong,
.tom-cash strong {
  display: block;
  color: var(--tom-link);
  line-height: 1.13;
  letter-spacing: -.045em;
}

.tom-spot strong {
  margin-top: .25rem;
  font-size: clamp(1.55rem, 3vw, 3rem);
}

.tom-spot img {
  width: 100%;
  border-radius: 10px;
  transform: translateX(12%) rotate(-9deg) scale(1.12);
  box-shadow: 0 10px 24px #05090796;
}

.tom-cash {
  grid-area: cashier;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 14px 0;
}

.tom-cash a {
  gap: .3rem;
  padding: .45rem clamp(7px, 1.3vw, 20px);
}

.tom-cash a + a {
  border-left: 1px solid var(--tom-line);
}

.tom-cash strong {
  color: var(--tom-gold);
  font-size: clamp(1.12rem, 2.6vw, 2.35rem);
  white-space: nowrap;
}

.tom-cash span {
  color: var(--tom-muted);
  font-size: clamp(.69rem, 1.1vw, .92rem);
}

.tom-spot:hover strong,
.tom-cash a:hover strong {
  color: #fff3cc;
}

.tom-install {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  padding: clamp(20px, 3.8vw, 48px);
  background-image: linear-gradient(105deg, var(--tom-panel), #214a39);
}

.tom-install strong {
  margin-bottom: .65rem;
  font-size: clamp(1.55rem, 3vw, 2.85rem);
}

.tom-install p {
  color: var(--tom-muted);
}

.tom-shelf {
  margin-block: clamp(18px, 3.2vw, 44px);
}

.tom-shelf-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 12px;
}

.tom-shelf-heading strong {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.tom-shelf-heading a,
.tom-jumps a {
  font-size: .9rem;
}

.tom-slots {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(13px, 2vw, 25px) var(--tom-gap);
}

.tom-slot {
  align-self: start;
  display: block;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--tom-text);
  text-align: left;
  cursor: pointer;
}

.tom-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--tom-radius);
  background: var(--tom-panel);
}

.tom-thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform .18s ease-out;
}

.tom-slot:hover img,
.tom-slot:focus-visible img {
  transform: scale(1.045);
}

.tom-play {
  position: absolute;
  inset: auto 8px 8px auto;
  padding: .22rem .58rem;
  border-radius: 6px;
  background: var(--tom-gold);
  color: #211a07;
  font-size: .8rem;
  font-weight: 800;
  box-shadow: 0 2px 6px #0007;
}

.tom-slot strong,
.tom-slot small {
  display: block;
  overflow-wrap: anywhere;
}

.tom-slot strong {
  margin-top: .5rem;
  font-size: clamp(.78rem, 1.1vw, .98rem);
  line-height: 1.3;
}

.tom-slot small {
  margin-top: .16rem;
  color: var(--tom-muted);
  font-size: .75rem;
}

.tom-quick {
  margin-top: 1rem;
}

.nev_kol,
.tom-section,
.nev_nos,
.nev_per,
.tom-checked,
.tom-inline,
.nev-sec {
  width: min(100%, 980px);
}

.nev_kol {
  margin-top: clamp(1.2rem, 3vw, 2.5rem);
  padding: .85rem 0 .85rem 1.1rem;
  border-left: 3px solid var(--tom-accent);
  color: #e0efe8;
  font-size: clamp(1.03rem, 1.6vw, 1.25rem);
}

.tom-jumps {
  display: flex;
  gap: .7rem 1.3rem;
  flex-wrap: wrap;
  margin-top: 1.3rem;
}

.tom-jumps a {
  color: var(--tom-text);
}

.tom-jumps a:hover {
  color: var(--tom-link);
}

.tom-section,
.nev-sec,
.nev_nos {
  margin-top: clamp(1.6rem, 3.4vw, 3.4rem);
  padding-top: clamp(1rem, 2.2vw, 1.75rem);
  border-top: 1px solid var(--tom-line);
}

.tom-section p,
.nev-sec p,
.nev_nos p {
  max-width: 75ch;
  margin-top: .75rem;
  color: var(--tom-muted);
}

.tom-section ol {
  display: grid;
  gap: .45rem;
  padding-left: 1.6rem;
  color: var(--tom-muted);
}

.tom-section li::marker {
  color: var(--tom-link);
  font-weight: 700;
}

.nev_ner {
  width: 100%;
  margin-top: 1.1rem;
  overflow: hidden;
  border: 1px solid var(--tom-line);
  border-spacing: 0;
  border-radius: var(--tom-radius);
  background: var(--tom-panel);
  line-height: 1.4;
}

.nev_ner th,
.nev_ner td {
  padding: .65rem clamp(.55rem, 1.6vw, 1.25rem);
  text-align: left;
  vertical-align: top;
}

.nev_ner thead th {
  background: var(--tom-raised);
  color: var(--tom-link);
}

.nev_ner th[scope="row"] {
  width: 35%;
}

.nev_ner tr + tr > * {
  border-top: 1px solid var(--tom-line);
}

.nev_nos h3 {
  margin-top: 1.4rem;
}

.nev_nos h3 + p {
  margin-top: .4rem;
}

.tom-inline,
.la_97sb4m8 {
  margin-top: 1.5rem;
}

.nev_per {
  margin-top: clamp(1.8rem, 4vw, 3.8rem);
  padding: clamp(16px, 2.5vw, 30px);
  border-radius: var(--tom-radius);
  background: var(--tom-panel);
}

.nev_per ul,
.tom-footer ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: .4rem 1.1rem;
  margin: .85rem 0 0;
  padding: 0;
  list-style: none;
}

.tom-checked {
  margin-top: 1rem;
}

.tom-checked:empty,
.tom-sticky {
  display: none;
}

.tom-footer {
  padding-block: clamp(22px, 4vw, 48px);
  border-top: 1px solid var(--tom-line);
  background: #0e1915;
  color: var(--tom-muted);
  font-size: .86rem;
}

.tom-footer p {
  max-width: 90ch;
}

.tom-footer nav {
  padding-top: .65rem;
}

.tom-footer a {
  color: var(--tom-text);
}

.tom-age {
  display: inline-block;
  margin: 0 .18em;
  color: var(--tom-gold);
}

@media (max-width: 1050px) {
  .tom-header-row {
    grid-template-columns: 1fr auto;
    min-height: auto;
    padding-top: 8px;
    column-gap: .6rem;
    row-gap: 0;
  }

  .tom-menu {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 3px 4px;
    scrollbar-width: thin;
    scrollbar-color: var(--tom-line) transparent;
  }

  .tom-actions {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 750px) {
  .tom-stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    grid-template-areas: 'cover cover' 'spotlight cashier';
    grid-template-rows: auto auto;
  }

  .tom-cover {
    min-height: 250px;
  }

  .tom-spot {
    grid-template-columns: 1fr minmax(35px, 27%);
  }

  .tom-slots {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tom-sticky:has(button) {
    position: fixed;
    inset: auto 0 0;
    z-index: 4;
    display: block;
    padding: .5rem max(14px, 3vw) calc(.5rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--tom-line);
    background: #0e1915f7;
  }

  .tom-sticky .nev_nem {
    width: 100%;
  }

  .tom-site:has(.tom-sticky button) .tom-footer {
    padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 400px) {
  .tom-emblem {
    width: 20px;
    height: 20px;
  }

  .tom-logo {
    gap: 7px;
    letter-spacing: .035em;
  }

  .tom-actions {
    gap: 4px;
  }

  .tom-actions .nev_nem {
    padding-inline: .5rem;
    font-size: .74rem;
  }

  .tom-cash {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tom-cash a:last-child {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    border-left: 0;
    border-top: 1px solid var(--tom-line);
  }

  .tom-play {
    right: 5px;
    bottom: 5px;
    font-size: .72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tom-thumb img {
    transition: none;
  }
}

.tom-spot-play {
  align-self: flex-start;
  margin-top: .55rem;
  padding: .18rem .55rem;
  border-radius: 6px;
  background: var(--tom-gold);
  color: #211a07;
  font-size: .75rem;
  font-weight: 800;
}

.nev_kap .nev_miv{background:linear-gradient(90deg, rgba(10,10,18,0.93) 0%, rgba(10,10,18,0.78) 52%, rgba(10,10,18,0.22) 100%), url('/assets/static/cover-naro.webp');background-size:cover;background-position:right center;border-radius:16px;padding:28px 32px;margin:18px 0 24px;color:#f8fafc;}
.nev_kap .nev_miv [class$='-top']{font-size:clamp(22px,3vw,32px);font-weight:800;line-height:1.15;margin:0 0 14px;max-width:560px;}
.nev_kap .nev_miv ul{list-style:none;padding:0;margin:0 0 18px;display:flex;flex-wrap:wrap;gap:8px;}
.nev_kap .nev_miv ul li{background:rgba(255,255,255,0.10);padding:6px 12px;border-radius:8px;font-size:13px;}
.nev_kap .nev_miv [class$='-foot']{display:flex;flex-wrap:wrap;align-items:center;gap:12px;}
button.nev_nem { cursor: pointer; border: 0; font: inherit; }
button.nev_samok { cursor: pointer; border: 0; font: inherit; }
