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

:root {
  color-scheme: light;
  --revom-canvas: #f3f4f6;
  --revom-paper: #fff;
  --revom-ink: #171922;
  --revom-muted: #505565;
  --revom-line: #dce0e7;
  --revom-flame: #e8590c;
  --revom-rust: #7f2c08;
  --revom-green: #0ca678;
  --revom-night: #0b0d14;
  --revom-gold: #ffd273;
  --revom-radius: 12px;
  --revom-width: 1280px;
  --revom-edge: clamp(16px, 4vw, 52px);
}

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

html {
  scroll-padding-top: 20px;
}

body {
  margin: 0;
  background: var(--revom-canvas);
  color: var(--revom-ink);
  font: 400 1rem/1.65 'Mepener', system-ui, sans-serif;
}

a {
  color: var(--revom-rust);
  text-underline-offset: .21em;
  text-decoration-thickness: .075em;
}

a:hover {
  text-decoration-thickness: .15em;
}

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

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

a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #1368bd;
  outline-offset: 4px;
}

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

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

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

h1 {
  font-size: clamp(1.65rem, 3.2vw, 2.85rem);
  letter-spacing: -.042em;
}

h2 {
  font-size: clamp(1.33rem, 2.35vw, 2rem);
  letter-spacing: -.035em;
}

h3 {
  font-size: clamp(1.05rem, 1.55vw, 1.25rem);
  letter-spacing: -.02em;
}

p + p {
  margin-top: .9rem;
}

[hidden] {
  display: none !important;
}

.revom-wrap {
  width: min(calc(100% - var(--revom-edge) * 2), var(--revom-width));
  margin-inline: auto;
}

.revom-skip {
  position: absolute;
  z-index: 4;
  inset: .6rem auto auto .6rem;
  padding: .65rem 1rem;
  background: var(--revom-paper);
  transform: translateY(-200%);
}

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

.revom-header {
  background: var(--revom-flame);
  color: white;
  border-bottom: 1px solid #f88143;
}

.revom-header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 72px;
  gap: clamp(.8rem, 2.7vw, 2.75rem);
}

.revom-brand {
  color: white;
  font-size: clamp(1.11rem, 2.15vw, 1.62rem);
  font-weight: 900;
  line-height: .96;
  letter-spacing: -.05em;
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 1px 3px #8f2d13;
}

.revom-menu {
  display: flex;
  align-items: center;
  gap: clamp(.6rem, 2vw, 1.9rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.revom-menu a {
  display: block;
  padding-block: .65rem;
  color: white;
  font-weight: 750;
  font-size: .92rem;
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 1px 3px #8f2d13;
}

.revom-menu a:hover {
  text-decoration: underline;
}

.revom-header a:focus-visible, .revom-header button:focus-visible {
  outline-color: white;
}

.revom-account, .revom-actions {
  display: flex;
  gap: .55rem;
  align-items: center;
  flex-wrap: wrap;
}

.kati-ripet {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: .62rem 1.05rem;
  border: 0;
  border-radius: var(--revom-radius);
  background: #19212c;
  color: white;
  font-weight: 750;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s ease, box-shadow .18s ease;
}

.kati-ripet:hover {
  background: #303e51;
}

.revom-account .kati-ripet {
  font-size: .82rem;
  min-height: 40px;
  padding-inline: .8rem;
  white-space: nowrap;
}

.revom-account .ri_yet3am {
  color: #381506;
  background: #ffba91;
}

.revom-account .ri_yet3am:hover {
  background: #ffd2b9;
}

.revom-page-head {
  padding-block: clamp(20px, 4vw, 48px) clamp(16px, 2.6vw, 32px);
}

.kati-risuk {
  font-size: .8rem;
  color: var(--revom-muted);
  margin-bottom: .8rem;
}

.kati-risuk ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.kati-katip #revom-main {
  display: flex;
  flex-direction: column;
}

.kati-katip .revom-stage {
  order: -3;
}

.kati-katip .revom-features {
  order: -2;
}

.kati-katip .revom-catalog {
  order: -1;
}

.revom-stage {
  min-height: 430px;
  display: grid;
  place-items: center;
  padding: clamp(38px, 6vw, 88px) var(--revom-edge);
  text-align: center;
  color: #fff;
  background-color: var(--revom-night);
  background-image: radial-gradient(ellipse at center, #080a10b0 0%, #080a105c 56%, #080a109e 100%), url('/assets/media/cover-mope.webp');
  background-size: cover;
  background-position: center 49%;
}

.kati-karas .revom-stage {
  min-height: 300px;
  padding-block: 36px;
}

.revom-stage-inner {
  width: min(100%, 840px);
}

.revom-offer {
  font-size: clamp(2.35rem, 6vw, 5.55rem);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: .99;
  text-wrap: balance;
  text-shadow: 0 3px 22px #080a10;
}

.kati-karas .revom-offer {
  font-size: clamp(2.05rem, 4vw, 3.9rem);
}

.revom-offer strong {
  color: var(--revom-gold);
  white-space: nowrap;
}

.revom-stage-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .3rem .85rem;
  margin: 20px 0 22px;
  font-size: clamp(.74rem, 1.5vw, .93rem);
  font-weight: 700;
  letter-spacing: .01em;
  color: #f8ecdf;
  text-shadow: 0 1px 6px #000;
}

.revom-stage-facts span {
  border-inline: 1px solid #e8c4959c;
  padding-inline: .85rem;
}

.ri_cg7jp2, .ri_3mdkft {
  background: var(--revom-green);
  color: #071d16;
  font-weight: 900;
}

.ri_cg7jp2 {
  min-height: 54px;
  padding-inline: clamp(1.15rem, 4vw, 2.2rem);
  box-shadow: 0 10px 24px #0006;
}

.ri_cg7jp2:hover, .ri_3mdkft:hover {
  color: #071d16;
  background: #31cea0;
}

.revom-stage :focus-visible {
  outline-color: var(--revom-gold);
}

.revom-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.6rem, 1.9vw, 1.3rem);
  margin-block: 24px 35px;
}

