/* ==========================================================================
   bf9.click mobile canvas stylesheet
   File   : css/mobile-8f08bb-canvas.css
   Prefix : layerf08bb-
   Canvas : 320px - 430px phone frame, centered on wide screens
   Palette: #A0522D / #DB7093 / #8B4513 / #1C2833 / #5F9EA0
   Notes  : stroke-led panels, restrained radii, square CTAs,
            image cards with bottom name bars, calm fade feedback
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens (all variables carry the site prefix)
   -------------------------------------------------------------------------- */
:root {
  --layerf08bb-ink: #1c2833;            /* page background (darkest) */
  --layerf08bb-ink-deep: #131c24;       /* below-the-fold body shade */
  --layerf08bb-panel: #22303d;          /* raised panel */
  --layerf08bb-panel-soft: #1b2733;     /* sunken panel */
  --layerf08bb-line: #3c4c5a;           /* primary stroke */
  --layerf08bb-line-soft: #2c3a47;      /* quiet stroke */
  --layerf08bb-text: #ece6de;           /* main text, warm off-white */
  --layerf08bb-muted: #a7b2bb;          /* secondary text */
  --layerf08bb-copper: #a0522d;         /* sienna copper */
  --layerf08bb-brown: #8b4513;          /* saddle brown */
  --layerf08bb-rose: #db7093;           /* pale violet red, key accent */
  --layerf08bb-rose-soft: rgba(219, 112, 147, 0.16);
  --layerf08bb-teal: #5f9ea0;           /* cadet blue, info accent */
  --layerf08bb-teal-soft: rgba(95, 158, 160, 0.15);
  --layerf08bb-radius: 3px;             /* stroke-led, near-square corners */
  --layerf08bb-radius-lg: 5px;
  --layerf08bb-gap: 8px;
  --layerf08bb-pad: 14px;
  --layerf08bb-head-h: 96px;            /* two-layer sticky header */
  --layerf08bb-tabbar-h: 64px;          /* fixed bottom icon rack */
  --layerf08bb-font: "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi",
                     system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --layerf08bb-safe-bottom: calc(var(--layerf08bb-tabbar-h) + 34px + env(safe-area-inset-bottom, 0px));
}

/* --------------------------------------------------------------------------
   2. Base reset and page shell
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding: 0;
  background: #0d141b;
  color: var(--layerf08bb-text);
  font-family: var(--layerf08bb-font);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.7;
  min-height: 100vh;
}

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

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

a {
  color: var(--layerf08bb-teal);
  text-decoration: none;
  border-bottom: 1px solid rgba(95, 158, 160, 0.45);
}

a:hover {
  color: #8ec4c6;
}

h1, h2, h3, h4 {
  font-family: inherit;
  color: var(--layerf08bb-text);
  margin: 0 0 8px;
  line-height: 1.35;
  letter-spacing: 0.2px;
}

p {
  margin: 0 0 10px;
}

ul, ol {
  margin: 0 0 12px;
  padding-left: 20px;
}

li {
  margin-bottom: 7px;
}

:focus-visible {
  outline: 2px solid var(--layerf08bb-teal);
  outline-offset: 2px;
}

/* The phone canvas: capped at 430px, framed on wide screens */
.layerf08bb-canvas {
  position: relative;
  width: 100%;
  max-width: 430px;                     /* literal 430px canvas cap */
  margin: 0 auto;
  min-height: 100vh;
  background: var(--layerf08bb-ink);
  border-left: 1px solid rgba(60, 76, 90, 0.55);
  border-right: 1px solid rgba(60, 76, 90, 0.55);
  overflow-x: hidden;
}

@media (min-width: 430px) {
  .layerf08bb-canvas {
    box-shadow: 0 0 42px rgba(0, 0, 0, 0.5);
  }
}

/* --------------------------------------------------------------------------
   3. Sticky header - two layers: brand strip + action strip
   -------------------------------------------------------------------------- */
.layerf08bb-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, #1d2a36 0%, #182430 100%);
  border-bottom: 2px solid var(--layerf08bb-line);
}

