@font-face {
  font-family: 'Lomoko';
  src: url('/assets/tisuta/selamis.woff2') format('woff2');
  font-display: swap;
  font-weight: 100 900;
}

:root {
  color-scheme: light;
  --sun-canvas: #f3f4f6;
  --sun-paper: #fff;
  --sun-ink: #21242d;
  --sun-muted: #555d6b;
  --sun-line: #dce0e7;
  --sun-flame: #e8590c;
  --sun-rust: #a33706;
  --sun-gold: #ffd477;
  --sun-emerald: #0ca678;
  --sun-radius: 10px;
  --sun-width: 1280px;
  --sun-gutter: clamp(16px, 4vw, 52px);
  --sun-shell: min(var(--sun-width), calc(100% - 2 * var(--sun-gutter)));
  font-family: 'Lomoko', system-ui, sans-serif;
  line-height: 1.55;
  background: var(--sun-canvas);
  color: var(--sun-ink);
}

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

body {
  margin: 0;
}

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

button {
  font: inherit;
  cursor: pointer;
}

button:disabled {
  cursor: default;
}

a {
  color: var(--sun-rust);
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 3px solid #963bdb;
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.sun-wrap {
  width: var(--sun-shell);
  margin-inline: auto;
}

.sun-header {
  position: relative;
  z-index: 1;
  background: var(--sun-flame);
  color: var(--sun-paper);
  box-shadow: 0 2px 0 #8c310b36;
}

.sun-header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
  min-height: 74px;
}

.sun-brand {
  color: inherit;
  font-size: clamp(1rem, 2.1vw, 1.52rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  text-shadow: 0 1px 1px #7225038f;
}

.sun-menu {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 32px);
}

.sun-menu a {
  color: inherit;
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 1px 2px #792800;
}

.sun-menu a:hover,
.sun-menu a:focus-visible {
  text-decoration: underline;
}

.sun-account,
.sun-inline-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.palu_lono {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.4em;
  min-height: 44px;
  padding: 0.6rem 1.1rem;
  border: 1px solid transparent;
  border-radius: var(--sun-radius);
  background: #252735;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.palu_lono:hover {
  background: #414558;
}

.sun-account .palu_lono {
  min-height: 40px;
  padding-inline: 0.85rem;
  white-space: nowrap;
  background: #361b14;
}

.sun-account .tab_pu3j6z {
  border-color: #fff9;
  background: #793019;
}

.sun-account .tab_ksubr7 {
  background: #fff1db;
  color: #3f210f;
}

.sun-account .palu_lono:hover {
  box-shadow: inset 0 0 0 2px currentColor;
}

.sun-header :focus-visible,
.sun-stage :focus-visible,
.sun-footer :focus-visible {
  outline-color: var(--sun-gold);
}

.sun-article {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
  min-height: 62vh;
  padding-bottom: clamp(38px, 6vw, 80px);
}

.sun-article > :not(.sun-stage, .sun-first) {
  width: min(860px, var(--sun-shell));
  margin-block: 0;
}

.sun-stage {
  order: -2;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 430px;
  min-height: clamp(430px, 39vw, 570px);
  padding: clamp(38px, 5vw, 78px) var(--sun-gutter);
  isolation: isolate;
  position: relative;
  overflow: hidden;
  background: #0b0d14 url('/assets/tisuta/banner-supin.webp') center 53% / cover no-repeat;
  color: white;
  text-align: center;
}

.sun-stage::before {
  content: '';
  z-index: -1;
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 47%, #0b0d1440 18%, transparent 60%),
              linear-gradient(0deg, #090a1399, #090a131a 70%);
}

.sun-spotlight {
  width: min(100%, 780px);
}

.sun-stage-label {
  width: fit-content;
  margin: 0 auto 14px;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--sun-gold);
  color: #ffdda0;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sun-stage-title {
  margin: 0;
  font-size: clamp(2.35rem, 6.4vw, 5.85rem);
  line-height: 0.99;
  letter-spacing: -0.068em;
  font-weight: 900;
  text-wrap: balance;
  text-shadow: 0 3px 13px #090a13bd;
}

