@font-face {
  font-family: Open Sans;
  src: url("../font/Open_Sans/OpenSans-Light.ttf");
  font-weight: 300;
}
@font-face {
  font-family: Open Sans;
  src: url("../font/Open_Sans/OpenSans-Regular.ttf");
  font-weight: 400;
}
@font-face {
  font-family: Open Sans;
  src: url("../font/Open_Sans/OpenSans-Medium.ttf");
  font-weight: 500;
}
@font-face {
  font-family: Open Sans;
  src: url("../font/Open_Sans/OpenSans-SemiBold.ttf");
  font-weight: 600;
}
@font-face {
  font-family: Open Sans;
  src: url("../font/Open_Sans/OpenSans-Bold.ttf");
  font-weight: 700;
}
@font-face {
  font-family: Open Sans;
  src: url("../font/Open_Sans/OpenSans-ExtraBold.ttf");
  font-weight: 900;
}
* {
  box-sizing: border-box;
  font-family: Open Sans, Arial;
  font-size: 14px;
  margin: 0px;
  padding: 0px;
  scroll-behavior: smooth;
}

:root {
  --text: #36383E;
}

a {
  cursor: pointer;
  text-decoration: none;
  color: #36383E;
}

b {
  font-weight: 500;
}

body {
  background: #FFFFFF;
  color: #111114;
}

body.lock {
  overflow: hidden;
}

.container {
  max-width: 1260px;
  width: 90vw;
  margin: 0 auto;
}

button {
  cursor: pointer;
}

.back-arrow {
  margin: 10px 0;
  padding: 15px 0;
  display: block;
  width: auto;
}
.back-arrow span {
  padding: 16px;
  background: #F7F7F7;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
  margin-right: 20px;
}
.back-arrow span img {
  width: 20px;
  margin-bottom: -5px;
}

header {
  padding: 10px 0;
  box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.1019607843);
}
header .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header .top .logo {
  height: 40px;
}
header .top .enter {
  background: #00B956;
  color: #ffffff;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 40px;
}
header .top .header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
header .top .favorites-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: background 0.2s;
}
header .top .favorites-link svg path {
  fill: none;
  stroke: #00B956;
  stroke-width: 2px;
  stroke-linejoin: round;
}
header .top .favorites-link.active svg path, header .top .favorites-link:hover svg path {
  fill: #00B956;
  stroke: #00B956;
}
header .top.mob {
  display: none;
}

.banners {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 20px;
  height: 220px;
  gap: 7px;
}
.banners .item {
  position: relative;
  height: 48%;
  border-radius: 14px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: filter 0.15s;
}
.banners .item:hover {
  filter: brightness(1.06);
}
.banners .item h3 {
  position: absolute;
  top: 14px;
  left: 16px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  z-index: 1;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.banners .item img {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 95%;
  object-fit: contain;
}
.banners .item.big {
  height: 100%;
}
.banners .item.big h3 {
  top: 25%;
  left: 50%;
  transform: translate(-50%, -130%);
  font-size: 20px;
  white-space: nowrap;
}
.banners .item.big img {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  height: 75%;
  bottom: 0;
}
.banners.plain {
  display: grid;
  grid-template-columns: 50% 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.banners.plain .item {
  height: auto;
}
.banners.plain .item:last-child {
  grid-column: span 2;
}
.banners.plain .item[data-align=center] h3 {
  left: 50%;
  transform: translateX(-50%);
}
.banners.plain .item[data-align=center] img {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}
.banners.plain .item[data-align=right] h3 {
  left: auto;
  right: 16px;
}
.banners.plain .item[data-align=right] img {
  left: 0;
  right: auto;
}

.header-tags, .search-tags {
  margin-top: 30px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.header-tags a, .search-tags a {
  padding: 10px 20px;
  background: #E3E3E3;
  border-radius: 40px;
  transition: background 0.15s, color 0.15s;
}
.header-tags a:hover, .search-tags a:hover {
  background: #D5D5D5;
}
.header-tags a.active, .search-tags a.active {
  background: #00B956;
  color: #fff;
}

.search-badge {
  --gutter: max(5vw, (100vw - 1260px) / 2);
  position: fixed;
  top: 84px;
  right: max(12px, var(--gutter) - 112px);
  z-index: 200;
  width: 92px;
  height: 92px;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.05));
  transition: transform 0.2s;
}
.search-badge:hover {
  transform: scale(1.06);
}
.search-badge svg {
  display: block;
  width: 100%;
  height: 100%;
}
.search-badge .search-badge-text {
  fill: #fff;
  font-size: 9px;
  font-weight: 400;
}

.search-page {
  padding: 24px 0 0;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #00B956;
}
.search-field input {
  flex: 1;
  min-width: 0;
  padding: 8px 0;
  border: none;
  outline: none;
  background: none;
  font-size: 16px;
  color: var(--text);
}
.search-field input::placeholder {
  color: #9A9DA5;
}
.search-field button {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #00B956;
  transition: background 0.15s;
}
.search-field button:hover {
  background: #009E4A;
}
.search-field button img {
  width: 18px;
}

.search-empty {
  margin-top: 30px;
  color: #6A6D75;
}

.category-main, .category-news {
  margin-top: 30px;
}
.category-main h3, .category-news h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 60px 0 20px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.category-main .cards, .category-news .cards {
  height: 400px;
  display: flex;
  gap: 1%;
}
.category-main .cards .item, .category-news .cards .item {
  display: block;
  background: #00B956;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  box-shadow: 0px 2px 7.8px 0px rgba(0, 0, 0, 0.1882352941);
  background-position: center;
  background-size: cover;
}
.category-main .cards .big, .category-news .cards .big {
  width: 25%;
  height: 100%;
}
.category-main .cards .other, .category-news .cards .other {
  display: flex;
  width: 100%;
  height: 100%;
  gap: 1%;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: space-between;
}
.category-main .cards .other .item, .category-news .cards .other .item {
  width: 15.5%;
  height: 49%;
}

.category-news .cards .wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 11.5%;
  height: 49%;
  padding: 8px;
  border-radius: 10px;
  background: #F0F0F0;
}
.category-news .cards .wrapper img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
}

