/* ==========================================================================
   playtime casino - mobile viewport stylesheet
   File  : css/playtime-casino-viewport-cffe11.css
   Scope : phone-canvas layout 320-430px, centered canvas on wide screens
   Prefix: layerffe11-
   Palette: #212F3D ink / #00CED1 teal / #87CEFA sky / #FFFFFF white
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --layerffe11-ink: #212F3D;            /* core dark background            */
  --layerffe11-ink-deep: #16202A;       /* outside canvas / drawer         */
  --layerffe11-ink-raise: #2A3B4C;      /* raised panels                   */
  --layerffe11-ink-line: #35485B;       /* hairlines on raised panels      */
  --layerffe11-teal: #00CED1;           /* primary accent                  */
  --layerffe11-teal-press: #00B3B6;     /* pressed primary                 */
  --layerffe11-teal-glow: rgba(0, 206, 209, 0.16);
  --layerffe11-sky: #87CEFA;            /* secondary accent                */
  --layerffe11-sky-soft: rgba(135, 206, 250, 0.14);
  --layerffe11-white: #FFFFFF;
  --layerffe11-text: rgba(255, 255, 255, 0.92);
  --layerffe11-text-dim: rgba(255, 255, 255, 0.66);
  --layerffe11-text-faint: rgba(255, 255, 255, 0.44);
  --layerffe11-canvas: 430px;           /* max phone-canvas width          */
  --layerffe11-radius-card: 10px;       /* light card rounding             */
  --layerffe11-radius-btn: 8px;         /* compact buttons                 */
  --layerffe11-radius-tile: 12px;       /* icon tiles                      */
  --layerffe11-topbar-h: 56px;
  --layerffe11-bnav-h: 64px;
  --layerffe11-gap: 12px;
  --layerffe11-gap-sm: 8px;
  --layerffe11-font-head: "Trebuchet MS", "Segoe UI", Tahoma, Verdana, system-ui, sans-serif;
  --layerffe11-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --layerffe11-font-mono: "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;
  --layerffe11-safe-b: env(safe-area-inset-bottom, 0px);
  --layerffe11-safe-t: env(safe-area-inset-top, 0px);
  --layerffe11-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset + base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0;
  background: var(--layerffe11-ink-deep);
  color: var(--layerffe11-text);
  font-family: var(--layerffe11-font-body);
  font-size: 15px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--layerffe11-sky); }

button {
  font-family: inherit;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

h1, h2, h3, h4 {
  font-family: var(--layerffe11-font-head);
  color: var(--layerffe11-white);
  line-height: 1.25;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

h1 { font-size: 1.52rem; font-weight: 800; }
h2 { font-size: 1.18rem; font-weight: 700; }
h3 { font-size: 1.0rem; font-weight: 700; }

p { margin: 0 0 0.85em; }

p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 0.9em; padding-left: 1.15em; }

li { margin-bottom: 0.35em; }

:focus-visible {
  outline: 2px solid var(--layerffe11-sky);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: var(--layerffe11-teal);
  color: #0D2B30;
}

/* skip link for keyboard users */
.layerffe11-skip {
  position: fixed;
  top: 4px;
  left: 50%;
  transform: translateX(-50%) translateY(-200%);
  z-index: 200;
  padding: 9px 16px;
  background: var(--layerffe11-teal);
  color: #0D2B30;
  font-weight: 700;
  font-size: 13px;
  border-radius: var(--layerffe11-radius-btn);
  transition: transform 0.18s var(--layerffe11-ease);
}

.layerffe11-skip:focus {
  transform: translateX(-50%) translateY(0);
}

/* --------------------------------------------------------------------------
   3. Phone canvas
   -------------------------------------------------------------------------- */
.layerffe11-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

.layerffe11-shell {
  position: relative;
  width: 100%;
  max-width: var(--layerffe11-canvas);
  background:
    radial-gradient(120% 46% at 50% 0%, rgba(0, 206, 209, 0.10), transparent 60%),
    var(--layerffe11-ink);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.55);
  overflow-x: clip;
}

.layerffe11-main {
  padding: calc(var(--layerffe11-topbar-h) + var(--layerffe11-safe-t) + 10px) 14px
           calc(var(--layerffe11-bnav-h) + var(--layerffe11-safe-b) + 30px);
}