.sun-stage-title strong {
  color: var(--sun-gold);
  font-weight: inherit;
  white-space: nowrap;
}

.sun-stage-terms {
  margin: 18px 0 22px;
  color: #f7eadb;
  font-size: clamp(0.79rem, 1.7vw, 0.98rem);
  font-weight: 650;
  text-shadow: 0 1px 5px #070710;
}

.sun-stage .palu_lono {
  min-height: 52px;
  min-width: min(100%, 190px);
  background: var(--sun-emerald);
  color: #081c16;
  font-weight: 850;
  box-shadow: 0 8px 24px #02080572;
}

.sun-stage .palu_lono:hover {
  background: #43d3a8;
}

.sun-first {
  order: -1;
  width: var(--sun-shell);
  display: grid;
  gap: clamp(35px, 5vw, 66px);
  padding-top: clamp(5px, 1.7vw, 20px);
}

.sun-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 2vw, 22px);
}

.sun-feature {
  display: grid;
  align-content: start;
  gap: 5px;
  padding: clamp(12px, 2.4vw, 28px);
  border-radius: var(--sun-radius);
  background: var(--sun-paper);
  border-top: 3px solid #f19054;
  box-shadow: 0 5px 16px #2526390d;
}

.sun-feature:nth-child(2) {
  border-color: #8b5cf6;
}

.sun-feature:nth-child(3) {
  border-color: var(--sun-emerald);
}

.sun-feature span {
  color: var(--sun-muted);
  font-size: 0.79rem;
  font-weight: 750;
}

.sun-feature strong {
  font-size: clamp(1.04rem, 3vw, 2.18rem);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.sun-feature small {
  color: var(--sun-muted);
  font-size: 0.77rem;
  line-height: 1.35;
}

.sun-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-bottom: 16px;
}

.sun-section-head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 1.12;
}

.sun-section-head p {
  margin: 4px 0 0;
  color: var(--sun-muted);
  font-size: 0.85rem;
}

.sun-count {
  flex: none;
}

.sun-arrows {
  display: flex;
  gap: 6px;
}

.sun-arrows button,
.sun-dialog-head button {
  min-width: 43px;
  min-height: 43px;
  padding: 0.25rem 0.7rem;
  border: 1px solid var(--sun-line);
  border-radius: var(--sun-radius);
  background: var(--sun-paper);
  color: var(--sun-ink);
  font-weight: 800;
}

.sun-arrows button:not(:disabled):hover,
.sun-dialog-head button:hover {
  background: #ffe7d7;
  border-color: #eab491;
}

.sun-arrows button:disabled {
  color: #727886;
  background: #e9ebef;
}

.sun-rail {
  display: flex;
  align-items: stretch;
  gap: clamp(10px, 2vw, 25px);
  margin: 0;
  padding: 6px 7px 16px;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: 7px;
  scroll-snap-type: x proximity;
  scrollbar-color: #a5a9b4 transparent;
}

.sun-rail li {
  display: flex;
  align-items: end;
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.sun-rank {
  flex-shrink: 0;
  margin-inline-end: -0.12em;
  color: var(--sun-canvas);
  font-weight: 900;
  font-size: clamp(5.15rem, 10vw, 9rem);
  line-height: 0.88;
  letter-spacing: -0.115em;
  -webkit-text-stroke: 2px #363542;
  paint-order: stroke fill;
}

.sun-rail button {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: var(--sun-radius);
  background: #242533;
  overflow: hidden;
}

.sun-rail img {
  width: clamp(112px, 13vw, 181px);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 180ms ease;
}

.sun-rail button:hover img {
  transform: scale(1.06);
}

.sun-lobby {
  padding-top: clamp(18px, 3vw, 32px);
  border-top: 1px solid var(--sun-line);
}

.sun-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 19px;
}

.sun-filters button {
  padding: 0.5rem 0.8rem;
  min-height: 40px;
  border: 1px solid var(--sun-line);
  border-radius: 7px;
  background: var(--sun-paper);
  color: var(--sun-ink);
  font-size: 0.8rem;
  font-weight: 700;
}

.sun-filters button:hover {
  border-color: var(--sun-rust);
}

