@import url(https://fonts.googleapis.com/css?family=Questrial);
.solitairey_body_margin {
  padding: 50px; }

.solitairey_body {
  background-attachment: fixed;
  background-image: url(green.webp);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  -moz-background-size: 100% 100%;
  font-family: helvetica, verdana, sans;
  z-index: -99;
  overflow: hidden;
  height: 800px;
  margin: 0px;
  position: relative; }

.loading {
  z-index: 10000;
  position: absolute;
  bottom: 30px;
  right: 30px; }

.hidden {
  display: none; }

.stack,
.card {
  position: absolute;
  border-radius: 7px; }

.stack {
  z-index: -10; }

.playable {
  cursor: pointer;
  -webkit-transition: box-shadow 0.2s linear;
  -moz-transition: box-shadow 0.2s linear;
  -ms-transition: box-shadow 0.2s linear;
  transition: box-shadow 0.2s linear; }
  .playable:hover {
    box-shadow: 0 0 6px 4px rgba(255, 252, 143, 0.9);
    -webkit-transition: box-shadow 0s;
    -moz-transition: box-shadow 0s;
    -ms-transition: box-shadow 0s;
    transition: box-shadow 0s; }

#menu {
  display: inline-block;
  list-style: none;
  color: #000;
  font-weight: bold;
  font-size: 16px;
  margin: 0 auto;
  border-radius: 0 0 15px 15px;
  border-style: solid;
  background: #eee;
  background: -webkit-linear-gradient(#fff, #ddd);
  background: -moz-linear-gradient(#fff, #ddd);
  background: -ms-linear-gradient(#fff, #ddd);
  box-shadow: 0 1px 12px 0.5px #000;
  left: 20%;
  height: 35px; }
  #menu li {
    height: 100%;
    float: left;
    border-right: 1px solid #444; }
    #menu li.end {
      border: none;
      border-radius: 0 0 15px 0; }
    #menu li.begin {
      border-radius: 0 0 0 15px; }
    #menu li:hover {
      background: #bbb -webkit-linear-gradient(#fff, #bbb);
      background: #bbb -moz-linear-gradient(#fff, #bbb);
      background: #bbb -ms-linear-gradient(#fff, #bbb); }
  #menu a {
    display: block;
    margin: 7px 0 -7px;
    padding: 0 10px;
    height: 100%; }
  #menu li.end a {
    padding-right: 12px; }

#game-chooser {
  display: none;
  position: absolute;
  padding: 50px 35px;
  left: 0;
  top: 0;
  z-index: 1001;
  background-attachment: fixed;
  background-image: url(green.webp);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  -moz-background-size: 100% 100%; }
  #game-chooser.show {
    display: block; }
  #game-chooser h2 {
    font: 20px Questrial;
    text-align: center;
    padding: 6px 0 6px 0;
    background: rgba(255, 255, 255, 0.5); }

.titlebar {
  display: none; }

#game-chooser-contents,
#description {
  display: inline-block; }

#game-chooser-contents > .description {
  width: 100%;
  height: 100%; }

#descriptions div {
  position: absolute;
  width: 100%;
  height: 127px;
  overflow: hidden; }

