/* Mobile-first visual system for ff1686 */
:root {
  --layerabb51-ink: #eefcf8;
  --layerabb51-muted: #b2dfdb;
  --layerabb51-deep: #172532;
  --layerabb51-navy: #2e4057;
  --layerabb51-panel: #263a4e;
  --layerabb51-panel-soft: #31495f;
  --layerabb51-purple: #9966cc;
  --layerabb51-mint: #8fbc8f;
  --layerabb51-lime: #7cfc00;
  --layerabb51-line: rgba(178, 223, 219, 0.28);
  --layerabb51-shadow: 0 12px 34px rgba(4, 13, 20, 0.38);
  --layerabb51-head-height: 112px;
  --layerabb51-bottom-height: 72px;
  --layerabb51-serif: Georgia, "Times New Roman", serif;
  --layerabb51-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background: #0e1821;
}

body {
  width: 100%;
  min-width: 320px;
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  overflow-x: hidden;
  color: var(--layerabb51-ink);
  background:
    radial-gradient(circle at 92% 9%, rgba(153, 102, 204, 0.25), transparent 28%),
    radial-gradient(circle at 7% 33%, rgba(124, 252, 0, 0.08), transparent 25%),
    linear-gradient(180deg, var(--layerabb51-deep) 0%, #1b2a39 44%, #12202c 100%);
  font-family: var(--layerabb51-sans);
  font-size: 15px;
  line-height: 1.62;
  box-shadow: 0 0 52px rgba(0, 0, 0, 0.42);
}

body.layerabb51-menu-open {
  overflow: hidden;
}

a {
  color: var(--layerabb51-muted);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--layerabb51-lime);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--layerabb51-lime);
  outline-offset: 3px;
}

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

svg {
  display: block;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: #fff;
  font-family: var(--layerabb51-serif);
  line-height: 1.18;
  text-wrap: balance;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(1.82rem, 8vw, 2.45rem);
  letter-spacing: -0.025em;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(1.42rem, 6vw, 1.9rem);
}

h3 {
  margin-bottom: 7px;
  font-size: 1.07rem;
}

.layerabb51-skip-link {
  position: fixed;
  z-index: 200;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: #102008;
  background: var(--layerabb51-lime);
  border: 2px solid #fff;
  transform: translateY(-150%);
}

.layerabb51-skip-link:focus {
  transform: translateY(0);
}

.layerabb51-top-shell {
  position: fixed;
  z-index: 90;
  top: 0;
  left: 50%;
  width: min(100%, 430px);
  min-width: 320px;
  height: var(--layerabb51-head-height);
  background: rgba(23, 37, 50, 0.97);
  border-bottom: 1px solid var(--layerabb51-line);
  box-shadow: 0 8px 24px rgba(4, 12, 18, 0.36);
  transform: translateX(-50%);
  backdrop-filter: blur(14px);
}

.layerabb51-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 8px 12px 6px;
}

.layerabb51-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: #fff;
  font-family: var(--layerabb51-serif);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.layerabb51-brand img {
  width: 40px;
  height: 40px;
  margin-right: 9px;
  object-fit: cover;
  border: 2px solid var(--layerabb51-muted);
  border-radius: 9px;
  box-shadow: 0 0 0 3px rgba(153, 102, 204, 0.2);
}

.layerabb51-menu-toggle {
  display: inline-grid;
  width: 46px;
  height: 44px;
  padding: 10px;
  place-items: center;
  color: #fff;
  background: var(--layerabb51-navy);
  border: 1px solid var(--layerabb51-line);
  border-radius: 5px;
  cursor: pointer;
}

.layerabb51-menu-bars,
.layerabb51-menu-bars::before,
.layerabb51-menu-bars::after {
  width: 21px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.layerabb51-menu-bars {
  position: relative;
}

.layerabb51-menu-bars::before,
.layerabb51-menu-bars::after {
  position: absolute;
  left: 0;
  content: "";
}

.layerabb51-menu-bars::before {
  top: -7px;
}

.layerabb51-menu-bars::after {
  top: 7px;
}

.layerabb51-menu-toggle[aria-expanded="true"] .layerabb51-menu-bars {
  background: transparent;
}

.layerabb51-menu-toggle[aria-expanded="true"] .layerabb51-menu-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.layerabb51-menu-toggle[aria-expanded="true"] .layerabb51-menu-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.layerabb51-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 12px 9px;
}