/* generic section rhythm */
.layerffe11-sec {
  margin: 0 0 26px;
}

.layerffe11-sec + .layerffe11-sec { margin-top: 26px; }

/* eyebrow chip used above section titles */
.layerffe11-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 8px;
  border: 1px solid rgba(0, 206, 209, 0.45);
  border-radius: 999px;
  background: var(--layerffe11-teal-glow);
  color: var(--layerffe11-teal);
  font-family: var(--layerffe11-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.layerffe11-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
}

/* count pill next to headings */
.layerffe11-count {
  display: inline-block;
  vertical-align: 2px;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--layerffe11-sky-soft);
  border: 1px solid rgba(135, 206, 250, 0.35);
  color: var(--layerffe11-sky);
  font-family: var(--layerffe11-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.layerffe11-lede {
  color: var(--layerffe11-text-dim);
  font-size: 13.5px;
  margin: 0 0 14px;
}

/* --------------------------------------------------------------------------
   4. Top bar - minimal title + action band
   -------------------------------------------------------------------------- */
.layerffe11-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--layerffe11-canvas);
  height: calc(var(--layerffe11-topbar-h) + var(--layerffe11-safe-t));
  padding: var(--layerffe11-safe-t) 10px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(22, 32, 42, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(135, 206, 250, 0.16);
  z-index: 90;
}

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

.layerffe11-brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(135, 206, 250, 0.35);
  background: var(--layerffe11-white);
  object-fit: cover;
  flex: 0 0 auto;
}

.layerffe11-brand-name {
  font-family: var(--layerffe11-font-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--layerffe11-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.layerffe11-brand-name b {
  color: var(--layerffe11-teal);
  font-weight: 800;
}

.layerffe11-topactions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

/* compact dual-button CTA group */
.layerffe11-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: var(--layerffe11-radius-btn);
  font-family: var(--layerffe11-font-head);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: transform 0.14s var(--layerffe11-ease),
              filter 0.14s var(--layerffe11-ease),
              background 0.14s var(--layerffe11-ease);
  -webkit-tap-highlight-color: transparent;
}

.layerffe11-btn:active { transform: scale(0.96); }

.layerffe11-btn--solid {
  background: linear-gradient(180deg, #17E2E4, var(--layerffe11-teal));
  color: #0D2B30;
  box-shadow: 0 3px 12px rgba(0, 206, 209, 0.35);
}

.layerffe11-btn--solid:hover { filter: brightness(1.08); }

.layerffe11-btn--ghost {
  background: transparent;
  border: 1px solid rgba(135, 206, 250, 0.6);
  color: var(--layerffe11-sky);
}

.layerffe11-btn--ghost:hover {
  background: var(--layerffe11-sky-soft);
}

.layerffe11-btn--sm {
  min-height: 32px;
  padding: 6px 10px;
  font-size: 11px;
}

/* hamburger */
.layerffe11-menubtn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: var(--layerffe11-radius-btn);
  border: 1px solid rgba(135, 206, 250, 0.35);
  background: rgba(135, 206, 250, 0.08);
  flex: 0 0 auto;
}

.layerffe11-menubtn span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: var(--layerffe11-sky);
  transition: transform 0.22s var(--layerffe11-ease), opacity 0.18s linear;
}

.layerffe11-menubtn.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.layerffe11-menubtn.is-open span:nth-child(2) { opacity: 0; }
.layerffe11-menubtn.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* narrow phones: shrink brand + buttons */
@media (max-width: 354px) {
  .layerffe11-brand-name { font-size: 11.5px; }
  .layerffe11-brand-logo { width: 28px; height: 28px; }
  .layerffe11-btn--sm { padding: 6px 8px; font-size: 10.5px; }
  .layerffe11-topbar { gap: 5px; padding-left: 8px; padding-right: 8px; }
}

/* --------------------------------------------------------------------------
   5. Side drawer menu
   -------------------------------------------------------------------------- */
.layerffe11-scrim {
  position: fixed;
  inset: 0;
  background: rgba(8, 14, 20, 0.66);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s var(--layerffe11-ease), visibility 0.24s;
  z-index: 120;
}

