html,
body {
  font-family: "Golos Text", "Outfit", sans-serif;
  margin: 0;
  position: relative;
  z-index: 99;
  scroll-behavior: smooth;
  color: var(--text-primary);
  background: var(--bg-page);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

footer {
  margin-top: auto !important;
  position: static;
}

.back-to-top {
  transition: all 0.3s ease;
}

.back-to-top:hover {
  transform: translateY(-5px);
}

body::-webkit-scrollbar {
  display: none;
}

#copy-message {
  position: fixed;
  z-index: 999;
  bottom: 30%;
  width: 72px;
  height: 30px;
  left: 50%;
  transform: translate(-50%, 0);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 180, 166, 0.4);
  color: var(--color-accent, #00b4a6);
  font-size: 12px;
  text-align: center;
  line-height: 30px;
  border-radius: 20px;
  box-shadow: 0 0 16px rgba(255, 107, 53, 0.2);
}

::-webkit-scrollbar {
  background: var(--bg-scroll);
  border-radius: 9999px;
  height: 6px;
  width: 6px;
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 9999px;
}

.nav-links.nav-active {
  transform: translateX(0);
}


#play-game:not(.is-playing) .play-cover {
  z-index: 10;
}

#play-game:not(.is-playing) #gameIframe {
  z-index: 0;
  visibility: hidden;
  pointer-events: none;
}

#play-game.is-playing .top__shading,
#play-game.is-playing .play-cover {
  display: none;
}

#play-game.is-playing #gameIframe {
  z-index: 1;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  touch-action: manipulation;
}

#play-player:fullscreen,
#play-player:-webkit-full-screen {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 0;
  background: var(--bg-page);
}

#play-player:fullscreen #play-game,
#play-player:-webkit-full-screen #play-game {
  flex: 1 1 auto;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
}

#play-player:fullscreen .play-bar,
#play-player:-webkit-full-screen .play-bar {
  flex-shrink: 0;
  width: 100%;
}



.pt h1 {
  line-height: 1.5 !important;
  font-size: 22px !important;
  padding: 0 0 10px 0;
  margin: 0 0 10px 0;
  font-weight: 800;
}

.pt h2 {
  position: relative;
  padding-left: 16px;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 14px;
}

.pt h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 10px;
  width: 4px;
  background: var(--color-primary);
  border-radius: 2px;
}

.pt h3,
.pt h4 {
  line-height: 1.5 !important;
  font-size: 16px !important;
  padding: 0 0 10px 0;
  margin: 0 0 10px 0;
}

.pt p,
.pt li {
  line-height: 1.5 !important;
  font-size: 14px !important;
  padding: 0 0 10px 0;
}

.pt p {
  /* margin: 0 0 15px; */
}

.pt img {
  width: 100%;
}

.pt a {
  word-break: break-all;
  color: #007bff;
}

.pt ul {
  padding-left: 20px
}

table {
  margin-bottom: 10px
}

table,
th,
td {
  border: 1px solid;
  border-collapse: collapse;
}

th,
td {
  padding: 8px;
  text-align: center;
}


.num {
  counter-reset: mvp-trend;
}

.num .guide-card {
  counter-increment: mvp-trend;
}

.num .guide-card .number::after {
  content: '0' counter(mvp-trend);
}

@media (max-width:768px) {


}

/* Shared pieces for the five AdSense-safe layouts.
   Colors come from the CMS theme class on <body>. */

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--bg-placeholder, #d9d9d9);
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

h1,
h2,
.name {
  overflow-wrap: break-word;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
  padding: 24px 0;
}

.hidden {
  display: none !important;
}

.logo a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-head .logo a {
  color: var(--text-inverse);
}

.site-foot .logo a {
  color: var(--text-primary);
}

.logo img {
  width: auto;
  height: auto;
  /* max-width: 180px; */
  /* max-height: 48px; */
  background: transparent;
  object-fit: contain;
}

.site-head {
  position: relative;
  z-index: 40;
  background: var(--bg-header);
  color: var(--text-inverse);
}

.head-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.head-tools {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.burger,
.h5-close,
.h5-home,
.h5-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-inverse);
  cursor: pointer;
  text-decoration: none;
}

.h5-close {
  color: var(--text-primary);
}

.nav-links {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 16px 20px 32px;
  list-style: none;
  background: var(--bg-page);
  color: var(--text-primary);
  transform: translateX(-105%);
  transition: transform 0.28s ease;
  overflow: auto;
}

.nav-links.nav-active {
  transform: translateX(0);
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 8px;
  text-decoration: none;
  font-weight: 700;
}

.nav-links a.is-on {
  color: var(--text-accent);
}

.h5-close-row {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 48px;
  font-weight: 800;
}

.h5-close-row .h5-close {
  position: absolute;
  left: 0;
}