.layerabb51-action {
  min-height: 43px;
  padding: 9px 12px;
  color: #fff;
  background: var(--layerabb51-purple);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  font-weight: 800;
  letter-spacing: 0.025em;
  cursor: pointer;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.17);
}

.layerabb51-action:last-child {
  color: #17230f;
  background: var(--layerabb51-lime);
  border-color: #b6ff75;
}

.layerabb51-action:active,
.layerabb51-square-cta:active,
.layerabb51-game-trigger:active {
  transform: translateY(1px);
}

.layerabb51-drawer-shade {
  position: fixed;
  z-index: 91;
  inset: 0;
  display: block;
  width: min(100%, 430px);
  margin: 0 auto;
  visibility: hidden;
  opacity: 0;
  background: rgba(2, 8, 13, 0.74);
  border: 0;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.layerabb51-drawer-shade.layerabb51-visible {
  visibility: visible;
  opacity: 1;
}

.layerabb51-drawer {
  position: fixed;
  z-index: 92;
  top: 0;
  right: max(0px, calc((100vw - 430px) / 2));
  width: min(86vw, 352px);
  height: 100dvh;
  overflow-y: auto;
  padding: 18px 14px calc(var(--layerabb51-bottom-height) + 24px);
  background: #213447;
  border-left: 1px solid rgba(178, 223, 219, 0.38);
  box-shadow: -18px 0 42px rgba(0, 0, 0, 0.42);
  transform: translateX(110%);
  transition: transform 210ms ease;
}

.layerabb51-drawer.layerabb51-open {
  transform: translateX(0);
}

.layerabb51-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--layerabb51-line);
}

.layerabb51-drawer-title {
  margin: 0;
  color: #fff;
  font-family: var(--layerabb51-serif);
  font-size: 1.35rem;
  font-weight: 700;
}

.layerabb51-drawer-close {
  width: 44px;
  height: 44px;
  color: #fff;
  background: transparent;
  border: 1px solid var(--layerabb51-line);
  border-radius: 4px;
  font-size: 1.6rem;
  cursor: pointer;
}

.layerabb51-drawer-nav {
  display: grid;
  gap: 7px;
}

.layerabb51-drawer-nav a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 12px;
  color: #eafbf7;
  background: rgba(178, 223, 219, 0.06);
  border: 1px solid transparent;
  border-left: 4px solid var(--layerabb51-purple);
  border-radius: 2px 7px 7px 2px;
  font-weight: 680;
  text-decoration: none;
}

.layerabb51-drawer-nav a:hover,
.layerabb51-drawer-nav a[aria-current="page"] {
  color: #17230f;
  background: var(--layerabb51-lime);
  border-color: #aaff5e;
}

.layerabb51-main {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--layerabb51-head-height) + 14px);
  padding-bottom: calc(var(--layerabb51-bottom-height) + 34px + env(safe-area-inset-bottom));
}

.layerabb51-hero {
  padding: 13px 12px 18px;
}

.layerabb51-hero-copy {
  position: relative;
  padding: 18px 16px 17px;
  overflow: hidden;
  background:
    linear-gradient(132deg, rgba(153, 102, 204, 0.29), rgba(46, 64, 87, 0.73)),
    var(--layerabb51-panel);
  border: 1px solid rgba(178, 223, 219, 0.28);
  border-left: 5px solid var(--layerabb51-lime);
  border-radius: 4px 13px 4px 13px;
  box-shadow: var(--layerabb51-shadow);
}

.layerabb51-hero-copy::after {
  position: absolute;
  right: -24px;
  bottom: -42px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(124, 252, 0, 0.2), transparent 66%);
  content: "";
}

.layerabb51-eyebrow {
  display: inline-block;
  margin-bottom: 9px;
  padding: 4px 8px;
  color: #17230f;
  background: var(--layerabb51-lime);
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.layerabb51-lead {
  margin-bottom: 14px;
  color: #d9efeb;
  font-size: 0.98rem;
}

.layerabb51-hero-actions {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 8px;
}

.layerabb51-square-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 11px;
  color: #15230e;
  background: var(--layerabb51-lime);
  border: 1px solid #bdff83;
  border-radius: 2px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 -3px 0 rgba(32, 70, 0, 0.24);
}

