/* ==========================================================================
   SS777 Login - dynamic-d0fe97-frame.css
   Mobile-first (320-430px canvas) styles for ss777login.click
   Design key: poster titles + narrow body, small/mid radius, big-small game
   cards, scenario-branch rhythm, state-color-only motion, square CTAs.
   Palette: #0097A7 | #FFA500 | #808080 | #3A3A3A | #C0C0C0
   ========================================================================== */

:root {
  --layere97e8-ink: #3A3A3A;
  --layere97e8-ink-deep: #2E2E2E;
  --layere97e8-ink-panel: #454545;
  --layere97e8-teal: #0097A7;
  --layere97e8-teal-deep: #00798A;
  --layere97e8-orange: #FFA500;
  --layere97e8-orange-deep: #E09400;
  --layere97e8-gray: #808080;
  --layere97e8-silver: #C0C0C0;
  --layere97e8-paper: #EDEDED;
  --layere97e8-display: 'Archivo Black', 'Arial Black', Impact, sans-serif;
  --layere97e8-body: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;
  --layere97e8-radius-s: 6px;
  --layere97e8-radius-m: 10px;
  --layere97e8-tap: 44px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--layere97e8-ink);
  color: var(--layere97e8-silver);
  font-family: var(--layere97e8-body);
  font-size: 15px;
  line-height: 1.5;
}

img { max-width: 100%; }

a { color: var(--layere97e8-teal); }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--layere97e8-orange);
  outline-offset: 2px;
}

/* Phone canvas: page stays a centered mobile frame on any wide screen */
.layere97e8-canvas {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--layere97e8-ink);
  overflow-x: clip;
}

@media (min-width: 480px) {
  body { background: #262626; }
  .layere97e8-canvas {
    box-shadow: 0 0 44px rgba(0, 0, 0, 0.55);
    border-left: 1px solid rgba(192, 192, 192, 0.14);
    border-right: 1px solid rgba(192, 192, 192, 0.14);
  }
}

/* --------------------------------------------------------------------------
   Header: compact brand bar + action zone + expandable nav
   -------------------------------------------------------------------------- */

.layere97e8-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, #424242 0%, var(--layere97e8-ink) 100%);
  border-bottom: 2px solid var(--layere97e8-teal);
}

.layere97e8-toprow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  min-height: 56px;
}

.layere97e8-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  text-decoration: none;
}

.layere97e8-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--layere97e8-radius-s);
  border: 1px solid rgba(192, 192, 192, 0.4);
  display: block;
  flex: none;
}

.layere97e8-brandname {
  display: flex;
  flex-direction: column;
  line-height: 1;
  min-width: 0;
}

.layere97e8-brandname strong {
  font-family: var(--layere97e8-display);
  font-size: 18px;
  letter-spacing: 0.5px;
  color: var(--layere97e8-paper);
  font-weight: 400;
}

.layere97e8-brandname span {
  font-family: var(--layere97e8-display);
  font-size: 9px;
  letter-spacing: 4px;
  color: var(--layere97e8-teal);
  margin-top: 3px;
  text-transform: uppercase;
}

.layere97e8-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.layere97e8-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: var(--layere97e8-tap);
  padding: 10px 16px;
  font-family: var(--layere97e8-display);
  font-size: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  background: var(--layere97e8-orange);
  color: #2E2E2E;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.layere97e8-btn:active,
.layere97e8-btn:hover {
  background: var(--layere97e8-orange-deep);
  color: #1E1E1E;
  box-shadow: 0 0 12px rgba(255, 165, 0, 0.4);
}

.layere97e8-btn--ghost {
  background: var(--layere97e8-teal);
  color: #04262B;
}

.layere97e8-btn--ghost:active,
.layere97e8-btn--ghost:hover {
  background: var(--layere97e8-teal-deep);
  color: #02181C;
  box-shadow: 0 0 12px rgba(0, 151, 167, 0.45);
}

.layere97e8-btn--tight {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 11px;
}

/* Hamburger toggle: three bars, restrained state feedback */
.layere97e8-menubtn {
  width: var(--layere97e8-tap);
  height: var(--layere97e8-tap);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 1px solid rgba(192, 192, 192, 0.3);
  border-radius: var(--layere97e8-radius-s);
  cursor: pointer;
  padding: 0;
}