.content-grid {
  margin-top: 30px;
}
.content-grid h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 40px 0 20px;
  color: var(--text);
}
.content-grid .cards {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
}
.content-grid .item {
  display: block;
  aspect-ratio: 0.72;
  border-radius: 10px;
  background: #00B956 center/cover no-repeat;
  box-shadow: 0px 2px 7.8px 0px rgba(0, 0, 0, 0.1882352941);
  transition: transform 0.15s;
}
.content-grid .item:hover {
  transform: scale(1.03);
}
.content-grid .content-grid-empty {
  color: #6A6D75;
  font-size: 15px;
}

.category-selection {
  margin-top: 30px;
}
.category-selection h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 60px 0 20px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.category-selection .cards {
  --gap: min(1.343vw, 18.8px);
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: var(--gap);
}
.category-selection .cards .item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.category-selection .cards .item h4 {
  position: absolute;
  top: 10px;
  left: 12px;
  right: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}
.category-selection .cards .wide h4, .category-selection .cards .big h4 {
  text-align: center;
}
.category-selection .cards .wide, .category-selection .cards .big {
  aspect-ratio: auto;
}
.category-selection .cards .wide {
  grid-column: span 2;
}
.category-selection .cards .big {
  grid-column: 7/span 2;
  grid-row: 1/span 2;
}
.category-selection.big-left .cards .big {
  grid-column: 1/span 2;
}

.category-main > .cards:first-child,
.category-selection > .cards:first-child {
  margin-top: 60px;
}

.game-page {
  padding: 40px 0 60px;
  position: relative;
}