.layerabb51-square-cta.layerabb51-quiet {
  color: #fff;
  background: var(--layerabb51-purple);
  border-color: #b991df;
}

.layerabb51-quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 12px 0 0;
}

.layerabb51-fact {
  min-width: 0;
  padding: 9px 6px;
  background: rgba(12, 25, 35, 0.55);
  border-top: 2px solid var(--layerabb51-mint);
  border-radius: 3px;
  text-align: center;
}

.layerabb51-fact strong,
.layerabb51-fact span {
  display: block;
}

.layerabb51-fact strong {
  color: #fff;
  font-family: var(--layerabb51-serif);
  font-size: 0.97rem;
}

.layerabb51-fact span {
  color: var(--layerabb51-muted);
  font-size: 0.67rem;
  line-height: 1.35;
}

.layerabb51-carousel {
  position: relative;
  margin-top: 12px;
  overflow: hidden;
  background: #101b25;
  border: 1px solid var(--layerabb51-line);
  border-radius: 9px 3px 9px 3px;
  box-shadow: var(--layerabb51-shadow);
}

.layerabb51-slides {
  display: flex;
  transition: transform 360ms ease;
}

.layerabb51-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  padding: 0;
  overflow: hidden;
  background: #152331;
  border: 0;
  cursor: pointer;
}

.layerabb51-slide img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.layerabb51-slide-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 21px 12px 9px;
  color: #fff;
  background: linear-gradient(transparent, rgba(9, 17, 24, 0.92));
  font-size: 0.8rem;
  font-weight: 750;
  text-align: left;
}

.layerabb51-slide-dots {
  position: absolute;
  z-index: 3;
  top: 8px;
  right: 8px;
  display: flex;
  gap: 5px;
}

.layerabb51-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.34);
  border-radius: 50%;
  cursor: pointer;
}

.layerabb51-dot.layerabb51-active {
  background: var(--layerabb51-lime);
  box-shadow: 0 0 0 3px rgba(124, 252, 0, 0.22);
}

.layerabb51-section {
  margin: 0 12px 16px;
  padding: 17px 13px;
  background: rgba(38, 58, 78, 0.74);
  border: 1px solid var(--layerabb51-line);
  border-radius: 5px 12px 5px 12px;
  box-shadow: 0 9px 26px rgba(4, 14, 22, 0.23);
}

.layerabb51-section.layerabb51-open-section {
  padding-right: 0;
  padding-left: 0;
  background: transparent;
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  box-shadow: none;
}

.layerabb51-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  padding: 0 1px 10px;
  border-bottom: 1px solid var(--layerabb51-line);
}

.layerabb51-section-head h2,
.layerabb51-section-head p {
  margin-bottom: 0;
}

.layerabb51-section-head p {
  max-width: 132px;
  color: var(--layerabb51-muted);
  font-size: 0.72rem;
  line-height: 1.35;
  text-align: right;
}

.layerabb51-anchor-strip {
  display: flex;
  gap: 7px;
  margin: 0 12px 16px;
  padding: 9px;
  overflow-x: auto;
  scrollbar-width: thin;
  background: rgba(46, 64, 87, 0.76);
  border: 1px solid var(--layerabb51-line);
  border-radius: 5px;
  scroll-snap-type: x proximity;
}

.layerabb51-anchor-strip a {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 9px 12px;
  color: #fff;
  background: #22364a;
  border: 1px solid rgba(178, 223, 219, 0.26);
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 780;
  text-decoration: none;
  scroll-snap-align: start;
}

.layerabb51-anchor-strip a:hover {
  color: #17230f;
  background: var(--layerabb51-lime);
}

.layerabb51-category {
  margin-bottom: 22px;
  padding: 0 12px 16px;
  border-bottom: 1px solid var(--layerabb51-line);
}

.layerabb51-category:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.layerabb51-category-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 6px;
}

