/* ==========================================================================
   ArionPlay Apps Download - dynamic canvas stylesheet
   Mobile-first phone canvas: designed for 320-430px, centered as a fixed
   430px canvas on wider screens. All classes and variables use the
   layer1917e- prefix. Palette: #212F3D / #006400 / #228B22 / #D8BFD8 / #3CB371
   Visual direction: rounded display type over compact body text, near-square
   tool-like corners, pure image game cards, short-distance transitions.
   ========================================================================== */

:root {
  --layer1917e-bg: #212F3D;
  --layer1917e-panel: #1b2733;
  --layer1917e-well: #16202a;
  --layer1917e-deepgreen: #006400;
  --layer1917e-leaf: #228b22;
  --layer1917e-mint: #3cb371;
  --layer1917e-thistle: #d8bfd8;
  --layer1917e-text: #efeaf2;
  --layer1917e-dim: #b7abc6;
  --layer1917e-line: rgba(216, 191, 216, 0.18);
  --layer1917e-line-strong: rgba(216, 191, 216, 0.32);
  --layer1917e-glow: rgba(60, 179, 113, 0.55);
  --layer1917e-radius: 4px;
  --layer1917e-radius-sm: 3px;
  --layer1917e-font-round: ui-rounded, "Trebuchet MS", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --layer1917e-font-body: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --layer1917e-header-h: 104px;
  --layer1917e-bottomnav-h: 62px;
  --layer1917e-canvas-max: 430px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: #101820;
  color: var(--layer1917e-text);
  font-family: var(--layer1917e-font-body);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  min-height: 100vh;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

a {
  color: var(--layer1917e-mint);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

h1, h2, h3 {
  font-family: var(--layer1917e-font-round);
  color: var(--layer1917e-text);
  margin: 0;
  line-height: 1.25;
}

p {
  margin: 0 0 10px;
}

/* Visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--layer1917e-mint);
  outline-offset: 2px;
  border-radius: var(--layer1917e-radius-sm);
}

/* Screen-reader-only helper */
.layer1917e-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Phone canvas (430px max, centered on wide screens)
   -------------------------------------------------------------------------- */

.layer1917e-canvas {
  position: relative;
  width: 100%;
  max-width: var(--layer1917e-canvas-max);
  margin: 0 auto;
  background: var(--layer1917e-bg);
  min-height: 100vh;
  overflow-x: clip;
  box-shadow: 0 0 44px rgba(0, 0, 0, 0.55);
}

/* --------------------------------------------------------------------------
   Fixed header: two-layer arrangement (brand row above action row)
   -------------------------------------------------------------------------- */

.layer1917e-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--layer1917e-canvas-max);
  height: var(--layer1917e-header-h);
  z-index: 60;
  background: linear-gradient(180deg, #014a01 0%, var(--layer1917e-deepgreen) 55%, #025602 100%);
  border-bottom: 1px solid rgba(60, 179, 113, 0.35);
}

.layer1917e-brandrow {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px 7px;
}

.layer1917e-logo {
  width: 34px;
  height: 34px;
  border-radius: var(--layer1917e-radius);
  border: 1px solid rgba(216, 191, 216, 0.35);
  background: #0b3d0b;
  flex: 0 0 auto;
}

.layer1917e-brandname {
  font-family: var(--layer1917e-font-round);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #f4eef6;
  line-height: 1.15;
}

.layer1917e-brandname em {
  font-style: normal;
  color: var(--layer1917e-thistle);
}

.layer1917e-actionrow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px 10px;
}

/* Compact button pair used across the page */
.layer1917e-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: var(--layer1917e-radius);
  border: 1px solid transparent;
  font-family: var(--layer1917e-font-round);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.layer1917e-btn--cta {
  background: linear-gradient(180deg, var(--layer1917e-leaf) 0%, #1a7a1a 100%);
  color: #f2fff2;
  flex: 1 1 auto;
}

.layer1917e-btn--ghost {
  background: rgba(216, 191, 216, 0.08);
  border-color: var(--layer1917e-line-strong);
  color: var(--layer1917e-thistle);
  flex: 1 1 auto;
}

.layer1917e-btn--cta:active,
.layer1917e-btn--ghost:active {
  transform: translateY(1px);
}

.layer1917e-btn--cta:hover,
.layer1917e-btn--cta:focus-visible {
  box-shadow: 0 0 10px var(--layer1917e-glow);
}

.layer1917e-btn--ghost:hover,
.layer1917e-btn--ghost:focus-visible {
  box-shadow: 0 0 8px rgba(216, 191, 216, 0.35);
}

/* Menu toggle */
.layer1917e-menubtn {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--layer1917e-line-strong);
  border-radius: var(--layer1917e-radius);
  color: var(--layer1917e-thistle);
  transition: box-shadow 0.18s ease;
}