.layerf08bb-brandrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 52px;
  padding: 7px var(--layerf08bb-pad) 5px;
}

.layerf08bb-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.layerf08bb-logo {
  width: 38px;
  height: 38px;
  border: 2px solid var(--layerf08bb-copper);
  border-radius: var(--layerf08bb-radius);
  object-fit: cover;
  background: var(--layerf08bb-panel-soft);
  flex: none;
}

.layerf08bb-brandname {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--layerf08bb-text);
  line-height: 1;
  white-space: nowrap;
}

.layerf08bb-brandname small {
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 2.4px;
  color: var(--layerf08bb-teal);
  margin-top: 3px;
  text-transform: uppercase;
}

/* hamburger trigger - containerized symbol tile */
.layerf08bb-menubtn {
  flex: none;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--layerf08bb-panel-soft);
  border: 2px solid var(--layerf08bb-line);
  border-radius: var(--layerf08bb-radius);
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.layerf08bb-menubtn svg {
  width: 20px;
  height: 20px;
  stroke: var(--layerf08bb-text);
}

.layerf08bb-menubtn:active {
  transform: translateY(-2px);          /* short vertical lift */
  border-color: var(--layerf08bb-rose);
}

.layerf08bb-menubtn[aria-expanded="true"] {
  border-color: var(--layerf08bb-rose);
  background: var(--layerf08bb-rose-soft);
}

/* action strip: register + login + mini route shortcut */
.layerf08bb-actionrow {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 0 var(--layerf08bb-pad) 9px;
}

.layerf08bb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 9px 14px;
  border-radius: 2px;                   /* square-corner CTA */
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
}

.layerf08bb-btn:active {
  transform: translateY(-2px);
}

.layerf08bb-btn-primary {
  background: var(--layerf08bb-rose);
  color: #1c2833;
}

.layerf08bb-btn-primary:hover {
  filter: brightness(1.08);
}

.layerf08bb-btn-ghost {
  background: transparent;
  border-color: var(--layerf08bb-teal);
  color: var(--layerf08bb-teal);
}

.layerf08bb-btn-ghost:hover {
  background: var(--layerf08bb-teal-soft);
}

.layerf08bb-btn-copper {
  background: var(--layerf08bb-copper);
  color: #f4ece4;
}

.layerf08bb-quickroute {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--layerf08bb-muted);
  border-bottom: none;
  white-space: nowrap;
}

.layerf08bb-quickroute:hover {
  color: var(--layerf08bb-teal);
}

/* --------------------------------------------------------------------------
   4. Side drawer menu + backdrop
   -------------------------------------------------------------------------- */
.layerf08bb-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 17, 0.68);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 70;
}

.layerf08bb-backdrop.is-shown {
  opacity: 1;
  pointer-events: auto;
}

.layerf08bb-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  /* right edge pinned to the 430px canvas frame on any screen */
  right: max(0px, calc(50% - 215px));
  width: min(80vw, 302px);
  background: #1a2530;
  border-left: 2px solid var(--layerf08bb-line);
  z-index: 80;
  transform: translateX(102%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 14px 14px 24px;
}

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

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

.layerf08bb-drawer-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--layerf08bb-rose);
}

.layerf08bb-drawerclose {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 2px solid var(--layerf08bb-line);
  border-radius: var(--layerf08bb-radius);
  cursor: pointer;
}

.layerf08bb-drawerclose svg {
  width: 16px;
  height: 16px;
  stroke: var(--layerf08bb-text);
}

.layerf08bb-drawercta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.layerf08bb-drawercta .layerf08bb-btn {
  font-size: 13px;
  padding: 9px 6px;
}

.layerf08bb-drawerlist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.layerf08bb-drawerlist li {
  margin: 0;
}

.layerf08bb-drawerlink {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 10px;
  color: var(--layerf08bb-text);
  border-bottom: 1px solid var(--layerf08bb-line-soft);
  font-size: 14px;
  font-weight: 600;
}

.layerf08bb-drawerlink:hover {
  background: var(--layerf08bb-teal-soft);
  color: var(--layerf08bb-text);
}

