.mw-play {
  --blue: #0b57d0;
  --blue2: #2f7bff;
  --ink: #12305b;
  --muted: #4a6280;
  --sky: #eaf6ff;
  color: var(--ink);
  font-family: "Manrope", "Inter", system-ui, sans-serif;
  display: grid;
  gap: 28px;
  padding: 8px 0 48px;
}

.mw-play img {
  max-width: 100%;
  height: auto;
  display: block;
}

.mw-kicker {
  margin: 0 0 8px;
  color: var(--blue);
  font-weight: 700;
  font-size: 1.05rem;
}

.mw-play h1,
.mw-play h2 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.mw-play h1 { font-size: clamp(2.2rem, 4.2vw, 3.8rem); }
.mw-play h2 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); }

.mw-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(11, 87, 208, 0.25);
}
.mw-btn span { font-size: 1.1em; }
.mw-btn--light {
  background: #fff;
  color: var(--blue) !important;
  border: 1px solid #cfe0ff;
  box-shadow: none;
}

.mw-note {
  font-family: "Segoe Script", "Comic Sans MS", cursive;
  color: var(--blue);
  line-height: 1.2;
}

.mw-banner {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  isolation: isolate;
}
.mw-banner > img {
  width: 100%;
  height: auto;
  display: block;
}
.mw-banner__text {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(38%, 440px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 28px 16px 28px 40px;
  z-index: 1;
}
.mw-banner--right .mw-banner__text {
  left: auto;
  right: 0;
  width: min(36%, 400px);
  padding: 28px 40px 28px 16px;
}
.mw-banner__text p { margin: 0 0 16px; line-height: 1.45; }
.mw-hero__lead {
  margin: 12px 0 20px;
  color: var(--muted);
  font-size: 1.05rem;
}
.mw-hero__perks {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.82rem;
}
.mw-hero__perks strong { display: block; color: var(--ink); font-size: 0.8rem; }

.mw-banner--light { color: #fff; }
.mw-banner--light .mw-banner__text p { color: rgba(255,255,255,.92); }
.mw-chip {
  display: inline-flex;
  align-self: flex-start;
  margin: 0 0 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #e7f0ff;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.mw-banner--light .mw-chip {
  background: rgba(255,255,255,.2);
  color: #fff;
}

.mw-soon { text-align: center; }
.mw-soon__sub { color: var(--muted); margin: 8px 0 22px; }
.mw-soon__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  text-align: left;
}
.mw-banner--soon {
  display: block;
  text-decoration: none !important;
  color: inherit;
  min-height: 260px;
  box-shadow: 0 10px 28px rgba(18,48,91,.06);
}
.mw-banner--soon > img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: left center;
}
.mw-banner--soon .mw-banner__text {
  width: min(48%, 280px);
  padding: 22px 22px 22px 10px;
  text-align: left;
  align-items: flex-start;
}
.mw-banner--soon h3 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  text-align: left;
}
.mw-banner--soon p {
  margin: 0;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.35;
  opacity: 0.85;
  text-align: left;
}
.mw-soon__tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 5px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(18,48,91,.08);
}