.layer1917e-menubtn:hover,
.layer1917e-menubtn:focus-visible {
  box-shadow: 0 0 8px var(--layer1917e-glow);
}

.layer1917e-menubtn svg {
  width: 22px;
  height: 22px;
}

/* --------------------------------------------------------------------------
   Expandable navigation panel (drops under the header)
   -------------------------------------------------------------------------- */

.layer1917e-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--layer1917e-panel);
  border-bottom: 2px solid var(--layer1917e-leaf);
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height 0.28s ease, visibility 0.28s ease;
}

.layer1917e-menu.is-open {
  max-height: 620px;
  visibility: visible;
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.5);
}

.layer1917e-menulabel {
  margin: 0;
  padding: 12px 14px 4px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--layer1917e-mint);
}

.layer1917e-menulinks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--layer1917e-line);
  border-top: 1px solid var(--layer1917e-line);
}

.layer1917e-menulinks a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  background: var(--layer1917e-panel);
  color: var(--layer1917e-text);
  font-size: 13px;
  border-left: 2px solid transparent;
}

.layer1917e-menulinks a:hover,
.layer1917e-menulinks a:focus-visible {
  background: #20303f;
  border-left-color: var(--layer1917e-mint);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Main column
   -------------------------------------------------------------------------- */

.layer1917e-main {
  padding: calc(var(--layer1917e-header-h) + 10px) 12px calc(var(--layer1917e-bottomnav-h) + 34px + env(safe-area-inset-bottom));
}

/* --------------------------------------------------------------------------
   Promo carousel
   -------------------------------------------------------------------------- */

.layer1917e-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--layer1917e-radius);
  overflow: hidden;
  border: 1px solid var(--layer1917e-line-strong);
  background: var(--layer1917e-well);
  margin-bottom: 12px;
}

.layer1917e-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: var(--layer1917e-well);
  opacity: 0;
  visibility: hidden;
  transform: translateX(12px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}

.layer1917e-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.layer1917e-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.layer1917e-slidecap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 22px 12px 8px;
  background: linear-gradient(180deg, rgba(22, 32, 42, 0) 0%, rgba(14, 22, 29, 0.92) 78%);
  font-family: var(--layer1917e-font-round);
  font-size: 13px;
  font-weight: 700;
  color: #f4eef6;
  text-align: left;
}

.layer1917e-slidecap::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--layer1917e-mint);
  box-shadow: 0 0 6px var(--layer1917e-glow);
}

.layer1917e-dots {
  position: absolute;
  right: 8px;
  bottom: 6px;
  display: flex;
  gap: 2px;
  z-index: 2;
}

.layer1917e-dot {
  min-width: 44px;
  min-height: 28px;
  padding: 0;
  background: transparent;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.layer1917e-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 1px;
  background: rgba(216, 191, 216, 0.4);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.layer1917e-dot.is-on::before {
  background: var(--layer1917e-mint);
  box-shadow: 0 0 6px var(--layer1917e-glow);
}

/* --------------------------------------------------------------------------
   Hero block
   -------------------------------------------------------------------------- */

.layer1917e-hero {
  margin-bottom: 18px;
}

.layer1917e-h1 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}

.layer1917e-h1 .layer1917e-h1accent {
  color: var(--layer1917e-mint);
}

.layer1917e-lede {
  color: var(--layer1917e-dim);
  font-size: 13.5px;
  margin-bottom: 12px;
}

.layer1917e-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}

.layer1917e-fact {
  background: var(--layer1917e-panel);
  border: 1px solid var(--layer1917e-line);
  border-radius: var(--layer1917e-radius);
  padding: 8px 6px;
  text-align: center;
}