.layerf08bb-drawerlink .layerf08bb-drawerindex {
  flex: none;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--layerf08bb-teal);
  border: 2px solid var(--layerf08bb-line);
  border-radius: 2px;
}

.layerf08bb-drawerlink[aria-current="page"] .layerf08bb-drawerindex {
  background: var(--layerf08bb-rose);
  border-color: var(--layerf08bb-rose);
  color: #1c2833;
}

/* --------------------------------------------------------------------------
   5. Main column, hero and carousel
   -------------------------------------------------------------------------- */
.layerf08bb-main {
  display: block;
  padding: 12px var(--layerf08bb-pad) var(--layerf08bb-safe-bottom);
  background: var(--layerf08bb-ink-deep);
}

.layerf08bb-carousel {
  position: relative;
  aspect-ratio: 20 / 9;
  overflow: hidden;
  border: 2px solid var(--layerf08bb-line);
  border-radius: var(--layerf08bb-radius);
  background: var(--layerf08bb-panel-soft);
}

.layerf08bb-slide {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.layerf08bb-slide.is-on {
  opacity: 1;
  z-index: 2;
}

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

.layerf08bb-slide::after {
  /* subtle bottom shade so the dots stay readable */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 44px;
  background: linear-gradient(180deg, rgba(19, 28, 36, 0) 0%, rgba(19, 28, 36, 0.72) 100%);
  pointer-events: none;
}

.layerf08bb-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9px;
  display: flex;
  justify-content: center;
  gap: 7px;
  z-index: 3;
}

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

.layerf08bb-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(236, 230, 222, 0.42);
  border: 1px solid rgba(19, 28, 36, 0.6);
  transition: background 0.2s ease, transform 0.2s ease;
}

.layerf08bb-dot.is-on::before {
  background: var(--layerf08bb-rose);
  transform: scale(1.2);
}

/* hero text block under the carousel */
.layerf08bb-hero {
  margin-top: 14px;
}

.layerf08bb-h1 {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.4;
  padding-left: 10px;
  border-left: 4px solid var(--layerf08bb-rose);
  margin-bottom: 10px;
}

.layerf08bb-heroctas {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 8px;
  margin: 12px 0 4px;
}

/* --------------------------------------------------------------------------
   6. Category shortcut strip (in-page jump chips)
   -------------------------------------------------------------------------- */
.layerf08bb-catstrip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 2px 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.layerf08bb-catstrip::-webkit-scrollbar {
  display: none;
}

.layerf08bb-catchip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 13px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--layerf08bb-muted);
  background: var(--layerf08bb-panel-soft);
  border: 2px solid var(--layerf08bb-line-soft);
  border-radius: 2px;
  border-bottom: 2px solid var(--layerf08bb-line-soft);
}

.layerf08bb-catchip:hover {
  color: var(--layerf08bb-rose);
  border-color: var(--layerf08bb-rose);
}

.layerf08bb-catchip svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

/* --------------------------------------------------------------------------
   7. Content sections
   -------------------------------------------------------------------------- */
.layerf08bb-section {
  margin-top: 22px;
}

.layerf08bb-sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  border-left: 4px solid var(--layerf08bb-copper);
  padding-left: 10px;
  margin-bottom: 8px;
}

.layerf08bb-h2 {
  font-size: 17px;
  font-weight: 800;
  margin: 0;
}

.layerf08bb-chip {
  flex: none;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--layerf08bb-teal);
  border: 2px solid var(--layerf08bb-line-soft);
  border-radius: 2px;
  padding: 2px 8px;
  background: var(--layerf08bb-panel-soft);
  white-space: nowrap;
}

.layerf08bb-lead {
  font-size: 13px;
  color: var(--layerf08bb-muted);
  margin-bottom: 12px;
}

.layerf08bb-lead a {
  color: var(--layerf08bb-rose);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   8. Game grid and cards (image + bottom name bar)
   -------------------------------------------------------------------------- */
.layerf08bb-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--layerf08bb-gap);
}

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

