@font-face {
  font-family: 'Lasonis';
  src: url('/assets/media/sans_toluv.woff2') format('woff2');
  font-display: swap;
}

:root {
  color-scheme: dark;
  --lote-night: #071426;
  --lote-surface: #0e2038;
  --lote-deep: #0a192c;
  --lote-ink: #f8f7fb;
  --lote-muted: #bbc9dc;
  --lote-line: #263c56;
  --lote-coral: #ff4668;
  --lote-gold: #fbbf24;
  --lote-radius: 12px;
}

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

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-width: 280px;
  font: 400 1rem/1.65 Lasonis, system-ui, sans-serif;
  color: var(--lote-ink);
  background:
    radial-gradient(ellipse at 94% 6%, #241c3b 0, transparent 31rem),
    var(--lote-night);
}

a {
  color: #ff91a5;
  text-underline-offset: .21em;
}

a:hover {
  color: var(--lote-ink);
}

button {
  color: inherit;
  font: inherit;
  cursor: pointer;
}

button:disabled {
  opacity: .42;
  cursor: default;
}

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

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

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

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

.lote-wrap {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

.lote-top {
  background: #071426ec;
  border-bottom: 1px solid var(--lote-line);
}

.lote-toprow, .lote-identity, .lote-top nav {
  display: flex;
  align-items: center;
}

.lote-toprow {
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.lote-top nav {
  gap: clamp(14px, 2vw, 32px);
}

.lote-top nav a {
  color: var(--lote-muted);
  text-decoration: none;
  font-size: .83rem;
  white-space: nowrap;
}

.lote-top nav a:hover {
  color: var(--lote-ink);
}

.lote-identity {
  gap: 12px;
}

.lote-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-right: 10px;
  color: var(--lote-ink);
  font-size: clamp(1.05rem, 1.55vw, 1.4rem);
  font-weight: 850;
  font-style: italic;
  letter-spacing: -.07em;
  text-decoration: none;
}

.vavel-mono {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 9px 17px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--lote-coral);
  color: #180b16;
  font-weight: 750;
  font-size: .83rem;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}

.vavel-mono:hover {
  background: #ff7690;
  color: #180b16;
}

.lobe-ryywxk, .lobe-g3xkbr {
  background: transparent;
  color: var(--lote-ink);
  border-color: var(--lote-line);
}

.lote-title {
  padding-block: 30px 23px;
}

.lote-title h1 {
  font-size: clamp(1.54rem, 3vw, 2.6rem);
  letter-spacing: -.045em;
  max-width: 40ch;
}

.vavel-tuvi {
  margin-bottom: 9px;
  color: var(--lote-muted);
  font-size: .78rem;
}

.vavel-tuvi a {
  color: inherit;
}

.lote-stage {
  display: flex;
  gap: 8px;
  min-height: 420px;
}