.layerabb51-category-mark {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #17230f;
  background: var(--layerabb51-lime);
  border: 2px solid rgba(255, 255, 255, 0.34);
  border-radius: 4px 10px 4px 10px;
  font-weight: 950;
}

.layerabb51-category-title h3 {
  margin: 0;
  font-size: 1.28rem;
}

.layerabb51-category-note {
  margin-bottom: 11px;
  color: #c8dfdc;
  font-size: 0.82rem;
  line-height: 1.5;
}

.layerabb51-category-note a {
  font-weight: 750;
}

.layerabb51-game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 6px;
}

.layerabb51-game-card {
  min-width: 0;
  overflow: hidden;
  background: #263a4e;
  border: 1px solid rgba(178, 223, 219, 0.46);
  border-radius: 4px 9px 4px 9px;
  box-shadow: 0 5px 12px rgba(4, 13, 20, 0.2);
}

.layerabb51-game-trigger {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 112px;
  padding: 0 0 7px;
  flex-direction: column;
  align-items: stretch;
  color: #fff;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: center;
}

.layerabb51-game-trigger:hover {
  background: rgba(153, 102, 204, 0.14);
}

.layerabb51-game-trigger img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #152331;
  border-bottom: 2px solid var(--layerabb51-purple);
}

.layerabb51-game-name {
  display: -webkit-box;
  min-height: 34px;
  padding: 6px 3px 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 0.66rem;
  font-weight: 720;
  line-height: 1.23;
  overflow-wrap: anywhere;
}

.layerabb51-summary-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 12px 16px;
}

.layerabb51-summary-item {
  padding: 13px 11px;
  background: linear-gradient(145deg, rgba(143, 188, 143, 0.18), rgba(46, 64, 87, 0.92));
  border: 1px solid var(--layerabb51-line);
  border-top: 3px solid var(--layerabb51-mint);
  border-radius: 4px;
}

.layerabb51-summary-item strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-family: var(--layerabb51-serif);
  font-size: 1rem;
}

.layerabb51-summary-item span {
  color: #c5ddda;
  font-size: 0.75rem;
  line-height: 1.42;
}

.layerabb51-prose p:last-child,
.layerabb51-prose ul:last-child,
.layerabb51-prose ol:last-child {
  margin-bottom: 0;
}

.layerabb51-prose p,
.layerabb51-prose li {
  color: #d4e7e4;
}

.layerabb51-prose strong {
  color: #fff;
}

.layerabb51-prose a {
  font-weight: 760;
}

.layerabb51-callout {
  margin: 14px 0;
  padding: 12px 12px 12px 14px;
  color: #e9fff0;
  background: rgba(124, 252, 0, 0.08);
  border: 1px solid rgba(124, 252, 0, 0.28);
  border-left: 4px solid var(--layerabb51-lime);
  border-radius: 2px 7px 7px 2px;
}

.layerabb51-callout p {
  margin-bottom: 0;
}

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

.layerabb51-steps li {
  position: relative;
  min-height: 52px;
  margin-bottom: 9px;
  padding: 10px 10px 10px 52px;
  background: rgba(20, 35, 47, 0.7);
  border: 1px solid var(--layerabb51-line);
  border-radius: 3px 8px 3px 8px;
  counter-increment: layerabb51-step;
}

.layerabb51-steps li::before {
  position: absolute;
  top: 9px;
  left: 9px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #15230e;
  background: var(--layerabb51-lime);
  border-radius: 3px;
  content: counter(layerabb51-step, decimal-leading-zero);
  font-weight: 900;
}

.layerabb51-comparison {
  display: grid;
  gap: 8px;
  margin-top: 13px;
}

.layerabb51-comparison-row {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 8px;
  padding: 10px;
  background: rgba(19, 34, 46, 0.7);
  border-bottom: 1px solid var(--layerabb51-line);
}

.layerabb51-comparison-row dt {
  color: var(--layerabb51-lime);
  font-weight: 830;
}

.layerabb51-comparison-row dd {
  color: #d2e6e3;
}