.revom-features a {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 104px;
  padding: clamp(.85rem, 2.5vw, 1.55rem);
  overflow: hidden;
  border-radius: var(--revom-radius);
  background: var(--revom-paper);
  color: var(--revom-ink);
  text-decoration: none;
  box-shadow: 0 2px 6px #19212c0a;
}

.revom-features a::after {
  content: "↗";
  position: absolute;
  top: 10px;
  right: 12px;
  color: var(--revom-rust);
  opacity: .8;
}

.revom-features a:hover {
  box-shadow: 0 3px 14px #19212c20;
}

.revom-features strong {
  font-size: clamp(1.25rem, 3.4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: 1.15;
}

.revom-features span {
  margin-top: .26rem;
  color: var(--revom-muted);
  font-size: clamp(.75rem, 1.45vw, .95rem);
  font-weight: 650;
  line-height: 1.25;
}

.revom-rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
}

.revom-arrows {
  display: flex;
  gap: .4rem;
}

.revom-arrows button, .revom-filters button {
  min-height: 44px;
  border-radius: var(--revom-radius);
  border: 1px solid var(--revom-line);
  background: var(--revom-paper);
  font-weight: 750;
}

.revom-arrows button {
  width: 44px;
  font-size: 1.25rem;
  line-height: 1;
}

.revom-arrows button:not(:disabled):hover,
.revom-filters button:hover {
  background: #fee7d7;
}

.revom-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(225px, 30vw, 315px);
  gap: clamp(.75rem, 2vw, 1.45rem);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-color: #9c9eac transparent;
  padding: 14px 5px 16px;
  margin: 0 -5px 34px;
}

.revom-rail .revom-game {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  scroll-snap-align: start;
  scroll-margin-inline-start: 5px;
  gap: .36rem;
}

.revom-rank {
  display: block;
  font-size: clamp(4.7rem, 9.3vw, 7.5rem);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.1em;
  padding-right: .07em;
  color: var(--revom-canvas);
  -webkit-text-stroke: 2px var(--revom-ink);
}

.revom-tile {
  position: relative;
  isolation: isolate;
  aspect-ratio: 340 / 226;
  border-radius: var(--revom-radius);
  background: var(--revom-night);
}

.revom-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.revom-tile .ri_wcuz33 {
  position: absolute;
  inset: 0;
  align-items: end;
  justify-content: start;
  padding: .65rem .82rem;
  background: linear-gradient(transparent 62%, #080a12e8);
  text-shadow: 0 1px 4px #000;
  font-weight: 850;
  transition: box-shadow .18s ease;
}

.revom-tile .ri_wcuz33::after {
  content: "›";
  margin-left: .34rem;
  color: var(--revom-gold);
}

.revom-tile .ri_wcuz33:hover {
  background: linear-gradient(transparent 37%, #080a12fa);
  box-shadow: inset 0 -3px var(--revom-green);
}

.revom-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-block: 13px 15px;
}

.revom-filters button {
  padding: .48rem .85rem;
  font-size: .86rem;
  line-height: 1.15;
}

.revom-filters button[aria-pressed="true"] {
  border-color: var(--revom-ink);
  background: var(--revom-ink);
  color: white;
}

.revom-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(.65rem, 1.65vw, 1.15rem);
  margin-bottom: 12px;
}

.revom-jumps {
  display: flex;
  gap: .45rem 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  padding-block: .85rem;
  border-block: 1px solid var(--revom-line);
  font-weight: 750;
  font-size: .88rem;
}

