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

:root {
  color-scheme: dark;
  --rer-ground: #090d0c;
  --rer-panel: #11221d;
  --rer-raised: #182a24;
  --rer-line: #294039;
  --rer-ink: #edf5f0;
  --rer-muted: #a6b9af;
  --rer-accent: #10b981;
  --rer-link: #79e7bc;
  --rer-gold: #f5d277;
  --rer-radius: 14px;
  --rer-gutter: clamp(16px, 3vw, 42px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--rer-ground);
  color: var(--rer-ink);
  font: 400 1rem/1.6 Miravi, system-ui, sans-serif;
}
[hidden] { display: none !important; }
img { max-width: 100%; }
a { color: var(--rer-link); text-underline-offset: .22em; }
a:hover { color: #c2ffe6; }
button {
  font: inherit;
  cursor: pointer;
}
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid var(--rer-gold); outline-offset: 4px; }
p { margin: 0 0 1rem; }
h1, h2, h3 { line-height: 1.14; text-wrap: balance; }
h1 {
  font-size: clamp(2.05rem, 4.55vw, 4rem);
  letter-spacing: -.065em;
  max-width: 21ch;
  margin: 0 0 clamp(22px, 3.2vw, 44px);
}
h2 {
  margin: 0 0 .85rem;
  font-size: clamp(1.34rem, 2.05vw, 1.9rem);
  letter-spacing: -.035em;
}
h3 {
  margin: 0 0 .55rem;
  font-size: clamp(1rem, 1.35vw, 1.19rem);
  letter-spacing: -.015em;
}
.rer-wrap {
  width: calc(100% - 2 * var(--rer-gutter));
  max-width: 1320px;
  margin-inline: auto;
}
.rer-skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 12;
  transform: translateY(-150%);
  padding: .6rem 1rem;
  background: var(--rer-gold);
  color: var(--rer-ground);
  border: 0;
  border-radius: 6px;
}
.rer-skip:focus { transform: none; }
.rer-header {
  background: #0d1512;
  border-bottom: 1px solid var(--rer-line);
}
.rer-header-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: clamp(18px, 4.5vw, 68px);
}
.rer-brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-size: 1.18rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -.045em;
  text-decoration: none;
  color: var(--rer-ink);
}
.rer-brand span {
  position: relative;
  display: inline-block;
  width: 31px;
  height: 30px;
  background: var(--rer-accent);
  clip-path: polygon(22% 0, 100% 0, 72% 46%, 100% 46%, 75% 100%, 0 100%, 26% 55%, 0 55%);
}
.rer-brand span::after {
  position: absolute;
  inset: 8px 4px;
  background: #0d1512;
  clip-path: polygon(37% 0, 82% 0, 53% 36%, 92% 36%, 66% 100%, 23% 100%, 48% 58%, 9% 58%);
  content: '';
}
.rer-header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px clamp(14px, 2.4vw, 35px);
}
.rer-header nav a {
  color: var(--rer-muted);
  font-size: .86rem;
  font-weight: 600;
  text-decoration: none;
}
.rer-header nav a:hover { color: var(--rer-link); }
.rer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.tivi_suvan, .rer-play, .rer-demo, .rer-dialog-head button, .rer-filter {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 0;
  border-radius: 7px;
  min-height: 40px;
  padding: .54rem .92rem;
  text-align: center;
  text-decoration: none;
  font-size: .85rem;
  font-weight: 700;
  line-height: 1.22;
}
.tivi_suvan, .rer-play { background: var(--rer-accent); color: #071a13; }
.tivi_suvan:hover, .rer-play:hover { background: #68e0af; color: #071a13; }
.todez-kffj, .todez-4zxa, .rer-demo, .rer-dialog-head button {
  background: #22352e;
  color: var(--rer-ink);
}
.todez-kffj:hover, .todez-4zxa:hover, .rer-demo:hover:not(:disabled), .rer-dialog-head button:hover {
  background: #365345;
  color: #fff;
}
.rer-main { padding-block: clamp(22px, 5vw, 61px) 70px; }
.rer-main:focus { outline: 0; }
.tivi_sumon {
  color: var(--rer-muted);
  font-size: .82rem;
  margin-bottom: 1rem;
}
.tivi_sumon a { color: var(--rer-link); }

.rer-bento {
  display: grid;
  grid-template-columns: minmax(0, 1.94fr) minmax(0, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  margin-bottom: clamp(26px, 3vw, 44px);
}
.rer-bento > div {
  border-radius: var(--rer-radius);
  position: relative;
  overflow: hidden;
}
.rer-bento-main {
  grid-row: span 2;
  min-height: clamp(300px, 34vw, 440px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(23px, 4.2vw, 59px);
  background-color: #0b1711;
  background-image: linear-gradient(90deg, #090d0cf5 1%, #090d0cbc 36%, #090d0c00 90%), url('/assets/static/banner-ravan.webp');
  background-size: cover;
  background-position: center, center right;
}
.rer-kicker {
  font-size: .72rem;
  display: block;
  color: var(--rer-link);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.rer-bento-main .rer-kicker { color: var(--rer-gold); }
.rer-offer {
  margin: .55em 0 .65em;
  font-size: clamp(2rem, 4vw, 3.9rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.061em;
  max-width: 12ch;
}
.rer-offer span { display: block; color: var(--rer-gold); font-size: .69em; margin-top: .24em; }
.rer-bento-main .tivi_suvan {
  padding: .75rem 1.25rem;
  background: var(--rer-gold);
  color: #1f1a08;
}
.rer-bento-main .tivi_suvan:hover { background: #ffe49b; }
.rer-bento-spot, .rer-bento-cash {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: .25rem;
  padding: clamp(18px, 2.65vw, 38px);
}
.rer-bento-spot {
  background-color: var(--rer-panel);
  background-image: linear-gradient(90deg, #10221c 32%, #10221c8c 58%, #10221c10), url('/assets/static/mivis/game-peta-07.webp');
  background-size: cover, auto 120%;
  background-repeat: no-repeat;
  background-position: center, right center;
}
.rer-bento-spot a, .rer-bento-cash a {
  color: var(--rer-ink);
  font-size: clamp(1.18rem, 2.45vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.14;
  text-decoration: none;
}
.rer-bento-spot a:hover, .rer-bento-cash a:hover { color: var(--rer-link); }
.rer-bento-spot strong {
  color: var(--rer-gold);
  font-size: .86rem;
  font-variant-numeric: tabular-nums;
}
.rer-bento-cash {
  background:
    repeating-linear-gradient(132deg, transparent 0 34px, #6adbb313 35px 36px, transparent 37px 53px) right / 44% 100% no-repeat,
    linear-gradient(118deg, #172723, #11221d 52%, #18372c);
}
.rer-bento-cash a:last-child { color: var(--rer-gold); font-size: clamp(.96rem, 1.5vw, 1.24rem); }
.rer-bento-cash a:last-child:hover { color: #fff0b8; }

.rer-lobby { margin-bottom: 36px; }
.rer-lobby-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  margin: 0 0 1rem;
}
.rer-lobby-name {
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.15;
  letter-spacing: -.046em;
}
.rer-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.rer-filter { background: #15221d; color: var(--rer-muted); min-height: 36px; }
.rer-filter:hover { background: #263c33; color: var(--rer-ink); }
.rer-filter[aria-pressed="true"] { background: #204d3a; color: #c7ffe5; }
.rer-slot-wall {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.rer-slot {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #101b16;
  border-radius: var(--rer-radius);
}
.rer-cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}
.rer-slot-info {
  display: grid;
  align-content: start;
  gap: .23rem;
  padding: .75rem .68rem .54rem;
  line-height: 1.2;
}
.rer-rtp { color: var(--rer-gold); font-size: .72rem; font-variant-numeric: tabular-nums; }
.rer-game { min-height: 2.4em; font-weight: 750; font-size: clamp(.9rem, 1.18vw, 1.04rem); }
.rer-studio { color: var(--rer-muted); font-size: .71rem; }
.rer-slot-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 0 .55rem .66rem;
}
.rer-slot-actions button { font-size: .71rem; min-width: 0; padding: .4rem .15rem; }
.rer-demo:disabled { background: #182721; color: #adbbb3; }
.rer-dialog {
  width: min(800px, calc(100% - 30px));
  max-height: calc(100% - 30px);
  padding: 0;
  background: var(--rer-panel);
  color: var(--rer-ink);
  border: 1px solid var(--rer-line);
  border-radius: var(--rer-radius);
}
.rer-dialog::backdrop { background: #000c; }
.rer-dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: 12px 15px;
  background: var(--rer-raised);
}
.rer-demo-stage { padding: 10px; }
.rer-demo-stage iframe {
  display: block;
  width: 100%;
  height: min(60vh, 510px);
  border: 0;
  border-radius: 8px;
  background: #090d0c;
}
body:has(.rer-dialog[open]) { overflow: hidden; }

.rer-start { margin: 0 0 19px; }
.tivi_nomin {
  max-width: 83ch;
  margin: 0 0 26px;
  padding: .9rem 1.15rem;
  border-inline-start: 4px solid var(--rer-accent);
  background: #12231c;
  color: #e1f2e9;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
}
.rer-editorial {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 19px;
}
.rer-chapter {
  padding: clamp(18px, 2.7vw, 32px);
  border-radius: var(--rer-radius);
  background: #101b17;
  border-top: 2px solid #234235;
}
.rer-chapter:first-child {
  grid-column: 1 / -1;
  background: var(--rer-panel);
  border-top-color: #3a775c;
}
.rer-chapter p { max-width: 73ch; color: #c6d6ce; }
.rer-chapter p:last-child { margin-bottom: 0; }
.rer-interlude { grid-column: 1 / -1; padding: 5px 0; }
.tivi_nepal {
  border-collapse: collapse;
  width: 100%;
  max-width: 820px;
  margin-top: 1.25rem;
  font-size: .9rem;
  font-variant-numeric: tabular-nums;
  text-align: start;
}
.tivi_nepal th, .tivi_nepal td {
  padding: .58rem .65rem;
  text-align: start;
  border-bottom: 1px solid #395146;
}
.tivi_nepal thead { color: var(--rer-link); background: #1c3229; }
.tivi_nepal tbody th { color: var(--rer-ink); }
.tivi_nepal td { color: #c1d6ca; }
.tivi_tumit {
  max-width: 940px;
  margin-top: 2.5rem;
  padding: clamp(18px, 3vw, 36px);
  background: var(--rer-panel);
  border-radius: var(--rer-radius);
}
.tivi_tumit h2 { margin-bottom: 1.3rem; }
.tivi_tumit h3 { padding-top: 1rem; border-top: 1px solid var(--rer-line); }
.tivi_tumit p { max-width: 74ch; color: #c9d9d0; }
.tivi_tumit p:last-child { margin-bottom: 0; }
.tivi_lotut { margin: 2.15rem 0 1.5rem; }
.tivi_lotut h2 { font-size: clamp(1.12rem, 1.55vw, 1.4rem); }
.tivi_lotut ul, .rer-footer ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: .55rem 1.45rem;
}
.tivi_lotut a { font-size: .9rem; }
.tivi_koper { color: var(--rer-muted); font-size: .78rem; }
.rer-footer { background: #0e1814; border-top: 1px solid var(--rer-line); }
.rer-footer article { padding-block: 32px 42px; }
.rer-footer a { color: #c5dbcf; font-size: .84rem; }
.rer-footer a:hover { color: var(--rer-link); }
.rer-footer article > div { border-top: 1px solid var(--rer-line); margin-top: 1.2rem; padding-top: .85rem; }
.rer-footer small { display: block; max-width: 90ch; color: var(--rer-muted); font-size: .78rem; }
.rer-sticky { display: none; }

@media (max-width: 1000px) {
  .rer-header-inner { gap: 8px 20px; padding-block: 12px; }
  .rer-slot-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .rer-header-inner { grid-template-columns: 1fr auto; }
  .rer-header nav { grid-column: 1 / -1; grid-row: 2; gap: 7px 19px; padding-block: 5px; }
  .rer-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
  .rer-bento-main { grid-column: 1 / -1; grid-row: auto; }
  .rer-bento-spot, .rer-bento-cash { min-height: 134px; }
  .rer-slot-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rer-editorial { grid-template-columns: 1fr; }
  .rer-sticky:has(.tivi_suvan) {
    display: flex;
    position: fixed;
    z-index: 4;
    inset: auto 0 0;
    justify-content: center;
    background: #0e1814;
    border-top: 1px solid var(--rer-line);
    padding: 8px var(--rer-gutter) max(8px, env(safe-area-inset-bottom));
  }
  .rer-sticky .tivi_suvan { flex: 1; max-width: 430px; }
  body:has(.rer-sticky .tivi_suvan) .rer-footer { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
}
@media (max-width: 525px) {
  .rer-brand { font-size: 1rem; gap: .38rem; }
  .rer-brand span { width: 27px; height: 26px; }
  .rer-header .tivi_suvan { min-height: 35px; padding: .45rem .57rem; font-size: .76rem; }
  .rer-header nav a { font-size: .78rem; }
  .rer-bento { gap: 8px; }
  .rer-bento-main { background-position: center, 62% center; }
  .rer-bento-main .rer-offer { font-size: clamp(2rem, 8vw, 2.8rem); }
  .rer-bento-spot, .rer-bento-cash { padding: 14px 11px; min-height: 104px; }
  .rer-kicker { font-size: .62rem; }
  .rer-slot-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tivi_nepal, .tivi_nepal tbody, .tivi_nepal tr, .tivi_nepal th, .tivi_nepal td { display: block; }
  .tivi_nepal thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .tivi_nepal tr { margin-bottom: .8rem; }
  .tivi_nepal tbody th { background: #21382e; }
  .tivi_nepal td { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
  .tivi_nepal td::before { content: attr(data-label); color: var(--rer-link); }
}
@media (prefers-reduced-motion: no-preference) {
  .rer-cover { transition: filter .16s ease-out; }
  .rer-slot:focus-within .rer-cover, .rer-slot:hover .rer-cover { filter: brightness(1.09); }
}

.rer-chapter ol, .rer-chapter ul {
  max-width: 73ch;
  margin-block: 0;
  padding-inline-start: 1.35rem;
  color: #c6d6ce;
}
.rer-chapter li + li { margin-top: .48rem; }
.rer-chapter li::marker { color: var(--rer-link); }

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