.layerf08bb-card {
  display: block;
  padding: 0;
  margin: 0;
  background: var(--layerf08bb-panel);
  border: 2px solid var(--layerf08bb-line-soft);
  border-radius: var(--layerf08bb-radius);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  transition: transform 0.15s ease, border-color 0.15s ease;
  -webkit-tap-highlight-color: rgba(219, 112, 147, 0.25);
}

.layerf08bb-card:active {
  transform: translateY(-3px);
  border-color: var(--layerf08bb-rose);
}

.layerf08bb-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #101923;
}

.layerf08bb-card-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--layerf08bb-text);
  background: linear-gradient(180deg, #243240 0%, #1e2a36 100%);
  border-top: 2px solid rgba(60, 76, 90, 0.6);
  padding: 4px 5px 6px;
  min-height: 36px;
}

/* --------------------------------------------------------------------------
   9. Editorial modules (tricks, cashback, review, safety, checklist, Q&A)
   -------------------------------------------------------------------------- */
.layerf08bb-panelbox {
  background: var(--layerf08bb-panel-soft);
  border: 2px solid var(--layerf08bb-line-soft);
  border-radius: var(--layerf08bb-radius);
  padding: 14px 13px;
  margin-top: 10px;
}

.layerf08bb-panelbox--rose {
  border-color: rgba(219, 112, 147, 0.5);
  background: linear-gradient(180deg, rgba(219, 112, 147, 0.07) 0%, rgba(27, 39, 51, 1) 55%);
}

.layerf08bb-panelbox--teal {
  border-color: rgba(95, 158, 160, 0.5);
  background: linear-gradient(180deg, rgba(95, 158, 160, 0.07) 0%, rgba(27, 39, 51, 1) 55%);
}

.layerf08bb-h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--layerf08bb-rose);
  margin: 14px 0 6px;
}

.layerf08bb-h3--teal {
  color: var(--layerf08bb-teal);
}

.layerf08bb-verdict {
  /* conclusion-first statement line */
  font-size: 13.5px;
  font-weight: 700;
  color: var(--layerf08bb-text);
  border: 2px dashed rgba(219, 112, 147, 0.55);
  border-radius: var(--layerf08bb-radius);
  padding: 9px 11px;
  margin: 0 0 12px;
  background: rgba(219, 112, 147, 0.06);
}

.layerf08bb-body {
  font-size: 13px;
  color: var(--layerf08bb-muted);
}

.layerf08bb-body strong,
.layerf08bb-lead strong {
  color: var(--layerf08bb-text);
  font-weight: 700;
}

.layerf08bb-body a {
  color: var(--layerf08bb-teal);
}

/* compact comparison table */
.layerf08bb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin: 10px 0 4px;
  border: 2px solid var(--layerf08bb-line-soft);
  border-radius: var(--layerf08bb-radius);
  overflow: hidden;
}

.layerf08bb-table caption {
  caption-side: top;
  text-align: left;
  font-size: 11.5px;
  color: var(--layerf08bb-teal);
  font-weight: 700;
  padding-bottom: 5px;
}

.layerf08bb-table th,
.layerf08bb-table td {
  border: 1px solid var(--layerf08bb-line-soft);
  padding: 7px 8px;
  text-align: left;
  vertical-align: top;
  color: var(--layerf08bb-muted);
}

.layerf08bb-table th {
  background: #243240;
  color: var(--layerf08bb-text);
  font-weight: 700;
  font-size: 11.5px;
}

/* step list with numbered tiles */
.layerf08bb-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: layerf08bb-step;
}

.layerf08bb-steps li {
  counter-increment: layerf08bb-step;
  position: relative;
  padding-left: 36px;
  min-height: 34px;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--layerf08bb-muted);
}

.layerf08bb-steps li::before {
  content: counter(layerf08bb-step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: #1c2833;
  background: var(--layerf08bb-teal);
  border-radius: 2px;
}

/* check / caution lists */
.layerf08bb-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.layerf08bb-checklist li {
  position: relative;
  padding-left: 26px;
  font-size: 13px;
  color: var(--layerf08bb-muted);
}

.layerf08bb-checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--layerf08bb-teal);
  border-radius: 1px;
}