.revom-lead {
  width: min(calc(100% - var(--revom-edge) * 2), var(--revom-width));
  margin: clamp(19px, 3vw, 36px) auto 16px;
  padding: clamp(15px, 2.65vw, 29px);
  border-radius: var(--revom-radius);
  border-inline-start: 4px solid var(--revom-flame);
  background: #fff7ee;
  color: #462719;
  font-size: clamp(1rem, 1.7vw, 1.16rem);
  font-weight: 670;
}

.revom-actions {
  margin-block: 16px;
}

.revom-section, .kati-kasut, .revom-related {
  margin-block: 14px;
  padding: clamp(17px, 3vw, 34px);
  background: var(--revom-paper);
  border-radius: var(--revom-radius);
}

.revom-section h2, .kati-kasut h2 {
  margin-bottom: .7rem;
}

.revom-section p, .kati-kasut p {
  max-width: 76ch;
}

.kati-kasut h3 {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--revom-line);
}

.kati-kasut h3 + p {
  margin-top: .38rem;
}

.revom-related ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .6rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 750;
}

.revom-table {
  overflow-x: auto;
  margin-top: 1rem;
  border: 1px solid var(--revom-line);
  border-radius: var(--revom-radius);
}

.kati-rakar {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  text-align: left;
}

.kati-rakar th, .kati-rakar td {
  padding: .72rem clamp(.62rem, 2vw, 1.4rem);
}

.kati-rakar th {
  background: #232736;
  color: white;
  line-height: 1.25;
}

.kati-rakar tbody tr + tr {
  border-top: 1px solid var(--revom-line);
}

.kati-rakar tbody tr:nth-child(even) {
  background: #f6f7fa;
}

.kati-rakar td:last-child {
  font-weight: 750;
}

.revom-date {
  margin-block: 12px 26px;
  color: var(--revom-muted);
  font-size: .83rem;
}

.revom-footer {
  border-top: 4px solid var(--revom-flame);
  background: #1b202c;
  color: #e0e4eb;
  padding-block: 22px 30px;
}

.revom-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.5rem;
  padding: 0;
  margin: 0 0 12px;
  list-style: none;
}

.revom-footer a {
  color: #ffe0aa;
  font-size: .9rem;
  font-weight: 720;
}

.revom-footer :focus-visible {
  outline-color: #ffe0aa;
}

.revom-footer small {
  display: block;
  max-width: 90ch;
  font-size: .83rem;
}

.ri_3mdkft {
  display: none;
}

@media (max-width: 1000px) {
  .revom-header-row {
    grid-template-columns: 1fr auto;
    gap: .3rem .9rem;
    padding-top: 10px;
  }

  .revom-header-row nav {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .revom-account {
    grid-column: 2;
    grid-row: 1;
  }

  .revom-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .revom-header-row {
    min-height: 60px;
  }

  .revom-account .kati-ripet {
    min-height: 38px;
    padding-inline: .56rem;
    font-size: .71rem;
  }

  .revom-menu {
    justify-content: space-between;
  }

  .revom-stage {
    background-position: 53% center;
  }

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

  .revom-related ul {
    grid-template-columns: 1fr;
  }

  .revom-footer:has(+ .ri_3mdkft) {
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
  }

  .ri_3mdkft {
    display: flex;
    position: fixed;
    z-index: 2;
    inset: auto var(--revom-edge) calc(10px + env(safe-area-inset-bottom));
    min-height: 49px;
    box-shadow: 0 4px 22px #12182670;
  }
}

@media (max-width: 410px) {
  .revom-features a::after {
    display: none;
  }

  .revom-account {
    gap: .28rem;
  }

  .revom-account .ri_ta2ash {
    display: none;
  }

  .revom-rail {
    grid-auto-columns: 218px;
  }

  .revom-features a {
    padding-inline: .6rem;
  }

  .kati-rakar {
    font-size: .77rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0s !important;
  }
}

.kati-kasut {
  width: min(calc(100% - var(--revom-edge) * 2), var(--revom-width));
  margin-inline: auto;
}

.kati-karas .kati-takap{background:linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.88) 54%, rgba(248,250,252,0.28) 100%), url('/assets/media/cover-mope.webp');background-size:cover;background-position:right center;border-radius:16px;padding:28px 32px;margin:18px 0 24px;color:#0f172a;}
.kati-karas .kati-takap [class$='-top']{font-size:clamp(22px,3vw,32px);font-weight:800;line-height:1.15;margin:0 0 14px;max-width:560px;}
.kati-karas .kati-takap ul{list-style:none;padding:0;margin:0 0 18px;display:flex;flex-wrap:wrap;gap:8px;}
.kati-karas .kati-takap ul li{background:rgba(15,23,42,0.07);padding:6px 12px;border-radius:8px;font-size:13px;}
.kati-karas .kati-takap [class$='-foot']{display:flex;flex-wrap:wrap;align-items:center;gap:12px;}
button.kati-ripet { cursor: pointer; border: 0; font: inherit; }
button.kati-katun { cursor: pointer; border: 0; font: inherit; }