.layere97e8-menubtn i {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--layere97e8-silver);
  transition: background-color 0.15s ease;
}

.layere97e8-menubtn:hover i,
.layere97e8-menubtn.is-open i { background: var(--layere97e8-orange); }

/* Expandable navigation panel */
.layere97e8-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
  background: var(--layere97e8-ink-deep);
  border-bottom: 1px solid rgba(192, 192, 192, 0.12);
}

.layere97e8-menu.is-open { max-height: 560px; }

.layere97e8-menu-group { padding: 10px 14px 4px; }

.layere97e8-menu-label {
  font-family: var(--layere97e8-display);
  font-size: 9.5px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--layere97e8-teal);
  display: block;
  padding: 4px 0 6px;
}

.layere97e8-menu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--layere97e8-tap);
  padding: 10px 10px 10px 12px;
  color: var(--layere97e8-silver);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  border-bottom: 1px solid rgba(192, 192, 192, 0.1);
  position: relative;
}

.layere97e8-menu-link em {
  font-style: normal;
  font-size: 11px;
  color: var(--layere97e8-gray);
  margin-left: auto;
  letter-spacing: 0.4px;
}

.layere97e8-menu-link::before {
  content: '';
  width: 4px;
  height: 16px;
  background: rgba(255, 165, 0, 0);
  border-radius: 1px;
  transition: background-color 0.15s ease;
}

.layere97e8-menu-link:hover,
.layere97e8-menu-link:active {
  color: var(--layere97e8-paper);
}

.layere97e8-menu-link:hover::before,
.layere97e8-menu-link:active::before {
  background: var(--layere97e8-orange);
}

/* --------------------------------------------------------------------------
   Main flow
   -------------------------------------------------------------------------- */

.layere97e8-main {
  padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
}

.layere97e8-section { padding: 26px 14px 2px; }

.layere97e8-kicker {
  font-family: var(--layere97e8-display);
  font-size: 10px;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--layere97e8-teal);
  display: block;
  margin: 0 0 6px;
}

.layere97e8-secnum {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 24px;
  padding: 0 6px;
  background: var(--layere97e8-teal);
  color: #04262B;
  font-family: var(--layere97e8-display);
  font-size: 12px;
  border-radius: 2px;
  margin-bottom: 8px;
}

h1.layere97e8-h1,
.layere97e8-h2 {
  font-family: var(--layere97e8-display);
  font-weight: 400;
  color: var(--layere97e8-paper);
  text-transform: uppercase;
  margin: 0 0 10px;
}

.layere97e8-h1 {
  font-size: 25px;
  line-height: 1.16;
  letter-spacing: 0.4px;
  border-left: 5px solid var(--layere97e8-orange);
  padding-left: 11px;
}

.layere97e8-h2 {
  font-size: 18.5px;
  line-height: 1.22;
  letter-spacing: 0.3px;
}

.layere97e8-h3 {
  font-family: var(--layere97e8-display);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--layere97e8-paper);
  border-left: 4px solid var(--layere97e8-orange);
  padding-left: 8px;
  margin: 20px 0 8px;
}

.layere97e8-lead {
  margin: 0 0 12px;
  color: var(--layere97e8-silver);
}

.layere97e8-lead strong,
.layere97e8-qa strong { color: var(--layere97e8-paper); }

.layere97e8-note {
  font-size: 12px;
  color: var(--layere97e8-gray);
  margin: 10px 0 0;
}

/* Hero */
.layere97e8-hero { padding: 22px 14px 4px; }

.layere97e8-ctorow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 6px;
}

.layere97e8-ctorow .layere97e8-btn { flex: 1 1 140px; }

/* Trust tiles */
.layere97e8-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0 0;
}

.layere97e8-tile {
  background: var(--layere97e8-ink-panel);
  border: 1px solid rgba(192, 192, 192, 0.12);
  border-radius: var(--layere97e8-radius-m);
  padding: 10px 11px;
}

.layere97e8-tile strong {
  display: block;
  font-family: var(--layere97e8-display);
  font-size: 11.5px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--layere97e8-paper);
  font-weight: 400;
  margin-bottom: 4px;
}