#descriptions li {
  border: 2px solid #eec;
  border-radius: 7px;
  float: left;
  width: 250px;
  height: 150px;
  margin: 10px;
  background-color: #eec;
  background-image: -webkit-linear-gradient(#eec, #a1a172);
  background-image: -moz-linear-gradient(#eec, #a1a172);
  background-image: -ms-linear-gradient(#eec, #a1a172);
  overflow: hidden;
  cursor: pointer; }
  #descriptions li:hover {
    background: #eec; }

.selected {
  background: #fff; }

.close {
  position: absolute;
  right: 1px;
  top: -1px;
  background: url("x.gif");
  height: 35px;
  width: 35px;
  cursor: pointer; }

#close-chooser {
  font-size: 30px;
  border: 0px;
  margin: 20px auto;
  width: 300px;
  display: block; }

#win_display {
  background-color: #eec;
  width: 35em;
  height: 15em;
  margin: 0 auto;
  top: 5em;
  z-index: 1000;
  border-radius: 10px;
  padding: 1em 1em 2em 1em;
  -webkit-box-shadow: 0 0 10px 3px #fff;
  -moz-box-shadow: 0 0 10px 3px #fff;
  -box-shadow: 0 0 10px 3px #fff;
  -ms-box--shadow: 0 0 10px 3px #fff;
  -o-box-shadow: 0 0 10px 3px #fff; }
  #win_display > p {
    font-size: 2.2em;
    text-align: center;
    text-shadow: #fff 1px 1px 1px;
    font-weight: bold; }
  #win_display > h2 {
    margin-bottom: 1em;
    font-size: 1.3em; }
  #win_display ul {
    font-size: 1.1em; }
  #win_display li {
    margin-bottom: 0.2em; }