.layerffe11-scrim.is-on { opacity: 1; visibility: visible; }

.layerffe11-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(84vw, 322px);
  background: var(--layerffe11-ink-deep);
  border-left: 1px solid rgba(135, 206, 250, 0.18);
  transform: translateX(102%);
  transition: transform 0.26s var(--layerffe11-ease);
  z-index: 130;
  display: flex;
  flex-direction: column;
  padding: calc(14px + var(--layerffe11-safe-t)) 16px calc(16px + var(--layerffe11-safe-b));
  overflow-y: auto;
}

.layerffe11-drawer.is-on { transform: translateX(0); }

.layerffe11-drawer-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px dashed rgba(135, 206, 250, 0.22);
}

.layerffe11-drawer-head img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--layerffe11-white);
  object-fit: cover;
}

.layerffe11-drawer-title {
  font-family: var(--layerffe11-font-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--layerffe11-white);
}

.layerffe11-drawer-close {
  margin-left: auto;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(135, 206, 250, 0.35);
  color: var(--layerffe11-sky);
  font-size: 16px;
  line-height: 1;
}

.layerffe11-drawer-group {
  margin-bottom: 16px;
}

.layerffe11-drawer-label {
  font-family: var(--layerffe11-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--layerffe11-text-faint);
  margin: 0 0 6px 2px;
}

.layerffe11-drawer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  margin-bottom: 4px;
  border-radius: var(--layerffe11-radius-btn);
  border: 1px solid transparent;
  text-decoration: none;
  color: var(--layerffe11-text);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.layerffe11-drawer-link::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--layerffe11-teal);
  opacity: 0.55;
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.layerffe11-drawer-link:hover,
.layerffe11-drawer-link:focus-visible {
  background: var(--layerffe11-sky-soft);
  border-color: rgba(135, 206, 250, 0.3);
  color: var(--layerffe11-white);
}

.layerffe11-drawer-link.is-here {
  background: var(--layerffe11-teal-glow);
  border-color: rgba(0, 206, 209, 0.5);
  color: var(--layerffe11-teal);
}

.layerffe11-drawer-cta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed rgba(135, 206, 250, 0.22);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.layerffe11-hero {
  position: relative;
  padding: 16px 2px 18px;
  margin-bottom: 4px;
}

.layerffe11-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 206, 209, 0.6), transparent);
}

.layerffe11-hero-kicker {
  display: inline-block;
  margin: 0 0 10px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 206, 209, 0.45);
  background: var(--layerffe11-teal-glow);
  color: var(--layerffe11-teal);
  font-family: var(--layerffe11-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.layerffe11-hero h1 {
  margin-bottom: 8px;
  text-wrap: balance;
}

.layerffe11-hero h1 em {
  font-style: normal;
  color: var(--layerffe11-teal);
}

.layerffe11-hero-lede {
  color: var(--layerffe11-text-dim);
  font-size: 13.5px;
  max-width: 40ch;
  margin-bottom: 14px;
}

.layerffe11-hero-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  max-width: 320px;
  margin-bottom: 14px;
}

.layerffe11-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.layerffe11-stat {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 78px;
  padding: 8px 12px;
  border-radius: var(--layerffe11-radius-card);
  background: var(--layerffe11-ink-raise);
  border: 1px solid var(--layerffe11-ink-line);
}

.layerffe11-stat b {
  font-family: var(--layerffe11-font-mono);
  font-size: 16px;
  font-weight: 800;
  color: var(--layerffe11-sky);
  line-height: 1.1;
}

.layerffe11-stat span {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--layerffe11-text-faint);
}

/* --------------------------------------------------------------------------
   7. Promo carousel
   -------------------------------------------------------------------------- */
.layerffe11-carousel {
  position: relative;
  border-radius: var(--layerffe11-radius-card);
  overflow: hidden;
  border: 1px solid var(--layerffe11-ink-line);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.38);
  margin-bottom: 6px;
}

.layerffe11-track {
  display: flex;
  transition: transform 0.42s var(--layerffe11-ease);
  touch-action: pan-y;
}

.layerffe11-slide {
  flex: 0 0 100%;
  position: relative;
  display: block;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.layerffe11-slide img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  background: var(--layerffe11-ink-raise);
}