.layer1917e-fact b {
  display: block;
  font-family: var(--layer1917e-font-round);
  font-size: 16px;
  color: var(--layer1917e-mint);
}

.layer1917e-fact span {
  display: block;
  font-size: 10.5px;
  color: var(--layer1917e-dim);
  letter-spacing: 0.02em;
}

/* Compact dual-button CTA group */
.layer1917e-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* --------------------------------------------------------------------------
   Content sections
   -------------------------------------------------------------------------- */

.layer1917e-sec {
  margin: 0 0 26px;
  scroll-margin-top: calc(var(--layer1917e-header-h) + 12px);
}

.layer1917e-sechead {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--layer1917e-line);
}

.layer1917e-sechead::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  align-self: center;
  background: var(--layer1917e-mint);
  border-radius: 1px;
  box-shadow: 0 0 7px var(--layer1917e-glow);
}

.layer1917e-h2 {
  font-size: 17.5px;
  font-weight: 800;
}

.layer1917e-sec p {
  color: var(--layer1917e-dim);
  font-size: 13.5px;
}

.layer1917e-sec p strong {
  color: var(--layer1917e-text);
  font-weight: 600;
}

/* Short-distance entrance transition for each section */
.layer1917e-sec {
  animation: layer1917e-rise 0.5s ease both;
}

@keyframes layer1917e-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   Category jump chips
   -------------------------------------------------------------------------- */

.layer1917e-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 14px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.layer1917e-chips::-webkit-scrollbar {
  display: none;
}

.layer1917e-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 13px;
  background: var(--layer1917e-panel);
  border: 1px solid var(--layer1917e-line-strong);
  border-radius: 999px;
  color: var(--layer1917e-thistle);
  font-family: var(--layer1917e-font-round);
  font-size: 12.5px;
  font-weight: 700;
  scroll-snap-align: start;
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.layer1917e-chip b {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--layer1917e-mint);
}

.layer1917e-chip:hover,
.layer1917e-chip:focus-visible {
  border-color: var(--layer1917e-mint);
  box-shadow: 0 0 8px rgba(60, 179, 113, 0.4);
}

/* --------------------------------------------------------------------------
   Game category blocks and pure-image game cards
   -------------------------------------------------------------------------- */

.layer1917e-cat {
  margin-bottom: 22px;
  scroll-margin-top: calc(var(--layer1917e-header-h) + 12px);
}

.layer1917e-cathead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.layer1917e-h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--layer1917e-thistle);
  padding-left: 10px;
  position: relative;
}

.layer1917e-h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 3px;
  background: var(--layer1917e-leaf);
  border-radius: 1px;
}

.layer1917e-catcount {
  flex: 0 0 auto;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--layer1917e-mint);
  border: 1px solid rgba(60, 179, 113, 0.4);
  border-radius: 999px;
  padding: 3px 9px;
}

.layer1917e-catlede {
  font-size: 12.5px;
  color: var(--layer1917e-dim);
  margin-bottom: 10px;
}

.layer1917e-catlede a {
  color: var(--layer1917e-mint);
  font-weight: 600;
}

.layer1917e-grid {
  display: grid;
  /* 320-374px keeps four columns of square icons */
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 6px;
}

.layer1917e-game {
  padding: 0;
  background: transparent;
  border: 0;
  text-align: center;
  min-height: 44px;
  -webkit-tap-highlight-color: rgba(60, 179, 113, 0.2);
}

.layer1917e-game img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--layer1917e-line);
  border-radius: var(--layer1917e-radius);
  background: var(--layer1917e-well);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.layer1917e-game .layer1917e-gamename {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 5px;
  font-size: 10.5px;
  line-height: 1.3;
  color: var(--layer1917e-dim);
  min-height: 27px;
}

.layer1917e-game:hover img,
.layer1917e-game:focus-visible img {
  border-color: var(--layer1917e-mint);
  box-shadow: 0 0 10px rgba(60, 179, 113, 0.35);
}

.layer1917e-game:active img {
  transform: scale(0.96);
}

/* --------------------------------------------------------------------------
   Steps (how to play)
   -------------------------------------------------------------------------- */

.layer1917e-steps {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  counter-reset: layer1917e-step;
}