.mw-bonus {
  border-radius: 32px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d7e8ff;
  box-shadow: 0 10px 28px rgba(18,48,91,.05);
  text-align: left;
}
.mw-bonus__copy {
  padding: 28px 36px 8px;
  max-width: 40rem;
  text-align: left;
}
.mw-bonus__copy h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  line-height: 1.05;
  text-align: left;
}
.mw-bonus__copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  text-align: left;
}
.mw-bonus__visual {
  position: relative;
}
.mw-bonus__img {
  width: 100%;
  height: auto;
  display: block;
  min-height: 220px;
  object-fit: contain;
  object-position: center right;
  background: linear-gradient(90deg, #f7fbff, #eef6ff);
}
.mw-bonus__steps {
  position: absolute;
  left: 4%;
  right: 38%;
  bottom: 8%;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
.mw-bonus__steps li { text-align: left; }
.mw-bonus__steps b {
  display: block;
  font-size: 0.92rem;
  color: var(--ink);
}
.mw-bonus__steps span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.25;
}

.mw-banner--shop .mw-banner__text {
  width: min(40%, 440px);
  padding: 36px 16px 36px 40px;
  background: linear-gradient(90deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.55) 70%, transparent 100%);
}
.mw-banner--shop .mw-banner__text p { margin: 0 0 14px; }
.mw-banner--shop .mw-note { margin-bottom: 8px; }
.mw-shop__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.mw-gamepage {
  display: grid;
  gap: 22px;
  padding-bottom: 40px;
}
.mw-gamepage__banner {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(18,48,91,.12);
}
.mw-gamepage__banner img,
.mw-gamepage__art {
  width: 100%;
  height: auto;
  display: block;
}
.mw-gamepage__banner--with-guide .mw-gamepage__guide {
  position: absolute;
  left: 1.5%;
  top: 50%;
  transform: translateY(-50%);
  width: min(46%, 560px);
  height: auto;
  max-height: 92%;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.18));
  pointer-events: none;
}
.mw-gamepage__copy {
  position: absolute;
  right: 15%;
  top: 16%;
  width: min(24%, 270px);
  z-index: 1;
  text-align: left;
  pointer-events: none;
}
.mw-gamepage__copy .mw-chip {
  display: none;
}
.mw-gamepage__copy .mw-gamepage__title {
  font-size: clamp(1.12rem, 1.8vw, 1.62rem);
  line-height: 1.12;
  margin: 0 0 6px;
  color: #163a6b;
  text-shadow: 0 1px 0 rgba(255,255,255,.7);
}
.mw-gamepage__copy .mw-gamepage__desc {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.3;
  max-width: 240px;
  color: #4a6280;
  text-shadow: 0 1px 0 rgba(255,255,255,.65);
}
.mw-gamepage__panel {
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(18,48,91,.08);
}
.mw-gamepage__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin: 0 0 12px;
}
.mw-gamepage__desc {
  color: var(--muted);
  max-width: 40rem;
  margin: 0 0 18px;
}
.mw-back { color: var(--blue); font-weight: 700; text-decoration: none !important; }
.mw-soon-stub {
  min-height: 180px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(180deg, #eaf6ff, #fff);
  color: var(--muted);
  font-weight: 700;
}

.mw-stage {
  position: relative;
  margin-top: 8px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #d7e6ff;
  background: #0f2744;
}
.mw-stage__hud {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  color: #fff;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.22);
}
.mw-fs-btn {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 6;
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #0b57d0;
  font: 700 13px Manrope, Inter, sans-serif;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.mw-fs-btn:hover { background: #fff; }
.mw-fs-tip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #eaf4ff;
  border: 1px solid #cfe0ff;
  color: #163a6b;
  font-size: 0.92rem;
  line-height: 1.35;
}
.mw-fs-tip.is-hidden { display: none; }
.mw-fs-tip__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.mw-fs-tip button {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font: 700 13px Manrope, Inter, sans-serif;
}
.mw-fs-tip [data-mw-fs-tip-go] {
  background: var(--blue);
  color: #fff;
}
.mw-fs-tip [data-mw-fs-tip-hide] {
  background: #fff;
  color: #4a6280;
  border: 1px solid #d7e6ff;
}
.mw-stage.is-fs,
.mw-stage:fullscreen,
.mw-stage:-webkit-full-screen {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  width: 100vw !important;
  height: 100vh !important;
  max-width: none;
  margin: 0;
  border-radius: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  background: #123a7a;
}
html.mw-fs-active .mw-chat,
html.mw-fs-active [class*="consultant"],
html.mw-fs-active [id*="jivo"],
html.mw-fs-active [class*="jivo"],
html.mw-fs-active iframe[src*="jivo"],
html.mw-fs-active .bx-im-bar,
html.mw-fs-active #bx-messenger-button,
html.mw-fs-active .b24-widget-button-wrapper {
  display: none !important;
  visibility: hidden !important;
}
.mw-stage.is-fs .mw-stage__hud,
.mw-stage:fullscreen .mw-stage__hud,
.mw-stage:-webkit-full-screen .mw-stage__hud {
  flex: 0 0 auto;
}
.mw-stage.is-fs canvas,
.mw-stage:fullscreen canvas,
.mw-stage:-webkit-full-screen canvas {
  flex: 1 1 auto;
  width: 100% !important;
  height: auto !important;
  max-height: calc(100vh - 52px);
  object-fit: contain;
}
.mw-stage.is-fs .mw-stage__overlay,
.mw-stage:fullscreen .mw-stage__overlay,
.mw-stage:-webkit-full-screen .mw-stage__overlay {
  inset: 52px 0 0;
}
html.mw-fs-active,
html.mw-fs-active body {
  overflow: hidden !important;
}
#mw-game {
  display: block;
  width: 100%;
  height: auto;
  background: linear-gradient(#7ec8ff, #bfe8a8 62%, #7bc47b 62%);
  touch-action: none;
}
#mw-match3 {
  display: block;
  width: 100%;
  height: auto;
  background: #cfe8ff;
  touch-action: manipulation;
}
.mw-stage--match3 {
  background: #123a7a;
}
.mw-stage__overlay {
  position: absolute;
  inset: 48px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 24, 40, 0.45);
}
.mw-stage__overlay.is-hidden { display: none; }
.mw-stage__card {
  width: min(92%, 400px);
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  text-align: center;
}
.mw-stage__card h3 { margin: 0 0 8px; }
.mw-stage__card p { margin: 0 0 16px; color: var(--muted); }
.mw-stage__card .mw-btn {
  border: 0;
  cursor: pointer;
  font: inherit;
}
.mw-stage__card .mw-btn + .mw-btn {
  margin-left: 8px;
  margin-top: 8px;
}
.mw-stage__hint {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 640px) {
  .mw-fs-tip {
    flex-direction: column;
    align-items: stretch;
  }
  .mw-fs-tip__actions {
    width: 100%;
  }
  .mw-fs-tip__actions button {
    flex: 1;
  }
  .mw-fs-btn {
    top: auto;
    bottom: 10px;
    right: 10px;
  }
}