.layere97e8-tile span { font-size: 12.5px; color: var(--layere97e8-silver); }

/* --------------------------------------------------------------------------
   Promo reel (3 banner slides, scroll-snap)
   -------------------------------------------------------------------------- */

.layere97e8-reelwrap { margin: 18px 0 4px; }

.layere97e8-reel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--layere97e8-radius-m);
  border: 1px solid rgba(192, 192, 192, 0.16);
}

.layere97e8-reel::-webkit-scrollbar { display: none; }

.layere97e8-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  position: relative;
  display: block;
  text-decoration: none;
}

.layere97e8-slide img {
  display: block;
  width: 100%;
  height: 176px;
  object-fit: cover;
}

.layere97e8-slidecaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(46, 46, 46, 0) 0%, rgba(30, 30, 30, 0.92) 78%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.layere97e8-slidecaption strong {
  font-family: var(--layere97e8-display);
  font-weight: 400;
  font-size: 13.5px;
  line-height: 1.25;
  color: var(--layere97e8-paper);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.layere97e8-slidechip {
  flex: none;
  background: var(--layere97e8-orange);
  color: #2E2E2E;
  font-family: var(--layere97e8-display);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 7px 9px;
  border-radius: 2px;
}

.layere97e8-reelbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.layere97e8-reelnav {
  width: var(--layere97e8-tap);
  height: var(--layere97e8-tap);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--layere97e8-ink-panel);
  color: var(--layere97e8-silver);
  border: 1px solid rgba(192, 192, 192, 0.18);
  border-radius: var(--layere97e8-radius-s);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  font-family: var(--layere97e8-body);
  font-weight: 700;
  padding: 0;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.layere97e8-reelnav:hover,
.layere97e8-reelnav:active {
  background: var(--layere97e8-teal-deep);
  color: #04262B;
}

.layere97e8-dots {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.layere97e8-dot {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.layere97e8-dot::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--layere97e8-gray);
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.layere97e8-dot.is-on::before {
  background: var(--layere97e8-orange);
  box-shadow: 0 0 8px rgba(255, 165, 0, 0.6);
}

/* --------------------------------------------------------------------------
   Game grid: big + small mixed cards
   -------------------------------------------------------------------------- */

.layere97e8-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 8px;
  margin-top: 12px;
}

.layere97e8-gcard {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  min-width: 0;
}

.layere97e8-gcard img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: var(--layere97e8-radius-m);
  border: 1px solid rgba(192, 192, 192, 0.18);
  background: var(--layere97e8-ink-panel);
  transition: border-color 0.15s ease;
}

.layere97e8-gcard-name {
  font-size: 11.5px;
  line-height: 1.25;
  color: var(--layere97e8-silver);
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
  transition: color 0.15s ease;
}

.layere97e8-gcard:hover img,
.layere97e8-gcard:active img { border-color: var(--layere97e8-teal); }

.layere97e8-gcard:hover .layere97e8-gcard-name,
.layere97e8-gcard:active .layere97e8-gcard-name { color: var(--layere97e8-paper); }

/* Feature (big) card: spans two tracks, name overlaid */
.layere97e8-gcard--big {
  grid-column: span 2;
  position: relative;
  gap: 0;
}

.layere97e8-gcard--big img {
  aspect-ratio: 1.92 / 1;
  border-color: rgba(0, 151, 167, 0.55);
}

.layere97e8-gcard--big .layere97e8-gcard-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 0;
  padding: 22px 10px 8px;
  background: linear-gradient(180deg, rgba(46, 46, 46, 0) 0%, rgba(24, 24, 24, 0.9) 82%);
  color: var(--layere97e8-paper);
  font-family: var(--layere97e8-display);
  font-weight: 400;
  font-size: 12.5px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  text-align: left;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  -webkit-line-clamp: unset;
  border-radius: 0 0 var(--layere97e8-radius-m) var(--layere97e8-radius-m);
}

/* --------------------------------------------------------------------------
   Scenario branches, steps, winners board, quick answers
   -------------------------------------------------------------------------- */

.layere97e8-branch {
  border-left: 3px solid var(--layere97e8-teal);
  background: var(--layere97e8-ink-panel);
  border-radius: 0 var(--layere97e8-radius-m) var(--layere97e8-radius-m) 0;
  padding: 11px 12px;
  margin: 10px 0;
}