.sun-filters button[aria-pressed='true'] {
  background: #272431;
  border-color: #272431;
  color: #fff;
}

.sun-game-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(10px, 1.65vw, 22px);
}

.sun-game {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--sun-radius);
  background: var(--sun-paper);
  box-shadow: 0 4px 13px #2325380d;
  scroll-margin: 24px;
}

.sun-game:focus-within {
  box-shadow: 0 0 0 2px #963bdb;
}

.sun-cover {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  background: #201b2a;
}

.sun-game-info {
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-items: start;
  flex: 1;
  padding: 11px;
}

.sun-game-info h3,
.sun-game-info p {
  margin: 0;
}

.sun-game-info h3 {
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.2;
}

.sun-game-info p {
  margin-top: 4px;
  color: var(--sun-muted);
  font-size: 0.74rem;
}

.sun-game-actions {
  display: flex;
  flex-wrap: wrap;
  align-self: end;
  gap: 5px;
  margin-top: 10px;
}

.sun-play,
.sun-demo {
  flex: 1 1 auto;
  min-height: 36px;
  padding: 4px 7px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.15;
}

.sun-play {
  background: #292634;
  color: #fff;
}

.sun-play:hover {
  background: #484051;
}

.sun-demo {
  background: #fff3eb;
  color: var(--sun-rust);
}

.sun-demo:not(:disabled):hover {
  background: #ffe1cd;
}

.sun-demo:disabled {
  background: #eceef2;
  color: var(--sun-muted);
}

.sun-dialog {
  width: min(880px, calc(100% - 24px));
  max-height: calc(100% - 24px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: var(--sun-radius);
  background: var(--sun-paper);
  color: var(--sun-ink);
  box-shadow: 0 24px 64px #09091388;
}

.sun-dialog::backdrop {
  background: #0b0d14db;
}

.sun-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: #f7f2ec;
}

.sun-demo-frame {
  background: #0b0d14;
}

.sun-demo-frame iframe {
  display: block;
  width: 100%;
  height: min(62vh, 500px);
  border: none;
}

.sun-demo-note {
  margin: 0;
  padding: 12px 16px;
  color: var(--sun-muted);
  font-size: 0.88rem;
}

.sun-page-head {
  padding-top: clamp(34px, 5.3vw, 68px);
}

.palu_pepa .sun-page-head {
  padding-top: clamp(24px, 4vw, 46px);
}

.sun-page-head h1 {
  max-width: 22ch;
  margin: 0;
  font-size: clamp(1.95rem, 5vw, 3.7rem);
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: -0.059em;
  text-wrap: balance;
}

.palu_tuka {
  margin: 0 0 0.7rem;
  color: var(--sun-muted);
  font-size: 0.79rem;
}

.palu_pava {
  padding: clamp(15px, 2vw, 25px);
  border-inline-start: 4px solid var(--sun-flame);
  border-radius: 0 var(--sun-radius) var(--sun-radius) 0;
  background: #fff6ee;
  color: #412b24;
  font-size: clamp(0.96rem, 2vw, 1.08rem);
  font-weight: 630;
}

.sun-note,
.palu_lutu,
.sun-related,
.palu-unit {
  padding: clamp(17px, 3.3vw, 35px);
  border: 1px solid #e2e5ea;
  border-radius: var(--sun-radius);
  background: var(--sun-paper);
}

.sun-note h2,
.palu_lutu h2,
.sun-related h2,
.palu-unit h2 {
  margin: 0 0 0.6em;
  font-size: clamp(1.25rem, 2.8vw, 1.73rem);
  line-height: 1.18;
  letter-spacing: -0.048em;
  font-weight: 800;
}

.sun-note p,
.palu_lutu p {
  margin: 0;
  color: #404552;
}

.sun-note ol {
  margin-bottom: 0;
  padding-inline-start: 1.45rem;
}

.sun-note li + li {
  margin-top: 0.42rem;
}

.palu_lutu h3 {
  margin: 1.15rem 0 0.32rem;
  padding-top: 0.9rem;
  border-top: 1px solid #ececf1;
  font-size: 1rem;
  line-height: 1.28;
}

.sun-related ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sun-related a {
  font-weight: 700;
}

