:root {
  --ice: #d6e1ef;
  --copper: #d26d3d;
  --copper-deep: #a35231;
  --sheet: #0c0c0e;
  color: var(--ice);
  background: #000;
  font-family: Gilroy, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.35;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background-color: #000;
  background-image: linear-gradient(315deg, #16191d 0%, #252a2e 100%);
}
body, button, select { font: inherit; }
button, select { color: inherit; }
h1, h2, legend, strong { font-weight: 800; }
h1 { margin: 0; font-size: 1.7rem; letter-spacing: -.03em; }
h2 { margin: 0 0 .4rem; font-size: 1.4rem; }
p { max-width: 62ch; }
.visually-hidden, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}
.skip:focus { z-index: 5; background: #17191c; color: var(--ice); padding: .6rem; }
.top, .layout, footer { width: min(980px, calc(100% - 20px)); margin-inline: auto; }
.top { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 14px 0 10px; }
#free-play { margin: .25rem 0 0; color: #5cd9f5; font-size: .8rem; font-weight: 700; }
.tools { display: flex; gap: .45rem; align-items: center; }
.age, .tools button, .tools select, footer button {
  border: 1px solid #2a3036;
  background: linear-gradient(320.64deg, #17191c -42.09%, #32383e 167.71%);
  color: var(--ice);
  border-radius: 8px;
  min-height: 2.2rem;
  padding: .3rem .7rem;
}
.age { margin: 0; font-weight: 800; color: var(--copper); }
button { cursor: pointer; }
button:focus-visible, select:focus-visible, .tile:focus-visible {
  outline: 2px solid #5cd9f5; outline-offset: 2px;
}
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.stage, .controls { background: transparent; }
.ladder {
  display: flex;
  gap: 4px;
  height: 41px;
  margin-bottom: 10px;
  padding: 4px;
  overflow: hidden;
  border-radius: 5px;
  background-image: linear-gradient(360deg, rgba(194, 108, 66, .79) 0%, rgba(35, 38, 43, 0) 100%), linear-gradient(90.51deg, #5d666f 9.05%, rgba(18, 20, 21, .33) 105.67%);
  box-shadow: inset 2px 1px 9px #070709;
}
.ladder span {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper);
  border: 1px solid var(--copper-deep);
  border-radius: 4px;
  background: #0c0c0e;
  font-size: 10px;
  font-weight: 700;
}
.ladder span.is-on { color: #020202; background: var(--copper); border-color: var(--copper); }
.status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .7rem;
  min-height: 2.2rem;
  margin: .7rem 0 0;
}
.status { flex: 1 1 12rem; margin: 0; color: #9aa6b5; font-size: .85rem; }
.notice {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0;
  background: #17191c;
  color: var(--ice);
  border-radius: 8px;
  padding: .35rem .45rem .35rem .9rem;
}
.notice[hidden] { display: none; }
.notice.is-action { padding: 0; background: transparent; }
.notice button { margin: 0; flex: 0 0 auto; background: #32383e; color: var(--ice); border: 0; border-radius: 8px; }
.board {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  direction: ltr;
  padding: 12px;
  border-radius: 18px;
  background: #0c0c0e;
}
.tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 13px;
  overflow: hidden;
  background-image: linear-gradient(320.64deg, #17191c -42.09%, #32383e 167.71%);
  box-shadow: 3px 3px 4px rgba(10, 9, 9, .4);
}
.tile-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .5s ease-in;
}
.tile.is-open .tile-inner { opacity: 1; }
.tile.is-trap .tile-inner { transition-delay: .3s; }
.diamond, .bomb {
  position: relative;
  z-index: 2;
  width: 80%;
  height: 80%;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
}
.diamond { background-image: url("media/diamond_shadow.svg"); }
.bomb { background-image: url("media/bomb_shadow.svg"); }
.tile.is-gem {
  background-image:
    radial-gradient(33.95% 33.95% at -8.16% 104.08%, rgba(148, 226, 251, .37) 5.7%, rgba(33, 38, 42, 0) 100%),
    radial-gradient(33.68% 33.68% at 113.68% 107.89%, rgba(148, 226, 251, .37) 0%, rgba(33, 38, 42, 0) 100%),
    radial-gradient(62.12% 48.25% at 49.48% -8.25%, #5cd9f5 0%, rgba(38, 42, 46, 0) 100%),
    linear-gradient(129.86deg, #242526 -1.52%, rgba(29, 33, 36, .21) 107.51%);
}
.tile.is-gem.is-fresh .diamond {
  animation: tile-scale .3s ease-out forwards, glitter 1s .3s infinite;
}
.tile.is-trap {
  background-image:
    radial-gradient(54.74% 54.74% at 116.84% 108.42%, rgba(221, 28, 28, .79) 0%, rgba(30, 33, 37, 0) 100%),
    radial-gradient(47.37% 40% at 9.47% -4.74%, rgba(242, 137, 41, .63) 0%, rgba(24, 26, 29, 0) 100%),
    linear-gradient(119.79deg, #3a3e41 -9.65%, rgba(15, 16, 18, .58) 113%);
}
.tile.is-trap.is-fresh::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: url("media/bomb-sprite.webp");
  background-repeat: no-repeat;
  background-position: 0 center;
  background-size: auto 100%;
  animation: play-bomb .5s steps(9, end) forwards;
}
.tile.is-dim .tile-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(2px);
}
.tile.is-pop { animation: tile-press .45s ease; }
@keyframes tile-press {
  0% { transform: scale(1); }
  40% { transform: scale(.9); }
  100% { transform: scale(1); }
}
@keyframes tile-scale {
  0% { transform: scale(.8); }
  100% { transform: scale(1); }
}
@keyframes glitter {
  0% { filter: brightness(1); }
  50% { filter: brightness(1.5); }
  100% { filter: brightness(1); }
}
@keyframes play-bomb {
  100% { background-position: calc(100% + (100% / 8)); opacity: 0; }
}
.controls { display: grid; gap: 12px; }
.actions { display: grid; gap: 8px; }
.primary, #finish {
  min-height: 64px;
  border: 0;
  border-radius: 10px;
  color: var(--ice);
  font-size: 16px;
  font-weight: 800;
  box-shadow: -4px -2px 16px rgba(195, 200, 205, .09), 4px 4px 18px rgba(0, 0, 0, .5);
}
.primary {
  background-image: radial-gradient(48.81% 101.72% at 50% -10.34%, rgba(18, 194, 250, .9) 0%, rgba(82, 195, 243, .19) .01%, rgba(40, 45, 49, .11) 100%), linear-gradient(315.81deg, #17191c -42.75%, #32383e 123.05%);
}
#finish {
  min-height: 48px;
  background-image: linear-gradient(320.64deg, #17191c -42.09%, #32383e 167.71%);
}
#finish:not(:disabled) {
  background-image: radial-gradient(circle at 50% 0%, rgba(129, 223, 73, .75), rgba(23, 25, 28, .2) 70%);
}
.mines {
  margin: 0;
  padding: 8px;
  border: 0;
  border-radius: 10px;
  background-image: linear-gradient(315deg, #16191d 0%, #252a2e 100%);
  box-shadow: inset 2px 2px 2px rgba(26, 32, 38, .4);
}
legend { margin-bottom: 8px; color: var(--copper); font-size: 11px; }
.difficulty { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.difficulty button {
  min-width: 0;
  min-height: 36px;
  padding: 0;
  border: 1px solid #2c3238;
  border-radius: 7px;
  background: #17191c;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 3px 3px 4px rgba(10, 9, 9, .4);
}
.difficulty button[aria-pressed="true"] {
  color: var(--copper);
  border-color: var(--copper-deep);
  background: #0c0c0e;
}
.details {
  padding: 1px;
  border-radius: 10px;
  background-image: linear-gradient(360deg, rgba(194, 108, 66, .79) 0%, rgba(35, 38, 43, 0) 100%), linear-gradient(90.51deg, #5d666f 9.05%, rgba(18, 20, 21, .33) 105.67%);
  box-shadow: inset 2px 1px 9px #070709;
}
.details-sheet {
  padding: 10px 12px 6px;
  border: 1px solid #1e2122;
  border-radius: 10px;
  background: #0c0c0e;
}
.details-title { margin: 0 0 8px; color: var(--copper); font-size: 11px; font-weight: 700; }
.detail { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 10px; color: #d17448; font-size: 12px; }
.detail strong { color: var(--ice); font-size: 14px; }
button:disabled { opacity: .5; cursor: not-allowed; }
.tile:disabled { opacity: 1; cursor: default; }
.disclaimer, .no-prizes { margin: 0; color: #8b97a6; font-size: .78rem; font-weight: 700; }
footer { display: flex; flex-wrap: wrap; gap: .5rem; padding: 16px 0 28px; }
dialog { border: 0; border-radius: 12px; padding: 1.2rem; max-width: 36rem; color: var(--ice); background: #17191c; }
dialog::backdrop { background: rgba(0, 0, 0, .55); }
dialog button { margin-top: .6rem; border: 0; border-radius: 8px; background: #32383e; color: var(--ice); }
.signal-share-dialog { width: min(560px, calc(100% - 24px)); }
.signal-url-label { display: block; margin: 16px 0 6px; color: var(--copper); font-size: 11px; font-weight: 800; }
.signal-url {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #32383e;
  border-radius: 7px;
  color: var(--ice);
  background: #0c0c0e;
  font-size: 12px;
}
.signal-share-status { min-height: 1.25rem; margin: 7px 0 0; color: #5cd9f5; font-size: 11px; }
.signal-share-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.signal-share-actions form { display: contents; }
.signal-share-actions button { min-height: 36px; margin-top: 0; padding: 6px 12px; }
#signal-rotate { color: rgba(214, 225, 239, .68); background: transparent; box-shadow: inset 0 0 0 1px #32383e; }
@media (max-width: 800px) {
  .layout { grid-template-columns: 1fr; }
  .top { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Exact Turbo Mines component layer */
html {
  width: 100%;
  min-height: 100%;
  background: #16191d;
}
body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  color: #d6e1ef;
  background-color: #000;
  background-image: linear-gradient(315deg, #16191d 0%, #252a2e 100%);
  font-family: Gilroy, Arial, sans-serif;
  font-variant-numeric: tabular-nums;
}
.mines-app,
.game-wrapper {
  width: 100%;
  min-height: 100vh;
}
.game-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  padding: 10px 24px;
  border-bottom: 2px solid #121d35;
  background: rgba(24, 27, 31, .5);
}
.game-brand h1 {
  position: relative;
  margin: 0;
  padding-left: 40px;
  color: #020202;
  font-size: clamp(27px, 5vw, 39px);
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1;
  -webkit-text-stroke: 1px #a94328;
  text-shadow: 0 1px 1px #000;
}
.game-brand h1::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 32px;
  height: 32px;
  transform: translateY(-50%) rotate(-8deg);
  background: url("media/diamond_shadow.svg") center / contain no-repeat;
  filter: drop-shadow(0 0 5px rgba(92, 217, 245, .4));
}
#free-play {
  margin: 5px 0 0 41px;
  color: rgba(214, 225, 239, .65);
  font-size: 10px;
  line-height: 1;
}
.game-header__tools {
  display: flex;
  align-items: center;
  gap: 8px;
}
.age,
.language select {
  height: 44px;
  margin: 0;
  border: 1px solid #202328;
  border-radius: 10px;
  color: #d6e1ef;
  background: linear-gradient(135deg, #222326 0%, #222326 25%, #283034 100%);
  box-shadow: inset -2px -2px 10px rgba(255, 255, 255, .05), inset 2px 3px 10px #070709;
}
.age {
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: #d26d3d;
  font-weight: 800;
}
.language select {
  min-width: 128px;
  padding: 0 34px 0 13px;
}
.game-header__button {
  width: 44px;
  height: 44px;
  padding: 1px;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  box-shadow: 3px 3px 4px rgba(10, 9, 9, .4);
}
.game-header__button--inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(320.64deg, #17191c -42.09%, #32383e 167.71%);
}
.sound-icon {
  width: 17px;
  height: 17px;
  background-color: #d6e1ef;
  -webkit-mask: url("media/sound.svg") center / contain no-repeat;
  mask: url("media/sound.svg") center / contain no-repeat;
}
#sound[aria-pressed="false"] .sound-icon {
  opacity: .45;
}
.game-container {
  position: relative;
  width: 100%;
  padding: 0 10px 36px;
}
.game-history {
  display: flex;
  position: relative;
  height: 41px;
  margin-top: 5px;
  padding: 1px;
  overflow: hidden;
  border-radius: 5px;
  background-image: linear-gradient(360deg, rgba(194, 108, 66, .79) 0%, rgba(35, 38, 43, 0) 100%), linear-gradient(90.51deg, #5d666f 9.05%, rgba(18, 20, 21, .33) 105.67%);
  box-shadow: inset 2px 1px 9px #070709;
}
.game-history__inner {
  display: flex;
  flex: 1;
  max-width: 100%;
  height: 100%;
  padding: 2px;
  overflow: hidden;
  border-radius: 5px;
  background: linear-gradient(324.43deg, #17191c -52.28%, #1c1e22 69.89%);
  box-shadow: inset 2px 1px 9px #070709;
}
.game-history__inner-container {
  display: flex;
  flex: 1;
  gap: 5px;
  max-width: 100%;
  height: 100%;
  padding: 1px;
  overflow-x: auto;
  border: 1px solid #1e2122;
  border-radius: 5px;
  background: #0c0c0e;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.game-history__inner-container::-webkit-scrollbar { display: none; }
.game-history__item {
  display: flex;
  flex: 0 0 calc(16.666% - 5px);
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 100%;
  border: 1px solid #a35231;
  border-radius: 4px;
  color: #d26d3d;
  font-size: 10px;
  font-weight: 500;
  box-shadow: -1px -1px 10px rgba(141, 68, 37, .2);
}
.game-history__item.is-on {
  color: #020202;
  border-color: #d26d3d;
  background: #d26d3d;
  box-shadow: -1px -1px 10px rgba(248, 112, 106, .15);
}
.chart-wrapper {
  margin-top: 10px;
}
.table-holder {
  position: relative;
}
.game-tiles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: repeat(5, 1fr);
  gap: 10px;
  padding: 0 0 30px;
  direction: ltr;
  background: transparent;
}
.game-tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 13px;
  background-image: linear-gradient(320.64deg, #17191c -42.09%, #32383e 167.71%);
  box-shadow: 3px 3px 4px rgba(10, 9, 9, .4);
}
.game-tile .tile-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .5s ease-in;
}
.game-tile.is-open .tile-inner {
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  border-radius: 12px;
  opacity: 1;
  background-image: linear-gradient(317.11deg, #0a0b0d -17.46%, #32383e 197.04%);
  box-shadow: inset -2px -2px 6px rgba(76, 79, 81, .26), inset 4px 4px 3px rgba(10, 9, 9, .49);
}
.game-tile .diamond,
.game-tile .bomb {
  position: relative;
  z-index: 2;
  width: 80%;
  height: 80%;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
}
.game-tile .diamond {
  background-image: url("media/diamond_shadow.svg");
}
.game-tile .bomb {
  background-image: url("media/bomb_shadow.svg");
}
.game-tile.is-gem {
  background-image: radial-gradient(33.95% 33.95% at -8.16% 104.08%, rgba(148, 226, 251, .37) 5.7%, rgba(33, 38, 42, 0) 100%), radial-gradient(33.68% 33.68% at 113.68% 107.89%, rgba(148, 226, 251, .37) 0%, rgba(33, 38, 42, 0) 100%), radial-gradient(62.12% 48.25% at 49.48% -8.25%, #5cd9f5 0%, rgba(38, 42, 46, 0) 100%), linear-gradient(129.86deg, #242526 -1.52%, rgba(29, 33, 36, .21) 107.51%);
}
.game-tile.is-trap {
  background-image: radial-gradient(54.74% 54.74% at 116.84% 108.42%, rgba(221, 28, 28, .79) 0%, rgba(30, 33, 37, 0) 100%), radial-gradient(47.37% 40% at 9.47% -4.74%, rgba(242, 137, 41, .63) 0%, rgba(24, 26, 29, 0) 100%), linear-gradient(119.79deg, #3a3e41 -9.65%, rgba(15, 16, 18, .58) 113%);
}
.game-tile.is-dim .tile-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(2px);
}
.game-betslip {
  display: flex;
  flex-direction: column;
}
.game-betslip__buttons {
  display: flex;
  margin-bottom: 12px;
}
.btn-new {
  position: relative;
  flex: 1;
  height: 64px;
  padding: 3px;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-align: center;
  box-shadow: -4px -2px 16px rgba(195, 200, 205, .09), 4px 4px 18px rgba(0, 0, 0, .5);
}
.btn-bg {
  position: absolute;
  inset: 0;
}
.btn-new__border {
  position: relative;
  display: block;
  height: 100%;
  padding: 1px;
  overflow: hidden;
  border-radius: 8px;
}
.btn-new__inner {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: 7px;
  background-image: linear-gradient(320.64deg, #17191c -42.09%, #32383e 167.71%);
}
.btn-new__text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 10px 0;
}
.btn-new .text-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 28px;
}
.btn-new .text {
  color: #d6e1ef;
  font-size: 16px;
  font-weight: 800;
}
.btn-new._placebet ._bg1 {
  background-image: radial-gradient(48.81% 101.72% at 50% -10.34%, rgba(18, 194, 250, .9) 0%, rgba(82, 195, 243, .19) .01%, rgba(40, 45, 49, .11) 100%), linear-gradient(315.81deg, #17191c -42.75%, #32383e 123.05%);
}
.btn-new._placebet ._bg11 {
  opacity: 0;
  background-image: radial-gradient(50% 91.38% at 50% 0, rgba(82, 195, 243, .19) .01%, rgba(18, 194, 250, .54) .02%, rgba(40, 45, 49, .18) 100%), linear-gradient(315.81deg, #17191c -42.75%, #32383e 123.05%);
}
.btn-new._placebet ._bg2,
.btn-new._placebet ._bg22 {
  background-image: radial-gradient(148.08% 148.08% at 1.81% 132.69%, #66a1e5 0%, rgba(38, 74, 112, 0) 100%), linear-gradient(94.46deg, rgba(200, 213, 225, .21) 45.13%, transparent 123.58%), linear-gradient(315.81deg, #17191c -42.75%, #32383e 123.05%);
}
.btn-new._finish ._bg1,
.btn-new._finish ._bg11 {
  background-image: radial-gradient(58.03% 100% at 50% 0, rgba(238, 150, 68, .45) 0%, rgba(40, 45, 49, .11) 100%), linear-gradient(315.81deg, #17191c -42.75%, #32383e 123.05%);
}
.btn-new._finish ._bg2,
.btn-new._finish ._bg22 {
  background-image: linear-gradient(136.14deg, rgba(238, 150, 68, .65) -.24%, rgba(249, 225, 178, .2) 91.03%);
}
.btn-new._finish .indicator {
  background: linear-gradient(136.14deg, #ee9644 -.24%, #f9e1b2 91.03%);
  box-shadow: 0 0 5px rgba(238, 150, 68, .8), 0 0 10px rgba(238, 150, 68, .45);
}
.btn-new .indicator {
  position: absolute;
  right: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 88% 115%, #81df49, #8de15e 70%);
  box-shadow: 0 0 5px #a6ff60, 0 0 10px #76ff60;
}
.secondary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.action-dark {
  height: 46px;
  border: 1px solid #202328;
  border-radius: 8px;
  color: #d6e1ef;
  background-image: linear-gradient(135deg, #282c31 0%, #1e2125 100%);
  box-shadow: 3px 3px 4px rgba(10, 9, 9, .4);
  font-size: 12px;
  font-weight: 700;
}
.action-finish:not(:disabled) {
  color: #d26d3d;
  border-color: #a35231;
  background: rgba(209, 116, 72, .1);
}
.settings-input__wrapper._mines {
  position: relative;
  display: flex;
  margin: 0 0 15px;
  padding: 1px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(98deg, rgba(200, 213, 225, .25) 0%, transparent 100%);
  box-shadow: inset 2px 2px 2px rgba(26, 32, 38, .4);
}
.settings-input__wrapper-inner {
  position: relative;
  display: flex;
  flex: 1;
  height: 49px;
  padding: 1px;
  border-radius: 10px;
  background-image: linear-gradient(315deg, #16191d 0%, #252a2e 100%);
}
.settings-input__wrapper._mines .button-turbo {
  position: absolute;
  z-index: 2;
  top: 3px;
  display: flex;
  width: 44px;
  height: 45px;
  padding: 1px;
  border: 0;
  border-radius: 7px;
  background: transparent;
}
.settings-input__wrapper._mines .button-turbo:nth-child(1) { left: 3px; }
.settings-input__wrapper._mines .button-turbo:nth-child(2) { left: 47px; }
.settings-input__wrapper._mines .button-turbo:nth-child(3) { right: 47px; }
.settings-input__wrapper._mines .button-turbo:nth-child(4) { right: 3px; }
.settings-input__wrapper._mines .button-turbo:nth-child(5) { left: 92px; }
.settings-input__wrapper._mines .button-turbo:nth-child(6) { right: 92px; }
.button__inner {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  height: 100%;
  border-radius: 7px;
  background-image: linear-gradient(135deg, #292d32 0%, #1d2024 100%);
  box-shadow: 3px 3px 4px rgba(10, 9, 9, .4);
}
.button__text {
  color: rgba(255, 255, 255, .6);
  font-size: 11px;
  font-weight: 700;
}
.button-turbo._golden .button__inner,
.button-turbo[aria-pressed="true"] .button__inner {
  border: 1px solid #a35231;
  color: #d26d3d;
  background: rgba(209, 116, 72, .1);
  box-shadow: -1px -1px 10px rgba(141, 68, 37, .15);
}
.button-turbo._golden .button__text,
.button-turbo[aria-pressed="true"] .button__text {
  color: #d26d3d;
}
.settings-input__wrapper .games-input__wrapper {
  position: relative;
  width: 100%;
  height: 47px;
  margin: 0;
  border-radius: 9px;
  background: radial-gradient(39.88% 38.48% at 50% 109.2%, #ba6238 0%, rgba(12, 12, 14, 0) 100%), radial-gradient(39.64% 68.64% at 50% -18.72%, #ba6238 0%, rgba(12, 12, 14, 0) 100%), #0c0c0e;
}
.mines-label {
  position: absolute;
  top: 8px;
  left: 50%;
  color: #d26d3d;
  font-size: 9px;
  transform: translateX(-50%);
  white-space: nowrap;
}
.games-input__number {
  position: absolute;
  top: 21px;
  left: 0;
  width: 100%;
  color: #d26d3d;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}
.game-details {
  position: relative;
  padding: 1px;
  overflow: hidden;
  border-radius: 10px;
  color: #d17448;
  background-image: linear-gradient(360deg, rgba(194, 108, 66, .79) 0%, rgba(35, 38, 43, 0) 100%), linear-gradient(90.51deg, #5d666f 9.05%, rgba(18, 20, 21, .33) 105.67%);
  box-shadow: inset 2px 1px 9px #070709;
  font-size: 11px;
}
.game-details::before {
  content: "";
  position: absolute;
  top: -148px;
  left: -182px;
  width: 300px;
  height: 300px;
  background: rgba(196, 196, 196, .06);
  transform: rotate(40deg);
}
.game-details__inner {
  position: relative;
  padding: 2px;
  border-radius: 10px;
  background: linear-gradient(324.43deg, #17191c -52.28%, #1c1e22 69.89%);
  box-shadow: inset 2px 1px 9px #070709;
}
.game-details__inner-container {
  height: 100%;
  padding-bottom: 5px;
  border: 1px solid #1e2122;
  border-radius: 10px;
  background: #0c0c0e;
}
.game-details__title {
  display: flex;
  align-items: center;
  height: 40px;
  margin: 0 0 14px;
  padding: 0 12px;
  border-bottom: 1px solid #1d1b1b;
  font-weight: 700;
}
.game-details__row {
  display: flex;
  align-items: center;
  margin: 0 0 16px;
  padding: 0 12px;
}
.game-details__row-value {
  margin-inline-start: auto;
  color: #d6e1ef;
  font-weight: 700;
}
.detail-icon {
  width: 20px;
  height: 20px;
  margin-inline-end: 15px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
.crystal-icon { background-image: url("media/icon-crystal.svg"); }
.score-icon { background-image: url("media/icon-tiles.svg"); }
.streak-icon,
.best-icon {
  border: 2px solid #d26d3d;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(210, 109, 61, .55);
}
.status-row {
  display: flex;
  align-items: center;
  min-height: 36px;
  margin: 8px 2px 0;
}
.status {
  margin: 0;
  color: rgba(214, 225, 239, .6);
  font-size: 11px;
}
.notice button {
  min-height: 30px;
}
.disclosures {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 16px;
  padding: 0 2px;
}
.disclaimer,
.no-prizes {
  margin: 0;
  color: rgba(214, 225, 239, .55);
  font-size: 10px;
  font-weight: 500;
}
footer {
  width: 100%;
  padding: 0 10px 24px;
}
footer button {
  border-radius: 6px;
  color: rgba(214, 225, 239, .6);
  background: transparent;
  font-size: 10px;
}
button:disabled {
  cursor: not-allowed;
  opacity: .45;
}
.game-tile:disabled {
  cursor: default;
  opacity: 1;
}
@media (max-width: 819px) {
  .game-header {
    min-height: 58px;
    padding: 8px 12px;
  }
  .game-brand h1 {
    padding-left: 34px;
    font-size: 25px;
  }
  .game-brand h1::before {
    width: 28px;
    height: 28px;
  }
  #free-play {
    margin-left: 35px;
  }
  .age {
    height: 36px;
    padding: 0 9px;
    font-size: 12px;
  }
  .language select {
    width: 88px;
    min-width: 0;
    height: 36px;
    padding: 0 25px 0 8px;
    font-size: 11px;
  }
  .game-header__button {
    width: 36px;
    height: 36px;
  }
  .game-history {
    height: 35px;
    margin: 0 -10px 10px;
    border-radius: 0;
  }
  .game-history__inner,
  .game-history__inner-container {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }
  .game-history__item {
    flex-basis: calc(19% - 5px);
    min-width: calc(19% - 5px);
  }
  .game-tiles {
    gap: 10px;
  }
  .btn-new ._bg1,
  .btn-new ._bg2 {
    opacity: 0;
  }
  .btn-new ._bg11,
  .btn-new ._bg22 {
    opacity: 1;
  }
}
@media (max-width: 420px) {
  .game-brand h1 {
    padding-left: 28px;
    font-size: 20px;
  }
  .game-brand h1::before {
    width: 23px;
    height: 23px;
  }
  #free-play {
    margin-left: 29px;
    font-size: 8px;
  }
  .game-header__tools {
    gap: 5px;
  }
  .age {
    padding: 0 7px;
  }
  .language select {
    width: 78px;
  }
  .game-tiles {
    gap: 7px;
    padding-bottom: 20px;
  }
  .game-tile {
    border-radius: 10px;
  }
  .settings-input__wrapper._mines .button-turbo:nth-child(5) { left: 87px; }
  .settings-input__wrapper._mines .button-turbo:nth-child(6) { right: 87px; }
}
@media (max-width: 350px) {
  .game-header { padding-inline: 7px; }
  .game-brand h1 { padding-left: 23px; font-size: 17px; }
  .game-brand h1::before { width: 19px; height: 19px; }
  #free-play { margin-left: 24px; }
  .game-header__tools { gap: 3px; }
  .age { padding-inline: 5px; font-size: 10px; }
  .language select { width: 67px; padding-left: 5px; font-size: 10px; }
  .game-header__button { width: 34px; height: 34px; }
}

/* Signal companion */
.signal-mode [hidden] {
  display: none !important;
}
.signal-container {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: clamp(18px, 4vw, 38px) 14px 32px;
}
.signal-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding: 0 3px 13px;
  border-bottom: 1px solid rgba(210, 109, 61, .42);
}
.signal-intro h2 {
  margin: 0 0 5px;
  color: #d6e1ef;
  font-size: clamp(20px, 4vw, 28px);
  letter-spacing: -.02em;
}
.signal-status {
  margin: 0;
  color: rgba(214, 225, 239, .62);
  font-size: 12px;
}
.signal-meta {
  flex: 0 0 auto;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid rgba(163, 82, 49, .75);
  border-radius: 6px;
  color: #d26d3d;
  background: #0c0c0e;
  font-size: 11px;
  font-weight: 800;
}
.signal-stage {
  position: relative;
}
.signal-board {
  gap: clamp(7px, 1.7vw, 12px);
  padding: 0;
}
.signal-tile {
  cursor: default;
}
.signal-tile.is-trap {
  box-shadow: 0 0 0 1px rgba(210, 109, 61, .16), 3px 3px 4px rgba(10, 9, 9, .4);
}
.signal-mode .signal-bomb {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  font-size: clamp(30px, 9vw, 72px);
  line-height: 1;
  filter: drop-shadow(0 10px 6px rgba(214, 99, 48, .28));
}
.signal-mode .tile.is-trap.is-fresh::after {
  display: none;
}
.signal-actions {
  display: flex;
  justify-content: center;
  min-height: 42px;
  padding-top: 14px;
}
.signal-retry {
  min-width: 150px;
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid rgba(163, 82, 49, .75);
  border-radius: 7px;
  color: #d6e1ef;
  background: linear-gradient(320.64deg, #17191c -42.09%, #32383e 167.71%);
  box-shadow: 3px 3px 4px rgba(10, 9, 9, .4);
  font-size: 12px;
  font-weight: 800;
}
.signal-retry[hidden] {
  display: none;
}
.signal-disclosures {
  justify-content: center;
  margin-top: 10px;
  text-align: center;
}
@media (max-width: 520px) {
  .signal-container {
    padding: 18px 10px 26px;
  }
  .signal-intro {
    align-items: start;
    margin-bottom: 14px;
  }
  .signal-meta {
    margin-top: 2px;
    padding-inline: 8px;
  }
}