.layerf08bb-cautions li::before {
  border-color: var(--layerf08bb-rose);
  background: var(--layerf08bb-rose-soft);
}

/* inline promo text link (still a real button, not a URL in href) */
.layerf08bb-inlinepromo {
  display: inline;
  padding: 0;
  margin: 0;
  background: none;
  border: 0;
  border-bottom: 2px solid var(--layerf08bb-rose);
  color: var(--layerf08bb-rose);
  font-weight: 700;
  font-size: inherit;
  cursor: pointer;
}

.layerf08bb-inlinepromo:hover {
  color: #eaa2bd;
}

/* Q&A block for the scenario module */
.layerf08bb-qa {
  border: 2px solid var(--layerf08bb-line-soft);
  border-radius: var(--layerf08bb-radius);
  margin-bottom: 10px;
  overflow: hidden;
}

.layerf08bb-qa h3 {
  margin: 0;
  padding: 10px 11px;
  font-size: 13px;
  font-weight: 700;
  color: var(--layerf08bb-text);
  background: #243240;
  border-bottom: 2px solid var(--layerf08bb-line-soft);
}

.layerf08bb-qa p {
  margin: 0;
  padding: 10px 11px 12px;
  font-size: 12.5px;
  color: var(--layerf08bb-muted);
}

/* --------------------------------------------------------------------------
   10. Extended footer (home page directory, brand, promo shortcuts)
   -------------------------------------------------------------------------- */
.layerf08bb-extfoot {
  margin-top: 26px;
  border-top: 2px solid var(--layerf08bb-line);
  padding-top: 18px;
}

.layerf08bb-extfoot-h {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--layerf08bb-teal);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.layerf08bb-extfoot-h::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--layerf08bb-line-soft);
}

/* page directory: three compact column groups */
.layerf08bb-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

@media (min-width: 375px) {
  .layerf08bb-directory {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.layerf08bb-dirgroup h3 {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--layerf08bb-rose);
}

.layerf08bb-dirgroup ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.layerf08bb-dirgroup a {
  display: block;
  padding: 5px 0 5px 10px;
  font-size: 12px;
  color: var(--layerf08bb-muted);
  border-left: 2px solid var(--layerf08bb-line-soft);
  border-bottom: none;
  line-height: 1.45;
}

.layerf08bb-dirgroup a:hover {
  color: var(--layerf08bb-text);
  border-left-color: var(--layerf08bb-teal);
}

.layerf08bb-brandblurb {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--layerf08bb-muted);
  border: 2px solid var(--layerf08bb-line-soft);
  border-radius: var(--layerf08bb-radius);
  padding: 11px 12px;
  background: var(--layerf08bb-panel-soft);
}

/* 4 horizontal promo shortcuts */
.layerf08bb-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.layerf08bb-shortcut {
  min-height: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 4px;
  font-size: 10.5px;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  border-radius: 2px;
  cursor: pointer;
  border: 2px solid var(--layerf08bb-line);
  background: var(--layerf08bb-panel);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.layerf08bb-shortcut svg {
  width: 18px;
  height: 18px;
}

.layerf08bb-shortcut:active {
  transform: translateY(-2px);
}

.layerf08bb-shortcut--join {
  background: var(--layerf08bb-rose);
  border-color: var(--layerf08bb-rose);
  color: #1c2833;
}

.layerf08bb-shortcut--join svg {
  stroke: #1c2833;
}

.layerf08bb-shortcut--login {
  color: var(--layerf08bb-teal);
  border-color: rgba(95, 158, 160, 0.65);
}

.layerf08bb-shortcut--login svg {
  stroke: var(--layerf08bb-teal);
}

.layerf08bb-shortcut--cash {
  color: #eec9a8;
  border-color: rgba(160, 82, 45, 0.85);
  background: #33261d;
}

.layerf08bb-shortcut--cash svg {
  stroke: #d99e6b;
}

.layerf08bb-shortcut--app {
  color: #c9d9da;
  border-color: rgba(95, 158, 160, 0.5);
  background: #1d2f31;
}

.layerf08bb-shortcut--app svg {
  stroke: var(--layerf08bb-teal);
}

.layerf08bb-disclaimer {
  margin-top: 16px;
  font-size: 11px;
  line-height: 1.6;
  color: #8b96a0;
  border-left: 3px solid var(--layerf08bb-brown);
  padding-left: 9px;
}

/* --------------------------------------------------------------------------
   11. Common footer: copyright + fixed bottom icon rack
   -------------------------------------------------------------------------- */
.layerf08bb-footer {
  border-top: 2px solid var(--layerf08bb-line);
  padding: 12px var(--layerf08bb-pad) 8px;
  text-align: center;
}

.layerf08bb-copy {
  font-size: 11px;
  color: #828d97;
  letter-spacing: 0.4px;
}

.layerf08bb-copy strong {
  color: var(--layerf08bb-muted);
}

.layerf08bb-tabbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;                     /* stays aligned with the canvas */
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
  background: #182430;
  border-top: 2px solid var(--layerf08bb-line);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
}