.palu_molu {
  color: var(--sun-muted);
  font-size: 0.77rem;
}

.sun-table {
  margin-top: 1.05rem;
  border: 1px solid var(--sun-line);
  border-radius: var(--sun-radius);
  overflow: hidden;
}

.palu_vetar {
  width: 100%;
  border-collapse: collapse;
  text-align: start;
  font-size: 0.85rem;
}

.palu_vetar :is(th, td) {
  padding: 0.6rem 0.72rem;
  text-align: start;
  vertical-align: top;
}

.palu_vetar thead {
  background: #3c2e39;
  color: white;
}

.palu_vetar tbody tr:nth-child(even) {
  background: #f7f6fa;
}

.palu_vetar tbody tr + tr {
  border-top: 1px solid var(--sun-line);
}

.sun-sticky {
  display: none;
}

.sun-footer {
  padding: 34px 0 28px;
  background: #22212b;
  color: #f2edf3;
}

.sun-footer dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px 15px;
  margin: 0 0 20px;
}

.sun-footer dt {
  grid-column: 1 / -1;
  margin-bottom: 7px;
  color: #fff4e3;
  font-weight: 800;
}

.sun-footer dd {
  margin: 0;
  font-size: 0.82rem;
}

.sun-footer a {
  color: #ffe7ce;
}

.sun-footer p {
  padding-top: 15px;
  margin: 0;
  border-top: 1px solid #ffffff35;
  color: #e8e0e9;
  font-size: 0.8rem;
}

@media (max-width: 980px) {
  .sun-game-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sun-header-row {
    gap: 16px;
  }
}

@media (max-width: 720px) {
  .sun-header-row {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 0;
    padding-top: 9px;
  }

  .sun-menu {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    gap: 7px 12px;
    flex-wrap: wrap;
    padding-block: 10px;
  }

  .sun-menu a {
    font-size: 0.75rem;
  }

  .sun-stage {
    background-position: center;
  }

  .sun-stage::before {
    background: radial-gradient(ellipse at 50% 50%, #0b0d1455, #090a1370);
  }

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

  .sun-sticky:has(.palu_lono) {
    position: fixed;
    z-index: 4;
    inset: auto 0 0;
    display: flex;
    justify-content: center;
    padding: 8px var(--sun-gutter) max(8px, env(safe-area-inset-bottom));
    border-top: 1px solid #e2e5ea;
    background: #fff;
    box-shadow: 0 -4px 22px #12152618;
  }

  .sun-sticky .palu_lono {
    width: min(100%, 480px);
  }

  .sun-site:has(.sun-sticky .palu_lono) .sun-footer {
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 480px) {
  .sun-feature {
    padding-inline: 8px;
  }

  .sun-feature span,
  .sun-feature small {
    font-size: 0.68rem;
  }

  .sun-game-grid,
  .sun-footer dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .palu_vetar :is(table, tbody, tr, th, td) {
    display: block;
  }

  .palu_vetar thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .palu_vetar td {
    padding-block: 0.38rem;
  }

  .palu_vetar td::before {
    content: attr(data-label);
    display: block;
    color: var(--sun-muted);
    font-size: 0.75rem;
    font-weight: 750;
  }
}

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

.palu_vave .palu_rari{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/tisuta/banner-supin.webp');background-size:cover;background-position:right center;border-radius:16px;padding:28px 32px;margin:18px 0 24px;color:#0f172a;}
.palu_vave .palu_rari [class$='-top']{font-size:clamp(22px,3vw,32px);font-weight:800;line-height:1.15;margin:0 0 14px;max-width:560px;}
.palu_vave .palu_rari ul{list-style:none;padding:0;margin:0 0 18px;display:flex;flex-wrap:wrap;gap:8px;}
.palu_vave .palu_rari ul li{background:rgba(15,23,42,0.07);padding:6px 12px;border-radius:8px;font-size:13px;}
.palu_vave .palu_rari [class$='-foot']{display:flex;flex-wrap:wrap;align-items:center;gap:12px;}
.palu_lono, .palu_vata {
  font-family: inherit;
  cursor: pointer;
  border-width: 0;
}