.layerffe11-slide::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(13, 22, 30, 0.85));
  pointer-events: none;
}

.layerffe11-slide-note {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--layerffe11-white);
  font-family: var(--layerffe11-font-head);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
  pointer-events: none;
}

.layerffe11-slide-note svg { flex: 0 0 auto; }

.layerffe11-dots {
  position: absolute;
  right: 10px;
  bottom: 9px;
  display: flex;
  gap: 5px;
  z-index: 3;
}

.layerffe11-dot {
  width: 22px;
  height: 6px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  transition: background 0.2s ease, transform 0.2s var(--layerffe11-ease);
}

.layerffe11-dot.is-on {
  background: var(--layerffe11-teal);
  transform: scaleX(1.12);
}

/* --------------------------------------------------------------------------
   8. Game area
   -------------------------------------------------------------------------- */
.layerffe11-gsec { margin-bottom: 28px; }

.layerffe11-gsec-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.layerffe11-gsec-head h2 {
  margin: 0;
  font-size: 1.08rem;
  text-wrap: balance;
}

.layerffe11-gintro {
  color: var(--layerffe11-text-dim);
  font-size: 12.5px;
  margin: 0 0 12px;
}

/* horizontal icon-name bar rail (hot lane) */
.layerffe11-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 148px;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2px 2px 10px;
  margin: 0 -2px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 206, 209, 0.4) transparent;
}

.layerffe11-rail::-webkit-scrollbar { height: 4px; }
.layerffe11-rail::-webkit-scrollbar-thumb {
  background: rgba(0, 206, 209, 0.4);
  border-radius: 4px;
}
.layerffe11-rail::-webkit-scrollbar-track { background: transparent; }

.layerffe11-railcard {
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 64px;
  padding: 8px;
  border-radius: var(--layerffe11-radius-card);
  background: linear-gradient(135deg, var(--layerffe11-ink-raise), #223243);
  border: 1px solid var(--layerffe11-ink-line);
  text-decoration: none;
  transition: border-color 0.16s ease, transform 0.16s var(--layerffe11-ease);
  -webkit-tap-highlight-color: transparent;
}

.layerffe11-railcard:hover,
.layerffe11-railcard:focus-visible {
  border-color: rgba(0, 206, 209, 0.55);
  transform: translateY(-2px);
}

.layerffe11-railcard:active { transform: scale(0.97); }

.layerffe11-railcard img {
  width: 46px;
  height: 46px;
  border-radius: 9px;
  object-fit: cover;
  background: #0F1B26;
  flex: 0 0 auto;
}

.layerffe11-railcard b {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--layerffe11-text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

/* compact icon grid for cards / live / fishing / slot */
.layerffe11-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 8px;
}

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

.layerffe11-gtile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  border-radius: var(--layerffe11-radius-tile);
  transition: transform 0.16s var(--layerffe11-ease);
  -webkit-tap-highlight-color: transparent;
  min-width: 0;
}

.layerffe11-gtile:hover,
.layerffe11-gtile:focus-visible { transform: translateY(-3px); }

.layerffe11-gtile:active { transform: scale(0.94); }

.layerffe11-gtile-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--layerffe11-radius-tile);
  object-fit: cover;
  background: #0F1B26;
  border: 1px solid var(--layerffe11-ink-line);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.layerffe11-gtile:hover .layerffe11-gtile-img,
.layerffe11-gtile:focus-visible .layerffe11-gtile-img {
  border-color: rgba(0, 206, 209, 0.6);
  box-shadow: 0 6px 16px rgba(0, 206, 209, 0.18);
}

.layerffe11-gtile-name {
  /* horizontal name strip under each icon */
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: center;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.28;
  color: var(--layerffe11-text-dim);
  min-height: 2.56em;
}