.lote-panel {
  position: relative;
  display: flex;
  flex: .65 1 0;
  flex-direction: column;
  justify-content: end;
  min-width: 0;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #ffbbc42e;
  border-radius: var(--lote-radius);
  background: linear-gradient(163deg, #3b1e40, #101e37 60%, #10192d);
  transition: flex .38s cubic-bezier(.22,.75,.25,1), border-color .25s ease;
}

.lote-panel:nth-child(1) {
  background:
    linear-gradient(90deg, #071426ee, #07142688 38%, #07142610 72%),
    url('/assets/media/cover-sove.webp') 65% center / cover no-repeat,
    var(--lote-surface);
}

.lote-panel:nth-child(2) {
  background:
    linear-gradient(90deg, #130e25e8 10%, #1714318c 62%, #15162d55),
    url('/assets/media/neva/vitira-01.webp') 65% 44% / cover no-repeat,
    #251d3d;
}

.lote-panel:nth-child(3) {
  background: radial-gradient(ellipse at 82% 20%, #6d3049, transparent 60%), linear-gradient(155deg, #2d203d, #111c32);
}

.lote-panel:nth-child(4) {
  background: linear-gradient(150deg, #4d3527, #172235 62%);
}

.lote-panel::after {
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 65%;
  background: linear-gradient(transparent, #071426b0);
  content: '';
}

.lote-panel.lote-open {
  flex: 4 1 0;
  border-color: #ff708280;
}

.lote-panel > button {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: end;
  padding: 20px 0;
  border: 0;
  background: #0b152371;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
  font-weight: 800;
  font-size: .76rem;
  letter-spacing: .13em;
  color: var(--lote-ink);
}

.lote-panel > button:hover {
  background: #0b152344;
}

.lote-panel > button:focus-visible {
  outline-offset: -5px;
}

.lote-panel.lote-open > button {
  inset: 20px auto auto 24px;
  padding: 4px 8px;
  background: #071426cf;
  border-radius: 4px;
  transform: none;
  writing-mode: horizontal-tb;
  color: #ffc5ce;
}

.lote-panel.lote-open > button:focus-visible {
  outline-offset: 3px;
}

.lote-panel-copy {
  display: grid;
  justify-items: start;
  align-content: end;
  gap: 12px;
  padding: 76px clamp(22px, 4vw, 54px) 42px;
}

.lote-panel-copy strong {
  display: block;
  max-width: 13ch;
  font-size: clamp(2.15rem, 4.7vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: -.07em;
  text-wrap: balance;
  text-shadow: 0 3px 30px #050e21;
}

.lote-panel-copy > a {
  font-size: clamp(1.35rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--lote-ink);
  line-height: 1.18;
}

.lote-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 12px;
  padding: 16px 12px;
  border: 1px solid var(--lote-line);
  border-radius: var(--lote-radius);
  background: linear-gradient(120deg, #172841d9, #0d1d33cc);
}

.lote-metrics > div {
  display: flex;
  flex-direction: column-reverse;
  padding-inline: clamp(12px, 2.6vw, 36px);
}

.lote-metrics > div + div {
  border-left: 1px solid var(--lote-line);
}

.lote-metrics dt {
  color: var(--lote-muted);
  font-size: .72rem;
}

.lote-metrics dd {
  color: var(--lote-gold);
  font-size: clamp(1rem, 2.4vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.22;
  margin-bottom: 4px;
}

.lote-lobby {
  margin-top: 32px;
}

.lote-lobbyhead, .lote-dialoghead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.lote-lobbyhead strong {
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  letter-spacing: -.05em;
}

.lote-arrows, .lote-gameactions, .lote-filters {
  display: flex;
  gap: 7px;
}

.lote-arrows button, .lote-dialoghead button, .lote-filters button, .lote-gameactions button {
  min-height: 38px;
  border: 1px solid var(--lote-line);
  border-radius: 7px;
  background-color: var(--lote-surface);
  color: var(--lote-ink);
  padding: 4px 12px;
  font-size: .76rem;
}

.lote-arrows button {
  min-width: 44px;
  font-size: 1.12rem;
  line-height: 1;
}

.lote-filters {
  flex-wrap: wrap;
  margin: 12px 0;
}

.lote-filters button[aria-pressed="true"] {
  background: #f8e7eb;
  border-color: #f8e7eb;
  color: #23162a;
}

.lote-arrows button:hover:not(:disabled), .lote-dialoghead button:hover, .lote-filters button:hover:not([aria-pressed="true"]), .lote-gameactions button:hover {
  background-color: #213a58;
}

.lote-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 74px) / 6);
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-color: #526782 var(--lote-deep);
  padding: 3px 3px 13px;
}

.lote-game {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  scroll-snap-align: start;
}

.lote-cover {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--lote-radius);
  background: var(--lote-surface);
}

.lote-gameinfo {
  display: grid;
  gap: 2px;
}

.lote-gamename {
  font-size: .83rem;
  line-height: 1.35;
}

.lote-rtp, .lote-studio {
  font-size: .67rem;
  color: var(--lote-muted);
}

.lote-rtp {
  color: var(--lote-gold);
  font-variant-numeric: tabular-nums;
}

.lote-gameactions {
  flex-wrap: wrap;
  gap: 5px;
}

.lote-gameactions button {
  min-height: 34px;
  padding-inline: 7px;
  font-size: .7rem;
}

.lote-dialog {
  width: min(830px, calc(100% - 28px));
  max-height: calc(100% - 24px);
  padding: 0;
  border: 1px solid var(--lote-line);
  border-radius: var(--lote-radius);
  background: var(--lote-surface);
  color: var(--lote-ink);
}

.lote-dialog::backdrop {
  background: #030a14dc;
}

.lote-dialoghead {
  padding: 12px 16px;
  border-bottom: 1px solid var(--lote-line);
}

.lote-dialog iframe {
  display: block;
  width: 100%;
  height: min(64dvh, 540px);
  border: 0;
  background: var(--lote-deep);
}

.lote-editorial {
  width: min(860px, 100%);
  margin: 56px auto 0;
}

.lote-title + .lote-editorial {
  margin-top: 8px;
}

.lote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 20px;
}

.vavel-nono {
  padding: clamp(18px, 3vw, 30px);
  border-left: 3px solid var(--lote-coral);
  border-radius: 0 var(--lote-radius) var(--lote-radius) 0;
  background: var(--lote-surface);
  color: var(--lote-ink);
  font-size: clamp(1rem, 2vw, 1.19rem);
}

.lote-chapter {
  padding-block: 32px;
  border-bottom: 1px solid var(--lote-line);
}

.lote-chapter h2, .vavel-riti h2, .vavel-paka h2 {
  font-size: clamp(1.27rem, 2.6vw, 1.75rem);
  letter-spacing: -.04em;
  margin-bottom: 11px;
}

.lote-chapter p, .lote-chapter li, .vavel-riti p {
  line-height: 1.75;
  color: var(--lote-muted);
}

.lote-chapter ol {
  margin: 0;
  padding-left: 1.5em;
}

.lote-chapter li + li {
  margin-top: .35em;
}

.lote-editorial > .vavel-mono {
  margin-top: 20px;
}

.vavel-losu {
  width: 100%;
  margin-top: 18px;
  border-spacing: 0;
  border: 1px solid var(--lote-line);
  border-radius: var(--lote-radius);
  overflow: hidden;
  background: var(--lote-deep);
  font-size: .87rem;
}

.vavel-losu :is(th, td) {
  padding: 10px 15px;
  text-align: left;
}

.vavel-losu thead th {
  background: #192d48;
  color: var(--lote-ink);
}

.vavel-losu tbody th {
  color: var(--lote-ink);
  width: 32%;
}

.vavel-losu tbody td {
  color: var(--lote-muted);
}

.vavel-losu tbody tr + tr > * {
  border-top: 1px solid var(--lote-line);
}

.vavel-riti {
  margin-top: 34px;
  padding: clamp(19px, 4vw, 38px);
  border: 1px solid var(--lote-line);
  border-radius: var(--lote-radius);
  background: linear-gradient(150deg, var(--lote-surface), var(--lote-deep));
}

.vavel-riti h3 {
  font-size: 1rem;
  padding-top: 16px;
  margin-top: 17px;
  margin-bottom: 5px;
  border-top: 1px solid var(--lote-line);
}

.vavel-paka {
  width: min(860px, 100%);
  margin: 34px auto 0;
}

.vavel-paka ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  padding-left: 1.25em;
}

.vavel-paka li::marker {
  color: var(--lote-gold);
}

.vavel-mope {
  display: block;
  width: min(860px, 100%);
  margin: 22px auto 44px;
  color: var(--lote-muted);
  font-size: .75rem;
}

.vavel-takar {
  background: #060f1f;
  border-top: 1px solid var(--lote-line);
  margin-top: 44px;
  padding-block: 30px 38px;
}

.vavel-takar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 20px;
  padding-bottom: 16px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--lote-line);
}