.layerabb51-checklist {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.layerabb51-checklist li {
  position: relative;
  padding: 10px 10px 10px 41px;
  color: #d9ece9;
  background: rgba(143, 188, 143, 0.09);
  border: 1px solid rgba(143, 188, 143, 0.3);
  border-radius: 3px;
}

.layerabb51-checklist li::before {
  position: absolute;
  top: 10px;
  left: 10px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: #17230f;
  background: var(--layerabb51-lime);
  border-radius: 3px;
  content: "✓";
  font-weight: 950;
}

.layerabb51-payment-flow {
  display: flex;
  gap: 8px;
  margin: 13px -2px 0;
  padding: 2px 2px 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.layerabb51-payment-node {
  flex: 0 0 76%;
  padding: 13px;
  background: #203448;
  border: 1px solid var(--layerabb51-line);
  border-top: 4px solid var(--layerabb51-purple);
  border-radius: 4px;
  scroll-snap-align: start;
}

.layerabb51-payment-node strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
}

.layerabb51-payment-node span {
  color: #c9dfdc;
  font-size: 0.82rem;
}

.layerabb51-responsible {
  margin: 0 12px 16px;
  padding: 17px 14px;
  background: linear-gradient(145deg, rgba(153, 102, 204, 0.18), rgba(25, 40, 54, 0.94));
  border: 1px solid rgba(185, 145, 223, 0.42);
  border-left: 5px solid var(--layerabb51-purple);
  border-radius: 4px 12px 4px 12px;
}

.layerabb51-responsible h2 {
  font-size: 1.4rem;
}

.layerabb51-inline-actions {
  display: flex;
  gap: 7px;
  margin-top: 13px;
  overflow-x: auto;
}

.layerabb51-inline-actions button,
.layerabb51-inline-actions a {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 12px;
  align-items: center;
  color: #fff;
  background: var(--layerabb51-purple);
  border: 1px solid #b991df;
  border-radius: 2px;
  font-weight: 790;
  text-decoration: none;
  cursor: pointer;
}

.layerabb51-directory {
  margin-top: 4px;
  padding: 22px 12px 20px;
  background:
    linear-gradient(180deg, rgba(46, 64, 87, 0.98), rgba(23, 37, 50, 0.98)),
    var(--layerabb51-navy);
  border-top: 3px solid var(--layerabb51-lime);
}

.layerabb51-directory-brand {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--layerabb51-line);
}

.layerabb51-directory-brand img {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  object-fit: cover;
  border: 2px solid var(--layerabb51-muted);
  border-radius: 8px;
}

.layerabb51-directory-brand h2 {
  margin-bottom: 7px;
}

.layerabb51-directory-brand p {
  margin-bottom: 0;
  color: #cce1de;
  font-size: 0.88rem;
}

.layerabb51-promo-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 20px;
}

.layerabb51-promo-rail button {
  min-height: 50px;
  padding: 10px 8px;
  color: #15230e;
  background: var(--layerabb51-lime);
  border: 1px solid #b7ff76;
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.25;
  cursor: pointer;
}

.layerabb51-promo-rail button:nth-child(even) {
  color: #fff;
  background: var(--layerabb51-purple);
  border-color: #bc96e0;
}

.layerabb51-promo-rail button:last-child {
  grid-column: 1 / -1;
}

.layerabb51-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 18px;
}

.layerabb51-directory-grid a {
  display: flex;
  min-height: 46px;
  padding: 9px;
  align-items: center;
  color: #e9f8f6;
  background: rgba(15, 28, 39, 0.55);
  border: 1px solid var(--layerabb51-line);
  border-left: 3px solid var(--layerabb51-mint);
  border-radius: 2px 6px 6px 2px;
  font-size: 0.78rem;
  font-weight: 720;
  line-height: 1.25;
  text-decoration: none;
}

.layerabb51-directory-grid a:hover {
  color: #17230f;
  background: var(--layerabb51-lime);
}

.layerabb51-disclaimer {
  margin: 0;
  padding: 12px;
  color: #bed4d1;
  background: rgba(9, 20, 28, 0.55);
  border: 1px dashed rgba(178, 223, 219, 0.32);
  font-size: 0.76rem;
}

.layerabb51-copyright {
  margin: 0;
  padding: 14px 12px calc(var(--layerabb51-bottom-height) + 14px);
  color: #9fbab6;
  background: #101c26;
  border-top: 1px solid var(--layerabb51-line);
  font-size: 0.72rem;
  text-align: center;
}