.game-close {
  position: absolute;
  top: 40px;
  right: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.game-close:hover {
  background: #F0F0F0;
}

.game-hero {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 48px;
}
.game-hero .game-cover {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 300px;
}
.game-hero .game-cover .cover-img {
  width: 300px;
  height: 400px;
  border-radius: 16px;
  background: #00B956;
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.game-hero .game-cover .game-play {
  display: block;
  width: 100%;
  padding: 13px 0;
  background: #00B956;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  border-radius: 50px;
  transition: background 0.15s;
}
.game-hero .game-cover .game-play:hover {
  background: #009e4a;
}
.game-hero .game-cover .game-fav, .game-hero .game-cover .game-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 0;
  background: none;
  border: 1px solid #D0D0D0;
  border-radius: 50px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s;
}
.game-hero .game-cover .game-fav svg path, .game-hero .game-cover .game-download svg path {
  fill: none;
}
.game-hero .game-cover .game-fav:hover, .game-hero .game-cover .game-download:hover {
  border-color: #aaa;
}
.game-hero .game-cover .game-fav {
  border-color: #00B956;
}
.game-hero .game-cover .game-fav svg path {
  stroke: #00B956;
}
.game-hero .game-cover .game-fav:hover {
  border-color: #009e4a;
}
.game-hero .game-cover .game-download {
  text-decoration: none;
}
.game-hero .game-info {
  flex: 1;
  min-width: 0;
  padding-top: 4px;
}
.game-hero .game-info .game-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.game-hero .game-info .game-tag {
  display: inline-block;
  color: #00B956;
  font-size: 13px;
  border-bottom: 1px solid;
  margin-bottom: 16px;
}
.game-hero .game-info .game-desc p {
  font-size: 14px;
  color: #555;
  line-height: 1.25;
  margin-bottom: 12px;
}
.game-hero .game-info .game-desc p:last-child {
  margin-bottom: 0;
}
.game-hero .game-info .game-meta {
  margin-top: 16px;
}
.game-hero .game-info .game-meta p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

.game-similar h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}
.game-similar .similar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.game-similar .similar-grid .s-item {
  aspect-ratio: 0.66;
  background: #00B956;
  border-radius: 10px;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  transition: transform 0.15s, box-shadow 0.15s;
}
.game-similar .similar-grid .s-item:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.game-similar .similar-grid .s-item.big {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

.reader {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--text);
}
.reader[hidden] {
  display: none;
}
.reader button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: none;
  background: none;
  color: #9A9DA5;
  cursor: pointer;
  transition: color 0.15s;
}
.reader button svg {
  width: 24px;
  height: 24px;
}
.reader button:hover {
  color: #00B956;
}
.reader .reader-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid #ECECEC;
}
.reader .reader-title {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.reader .reader-bookmark.active {
  color: #00B956;
}
.reader .reader-bookmark.active svg {
  fill: currentColor;
}
.reader .reader-body {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: stretch;
  padding: 20px 16px;
}
.reader .reader-view {
  flex: 1;
  min-width: 0;
  height: 100%;
  overflow: hidden;
}
.reader:not(.reader-paged) .reader-view {
  overflow-y: auto;
}
.reader .reader-arrow {
  display: none;
  flex-shrink: 0;
  width: 56px;
}
.reader.reader-paged .reader-arrow {
  display: flex;
}
.reader .reader-status {
  padding: 16px;
  text-align: center;
  color: #6A6D75;
  font-size: 14px;
}
.reader .reader-status[hidden] {
  display: none;
}

.player {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  user-select: none;
}
.player[hidden] {
  display: none;
}
.player .player-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.player button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border: none;
  background: none;
  color: #fff;
  cursor: pointer;
  transition: color 0.15s;
}
.player button svg {
  width: 24px;
  height: 24px;
}
.player button:hover {
  color: #00B956;
}
.player .player-top, .player .player-center, .player .player-bottom {
  position: absolute;
  transition: opacity 0.25s;
}
.player.idle {
  cursor: none;
}
.player.idle .player-top, .player.idle .player-center, .player.idle .player-bottom {
  opacity: 0;
  pointer-events: none;
}
.player .player-close {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 3;
  padding: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  transition: opacity 0.25s, background 0.15s;
}
.player .player-close:hover {
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
}
.player.idle .player-close {
  opacity: 0;
  pointer-events: none;
}
.player .player-top {
  top: 0;
  left: 0;
  right: 0;
  padding: 18px 60px 40px;
  text-align: center;
  background: linear-gradient(rgba(0, 0, 0, 0.6), transparent);
}
.player .player-top .player-title {
  font-size: 18px;
  font-weight: 700;
}
.player .player-top .player-subtitle {
  margin-top: 6px;
  font-size: 14px;
  opacity: 0.85;
}
.player .player-top .player-subtitle:empty {
  display: none;
}
.player .player-center {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 48px;
}
.player .player-center button {
  color: #00B956;
}
.player .player-center button svg {
  width: 36px;
  height: 36px;
}
.player .player-center button:hover {
  color: #33d179;
}
.player .player-center .player-big svg {
  width: 72px;
  height: 72px;
}
.player:not(.paused) .player-center {
  opacity: 0;
  pointer-events: none;
}
@media (hover: none) {
  .player:not(.idle) .player-center {
    opacity: 1;
    pointer-events: auto;
  }
}
.player .player-bottom {
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 20px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}
.player .player-progress {
  position: relative;
  display: flex;
  align-items: center;
  height: 24px;
  margin-bottom: 10px;
  cursor: pointer;
  touch-action: none;
}
.player .player-progress .player-progress-track {
  position: relative;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  transition: height 0.15s;
}
.player .player-progress .player-progress-buffer, .player .player-progress .player-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 2px;
}
.player .player-progress .player-progress-buffer {
  background: rgba(255, 255, 255, 0.3);
}
.player .player-progress .player-progress-fill {
  background: #00B956;
}
.player .player-progress .player-progress-thumb {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%) scale(0);
  transition: transform 0.15s;
}
.player .player-progress:hover .player-progress-track {
  height: 6px;
}
.player .player-progress:hover .player-progress-thumb {
  transform: translateY(-50%) scale(1);
}
.player .player-progress .player-time {
  position: absolute;
  top: 100%;
  font-size: 12px;
  opacity: 0.85;
}
.player .player-progress .player-time-current {
  left: 0;
}
.player .player-progress .player-time-total {
  right: 0;
}
.player .player-controls {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
}
.player .player-controls-left, .player .player-controls-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.player .player-controls-right {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.player .player-episodes-toggle {
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
}
.player .player-episodes-toggle .player-episode-label {
  max-width: 40vw;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player .icon-pause, .player .icon-muted {
  display: none;
}
.player.paused .icon-play {
  display: block;
}
.player.paused .icon-pause {
  display: none;
}
.player:not(.paused) .icon-play {
  display: none;
}
.player:not(.paused) .icon-pause {
  display: block;
}
.player.muted .icon-sound {
  display: none;
}
.player.muted .icon-muted {
  display: block;
}
.player .player-only-serial {
  display: none;
}
.player.player-serial .player-only-serial {
  display: flex;
}
@media (hover: none) {
  .player .player-only-desktop {
    display: none;
  }
}
.player .player-episodes {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
}
.player .player-episodes[hidden] {
  display: none;
}
.player .player-episodes .player-episodes-panel {
  display: flex;
  flex-direction: column;
  width: min(520px, 90vw);
  max-height: 80vh;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  color: var(--text);
}
.player .player-episodes .player-episodes-head {
  padding: 18px 20px 10px;
  font-size: 18px;
  font-weight: 700;
}
.player .player-episodes .player-episodes-head span {
  color: #9A9DA5;
  font-weight: 400;
}
.player .player-episodes .player-episodes-list {
  padding: 0 12px 12px;
  overflow-y: auto;
  list-style: none;
}
.player .player-episodes .player-episodes-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}
.player .player-episodes .player-episodes-list li:hover {
  background: #F5F5F5;
}
.player .player-episodes .player-episode-thumb {
  flex-shrink: 0;
  width: 80px;
  aspect-ratio: 16/9;
  border-radius: 6px;
  background: #E3E3E3 center/cover no-repeat;
}
.player .player-episodes .player-episode-state {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #00B956;
}
.player .player-episodes .player-episode-state svg {
  width: 20px;
  height: 20px;
}
.player .player-episodes .player-episode-state .icon-watched, .player .player-episodes .player-episode-state .icon-playing {
  display: none;
}
.player .player-episodes li.watched .icon-watched {
  display: block;
}
.player .player-episodes li.active .icon-playing {
  display: block;
}
.player .player-episodes li.active .icon-watched {
  display: none;
}
.player .player-episodes li.active .player-episode-name {
  border-bottom: 2px solid #00B956;
}
.player .player-episodes .player-episode-name {
  font-size: 14px;
  line-height: 1.3;
}
.player.rotated {
  inset: auto;
  top: 0;
  left: 0;
  transform: rotate(90deg) translateY(-100%);
  transform-origin: top left;
}

body.audio-open {
  padding-bottom: 96px;
}

.audio-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  background: #fff;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
  color: var(--text);
  user-select: none;
}
.audio-bar[hidden] {
  display: none;
}
.audio-bar button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border: none;
  background: none;
  color: #C4C7CE;
  cursor: pointer;
  transition: color 0.15s;
}
.audio-bar button svg {
  width: 22px;
  height: 22px;
}
.audio-bar button:hover {
  color: #00B956;
}
.audio-bar .audio-progress {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  touch-action: none;
}
.audio-bar .audio-progress .audio-progress-track {
  position: relative;
  width: 100%;
  height: 4px;
  background: #E6E7EA;
  transition: height 0.15s;
}
.audio-bar .audio-progress .audio-progress-buffer, .audio-bar .audio-progress .audio-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
}
.audio-bar .audio-progress .audio-progress-buffer {
  background: #D5D7DC;
}
.audio-bar .audio-progress .audio-progress-fill {
  background: #00B956;
}
.audio-bar .audio-progress .audio-progress-thumb {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: #00B956;
  transform: translateY(-50%) scale(0);
  transition: transform 0.15s;
}
.audio-bar .audio-progress:hover .audio-progress-track {
  height: 6px;
}
.audio-bar .audio-progress:hover .audio-progress-thumb {
  transform: translateY(-50%) scale(1);
}
.audio-bar .audio-progress .audio-times {
  display: flex;
  justify-content: space-between;
  padding: 4px 16px 0;
  font-size: 11px;
  color: #9A9DA5;
}
.audio-bar .audio-controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  height: 56px;
}
.audio-bar .audio-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.audio-bar .audio-nav .audio-play {
  color: #00B956;
}
.audio-bar .audio-nav .audio-play svg {
  width: 26px;
  height: 26px;
}
.audio-bar .audio-nav .audio-play:hover {
  color: #009e4a;
}
.audio-bar .audio-chapters-toggle {
  justify-self: start;
  min-width: 0;
  max-width: 100%;
  gap: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
}
.audio-bar .audio-chapters-toggle svg {
  flex-shrink: 0;
  color: #9A9DA5;
}
.audio-bar .audio-chapters-toggle .audio-chapters-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.audio-bar .audio-chapters-toggle:hover {
  color: var(--text);
}
.audio-bar .audio-chapters-toggle:hover svg {
  color: #00B956;
}
.audio-bar .audio-mute {
  color: #00B956;
}
.audio-bar .audio-mute:hover {
  color: #009e4a;
}
.audio-bar .audio-book {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding-left: 40px;
}
.audio-bar .audio-book .audio-book-cover {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #E3E3E3 center/cover no-repeat;
}
.audio-bar .audio-book .audio-book-title {
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.audio-bar .icon-pause, .audio-bar .icon-muted {
  display: none;
}
.audio-bar.paused .icon-play {
  display: block;
}
.audio-bar.paused .icon-pause {
  display: none;
}
.audio-bar:not(.paused) .icon-play {
  display: none;
}
.audio-bar:not(.paused) .icon-pause {
  display: block;
}
.audio-bar.muted .icon-sound {
  display: none;
}
.audio-bar.muted .icon-muted {
  display: block;
}
.audio-bar.audio-bar-single [data-action=prev], .audio-bar.audio-bar-single [data-action=next] {
  display: none;
}
.audio-bar.audio-bar-single .audio-chapters-toggle {
  display: flex;
  align-items: center;
  padding: 6px;
}
.audio-bar .audio-chapters {
  position: fixed;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
}
.audio-bar .audio-chapters[hidden] {
  display: none;
}
.audio-bar .audio-chapters .audio-chapters-panel {
  display: flex;
  flex-direction: column;
  width: min(520px, 90vw);
  max-height: 80vh;
  padding: 8px 0 12px;
  border-radius: 16px;
  background: #fff;
}
.audio-bar .audio-chapters .audio-chapters-handle {
  flex-shrink: 0;
  width: 40px;
  height: 4px;
  margin: 0 auto 12px;
  border-radius: 2px;
  background: #D5D7DC;
}
.audio-bar .audio-chapters .audio-chapters-list {
  padding: 0 12px;
  overflow-y: auto;
  list-style: none;
}
.audio-bar .audio-chapters .audio-chapters-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}
.audio-bar .audio-chapters .audio-chapters-list li:hover {
  background: #F5F5F5;
}
.audio-bar .audio-chapters .audio-chapter-state {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #C4C7CE;
}
.audio-bar .audio-chapters .audio-chapter-state svg {
  width: 20px;
  height: 20px;
}
.audio-bar .audio-chapters .audio-chapter-state .icon-playing {
  display: none;
}
.audio-bar .audio-chapters li.done .audio-chapter-state {
  color: #00B956;
}
.audio-bar .audio-chapters li.active .audio-chapter-state {
  color: #00B956;
}
.audio-bar .audio-chapters li.active .icon-done {
  display: none;
}
.audio-bar .audio-chapters li.active .icon-playing {
  display: block;
}
.audio-bar .audio-chapters li.active .audio-chapter-title {
  border-bottom: 2px solid #00B956;
}
.audio-bar .audio-chapters .audio-chapter-title {
  font-size: 14px;
  line-height: 1.3;
}