.layere97e8-branch strong {
  display: block;
  font-family: var(--layere97e8-display);
  font-weight: 400;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--layere97e8-paper);
  margin: 4px 0 4px;
}

.layere97e8-cond {
  display: inline-block;
  font-family: var(--layere97e8-display);
  font-size: 9.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  background: var(--layere97e8-orange);
  color: #2E2E2E;
  padding: 3px 7px;
  border-radius: 2px;
}

.layere97e8-branch p,
.layere97e8-qa p,
.layere97e8-step p { margin: 4px 0 0; font-size: 13.5px; }

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

.layere97e8-step {
  position: relative;
  counter-increment: layere97e8-step;
  background: var(--layere97e8-ink-panel);
  border-radius: var(--layere97e8-radius-m);
  padding: 11px 12px 11px 48px;
  margin: 8px 0;
}

.layere97e8-step::before {
  content: counter(layere97e8-step, decimal-leading-zero);
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--layere97e8-teal);
  color: #04262B;
  font-family: var(--layere97e8-display);
  font-size: 12px;
  border-radius: 2px;
}

.layere97e8-step strong {
  display: block;
  font-family: var(--layere97e8-display);
  font-weight: 400;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--layere97e8-paper);
  margin-bottom: 3px;
}

.layere97e8-winboard {
  background: var(--layere97e8-ink-panel);
  border: 1px solid rgba(192, 192, 192, 0.12);
  border-radius: var(--layere97e8-radius-m);
  padding: 4px 12px;
  margin-top: 12px;
}

.layere97e8-winrow {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--layere97e8-tap);
  padding: 7px 0;
  border-bottom: 1px dashed rgba(192, 192, 192, 0.16);
}

.layere97e8-winrow:last-child { border-bottom: 0; }

.layere97e8-winava {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--layere97e8-teal);
  color: #04262B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--layere97e8-display);
  font-size: 11px;
}

.layere97e8-winrow:nth-child(even) .layere97e8-winava { background: var(--layere97e8-gray); color: #262626; }

.layere97e8-winwho { min-width: 0; flex: 1; }

.layere97e8-winwho strong {
  display: block;
  color: var(--layere97e8-paper);
  font-size: 13.5px;
  font-weight: 700;
}

.layere97e8-winwho span { font-size: 11.5px; color: var(--layere97e8-gray); }

.layere97e8-winamt {
  text-align: right;
  flex: none;
}

.layere97e8-winamt strong {
  display: block;
  font-family: var(--layere97e8-display);
  font-weight: 400;
  font-size: 14px;
  color: var(--layere97e8-orange);
}

.layere97e8-winamt span { font-size: 11px; color: var(--layere97e8-gray); }

.layere97e8-qa {
  background: var(--layere97e8-ink-panel);
  border-radius: var(--layere97e8-radius-m);
  padding: 10px 12px;
  margin: 8px 0;
}

.layere97e8-qa strong {
  display: block;
  font-size: 13.5px;
  margin-bottom: 2px;
}

/* CTA band */
.layere97e8-band {
  margin: 24px 14px 0;
  background: var(--layere97e8-ink-panel);
  border: 1px solid rgba(0, 151, 167, 0.5);
  border-top: 4px solid var(--layere97e8-orange);
  border-radius: var(--layere97e8-radius-m);
  padding: 16px 14px;
}

.layere97e8-band .layere97e8-ctorow { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Extended footer: directory > brand > promotions > disclaimer
   -------------------------------------------------------------------------- */

.layere97e8-xfooter {
  margin-top: 30px;
  padding: 18px 14px 6px;
  background: var(--layere97e8-ink-deep);
  border-top: 2px solid var(--layere97e8-teal);
}

.layere97e8-dirlist { margin: 10px 0 4px; }

.layere97e8-dirlink {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 2px;
  color: var(--layere97e8-silver);
  text-decoration: none;
  border-bottom: 1px solid rgba(192, 192, 192, 0.1);
}

.layere97e8-dirlink:last-child { border-bottom: 0; }

.layere97e8-dirlink svg {
  flex: none;
  width: 18px;
  height: 18px;
  fill: var(--layere97e8-teal);
}

.layere97e8-dirlink b {
  color: var(--layere97e8-paper);
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
}

.layere97e8-dirlink span {
  font-size: 11.5px;
  color: var(--layere97e8-gray);
  margin-left: auto;
  text-align: right;
}

.layere97e8-brandblurb {
  font-size: 13px;
  color: var(--layere97e8-silver);
  margin: 8px 0 0;
}

.layere97e8-promogrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.layere97e8-promo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--layere97e8-ink-panel);
  border: 1px solid rgba(0, 151, 167, 0.55);
  border-radius: var(--layere97e8-radius-m);
  padding: 12px;
  min-height: 84px;
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.layere97e8-promo:hover,
.layere97e8-promo:active {
  border-color: var(--layere97e8-orange);
  background: #4B4B4B;
}

.layere97e8-promo-top {
  display: flex;
  align-items: center;
  gap: 7px;
}

.layere97e8-promo-top svg {
  width: 16px;
  height: 16px;
  fill: var(--layere97e8-orange);
  flex: none;
}

.layere97e8-promo-top b {
  font-family: var(--layere97e8-display);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--layere97e8-paper);
}