/* lane link at the end of the hot rail */
.layerffe11-raillink {
  scroll-snap-align: end;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 64px;
  padding: 8px 14px;
  border-radius: var(--layerffe11-radius-card);
  border: 1px dashed rgba(0, 206, 209, 0.5);
  background: var(--layerffe11-teal-glow);
  color: var(--layerffe11-teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
}

/* --------------------------------------------------------------------------
   9. Content modules
   -------------------------------------------------------------------------- */

/* winners board */
.layerffe11-winboard {
  border: 1px solid var(--layerffe11-ink-line);
  border-radius: var(--layerffe11-radius-card);
  background: linear-gradient(180deg, #263749, var(--layerffe11-ink-raise));
  padding: 12px 12px 6px;
  overflow: hidden;
}

.layerffe11-winrow {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 2px;
  border-bottom: 1px dashed rgba(135, 206, 250, 0.14);
  opacity: 1;
  transition: opacity 0.5s ease, background 0.5s ease;
}

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

.layerffe11-winrow.is-fresh {
  background: linear-gradient(90deg, rgba(0, 206, 209, 0.14), transparent 70%);
}

.layerffe11-winface {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--layerffe11-font-mono);
  font-size: 12px;
  font-weight: 800;
  color: #0D2B30;
  background: linear-gradient(135deg, #9FD8FB, var(--layerffe11-sky));
}

.layerffe11-winmeta {
  min-width: 0;
  flex: 1;
}

.layerffe11-winmeta b {
  display: block;
  font-size: 12.5px;
  color: var(--layerffe11-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.layerffe11-winmeta span {
  font-size: 11px;
  color: var(--layerffe11-text-faint);
}

.layerffe11-winamt {
  flex: 0 0 auto;
  font-family: var(--layerffe11-font-mono);
  font-size: 13px;
  font-weight: 800;
  color: var(--layerffe11-teal);
}

.layerffe11-winnote {
  margin: 8px 2px 6px;
  font-size: 10.5px;
  color: var(--layerffe11-text-faint);
}

/* payment conditions */
.layerffe11-paygrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.layerffe11-payitem {
  padding: 10px;
  border-radius: var(--layerffe11-radius-card);
  background: var(--layerffe11-ink-raise);
  border: 1px solid var(--layerffe11-ink-line);
  border-top: 2px solid var(--layerffe11-teal);
}

.layerffe11-payitem b {
  display: block;
  font-family: var(--layerffe11-font-head);
  font-size: 13px;
  color: var(--layerffe11-white);
  margin-bottom: 3px;
}

.layerffe11-payitem span {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--layerffe11-text-dim);
  display: block;
}

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

.layerffe11-steps li {
  counter-increment: layerffe11-step;
  position: relative;
  padding: 0 0 16px 44px;
  margin: 0;
}

.layerffe11-steps li:last-child { padding-bottom: 2px; }

.layerffe11-steps li::before {
  content: counter(layerffe11-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--layerffe11-font-mono);
  font-size: 12px;
  font-weight: 800;
  color: #0D2B30;
  background: linear-gradient(135deg, #17E2E4, var(--layerffe11-teal));
}

.layerffe11-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 15.5px;
  top: 34px;
  bottom: 2px;
  width: 1px;
  background: linear-gradient(180deg, rgba(0, 206, 209, 0.55), rgba(0, 206, 209, 0.08));
}

.layerffe11-steps b {
  display: block;
  font-family: var(--layerffe11-font-head);
  font-size: 13.5px;
  color: var(--layerffe11-white);
  margin-bottom: 2px;
}

.layerffe11-steps p {
  margin: 0;
  font-size: 12.5px;
  color: var(--layerffe11-text-dim);
}

/* tricks */
.layerffe11-trick {
  display: flex;
  gap: 10px;
  padding: 11px 12px;
  margin-bottom: 8px;
  border-radius: var(--layerffe11-radius-card);
  background: var(--layerffe11-ink-raise);
  border: 1px solid var(--layerffe11-ink-line);
  border-left: 3px solid var(--layerffe11-sky);
}

.layerffe11-trick:last-child { margin-bottom: 0; }

.layerffe11-tricktag {
  flex: 0 0 auto;
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--layerffe11-sky-soft);
  color: var(--layerffe11-sky);
  font-family: var(--layerffe11-font-mono);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.layerffe11-trick p {
  margin: 0;
  font-size: 12.5px;
  color: var(--layerffe11-text-dim);
}

.layerffe11-trick p b { color: var(--layerffe11-white); }

/* takeaways checklist */
.layerffe11-takelist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.layerffe11-takelist li {
  position: relative;
  padding: 9px 10px 9px 36px;
  margin-bottom: 6px;
  border-radius: var(--layerffe11-radius-card);
  background: rgba(0, 206, 209, 0.06);
  border: 1px solid rgba(0, 206, 209, 0.22);
  font-size: 12.5px;
  color: var(--layerffe11-text);
}

.layerffe11-takelist li::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 13px;
  width: 13px;
  height: 7px;
  border-left: 2.5px solid var(--layerffe11-teal);
  border-bottom: 2.5px solid var(--layerffe11-teal);
  transform: rotate(-45deg);
}

/* pros vs limitations split */
.layerffe11-procon {
  display: grid;
  gap: 8px;
}

.layerffe11-procol {
  border-radius: var(--layerffe11-radius-card);
  padding: 11px 12px;
}

.layerffe11-procol--good {
  background: linear-gradient(180deg, rgba(0, 206, 209, 0.14), rgba(0, 206, 209, 0.05));
  border: 1px solid rgba(0, 206, 209, 0.35);
}

.layerffe11-procol--warn {
  background: linear-gradient(180deg, rgba(135, 206, 250, 0.10), rgba(135, 206, 250, 0.03));
  border: 1px solid rgba(135, 206, 250, 0.28);
}

.layerffe11-procol h3 { margin-bottom: 8px; }

.layerffe11-procol ul { margin: 0; padding: 0; list-style: none; }

.layerffe11-procol li {
  position: relative;
  padding-left: 20px;
  font-size: 12.5px;
  color: var(--layerffe11-text-dim);
  margin-bottom: 7px;
}

.layerffe11-procol li:last-child { margin-bottom: 0; }

.layerffe11-procol--good li::before {
  content: "+";
  position: absolute;
  left: 2px;
  font-family: var(--layerffe11-font-mono);
  font-weight: 800;
  color: var(--layerffe11-teal);
}

.layerffe11-procol--warn li::before {
  content: "!";
  position: absolute;
  left: 4px;
  font-family: var(--layerffe11-font-mono);
  font-weight: 800;
  color: var(--layerffe11-sky);
}

/* inline body links inside copy */
.layerffe11-inlink {
  color: var(--layerffe11-sky);
  text-decoration: underline;
  text-decoration-color: rgba(135, 206, 250, 0.5);
  text-underline-offset: 3px;
  font-weight: 600;
}

.layerffe11-inlink:hover { color: var(--layerffe11-white); }

/* text link styled as promo action inside copy */
.layerffe11-actlink {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--layerffe11-teal);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid rgba(0, 206, 209, 0.45);
  padding-bottom: 1px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.layerffe11-actlink:active { opacity: 0.75; }

/* --------------------------------------------------------------------------
   10. Extended footer (home only)
   -------------------------------------------------------------------------- */
.layerffe11-xfooter {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(135, 206, 250, 0.18);
  background:
    linear-gradient(180deg, rgba(22, 32, 42, 0.0), rgba(22, 32, 42, 0.85) 30%),
    transparent;
}

/* two-column page directory */
.layerffe11-dirgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 20px;
}

.layerffe11-dirlink {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 52px;
  padding: 9px 10px;
  border-radius: var(--layerffe11-radius-card);
  background: var(--layerffe11-ink-raise);
  border: 1px solid var(--layerffe11-ink-line);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s var(--layerffe11-ease);
}

.layerffe11-dirlink:hover,
.layerffe11-dirlink:focus-visible {
  border-color: rgba(0, 206, 209, 0.5);
  transform: translateY(-2px);
}

.layerffe11-dirlink b {
  font-family: var(--layerffe11-font-head);
  font-size: 12px;
  color: var(--layerffe11-white);
}

.layerffe11-dirlink span {
  font-size: 10.5px;
  line-height: 1.35;
  color: var(--layerffe11-text-faint);
}

/* brand block */
.layerffe11-xf-brand {
  margin-bottom: 18px;
  color: var(--layerffe11-text-dim);
  font-size: 12.5px;
}

.layerffe11-xf-brand h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

/* promotion actions */
.layerffe11-xf-promos {
  margin-bottom: 18px;
}

.layerffe11-promorow {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  margin-bottom: 6px;
  border-radius: var(--layerffe11-radius-btn);
  background: linear-gradient(90deg, rgba(0, 206, 209, 0.12), rgba(0, 206, 209, 0.03));
  border: 1px solid rgba(0, 206, 209, 0.3);
  color: var(--layerffe11-white);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  transition: filter 0.14s ease, transform 0.14s var(--layerffe11-ease);
  -webkit-tap-highlight-color: transparent;
}

.layerffe11-promorow:hover { filter: brightness(1.15); }
.layerffe11-promorow:active { transform: scale(0.98); }

.layerffe11-promorow i {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 206, 209, 0.22);
  color: var(--layerffe11-teal);
  font-family: var(--layerffe11-font-mono);
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.layerffe11-promorow small {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--layerffe11-text-faint);
}