.game-hero .game-cover button.game-play {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.game-hero .game-cover .game-fav.active svg path {
  fill: #00B956;
}

.favorites {
  padding: 30px 0 20px;
}
.favorites .favorites-empty {
  color: #6A6D75;
  font-size: 15px;
  line-height: 1.5;
}
.favorites > h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.cat-slider-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  z-index: 300;
  display: flex;
  align-items: center;
}

.cat-slider-box {
  width: 100%;
}

.cat-slider-empty {
  color: #fff;
  text-align: center;
  padding: 40px 0;
  font-size: 15px;
}

.cat-slider-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.cat-slider-head .cat-slider-title {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cat-slider-head .cat-slider-title svg path {
  stroke: #fff;
}
.cat-slider-head .cat-slider-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  border-radius: 50%;
  transition: background 0.15s;
}
.cat-slider-head .cat-slider-close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.cat-slider-viewport {
  position: relative;
  overflow: hidden;
}

.cat-slider-track {
  display: flex;
  gap: 12px;
  padding: 8px 5vw;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cat-slide {
  flex-shrink: 0;
  width: 160px;
  height: 220px;
  background: #00B956;
  background-position: center;
  background-size: cover;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cat-slide:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.cat-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.cat-slider-arrow:hover {
  background: rgba(255, 255, 255, 0.28);
}
.cat-slider-arrow.cat-slider-prev {
  left: calc(5vw - 52px);
}
.cat-slider-arrow.cat-slider-next {
  right: calc(5vw - 52px);
}
.cat-slider-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.cat-slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
}
.cat-slider-dots .dot {
  height: 8px;
  width: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: width 0.2s, background 0.2s;
}
.cat-slider-dots .dot.active {
  width: 24px;
  background: #00B956;
}

footer {
  margin-top: 60px;
  background: #F0F0F0;
  padding: 20px 0;
}
footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
footer .container .logo {
  width: 250px;
  margin-right: -150px;
}
footer .container .rules {
  padding: 12px 30px;
  border: 1px solid #731982;
  color: #731982;
  font-weight: 600;
  border-radius: 50px;
}
footer .container .enter {
  background: #00B956;
  color: #ffffff;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 40px;
}

.error-page {
  margin-top: 20px;
}

.page-spacer {
  display: none;
}

body.sticky-footer {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body.sticky-footer .page-spacer {
  display: block;
  flex: 1;
}

.rules-page {
  padding: 20px 0 30px;
}
.rules-page h1, .rules-page p {
  max-width: 780px;
}
.rules-page h1 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
}
.rules-page p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 16px;
}
.rules-page p:last-child {
  margin-bottom: 0;
}