.layerf08bb-tab {
  min-height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 3px 2px;
  background: none;
  border: 0;
  border-radius: var(--layerf08bb-radius);
  color: var(--layerf08bb-muted);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, color 0.15s ease;
}

.layerf08bb-tab:active {
  transform: translateY(-2px);          /* short vertical lift */
}

/* containerized symbol tile */
.layerf08bb-tabtile {
  width: 34px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--layerf08bb-line);
  border-radius: 2px;
  background: var(--layerf08bb-panel-soft);
  transition: background 0.18s ease, border-color 0.18s ease;
}

.layerf08bb-tabtile svg {
  width: 16px;
  height: 16px;
  stroke: var(--layerf08bb-muted);
  fill: none;
  transition: stroke 0.18s ease, fill 0.18s ease;
}

.layerf08bb-tab .layerf08bb-tablabel {
  border-bottom: none;
}

/* active tab: tile fill changes */
.layerf08bb-tab.is-active {
  color: var(--layerf08bb-rose);
}

.layerf08bb-tab.is-active .layerf08bb-tabtile {
  background: var(--layerf08bb-rose-soft);
  border-color: var(--layerf08bb-rose);
}

.layerf08bb-tab.is-active .layerf08bb-tabtile svg {
  stroke: var(--layerf08bb-rose);
}

/* promo tabs get a warm copper identity */
.layerf08bb-tab--promo .layerf08bb-tabtile {
  border-color: rgba(160, 82, 45, 0.9);
  background: #2b2019;
}

.layerf08bb-tab--promo .layerf08bb-tabtile svg {
  stroke: #d99e6b;
}

.layerf08bb-tab--promo:active .layerf08bb-tabtile,
.layerf08bb-tab--promo:hover .layerf08bb-tabtile {
  border-color: var(--layerf08bb-rose);
}

/* --------------------------------------------------------------------------
   12. Reveal-on-scroll motion (restrained fade + rise)
   -------------------------------------------------------------------------- */
.layerf08bb-reveal {
  opacity: 0;
  transform: translateY(12px);
}

.layerf08bb-reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .layerf08bb-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .layerf08bb-slide,
  .layerf08bb-card,
  .layerf08bb-tab,
  .layerf08bb-shortcut,
  .layerf08bb-menubtn {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   13. Small utility rules
   -------------------------------------------------------------------------- */
.layerf08bb-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.layerf08bb-btop {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-top: 14px;
  background: none;
  border: 2px solid var(--layerf08bb-line-soft);
  border-radius: 2px;
  color: var(--layerf08bb-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.layerf08bb-btop:hover {
  border-color: var(--layerf08bb-teal);
  color: var(--layerf08bb-teal);
}

/* Narrow-edge fine tuning: keep 4 columns comfortable at 320px */
@media (max-width: 359px) {
  .layerf08bb-card-name {
    font-size: 10px;
    min-height: 34px;
  }
  .layerf08bb-h1 {
    font-size: 19px;
  }
  .layerf08bb-shortcuts {
    gap: 6px;
  }
  .layerf08bb-shortcut {
    font-size: 10px;
  }
}