.layer1917e-steps li {
  counter-increment: layer1917e-step;
  position: relative;
  padding: 0 0 14px 40px;
  font-size: 13px;
  color: var(--layer1917e-dim);
}

.layer1917e-steps li::before {
  content: counter(layer1917e-step, decimal);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--layer1917e-deepgreen);
  border: 1px solid rgba(60, 179, 113, 0.5);
  border-radius: var(--layer1917e-radius);
  color: #eafbef;
  font-family: var(--layer1917e-font-round);
  font-size: 13px;
  font-weight: 800;
}

.layer1917e-steps li::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 30px;
  bottom: 2px;
  width: 1px;
  background: var(--layer1917e-line-strong);
}

.layer1917e-steps li:last-child::after {
  display: none;
}

.layer1917e-steps b {
  display: block;
  color: var(--layer1917e-text);
  font-family: var(--layer1917e-font-round);
  font-size: 13.5px;
  margin-bottom: 2px;
}

/* --------------------------------------------------------------------------
   Payment tiles
   -------------------------------------------------------------------------- */

.layer1917e-paygrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0 4px;
}

.layer1917e-paytile {
  background: var(--layer1917e-panel);
  border: 1px solid var(--layer1917e-line);
  border-radius: var(--layer1917e-radius);
  padding: 10px;
}

.layer1917e-paytile h3 {
  font-size: 13.5px;
  color: var(--layer1917e-thistle);
  margin-bottom: 3px;
}

.layer1917e-paytile p {
  margin: 0;
  font-size: 11.5px;
  color: var(--layer1917e-dim);
}

.layer1917e-checklist {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.layer1917e-checklist li {
  position: relative;
  padding: 0 0 8px 20px;
  font-size: 12.5px;
  color: var(--layer1917e-dim);
}

.layer1917e-checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 8px;
  height: 8px;
  background: var(--layer1917e-mint);
  border-radius: 1px;
  box-shadow: 0 0 5px rgba(60, 179, 113, 0.45);
}

/* --------------------------------------------------------------------------
   Achievements / milestones
   -------------------------------------------------------------------------- */

.layer1917e-miles {
  margin: 12px 0 4px;
  border: 1px solid var(--layer1917e-line);
  border-radius: var(--layer1917e-radius);
  background: var(--layer1917e-panel);
  overflow: hidden;
}

.layer1917e-mile {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border-bottom: 1px solid var(--layer1917e-line);
}

.layer1917e-mile:last-child {
  border-bottom: 0;
}

.layer1917e-milebadge {
  flex: 0 0 auto;
  min-width: 52px;
  text-align: center;
  font-family: var(--layer1917e-font-round);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #eafbef;
  background: var(--layer1917e-deepgreen);
  border: 1px solid rgba(60, 179, 113, 0.45);
  border-radius: var(--layer1917e-radius-sm);
  padding: 4px 6px;
}

.layer1917e-mile p {
  margin: 0;
  font-size: 12.5px;
  color: var(--layer1917e-dim);
}

.layer1917e-mile p b {
  display: block;
  color: var(--layer1917e-text);
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */

.layer1917e-quotes {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.layer1917e-quote {
  background: var(--layer1917e-panel);
  border: 1px solid var(--layer1917e-line);
  border-left: 3px solid var(--layer1917e-thistle);
  border-radius: var(--layer1917e-radius);
  padding: 10px 12px;
}

.layer1917e-quote p {
  margin: 0 0 7px;
  font-size: 12.5px;
  color: var(--layer1917e-text);
}

.layer1917e-quote footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--layer1917e-dim);
}