@media (min-width: 700px) {
  .not-desk {
    display: none;
  }
}
@media (max-width: 700px) {
  .not-mobile {
    display: none;
  }
  .back-arrow {
    margin: 0;
  }
  .back-arrow span {
    padding: 7px 14px;
    margin-right: 10px;
  }
  .category-main, .category-news, .category-selection {
    margin-top: 20px;
  }
  .category-main h3, .category-news h3, .category-selection h3 {
    font-size: 16px;
    margin: 24px 0 12px;
  }
  .category-main > .cards:first-child,
  .category-selection > .cards:first-child {
    margin-top: 24px;
  }
  header .top .logo {
    height: 25px;
  }
  .header-tags, .search-tags {
    margin-top: 16px;
    gap: 10px;
  }
  .header-tags a, .search-tags a {
    padding: 7px 14px;
    font-size: 13px;
  }
  .search-badge {
    top: auto;
    bottom: 16px;
    right: 12px;
    width: 64px;
    height: 64px;
  }
  .search-page {
    padding: 16px 0 0;
  }
  .rules-page {
    padding: 16px 10px 30px;
  }
  .rules-page h1 {
    font-size: 18px;
    margin-bottom: 14px;
  }
  .rules-page p {
    font-size: 14px;
    margin-bottom: 14px;
  }
  .search-field input {
    font-size: 15px;
  }
  .search-field button {
    width: 34px;
    height: 34px;
  }
  .search-field button img {
    width: 16px;
  }
  .banners {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(80px, auto);
    height: auto;
    margin-top: 12px;
    gap: 8px;
  }
  .banners .item {
    height: auto;
  }
  .banners .item h3 {
    top: 10px;
    left: 12px;
    font-size: 13px;
  }
  .banners .item.big {
    grid-column: span 2;
  }
  .banners .item.big h3 {
    top: 10px;
    left: 12px;
    transform: none;
    font-size: 13px;
  }
  .banners .item.big img {
    left: auto;
    right: 0;
    transform: none;
    height: 95%;
  }
  .banners.plain {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }
  .banners.plain .item[data-align=center] h3 {
    left: 12px;
    transform: none;
  }
  .banners.plain .item[data-align=center] img {
    left: auto;
    right: 0;
    transform: none;
  }
  .banners.plain .item:nth-child(3) {
    grid-area: 2/2;
  }
  .banners.plain .item:nth-child(4) {
    grid-area: 2/1;
  }
  .banners.plain .item:nth-child(5) {
    grid-area: 3/1/auto/span 2;
  }
  .category-news .cards {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, auto);
    grid-auto-columns: calc((100% - 16px) / 3);
    height: auto;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }
  .category-news .cards .other {
    display: contents;
  }
  .category-news .cards .wrapper {
    width: auto;
    height: auto;
    padding: 6px;
    aspect-ratio: 3/4;
    scroll-snap-align: start;
  }
  .content-grid {
    margin-top: 20px;
  }
  .content-grid h3 {
    font-size: 16px;
    margin: 24px 0 12px;
  }
  .content-grid .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .reader .reader-top {
    padding: 8px 10px;
  }
  .reader .reader-title {
    font-size: 14px;
  }
  .reader .reader-body {
    padding: 16px 14px;
  }
  .reader.reader-paged .reader-arrow {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    width: 40px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
  }
  .reader.reader-paged .reader-next {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
  }
  .player .player-only-desktop {
    display: none;
  }
  .player:not(.idle) .player-center {
    opacity: 1;
    pointer-events: auto;
  }
  .player .player-close {
    top: 10px;
    right: 10px;
  }
  .player .player-top {
    padding: 14px 52px 30px;
  }
  .player .player-top .player-title {
    font-size: 17px;
  }
  .player .player-center {
    gap: 32px;
  }
  .player .player-center .player-big svg {
    width: 56px;
    height: 56px;
  }
  .player .player-bottom {
    padding: 30px 12px 10px;
  }
  .player .player-controls {
    justify-content: space-between;
  }
  .player .player-controls-right {
    position: static;
    transform: none;
  }
  .player .player-episodes .player-episodes-panel {
    max-height: 60vh;
  }
  .player .player-episodes .player-episodes-head {
    padding: 14px 16px 8px;
    font-size: 16px;
  }
  .player .player-episodes .player-episode-thumb {
    width: 64px;
  }
  .player .player-episodes .player-episode-name {
    font-size: 13px;
  }
  body.audio-open {
    padding-bottom: 92px;
  }
  .audio-bar .audio-progress {
    flex-direction: column-reverse;
  }
  .audio-bar .audio-progress .audio-times {
    padding: 6px 12px 4px;
  }
  .audio-bar .audio-controls {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    height: 52px;
  }
  .audio-bar .audio-chapters-toggle {
    order: -1;
  }
  .audio-bar .audio-mute, .audio-bar .audio-book {
    display: none;
  }
  .audio-bar .audio-chapters {
    align-items: flex-end;
    padding: 0 8px 92px;
  }
  .audio-bar .audio-chapters .audio-chapters-panel {
    width: 100%;
    max-height: 60vh;
  }
  .audio-bar .audio-chapters .audio-chapter-title {
    font-size: 13px;
  }
  .category-main .cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    height: auto;
    gap: 8px;
  }
  .category-main .cards .big, .category-main .cards .other {
    display: contents;
  }
  .category-main .cards .item, .category-main .cards .other .item {
    width: auto;
    height: auto;
    aspect-ratio: 0.72;
  }
  .category-main .cards .big .item {
    grid-area: 1/1/span 2/span 2;
    aspect-ratio: auto;
  }
  .category-main .cards .other .item:nth-child(n+9) {
    display: none;
  }
  .category-selection .cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: dense;
    grid-auto-rows: 1fr;
  }
  .category-selection .cards .big {
    grid-column: 3/span 2;
  }
  .category-selection.big-left .cards .big {
    grid-column: 1/span 2;
  }
  .game-page {
    padding: 20px 0 40px;
  }
  .game-close {
    position: static;
    width: fit-content;
    margin: 0 0 10px auto;
  }
  .game-hero {
    display: grid;
    grid-template-columns: 48% 1fr;
    grid-template-rows: auto auto auto 1fr;
    gap: 16px 14px;
    align-items: start;
    margin-bottom: 28px;
  }
  .game-hero .game-cover {
    display: contents;
  }
  .game-hero .game-cover .cover-img {
    grid-area: 1/1/5/2;
    width: 100%;
    height: auto;
    aspect-ratio: 0.7;
  }
  .game-hero .game-cover .game-play {
    grid-area: 2/2;
    padding: 11px 0;
    font-size: 14px;
  }
  .game-hero .game-cover .game-fav {
    grid-area: 3/2;
    padding: 10px 0;
  }
  .game-hero .game-info {
    display: contents;
  }
  .game-hero .game-info .game-title {
    grid-area: 1/2;
    font-size: 17px;
    margin-bottom: 0;
  }
  .game-hero .game-info .game-tag {
    grid-area: 5/1/auto/span 2;
    justify-self: start;
    margin-bottom: 0;
    padding-bottom: 6px;
    border-bottom-width: 2px;
    font-size: 14px;
  }
  .game-hero .game-info .game-desc {
    grid-area: 6/1/auto/span 2;
  }
  .game-hero .game-info .game-desc p {
    line-height: 1.5;
  }
  .game-hero .game-info .game-meta {
    grid-area: 7/1/auto/span 2;
    margin-top: 0;
  }
  .game-similar h3 {
    font-size: 17px;
  }
  .game-similar .similar-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: dense;
  }
  .game-similar .similar-grid .s-item {
    aspect-ratio: 1;
  }
  .game-similar .similar-grid .s-item.big {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 1;
  }
  .game-similar .similar-grid .s-item:nth-child(18n+1) {
    grid-column: 2/span 2;
    grid-row: span 2;
    aspect-ratio: auto;
  }
  .game-similar .similar-grid .s-item:nth-child(18n+10) {
    grid-column: 1/span 2;
    grid-row: span 2;
    aspect-ratio: auto;
  }
  footer {
    margin-top: 40px;
  }
  footer .container {
    gap: 12px;
    flex-wrap: wrap;
  }
  footer .container .logo {
    width: 110px;
    margin-right: 0;
  }
  footer .container .rules {
    padding: 8px 16px;
    font-size: 12px;
    white-space: nowrap;
  }
  footer .container .enter {
    display: none;
  }
  .cat-slider-arrow.cat-slider-prev {
    left: 4px;
  }
  .cat-slider-arrow.cat-slider-next {
    right: 4px;
  }
  .cat-slider-head .cat-slider-title {
    font-size: 16px;
  }
}
/* Square covers for audiobooks and music. Keep the existing card widths. */
.category-main .cards:has(.item[data-type=audio], .item[data-type=music]) {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  height: auto;
  gap: 12px;
}