.layerffe11-promorow .layerffe11-arrow {
  margin-left: auto;
  color: var(--layerffe11-teal);
  flex: 0 0 auto;
}

/* disclaimer */
.layerffe11-xf-disclaim {
  padding: 11px 12px;
  border-radius: var(--layerffe11-radius-card);
  border: 1px dashed rgba(135, 206, 250, 0.3);
  font-size: 11px;
  line-height: 1.55;
  color: var(--layerffe11-text-faint);
}

/* copyright */
.layerffe11-copy {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(135, 206, 250, 0.14);
  text-align: center;
  font-size: 11px;
  color: var(--layerffe11-text-faint);
}

.layerffe11-copy b {
  color: var(--layerffe11-text-dim);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   11. Bottom navigation - outlined function bar
   -------------------------------------------------------------------------- */
.layerffe11-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--layerffe11-canvas);
  height: calc(var(--layerffe11-bnav-h) + var(--layerffe11-safe-b));
  padding-bottom: var(--layerffe11-safe-b);
  display: flex;
  align-items: stretch;
  background: rgba(22, 32, 42, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(135, 206, 250, 0.22);
  z-index: 80;
}

.layerffe11-bnav-item {
  position: relative;
  flex: 1 1 20%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  color: var(--layerffe11-text-dim);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding-top: 7px;
  padding-bottom: 6px;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.18s ease;
}