#solver_bar {
  display: none !important;
  width: 500px;
  height: 15px;
  padding: 10px;
  background-color: black;
  background-image: -webkit-linear-gradient(#000, #222);
  background-image: -moz-linear-gradient(#000, #222);
  background-image: -ms-linear-gradient(#000, #222);
  position: fixed;
  bottom: 0;
  left: 25%;
  border-radius: 15px 15px 0 0;
  color: #ddd;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 1px 12px 0.5px #000;
  z-index: 10000; }

.indicator {
  padding-right: 2em;
  float: left; }

.controls {
  position: relative;
  float: right;
  height: 20px;
  margin: -2px 50px 0 0;
  cursor: pointer; }
  .controls > .control {
    background: transparent;
    padding: 0;
    margin: 0;
    margin-right: 15px;
    float: left;
    position: relative; }

.indicator {
  float: left; }

.play {
  top: 0;
  height: 0px;
  width: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #ddd;
  border-right-width: 0; }

.play:hover {
  border-left-color: #32c700; }

.pause {
  top: 0;
  width: 15px;
  height: 20px;
  border-left: 5px solid #ddd;
  border-right: 5px solid #ddd;
  border-top-width: 0;
  border-bottom-width: 0; }

.pause:hover {
  border-color: #32c700; }

.rewind {
  top: 0;
  height: 0px;
  width: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 15px solid #ddd; }

.rewind:after {
  position: absolute;
  top: -10px;
  left: -3px;
  height: 20px;
  width: 4px;
  background: #ddd;
  content: ""; }

.rewind:hover {
  border-right-color: #32c700; }

.rewind:hover:after {
  background: #32c700; }

.fastforward {
  top: 0;
  height: 0px;
  width: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #ddd; }

.fastforward:after {
  position: absolute;
  top: -10px;
  right: -3px;
  height: 20px;
  width: 4px;
  background: #ddd;
  content: ""; }

.fastforward:hover {
  border-left-color: #32c700; }

.fastforward:hover:after {
  background: #32c700; }

.scrollable {
  overflow-y: scroll; }

#social {
  position: absolute;
  bottom: 10px;
  left: 20px; }
  #social > * {
    float: left; }

.layout {
  background-repeat: no-repeat;
  background-position: center;
  margin: 0 auto 10px auto; }

.agnes .layout {
  background-image: url(layouts/mini/agnes.png); }

.flower-garden .layout {
  background-image: url(layouts/mini/flower-garden.png); }

.forty-thieves .layout {
  background-image: url(layouts/mini/forty-thieves.png); }

.freecell .layout {
  background-image: url(layouts/mini/freecell.png); }

.golf .layout {
  background-image: url(layouts/mini/golf.png); }

.grandfathers-clock .layout {
  background-image: url(layouts/mini/gclock.png); }

.klondike .layout {
  background-image: url(layouts/mini/klondike.png); }

.klondike1t .layout {
  background-image: url(layouts/mini/klondike1t.png); }

.monte-carlo .layout {
  background-image: url(layouts/mini/montecarlo.png); }

.pyramid .layout {
  background-image: url(layouts/mini/pyramid.png); }

.scorpion .layout {
  background-image: url(layouts/mini/scorpion.png); }

.spider .layout {
  background-image: url(layouts/mini/spider.png); }

.spider1s .layout {
  background-image: url(layouts/mini/spider1s.png); }

.spider2s .layout {
  background-image: url(layouts/mini/spider2s.png); }

.spiderette .layout {
  background-image: url(layouts/mini/spiderette.png); }

.tri-towers .layout {
  background-image: url(layouts/mini/tritowers.png); }

.will-o-the-wisp .layout {
  background-image: url(layouts/mini/will-o-the-wisp.png); }

.yukon .layout,
.russian-solitaire .layout {
  background-image: url(layouts/mini/yukon.png); }

.replay_options {
  display: table;
  margin: 20px auto; }

#descriptions > li {
  position: relative; }

.description blockquote,
.description h3,
.description p,
.description button {
  display: none; }

.chromestore {
  position: absolute;
  right: 0;
  bottom: 0; }
  .chromestore .hide {
    display: block;
    font: 20px Questrial;
    text-align: right;
    padding: 0 7px 5px 0; }
    .chromestore .hide:hover {
      color: #eec; }
  .chromestore img {
    background: #fff;
    display: block; }

html,
div,
ul,
li,
p,
img,
h1,
h2,
h3,
h4,
h5,
h6 {
  position: relative;
  margin: 0;
  border: 0;
  padding: 0; }

html {
  z-index: -100; }

ul {
  list-style-type: none; }

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

p {
  margin-bottom: 1em; }

button.solitairey {
  font-size: 18px;
  margin-right: 27px;
  background-color: #eec;
  background-image: -webkit-linear-gradient(white, #eec);
  background-image: -moz-linear-gradient(white, #eec);
  background-image: -ms-linear-gradient(white, #eec);
  padding: 6px 17px;
  border-radius: 5px;
  box-shadow: inset 0 0 3px 1px #fff;
  border: #000 solid 1px;
  text-shadow: 1px 1px 1px white;
  cursor: pointer; }
  button.solitairey:hover {
    background-color: #a1a172;
    background-image: -webkit-linear-gradient(#eec, #a1a172);
    background-image: -moz-linear-gradient(#eec, #a1a172);
    background-image: -ms-linear-gradient(#eec, #a1a172);
    box-shadow: none; }

footer {
  position: absolute;
  right: 0%;
  top: 0%; }
  footer a {
    color: white;
    text-decoration: underline; }
  footer > p {
    padding: 1em; }


/* Site monetization and compliance presentation layer. Game logic remains in docs/js/*.js. */
.solitairey_body {
  overflow: auto;
  min-height: 100vh;
  height: auto;
  padding-top: 0;
}

.stack,
.card {
  margin-top: 92px;
}

.site-header {
  align-items: center;
  background: #002f08;
  border-bottom: 1px solid rgba(244, 211, 84, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
  color: #fff;
  display: flex;
  font-family: Arial, Helvetica, sans-serif;
  height: 48px;
  justify-content: space-between;
  left: 0;
  padding: 0 18px;
  position: sticky;
  right: 0;
  top: 0;
  z-index: 1002;
}

.site-brand {
  align-items: center;
  color: #fff;
  display: flex;
  font-size: 20px;
  font-weight: 700;
  gap: 8px;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  align-items: center;
  background: #e51e2a;
  border-radius: 3px;
  color: #fff;
  display: inline-flex;
  font-size: 18px;
  height: 22px;
  justify-content: center;
  width: 22px;
}

.top-game-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  justify-content: flex-end;
  max-width: 76%;
}

.top-game-nav a {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.top-game-nav a:hover {
  color: #ffd943;
}

#menu {
  background: rgba(0, 74, 20, 0.96);
  border: 0;
  border-radius: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
  box-sizing: border-box;
  color: #fff;
  display: flex;
  gap: 8px;
  height: 48px;
  left: 0;
  margin: 0;
  padding: 7px 8px;
  position: relative;
  width: calc(100% - 408px);
  z-index: 60;
}

#menu li,
#menu li.begin,
#menu li.end {
  background: #0a7a2d;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
  float: none;
  height: 32px;
}

#menu li:hover {
  background: #13913a;
}

#menu a {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  height: auto;
  margin: 0;
  padding: 8px 11px;
}

.game-stats-bar {
  align-items: center;
  background: rgba(0, 37, 8, 0.9);
  border: 1px solid rgba(244, 211, 84, 0.45);
  border-left: 0;
  border-radius: 0 0 8px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
  box-sizing: border-box;
  color: #fff;
  display: flex;
  font-family: Arial, Helvetica, sans-serif;
  gap: 10px;
  height: 54px;
  justify-content: flex-end;
  left: 0;
  padding: 7px 12px;
  position: relative;
  width: calc(100% - 408px);
  z-index: 54;
}

.stat-card {
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  box-sizing: border-box;
  min-width: 76px;
  padding: 5px 9px;
  text-align: center;
}

.stat-value {
  color: #ffd943;
  display: block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
}

.stat-label {
  color: rgba(255, 255, 255, 0.82);
  display: block;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 3px;
}

.ad {
  box-sizing: border-box;
  clear: both;
  color: #555;
  font: 11px/1.4 Arial, Helvetica, sans-serif;
  margin: 16px auto;
  max-width: 100%;
  min-height: 50px;
  padding: 0;
  position: relative;
  text-align: center;
  z-index: 20;
}

.ad-label {
  display: block;
  margin-bottom: 4px;
  text-align: center;
}

.ad-incontent {
  margin: 28px auto;
  max-width: 760px;
  min-height: 180px;
}

.ad-footer {
  margin-top: 0;
  min-height: 90px;
}

.ad-mobile-interscroller {
  display: none;
}

.ad-rail {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: fixed;
  right: 16px;
  top: 162px;
  width: 336px;
  z-index: 55;
}

.ad-rail-slot {
  background: rgba(0, 28, 5, 0.92);
  border: 1px solid rgba(244, 211, 84, 0.45);
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.74);
  margin: 0;
  min-height: 280px;
  padding: 8px;
  width: 336px;
}

.ad-rail-slot .adsbygoogle {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.62);
  display: flex !important;
  height: 250px;
  justify-content: center;
}

.ad-rail-slot .adsbygoogle::before {
  content: "300 x 250 ad slot";
}

.site-content {
  background: #f8f6ee;
  color: #202020;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.62;
  margin: calc(100vh - 96px) auto 0;
  max-width: 1120px;
  padding: 24px;
  position: relative;
  z-index: 10;
}

.game-intro {
  border-bottom: 1px solid #d8d1b9;
  margin-bottom: 18px;
  padding-bottom: 12px;
}

.game-intro h1,
.game-guide-article h1,
.game-guide-article h2,
.legal-page h1,
.legal-page h2 {
  line-height: 1.2;
  margin: 0 0 12px;
}

.guide-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}

.guide-nav a {
  background: #e9e3ca;
  border: 1px solid #cbc197;
  border-radius: 4px;
  color: #1f392d;
  font-size: 13px;
  padding: 6px 8px;
}

.guide-layout {
  display: block;
}

.guide-copy {
  max-width: 820px;
}

.game-guide-article {
  border-top: 1px solid #d8d1b9;
  padding: 24px 0 8px;
}

.game-guide-article:first-child {
  border-top: 0;
  padding-top: 0;
}

.game-guide-article p,
.legal-page p,
.legal-page li {
  font-size: 16px;
  margin-bottom: 1em;
}

.guide-visual {
  background: #efe7d4;
  border: 1px solid #d2c39f;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(37, 54, 38, 0.12);
  margin: 18px 0 24px;
  overflow: hidden;
}

.guide-visual img {
  background: #0f5924;
  display: block;
  height: auto;
  width: 100%;
}

.guide-visual figcaption {
  background: #fffaf0;
  border-top: 1px solid #d2c39f;
  color: #263c2b;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  padding: 10px 14px;
}

.legal-page {
  background: #f8f6ee;
  color: #202020;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
  margin: 0 auto;
  max-width: 860px;
  padding: 32px 20px;
}

.legal-page a,
.site-content a,
footer a {
  color: #064f36;
  text-decoration: underline;
}

.license-text {
  background: #fffdf4;
  border: 1px solid #d8d1b9;
  color: #202020;
  overflow: auto;
  padding: 16px;
  white-space: pre-wrap;
}

footer {
  background: rgba(248, 246, 238, 0.96);
  color: #202020;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  margin-top: 32px;
  padding: 22px 16px;
  position: relative;
  right: auto;
  text-align: center;
  top: auto;
  z-index: 10;
}

footer a {
  margin: 0 8px;
}

.ccpa-footer-link {
  background: #fff6b8;
  border: 2px solid #b58a00;
  border-radius: 6px;
  color: #053b2a !important;
  display: inline-block;
  font-weight: 800;
  margin: 6px 8px;
  padding: 7px 11px;
  text-decoration: underline;
}

.ccpa-footer-link:focus,
.ccpa-footer-link:hover {
  background: #ffe66b;
  color: #021f16 !important;
}

footer > p {
  padding: 0;
}

@media (max-width: 1240px) {
  .ad-rail {
    display: none;
  }

  #menu,
  .game-stats-bar {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    height: auto;
    min-height: 76px;
    padding: 10px 12px;
  }

  .site-brand {
    font-size: 17px;
  }

  .top-game-nav {
    gap: 10px;
    max-width: 58%;
  }

  .top-game-nav a {
    font-size: 12px;
  }

  #menu {
    flex-wrap: wrap;
    height: auto;
    min-height: 82px;
  }

  .game-stats-bar {
    flex-wrap: wrap;
    height: auto;
    justify-content: flex-start;
    min-height: 82px;
  }

  .stat-card {
    flex: 1 1 76px;
  }

  .stack,
  .card {
    margin-top: 184px;
  }

  .site-content {
    margin-top: calc(100vh - 112px);
    padding: 18px;
  }

  .ad-mobile-interscroller {
    display: block;
    margin: 30px auto;
    min-height: 280px;
  }
}

/* Premium visual system: dark felt table, glass controls, restrained gold accents. */
:root {
  --felt-0: #06110d;
  --felt-1: #0b2519;
  --felt-2: #174b31;
  --felt-line: rgba(255, 255, 255, 0.045);
  --glass: rgba(8, 24, 18, 0.72);
  --glass-strong: rgba(6, 20, 15, 0.88);
  --gold: #d9b45f;
  --gold-soft: rgba(217, 180, 95, 0.42);
  --cream: #f5ead0;
  --ink: #101615;
}

html {
  background: var(--felt-0);
}

.solitairey_body {
  background:
    radial-gradient(circle at 38% 34%, rgba(61, 122, 78, 0.36) 0%, rgba(16, 65, 41, 0.22) 30%, rgba(4, 14, 11, 0.92) 74%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 16px),
    linear-gradient(45deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 18px),
    var(--felt-0);
  background-attachment: fixed;
  background-image:
    radial-gradient(circle at 38% 34%, rgba(61, 122, 78, 0.36) 0%, rgba(16, 65, 41, 0.22) 30%, rgba(4, 14, 11, 0.92) 74%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 16px),
    linear-gradient(45deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 18px);
  background-repeat: repeat;
  background-size: auto, 16px 16px, 18px 18px;
}

.solitairey_body::before {
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: 1;
  background:
    radial-gradient(ellipse at center, transparent 48%, rgba(0, 0, 0, 0.42) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.025));
}

.site-header {
  background: linear-gradient(180deg, rgba(8, 24, 18, 0.88), rgba(7, 20, 15, 0.64));
  border-bottom: 1px solid rgba(217, 180, 95, 0.24);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
  min-height: 54px;
  padding: 0 22px;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}

.site-brand {
  color: var(--cream);
  font-size: 19px;
  font-weight: 800;
  text-shadow: 0 1px 10px rgba(217, 180, 95, 0.15);
}

.brand-mark {
  background: linear-gradient(145deg, #e7c56c, #9c7432);
  border: 1px solid rgba(255, 240, 180, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 4px 16px rgba(0, 0, 0, 0.35);
  color: #12160f;
}

.top-game-nav {
  gap: 10px 13px;
}

.top-game-nav a {
  border-bottom: 1px solid transparent;
  color: rgba(245, 234, 208, 0.84);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 0;
  transition: color 0.16s ease, border-color 0.16s ease, text-shadow 0.16s ease;
}

.top-game-nav a:hover {
  border-bottom-color: var(--gold);
  color: #fff7d8;
  text-shadow: 0 0 12px rgba(217, 180, 95, 0.5);
}

#menu {
  background: linear-gradient(180deg, rgba(16, 52, 34, 0.78), rgba(7, 25, 18, 0.48));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

#menu li,
#menu li.begin,
#menu li.end {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.055));
  border: 1px solid rgba(217, 180, 95, 0.28);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 5px 18px rgba(0, 0, 0, 0.22);
}

#menu li:hover {
  background: linear-gradient(180deg, rgba(217, 180, 95, 0.28), rgba(255, 255, 255, 0.075));
}

#menu a {
  color: #fff3cf;
  font-size: 13px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.36);
}

.game-stats-bar {
  background: linear-gradient(180deg, rgba(7, 22, 16, 0.5), rgba(7, 22, 16, 0.36));
  border-color: rgba(217, 180, 95, 0.22);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.stat-card {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.stat-value {
  color: #f3d37b;
}

.stat-label {
  color: rgba(245, 234, 208, 0.76);
}

.stack {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 18px rgba(255, 255, 255, 0.04), 0 10px 26px rgba(0, 0, 0, 0.16);
}

.card {
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.28);
  transition: box-shadow 0.16s ease, filter 0.16s ease;
}

.playable:hover {
  box-shadow: 0 0 0 2px rgba(244, 211, 84, 0.86), 0 0 28px rgba(217, 180, 95, 0.56), 0 12px 24px rgba(0, 0, 0, 0.32);
}

.ad-rail {
  top: 168px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
  visibility: visible;
}

.ad-rail--locked {
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  visibility: hidden;
}

.ad-rail--active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.ad-rail-slot {
  background: linear-gradient(180deg, rgba(12, 31, 24, 0.72), rgba(6, 18, 14, 0.88));
  border: 1px solid rgba(217, 180, 95, 0.26);
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.ad-label {
  color: rgba(245, 234, 208, 0.66);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ad-rail-slot .adsbygoogle {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 20% 20%, rgba(217, 180, 95, 0.16), transparent 46%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  color: rgba(245, 234, 208, 0.54);
}

.site-content {
  background: linear-gradient(180deg, #faf6eb 0%, #f2ead8 100%);
  border-top: 1px solid rgba(217, 180, 95, 0.36);
  box-shadow: 0 -18px 44px rgba(0, 0, 0, 0.28);
  color: #1b241f;
}

.guide-nav a {
  background: rgba(18, 76, 45, 0.09);
  border: 1px solid rgba(18, 76, 45, 0.18);
  border-radius: 999px;
  color: #214d32;
  font-weight: 700;
}

.guide-visual {
  border-color: rgba(80, 64, 28, 0.2);
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(37, 54, 38, 0.16);
}

footer {
  background: linear-gradient(180deg, #f2ead8, #e9ddc3);
  border-top: 1px solid rgba(80, 64, 28, 0.14);
}

@media (max-width: 1280px) {
  .top-game-nav {
    gap: 7px 9px;
  }

  .top-game-nav a {
    font-size: 11px;
  }
}