.category-main .cards:has(.item[data-type=audio], .item[data-type=music]) .big,
.category-main .cards:has(.item[data-type=audio], .item[data-type=music]) .other {
  display: contents;
}

.category-main .cards:has(.item[data-type=audio], .item[data-type=music]) .item {
  width: auto;
  height: auto;
  aspect-ratio: 1;
}

.category-main .cards:has(.item[data-type=audio], .item[data-type=music]) .big .item {
  grid-column: 7/span 2;
  grid-row: 1/span 2;
}

.content-grid .item[data-type=audio],
.content-grid .item[data-type=music],
.cat-slide[data-type=audio],
.cat-slide[data-type=music] {
  height: auto;
  aspect-ratio: 1;
}

@media (max-width: 700px) {
  .category-main .cards:has(.item[data-type=audio], .item[data-type=music]) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .category-main .cards:has(.item[data-type=audio], .item[data-type=music]) .big .item {
    grid-area: 1/1/span 2/span 2;
  }
}
@media (min-width: 701px) {
  .category-main .cards:has(.item[data-type=audio], .item[data-type=music]) > .big:first-child .item {
    grid-column: 1/span 2;
  }
}
.game-hero .game-cover .cover-img--square {
  height: auto;
  aspect-ratio: 1;
}

.music-catalog {
  margin-top: 30px;
  display: grid;
  gap: 12px;
}
.music-catalog .music-catalog-block {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 12px;
}
.music-catalog .item {
  display: block;
  min-width: 0;
  aspect-ratio: 1;
  border-radius: 10px;
  background: #00B956 center/cover no-repeat;
  box-shadow: 0px 2px 7.8px 0px rgba(0, 0, 0, 0.1882352941);
}
.music-catalog .music-catalog-large {
  grid-column: 1/span 2;
  grid-row: 1/span 2;
}
.music-catalog .music-catalog-block--right .music-catalog-large {
  grid-column: 7/span 2;
}

.music-catalog.music-catalog--mobile {
  display: none;
}

@media (max-width: 700px) {
  .music-catalog.music-catalog--desktop {
    display: none;
  }
  .music-catalog.music-catalog--mobile {
    display: grid;
  }
  .music-catalog {
    margin-top: 20px;
    gap: 8px;
  }
  .music-catalog .music-catalog-block {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .music-catalog .music-catalog-block--right .music-catalog-large {
    grid-column: 2/span 2;
  }
}

/*# sourceMappingURL=style.css.map */