.layerabb51-bottom-nav {
  position: fixed;
  z-index: 80;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  width: min(100%, 430px);
  min-width: 320px;
  min-height: var(--layerabb51-bottom-height);
  margin: 0 auto;
  padding: 5px 5px calc(5px + env(safe-area-inset-bottom));
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: rgba(24, 39, 52, 0.98);
  border-top: 3px solid var(--layerabb51-purple);
  box-shadow: 0 -10px 28px rgba(3, 10, 16, 0.42);
  backdrop-filter: blur(12px);
}

.layerabb51-bottom-item {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 58px;
  padding: 5px 2px 3px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #b9cfcc;
  background: transparent;
  border: 0;
  border-radius: 4px;
  font-size: 0.62rem;
  font-weight: 720;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
}

.layerabb51-bottom-item svg {
  width: 23px;
  height: 23px;
  color: var(--layerabb51-muted);
  transition: color 160ms ease, transform 160ms ease;
}

.layerabb51-bottom-item:hover,
.layerabb51-bottom-item[aria-current="page"] {
  color: #17230f;
  background: var(--layerabb51-lime);
}

.layerabb51-bottom-item:hover svg,
.layerabb51-bottom-item[aria-current="page"] svg {
  color: var(--layerabb51-purple);
  transform: translateY(-1px) scale(1.05);
}

.layerabb51-bottom-item.layerabb51-promo-tab {
  color: #fff;
  background: rgba(153, 102, 204, 0.28);
}

.layerabb51-bottom-item.layerabb51-promo-tab svg {
  color: var(--layerabb51-lime);
}

.layerabb51-noscript {
  margin: calc(var(--layerabb51-head-height) + 8px) 12px 0;
  padding: 10px;
  color: #fff;
  background: #8f2c3d;
  border: 2px solid #ffb2bd;
}

@media (min-width: 375px) {
  .layerabb51-game-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .layerabb51-game-trigger {
    min-height: 109px;
  }

  .layerabb51-game-name {
    font-size: 0.65rem;
  }
}

@media (max-width: 350px) {
  :root {
    --layerabb51-head-height: 108px;
  }

  .layerabb51-brand-row {
    min-height: 55px;
  }

  .layerabb51-brand img {
    width: 36px;
    height: 36px;
  }

  .layerabb51-brand {
    font-size: 1.12rem;
  }

  .layerabb51-actions {
    gap: 6px;
  }

  .layerabb51-action {
    min-height: 41px;
    padding: 8px;
  }

  .layerabb51-hero {
    padding-right: 9px;
    padding-left: 9px;
  }

  .layerabb51-section,
  .layerabb51-responsible {
    margin-right: 9px;
    margin-left: 9px;
  }

  .layerabb51-category {
    padding-right: 9px;
    padding-left: 9px;
  }

  .layerabb51-game-grid {
    gap: 6px 4px;
  }

  .layerabb51-game-trigger {
    min-height: 104px;
  }

  .layerabb51-game-name {
    padding-right: 2px;
    padding-left: 2px;
    font-size: 0.61rem;
  }
}