.layer1917e-avatar {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(60, 179, 113, 0.16);
  border: 1px solid rgba(60, 179, 113, 0.5);
  color: var(--layer1917e-mint);
  font-family: var(--layer1917e-font-round);
  font-size: 12px;
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   Direct answer panel
   -------------------------------------------------------------------------- */

.layer1917e-answer {
  background: linear-gradient(180deg, #014a01 0%, var(--layer1917e-deepgreen) 100%);
  border: 1px solid rgba(60, 179, 113, 0.45);
  border-radius: var(--layer1917e-radius);
  padding: 14px 12px;
}

.layer1917e-answer p {
  color: #e3f5e6;
  font-size: 13.5px;
  margin-bottom: 0;
}

.layer1917e-answer p + p {
  margin-top: 10px;
}

.layer1917e-answer .layer1917e-duo {
  margin-top: 14px;
}

.layer1917e-answer .layer1917e-btn--cta {
  background: linear-gradient(180deg, #2fae2f 0%, var(--layer1917e-leaf) 100%);
}

/* --------------------------------------------------------------------------
   Extended footer (brand, directory, promotions, disclaimer)
   -------------------------------------------------------------------------- */

.layer1917e-extfoot {
  margin-top: 30px;
  border-top: 2px solid var(--layer1917e-deepgreen);
  background: var(--layer1917e-well);
  border-radius: var(--layer1917e-radius) var(--layer1917e-radius) 0 0;
  padding: 14px 12px 4px;
}

.layer1917e-extlabel {
  margin: 0 0 8px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--layer1917e-mint);
}

.layer1917e-extbrand {
  margin-bottom: 16px;
}

.layer1917e-extbrand p {
  margin: 0;
  font-size: 12.5px;
  color: var(--layer1917e-dim);
}

.layer1917e-extdir {
  margin-bottom: 16px;
}

.layer1917e-dirlist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--layer1917e-line);
  border: 1px solid var(--layer1917e-line);
  border-radius: var(--layer1917e-radius);
  overflow: hidden;
}

.layer1917e-dirlist li a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 10px;
  background: var(--layer1917e-well);
  color: var(--layer1917e-dim);
  font-size: 12px;
}

.layer1917e-dirlist li a:hover,
.layer1917e-dirlist li a:focus-visible {
  background: #20303f;
  color: var(--layer1917e-text);
  text-decoration: none;
}

.layer1917e-extpromo {
  margin-bottom: 16px;
}

.layer1917e-promogrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.layer1917e-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 44px;
  padding: 9px 11px;
  background: rgba(0, 100, 0, 0.35);
  border: 1px solid rgba(60, 179, 113, 0.4);
  border-radius: var(--layer1917e-radius);
  color: #dff2e3;
  font-family: var(--layer1917e-font-round);
  font-size: 12.5px;
  font-weight: 700;
  text-align: left;
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.layer1917e-promo svg {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  color: var(--layer1917e-mint);
}

.layer1917e-promo:hover,
.layer1917e-promo:focus-visible {
  border-color: var(--layer1917e-mint);
  box-shadow: 0 0 9px rgba(60, 179, 113, 0.4);
}

.layer1917e-extnote {
  margin: 0 0 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--layer1917e-line-strong);
  font-size: 11px;
  line-height: 1.6;
  color: #8f8499;
}

.layer1917e-copybar {
  margin: 0 -12px;
  padding: 10px 12px 12px;
  background: #0d151c;
  border-top: 1px solid var(--layer1917e-line);
  text-align: center;
  font-size: 11px;
  color: #8f8499;
}

/* --------------------------------------------------------------------------
   Mobile bottom navigation rail (five roles)
   -------------------------------------------------------------------------- */

.layer1917e-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--layer1917e-canvas-max);
  min-height: var(--layer1917e-bottomnav-h);
  display: flex;
  align-items: stretch;
  background: rgba(16, 24, 32, 0.97);
  border-top: 1px solid var(--layer1917e-line-strong);
  padding-bottom: env(safe-area-inset-bottom);
  z-index: 70;
}

.layer1917e-navitem {
  flex: 1 1 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--layer1917e-bottomnav-h);
  padding: 6px 2px 5px;
  background: transparent;
  border: 0;
  color: var(--layer1917e-dim);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.layer1917e-navitem svg {
  width: 23px;
  height: 23px;
}