.head-sear {
  display: none;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--bg-search);
}

.head-sear input {
  width: 140px;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text-inverse);
}

.head-sear input::placeholder {
  color: var(--text-inverse);
  opacity: 0.7;
}

.head-sear_btn a {
  display: flex;
  color: var(--text-inverse);
  text-decoration: none;
}

@media (min-width: 1024px) {

  .burger,
  .h5-home,
  .h5-search,
  .h5-close-row {
    display: none;
  }

  .head-sear {
    display: flex;
  }

  .nav-links {
    position: static;
    transform: none;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    padding: 0;
    overflow: visible;
    background: transparent;
    color: var(--text-inverse);
  }

  .nav-links a {
    min-height: 36px;
    color: var(--text-nav-muted, rgba(255, 255, 255, 0.72));
    font-weight: 600;
  }

  .nav-links a:hover,
  .nav-links a.is-on {
    color: var(--text-inverse);
  }
}

.ad-slot {
  clear: both;
  width: min(1120px, calc(100% - 32px));
  margin: 32px auto;
  padding: 18px 12px 22px;
  text-align: center;
  border-top: 1px solid color-mix(in srgb, var(--text-muted, #999) 45%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--text-muted, #999) 45%, transparent);
}

.ad-slot:not(:has(*)) {
  display: none;
  margin: 0;
  padding: 0;
  border: 0;
}

.ad-slot:has(*)::before {
  content: attr(data-label);
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted, #999);
}

.thumb {
  display: block;
  overflow: hidden;
  background: var(--bg-placeholder, #d9d9d9);
}

.card {
  display: flex;
  min-width: 0;
  text-decoration: none;
  color: var(--text-heading);
}

.card .name,
.card .cat {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-accent);
}

.guide {
  padding: 8px 0 16px;
}

.guide-head {
  max-width: 42rem;
  margin-bottom: 18px;
}

.guide-head h2 {
  margin: 0 0 10px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
}

.guide-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  background: transparent;
  border: 0;
  overflow: visible;
}

.guide-cover {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  text-decoration: none;
  background: var(--bg-placeholder, #d9d9d9);
}

.guide-cover .thumb {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
  transition: transform 0.28s ease;
}

.guide-card:hover .guide-cover .thumb {
  transform: scale(1.05);
}

.guide-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 48%);
  opacity: 0.85;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.guide-card:hover .guide-cover::after {
  opacity: 1;
}

.guide-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--bg-play, var(--color-primary));
  color: var(--text-inverse);
  transform: translate(-50%, -50%);
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .guide-play {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.92);
  }

  .guide-card:hover .guide-play,
  .card-board:hover .guide-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.guide-play .iconfont {
  font-size: 16px;
  line-height: 1;
}

.guide-step {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.guide-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 2px;
  flex: 1;
}

.guide-body .cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-accent);
}

.guide-body .name {
  font-size: 15px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--text-primary);
}

.guide-desc {
  display: -webkit-box;
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text-body);
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.guide-body h3,
.guide-game,
.guide-cta {
  display: none;
}

@media (min-width: 768px) {
  .guide-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .guide-play {
    width: 38px;
    height: 38px;
  }

  .guide-body .name {
    font-size: 16px;
  }
}

@media (min-width: 1024px) {
  .guide-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.lede,
.prose {
  color: var(--text-body);
  line-height: 1.6;
}

.site-foot {
  margin-top: auto;
  background: var(--bg-page, #fff);
  color: var(--text-heading);
}

.foot-rail {
  background: var(--text-primary);
  color: var(--text-inverse, #fff);
}

.foot-rail-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 14px 0;
}

.foot-rail-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-right: 4px;
}

.foot-rail a {
  color: var(--text-inverse, #fff);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border-bottom: 1px solid transparent;
}

.foot-rail a:hover {
  border-bottom-color: currentColor;
}

.foot-stage {
  background: var(--bg-lists, #eaf2ff);
}

.foot-stage-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  gap: 16px;
  padding: 20px 0 18px;
}

.foot-mast .kicker {
  margin: 0 0 6px;
}

.foot-wordmark {
  display: inline-flex;
  align-items: center;
  margin: 0 0 8px;
  text-decoration: none;
  color: var(--text-primary);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.foot-wordmark img {
  width: auto;
  height: auto;
  max-width: 160px;
  max-height: 40px;
  object-fit: contain;
  background: transparent;
}

.foot-blurb {
  margin: 0;
  max-width: 30rem;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-body);
}

.foot-index {
  display: grid;
  gap: 0;
}

.foot-index>.kicker {
  margin: 0 0 8px;
  padding-top: 10px;
}

.foot-index a {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 8px;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--text-primary) 14%, transparent);
  text-decoration: none;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 700;
}