@media (max-width: 430px) {
  body {
    width: 100%;
  }

  .layerabb51-main,
  .layerabb51-top-shell,
  .layerabb51-bottom-nav {
    max-width: 430px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.layerabb51-help-intro {
  display: grid;
  gap: 12px;
  margin: 0 12px 16px;
  padding: 18px 14px;
  background: linear-gradient(150deg, rgba(143, 188, 143, 0.2), rgba(38, 58, 78, 0.94));
  border: 1px solid rgba(178, 223, 219, 0.34);
  border-top: 4px solid var(--layerabb51-mint);
  border-radius: 11px 3px 11px 3px;
  box-shadow: var(--layerabb51-shadow);
}

.layerabb51-help-intro h1,
.layerabb51-help-intro p {
  margin-bottom: 0;
}

.layerabb51-help-intro p {
  color: #d9efeb;
}

.layerabb51-help-signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.layerabb51-help-signal {
  min-width: 0;
  padding: 9px 6px;
  color: #eafff5;
  background: rgba(16, 29, 40, 0.7);
  border-left: 3px solid var(--layerabb51-purple);
  border-radius: 3px;
  font-size: 0.72rem;
  line-height: 1.35;
}

.layerabb51-help-signal strong {
  display: block;
  margin-bottom: 3px;
  color: var(--layerabb51-lime);
  font-family: var(--layerabb51-serif);
  font-size: 0.94rem;
}

.layerabb51-promo-line {
  display: flex;
  gap: 8px;
  margin: 13px 0 0;
  overflow-x: auto;
  padding: 2px 1px 7px;
}

.layerabb51-promo-line button {
  flex: 0 0 auto;
  min-height: 46px;
  padding: 9px 12px;
  color: #17230f;
  background: var(--layerabb51-lime);
  border: 1px solid #c3ff91;
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 850;
  cursor: pointer;
}

.layerabb51-promo-line button:nth-child(even) {
  color: #fff;
  background: var(--layerabb51-purple);
  border-color: #c4a0e4;
}

.layerabb51-note-grid {
  display: grid;
  gap: 8px;
  margin: 13px 0 0;
}

.layerabb51-note-card {
  padding: 12px;
  background: rgba(17, 31, 42, 0.72);
  border: 1px solid var(--layerabb51-line);
  border-left: 4px solid var(--layerabb51-mint);
  border-radius: 2px 8px 8px 2px;
}

.layerabb51-note-card h3,
.layerabb51-note-card p {
  margin-bottom: 5px;
}

.layerabb51-note-card p:last-child {
  margin-bottom: 0;
}

.layerabb51-faq-list {
  display: grid;
  gap: 8px;
  margin-top: 13px;
}

.layerabb51-faq-item {
  background: rgba(19, 34, 46, 0.74);
  border: 1px solid var(--layerabb51-line);
  border-radius: 4px;
}

.layerabb51-faq-item summary {
  min-height: 48px;
  padding: 12px 13px;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

.layerabb51-faq-item summary::marker {
  color: var(--layerabb51-lime);
}

.layerabb51-faq-answer {
  margin: 0;
  padding: 0 13px 13px;
  color: #d4e7e4;
}

.layerabb51-faq-answer a {
  font-weight: 760;
}

.layerabb51-timeline {
  display: grid;
  gap: 10px;
  margin-top: 13px;
  padding-left: 11px;
  border-left: 3px solid var(--layerabb51-purple);
}

.layerabb51-timeline-item {
  position: relative;
  padding: 11px 12px;
  background: rgba(32, 52, 72, 0.78);
  border: 1px solid var(--layerabb51-line);
  border-radius: 3px 9px 3px 9px;
}

.layerabb51-timeline-item::before {
  position: absolute;
  top: 16px;
  left: -19px;
  width: 10px;
  height: 10px;
  background: var(--layerabb51-lime);
  border: 2px solid var(--layerabb51-deep);
  border-radius: 50%;
  content: "";
}

.layerabb51-timeline-item strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
}

.layerabb51-timeline-item p {
  margin-bottom: 0;
}

.layerabb51-feature-matrix {
  display: grid;
  gap: 8px;
  margin-top: 13px;
}

.layerabb51-feature-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 9px;
  padding: 11px;
  background: rgba(17, 31, 42, 0.72);
  border-bottom: 2px solid rgba(143, 188, 143, 0.28);
}

.layerabb51-feature-row strong {
  color: var(--layerabb51-lime);
}

.layerabb51-feature-row span {
  color: #d4e7e4;
}

.layerabb51-help-ending {
  margin: 0 12px 16px;
  padding: 16px 14px;
  background: #213447;
  border: 1px solid rgba(178, 223, 219, 0.32);
  border-right: 5px solid var(--layerabb51-lime);
  border-radius: 3px 10px 3px 10px;
}

.layerabb51-help-ending h2,
.layerabb51-help-ending p {
  margin-bottom: 8px;
}

.layerabb51-help-ending p:last-of-type {
  margin-bottom: 0;
}

@media (max-width: 350px) {
  .layerabb51-help-signals {
    gap: 4px;
  }

  .layerabb51-help-signal {
    padding-right: 4px;
    padding-left: 4px;
    font-size: 0.67rem;
  }

  .layerabb51-feature-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