.layere97e8-promo span { font-size: 11.5px; color: var(--layere97e8-gray); }

.layere97e8-disclaimer {
  font-size: 12px;
  color: var(--layere97e8-gray);
  border-top: 1px solid rgba(192, 192, 192, 0.12);
  padding-top: 12px;
  margin-top: 18px;
}

/* Common copyright footer */
.layere97e8-footer {
  padding: 14px 14px 10px;
  text-align: center;
  color: var(--layere97e8-gray);
  font-size: 12px;
  letter-spacing: 0.4px;
}

/* --------------------------------------------------------------------------
   Mobile bottom navigation: layered strip, filled icons, top indicator line
   -------------------------------------------------------------------------- */

.layere97e8-bnav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 430px;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: rgba(40, 40, 40, 0.98);
  border-top: 1px solid rgba(192, 192, 192, 0.2);
  padding: 4px 2px calc(5px + env(safe-area-inset-bottom, 0px));
}

.layere97e8-bnav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  padding: 5px 2px 3px;
  color: var(--layere97e8-gray);
  text-decoration: none;
  cursor: pointer;
}

.layere97e8-bnav-item svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  transition: fill 0.15s ease, filter 0.15s ease;
}

.layere97e8-bnav-item span {
  font-size: 10.5px;
  letter-spacing: 0.4px;
  color: inherit;
  font-weight: 500;
}

.layere97e8-bnav-item::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 22%;
  right: 22%;
  height: 3px;
  background: var(--layere97e8-orange);
  border-radius: 0 0 2px 2px;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.layere97e8-bnav-item:hover,
.layere97e8-bnav-item:active { color: var(--layere97e8-silver); }

.layere97e8-bnav-item.is-active {
  color: var(--layere97e8-orange);
}

.layere97e8-bnav-item.is-active::before { opacity: 1; }

.layere97e8-bnav-item.is-active svg {
  filter: drop-shadow(0 0 6px rgba(255, 165, 0, 0.55));
}

/* --------------------------------------------------------------------------
   Responsive tuning inside the 320-430px phone canvas
   -------------------------------------------------------------------------- */

@media (max-width: 359px) {
  .layere97e8-h1 { font-size: 22px; }
  .layere97e8-h2 { font-size: 17px; }
  .layere97e8-grid { gap: 10px 6px; }
  .layere97e8-trust { gap: 6px; }
  .layere97e8-btn--tight { padding: 8px 9px; }
}

/* 430px canvas breakpoint: richer spacing while grids stay on 4 tracks */
@media (min-width: 430px) {
  .layere97e8-h1 { font-size: 28px; }
  .layere97e8-h2 { font-size: 20px; }
  .layere97e8-section,
  .layere97e8-hero { padding-left: 18px; padding-right: 18px; }
  .layere97e8-band { margin-left: 18px; margin-right: 18px; }
  .layere97e8-grid { gap: 14px 10px; }
  .layere97e8-slide img { height: 196px; }
  .layere97e8-gcard-name { font-size: 12px; }
  .layere97e8-trust { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
