/* === Page Height Constraint === */
html,
body {
  height: 3650px; /* Reducing will compress layout; increasing can break intended iframe fit on jam apge.  */
}

.local_pointers-please {
  pointer-events: all !important;
}

/*.local_slides_wrapper {
  flex: 0 0 auto;
  width: 500px;
  height: 300px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}*/

.local_slides {
  display: flex;
  width: max-content;
  height: 100%;
  animation: seamlessScroll 67s linear infinite;
}

.local_slides2 {
  display: flex;
  width: max-content;
  height: 100%;
  animation: seamlessScroll 46s linear infinite;
}

.local_slides img {
  width: 500px;
  height: 300px;
  margin-right: 30px;
  object-fit: cover;
  flex-shrink: 0;
}

.local_slides2 img {
  width: 392px;
  height: 299px;
  margin-right: 30px;
  object-fit: cover;
  flex-shrink: 0;
}

@keyframes seamlessScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.local_game-link-pill {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 6px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  font-size: 12px;
  word-break: break-all;
  pointer-events: auto;
}

.local_game-link-pill a {
  color: rgb(var(--glj-accent-glow));
  text-decoration: none;
  font-weight: bold;
  pointer-events: auto;
}

.local_game-link-pill a:hover {
  color: white;
  text-decoration: underline;
}

.local_blurb-box {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  margin-block: 7px 20px;
  padding: 15px !important;
  background: rgba(var(--glj-shadow-color), 0.7);
  border-radius: 18px;
  border-inline: 4px solid rgb(var(--glj-accent-glow));
  font-size: 16px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
  box-shadow:
    inset 0 2px 5px rgba(var(--glj-shadow-color), 0.3),
    0 4px 8px rgba(var(--glj-shadow-color), 0.3);
  backdrop-filter: blur(2px);
  user-select: text;
  cursor: text;
}

.local_blurb-box a {
  cursor: pointer;
}

.local_blurb-box > p {
  margin: 0;
}

.local_blurb-box > p + * {
  margin-top: 1.45em;
}

.local_blurb-box > p:last-child {
  margin-bottom: 0;
}

.local_submit-hero {
  --hero-accent: #343f8e;
  max-width: 720px;
  margin-inline: auto;
  padding: 24px 28px;
  text-align: center;
  border: 3px solid var(--hero-accent);
  border-radius: 14px;
  background: rgba(90, 158, 51, 0.08);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
}

.local_submit-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--hero-accent);
  color: #ffffff;
  font-family: sans-serif;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8em;
}

/*.local_submit-text { */
/*  font-size: 2rem;   */
/*  line-height: 1.35; */
/*}                    */

.local_disclaimer {
  max-width: 560px;
  margin-inline: auto;
  padding: 10px 20px 14px;
  border-radius: 10px;
  text-align: center;
  font-family: sans-serif;
  color: #e88b8b;
  background: rgba(179, 0, 0, 0.04);
  /* box-shadow: 0 0 0 1px #b30000; */
}

.local_disclaimer-tag {
  display: inline-block;
  margin: 8px 0 4px;
  padding: 3px 10px;
  border-radius: 6px;
  background: #b30000;
  color: #ffffff;
  font-weight: bold;
  font-size: 0.85em;
  letter-spacing: 0.04em;
}

.local_disclaimer p {
  margin: 6px 0;
  opacity: 1;
}

@media (max-width: 520px) {
  .local_submit-hero {
    padding: 18px 16px;
  }
  .local_submit-text {
    font-size: 1.2rem;
  }
}
@media (max-width: 650px) {
  .game-wrap .game-iframe {
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
  }

  .game-wrap.scale-iframe-80 .game-iframe {
    aspect-ratio: 750 / 563;
  }

  .box-border-only .game-wrap:not(.scale-iframe-80) .game-iframe {
    aspect-ratio: 560 / 464;
  }

  .scale-iframe-80 {
    transform: none !important;
    margin: 0 !important;
  }

  .game-wrap {
    display: block !important;
    width: 100%;
  }

  .play-banner {
    font-size: 18px !important;
  }

  .play-banner .text-md {
    font-size: 13px !important;
  }

  .banner-fill {
    padding: 0.4rem 0.5rem;
  }

  .text-stable > .vmargin-bot-md:has(.table-auto) {
    display: none !important;
  }

  .game-wrap.scale-iframe-80 > .text-lg {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .play-banner {
    font-size: 15px !important;
  }

  .play-banner .text-md {
    font-size: 11px !important;
  }
}