@media (max-width: 980px) {
  .mw-banner { display: flex; flex-direction: column; }
  .mw-banner__text,
  .mw-banner--right .mw-banner__text,
  .mw-banner--soon .mw-banner__text,
  .mw-banner--shop .mw-banner__text {
    position: relative;
    width: 100%;
    left: auto;
    right: auto;
    padding: 22px 20px 24px;
  }
  .mw-banner--light .mw-banner__text {
    background: linear-gradient(180deg, #1a73e8, #3d94ff);
  }
  .mw-banner--hero .mw-banner__text,
  .mw-banner--right .mw-banner__text,
  .mw-banner--soon .mw-banner__text,
  .mw-banner--shop .mw-banner__text {
    background: #f4fbff;
  }
  .mw-soon__grid {
    grid-template-columns: 1fr;
  }
  .mw-banner--soon {
    min-height: 220px;
  }
  .mw-banner--soon > img {
    min-height: 220px;
  }
  .mw-bonus__copy {
    padding: 22px 20px 8px;
  }
  .mw-bonus__steps {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    grid-template-columns: 1fr 1fr;
    padding: 8px 16px 18px;
  }
  .mw-gamepage__banner--with-guide {
    display: flex;
    flex-direction: column;
  }
  .mw-gamepage__banner--with-guide .mw-gamepage__guide {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-height: none;
    order: 2;
    padding: 10px 10px 12px;
    background: #0b57d0;
  }
  .mw-gamepage__banner--with-guide .mw-gamepage__art {
    order: 1;
  }
  .mw-gamepage__copy {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    padding: 14px 18px 16px;
    background: #f4fbff;
  }
  .mw-gamepage__copy .mw-chip {
    display: inline-flex;
  }
}