.layer1917e-icoline {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.layer1917e-icofill {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: fill 0.2s ease;
}

.layer1917e-navitem:hover {
  color: var(--layer1917e-thistle);
  text-decoration: none;
}

/* Active role: icon fill flips on and a small glow dot appears */
.layer1917e-navitem.is-active {
  color: var(--layer1917e-mint);
}

.layer1917e-navitem.is-active .layer1917e-icofill {
  fill: currentColor;
}

.layer1917e-navitem.is-active::after {
  content: "";
  position: absolute;
  bottom: 4px;
  width: 16px;
  height: 3px;
  border-radius: 2px;
  background: var(--layer1917e-mint);
  box-shadow: 0 0 7px var(--layer1917e-glow);
}

/* --------------------------------------------------------------------------
   Wider-than-canvas screens keep the same 430px experience, just framed
   -------------------------------------------------------------------------- */

@media (min-width: 431px) {
  body {
    background: #0b1218;
  }

  .layer1917e-canvas {
    border-left: 1px solid rgba(216, 191, 216, 0.12);
    border-right: 1px solid rgba(216, 191, 216, 0.12);
  }
}

/* --------------------------------------------------------------------------
   375px and up: denser five-column game grid
   -------------------------------------------------------------------------- */

@media (min-width: 375px) {
  .layer1917e-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 14px 8px;
  }

  .layer1917e-h1 {
    font-size: 26px;
  }

  .layer1917e-h2 {
    font-size: 18.5px;
  }

  .layer1917e-dirlist {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Small-phone tightening */
@media (max-width: 359px) {
  .layer1917e-brandname {
    font-size: 15.5px;
  }

  .layer1917e-h1 {
    font-size: 21.5px;
  }

  .layer1917e-fact span {
    font-size: 9.5px;
  }
}

/* --------------------------------------------------------------------------
   Help-page extensions: single-button row, Q&A rows, notice strips,
   onward-page cards. Additive only; all classes keep the layer1917e- prefix.
   -------------------------------------------------------------------------- */

/* Full-width variant of the compact button group */
.layer1917e-duo--single {
  grid-template-columns: 1fr;
  margin-top: 14px;
}

/* Question-and-answer rows */
.layer1917e-qalist {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.layer1917e-qa {
  background: var(--layer1917e-panel);
  border: 1px solid var(--layer1917e-line);
  border-radius: var(--layer1917e-radius);
  padding: 11px 12px;
}

.layer1917e-qa h3 {
  position: relative;
  padding-left: 11px;
  margin-bottom: 5px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--layer1917e-thistle);
}

.layer1917e-qa h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 3px;
  background: var(--layer1917e-mint);
  border-radius: 1px;
  box-shadow: 0 0 5px rgba(60, 179, 113, 0.4);
}

.layer1917e-qa p {
  margin: 0;
  font-size: 12.5px;
  color: var(--layer1917e-dim);
}

.layer1917e-qa p a {
  color: var(--layer1917e-mint);
  font-weight: 600;
}

/* Dashed notice strip for conditional branches and one-line warnings */
.layer1917e-note {
  background: rgba(216, 191, 216, 0.07);
  border: 1px dashed var(--layer1917e-line-strong);
  border-radius: var(--layer1917e-radius);
  padding: 10px 12px;
  margin: 0 0 8px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--layer1917e-dim);
}

.layer1917e-note b {
  color: var(--layer1917e-thistle);
}

/* Onward-page cards */
.layer1917e-nextlist {
  list-style: none;
  margin: 12px 0 10px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.layer1917e-nextlist a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 48px;
  padding: 10px 12px;
  background: var(--layer1917e-panel);
  border: 1px solid var(--layer1917e-line);
  border-left: 3px solid var(--layer1917e-leaf);
  border-radius: var(--layer1917e-radius);
  color: var(--layer1917e-text);
  font-family: var(--layer1917e-font-round);
  font-size: 13.5px;
  font-weight: 700;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.layer1917e-nextlist a span {
  font-family: var(--layer1917e-font-body);
  font-size: 11.5px;
  font-weight: 400;
  color: var(--layer1917e-dim);
}

.layer1917e-nextlist a:hover,
.layer1917e-nextlist a:focus-visible {
  border-color: var(--layer1917e-mint);
  border-left-color: var(--layer1917e-mint);
  box-shadow: 0 0 8px rgba(60, 179, 113, 0.35);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Reduced motion: keep navigation functional without transitions
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .layer1917e-sec,
  .layer1917e-slide,
  .layer1917e-game img,
  .layer1917e-btn,
  .layer1917e-menu,
  .layer1917e-promo,
  .layer1917e-chip {
    animation: none;
    transition: none;
  }
}