.vavel-takar nav a {
  color: var(--lote-ink);
  text-decoration: none;
  font-size: .8rem;
}

.vavel-takar p {
  max-width: 82ch;
  color: var(--lote-muted);
}

.lote-sticky {
  display: none;
}

@media (max-width: 1000px) {
  .lote-wrap {
    width: min(1240px, calc(100% - 40px));
  }

  .lote-track {
    grid-auto-columns: calc((100% - 48px) / 4);
  }

  .lote-toprow {
    gap: 16px;
  }
}

@media (max-width: 760px) {
  .lote-toprow {
    display: grid;
    justify-content: stretch;
    grid-template-columns: 1fr;
    gap: 0;
    min-height: auto;
  }

  .lote-identity {
    grid-row: 1;
    justify-content: end;
    min-height: 61px;
    gap: 7px;
  }

  .lote-brand {
    margin-right: auto;
    padding-right: 0;
  }

  .lote-top nav {
    justify-content: space-between;
    padding-block: 11px;
    border-top: 1px solid var(--lote-line);
  }

  .lote-top nav a {
    font-size: .77rem;
  }

  .lote-identity .vavel-mono {
    min-height: 36px;
    padding-inline: 9px;
    font-size: .71rem;
  }

  .lote-title {
    padding-block: 23px 17px;
  }

  .lote-stage {
    gap: 5px;
    min-height: 380px;
  }

  .lote-panel.lote-open {
    flex: 5.6 1 0;
  }

  .lote-panel:nth-child(1) {
    background-position: center, 60% center;
  }

  .lote-panel.lote-open > button {
    inset: 13px auto auto 10px;
    padding-inline: 6px;
  }

  .lote-panel > button {
    font-size: .66rem;
    letter-spacing: .06em;
  }

  .lote-panel-copy {
    padding: 55px 13px 24px;
  }

  .lote-panel-copy strong {
    max-width: 11ch;
    font-size: clamp(1.65rem, 6vw, 2.85rem);
  }

  .lote-track {
    grid-auto-columns: calc((100% - 34px) / 3);
  }

  .lote-editorial {
    margin-top: 34px;
  }

  .lote-sticky:has(button) {
    display: flex;
    position: fixed;
    z-index: 4;
    bottom: 0;
    inset-inline: 0;
    padding: 7px max(20px, env(safe-area-inset-right)) max(7px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
    border-top: 1px solid var(--lote-line);
    background: #071426f5;
  }

  .lote-sticky button {
    width: 100%;
  }

  .lote-site:has(.lote-sticky button) {
    padding-bottom: calc(59px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 490px) {
  .lote-wrap {
    width: min(1240px, calc(100% - 24px));
  }

  .lote-brand img {
    width: 20px;
  }

  .lote-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 6px;
  }

  .lote-metrics > div {
    padding: 10px;
  }

  .lote-metrics > div:nth-child(3) {
    border-left: 0;
  }

  .lote-metrics > div:nth-child(n+3) {
    border-top: 1px solid var(--lote-line);
  }

  .lote-track {
    grid-auto-columns: calc((100% - 21px) / 2);
  }

  .vavel-losu :is(th, td) {
    padding: 8px 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lote-panel, .vavel-mono {
    transition: none;
  }
}

@media print {
  :root {
    color-scheme: light;
  }

  .lote-site, .vavel-nono, .vavel-riti, .vavel-losu, .vavel-losu thead th, .vavel-takar {
    background: white;
  }

  .lote-site :is(a, th, td, p, li, small) {
    color: black;
  }

  .lote-stage, .lote-top, .lote-lobby, .lote-metrics, .vavel-mono, .lote-sticky {
    display: none !important;
  }

  .lote-wrap, .lote-editorial, .vavel-paka {
    width: 100%;
  }

  .vavel-losu {
    break-inside: avoid;
  }
}

.vavel-sari .vavel-miko{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/media/cover-sove.webp');background-size:cover;background-position:right center;border-radius:16px;padding:28px 32px;margin:18px 0 24px;color:#f8fafc;}
.vavel-sari .vavel-miko [class$='-top']{font-size:clamp(22px,3vw,32px);font-weight:800;line-height:1.15;margin:0 0 14px;max-width:560px;}
.vavel-sari .vavel-miko ul{list-style:none;padding:0;margin:0 0 18px;display:flex;flex-wrap:wrap;gap:8px;}
.vavel-sari .vavel-miko ul li{background:rgba(255,255,255,0.10);padding:6px 12px;border-radius:8px;font-size:13px;}
.vavel-sari .vavel-miko [class$='-foot']{display:flex;flex-wrap:wrap;align-items:center;gap:12px;}
.vavel-mono, .vavel-kako {
  font-family: inherit;
  cursor: pointer;
  border-width: 0;
}