.foot-index a span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-accent);
}

.foot-index a:hover {
  color: var(--text-accent);
}

.foot-bar {
  background: var(--bg-header, #1a1a1a);
  color: var(--text-inverse, #fff);
}

.foot-bar-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 0;
}

.foot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.foot-actions a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--text-inverse, #fff);
  text-decoration: none;
  font-size: 18px;
  line-height: 1;
}

.foot-actions a:hover {
  opacity: 0.9;
}

.foot-actions .fb {
  background: var(--bg-social-facebook);
}

.foot-actions .x {
  background: var(--bg-social-x);
}

.foot-actions .wa {
  background: var(--bg-social-whatsapp);
}

.foot-actions .rd {
  background: var(--bg-social-reddit);
}

.foot-actions .lk {
  background: var(--bg-social-link);
}

.foot-bar .copy {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

@media (min-width: 900px) {
  .foot-stage-inner {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: start;
  }

  .foot-index a {
    font-size: 14px;
    padding: 7px 0;
  }

  .foot-bar-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.doc {
  width: min(820px, calc(100% - 32px));
  margin: 28px auto 48px;
}

.doc h1 {
  margin: 0 0 16px;
  font-size: 32px;
  color: var(--text-primary);
}

.play-shell {
  width: min(960px, calc(100% - 32px));
  margin: 12px auto;
}

.play-copy {
  margin: 0 0 16px;
}

.play-copy h1 {
  margin: 8px 0;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.15;
  color: var(--text-primary);
}

.about-block {
  width: min(960px, calc(100% - 32px));
  margin: 12px auto 28px;
}

.about-block h2 {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--text-primary);
}

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

.section-copy {
  min-width: 0;
  max-width: 42rem;
}

.section-head .kicker {
  margin: 0 0 8px;
}

.section-head h2 {
  font-size: 28px;
  line-height: 1.15;
  color: var(--text-primary);
}

.section-head h2 a {
  text-decoration: none;
  color: inherit;
}

.section-head .more {
  flex-shrink: 0;
  margin-bottom: 4px;
  font-weight: 800;
  font-size: 14px;
  color: var(--text-accent);
  text-decoration: none;
}

.empty-note {
  margin: 0;
  color: var(--text-muted);
}

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

.page-shift {
  /* display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 100vh; */
  margin-bottom: 48px;
}

.is-search .head-sear,
.is-search .h5-search {
  display: none !important;
}

.search-panel {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 20px 0;
}

.search-panel input[type="search"] {
  flex: 1;
  height: 48px;
  padding: 0 14px;
  border: 1px solid color-mix(in srgb, var(--text-muted, #999) 45%, transparent);
  background: var(--bg-white, #fff);
  color: var(--text-heading);
}

.search-panel button,
.play-pill {
  border: 0;
  cursor: pointer;
}

.search-panel button {
  height: 48px;
  padding: 0 18px;
  background: var(--color-primary);
  color: var(--text-inverse);
  font-weight: 800;
}

.results {
  display: grid;
  gap: 12px;
}

.play-frame {
  position: relative;
  height: min(70vh, 640px);
  background: var(--bg-white, #fff);
  overflow: hidden;
}

.game-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.play-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--bg-detail-card, var(--bg-page));
}

.cover-lg {
width: 160px;
border-radius: 14px;    aspect-ratio: 4 / 3;
}

.play-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-white, #fff);
  color: var(--text-primary);
}

.play-shell .back-detail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0px;
  padding: 8px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text-primary) 8%, transparent);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.play-shell .back-detail .iconfont {
  font-size: 14px;
  line-height: 1;
}

.play-bar .play-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#fullscreenBtn {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  flex-shrink: 0;
}

.kw {
  display: inline-block;
  margin: 0 6px 6px 0;
  padding: 4px 10px;
  background: var(--bg-detail-tag, var(--bg-lists));
  color: var(--text-accent);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width:768px) {
  .guide-play{
    width: 28px;
    height: 28px;
  }
  .guide-play .iconfont {
    font-size: 12px;
    line-height: 1;
}
.tpl-1 .card-board:first-child .name{
    font-size: 16px !important;
}
.tpl-1 .band{
    padding: 16px 0 !important;
}
.tpl-1 .crumb{
  margin-top: 0 !important;
}
.tpl-1 .detail-hero{
  padding-top: 0 !important;
}
.tpl-1 .detail-copy h1{
      padding-bottom: 4px !important;
    font-size: clamp(22px, 5vw, 52px) !important;
}
.tpl-1 .band .lede{
          font-size: 13px;
        line-height: 1.45;
}
.tpl-1 .detail-tags{
      gap: 4px;
    margin: 8px 0 8px !important;
}
.detail-page .play-pill{
max-width: 100% !important;
}
}