/* containerized symbol tile */
.layerffe11-bnav-ico {
  width: 32px;
  height: 26px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid transparent;
  background: transparent;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.layerffe11-bnav-item svg {
  width: 19px;
  height: 19px;
  display: block;
}

.layerffe11-bnav-item:hover { color: var(--layerffe11-sky); }

.layerffe11-bnav-item.is-on {
  color: var(--layerffe11-teal);
  background: linear-gradient(180deg, rgba(0, 206, 209, 0.10), transparent);
}

.layerffe11-bnav-item.is-on .layerffe11-bnav-ico {
  border-color: rgba(0, 206, 209, 0.55);
  background: rgba(0, 206, 209, 0.14);
}

/* sliding indicator */
.layerffe11-bnav-ind {
  position: absolute;
  top: 0;
  left: 0;
  width: 20%;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, #17E2E4, var(--layerffe11-teal));
  transform: translateX(0);
  transition: transform 0.28s var(--layerffe11-ease);
}

/* --------------------------------------------------------------------------
   12. Reveal animation (restrained fade)
   -------------------------------------------------------------------------- */
.layerffe11-rv {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s var(--layerffe11-ease);
}

.layerffe11-rv.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .layerffe11-rv { opacity: 1; transform: none; transition: none; }
  .layerffe11-track { transition: none; }
  .layerffe11-bnav-ind { transition: none; }
  .layerffe11-winrow { transition: none; }
}

/* --------------------------------------------------------------------------
   13. Wide-screen tuning - keep the phone canvas
   -------------------------------------------------------------------------- */
@media (min-width: 430px) {
  .layerffe11-main { padding-left: 18px; padding-right: 18px; }
  .layerffe11-hero-lede { font-size: 14px; }
  .layerffe11-rail { grid-auto-columns: 156px; }
  .layerffe11-slide-note { font-size: 12.5px; }
}

@media (min-width: 700px) {
  .layerffe11-dirgrid { gap: 10px; }
  .layerffe11-grid { gap: 12px 10px; }
  .layerffe11-gtile-name { font-size: 11px; }
}

/* helper: visually hidden but accessible */
.layerffe11-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
