/* ==========================================================================
   fb77 slot - mobile-first basefile stylesheet
   file   : css/frame-compact-1373cf.css
   prefix : frame1373c-
   palette: #00FA9A / #9AFF9A / #00FF00 / #273746 (bg) / #E0E0E0 (text)
   tone   : monospace accents + regular body, mixed radii, square CTAs,
            slide-in drawer, light card lift, center-raised bottom nav
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --frame1373c-bg: #273746;
  --frame1373c-bg-raise: rgba(236, 255, 248, 0.045);
  --frame1373c-bg-sink: rgba(9, 15, 20, 0.55);
  --frame1373c-bar: rgba(15, 23, 31, 0.97);
  --frame1373c-line: rgba(154, 255, 154, 0.16);
  --frame1373c-line-strong: rgba(0, 250, 154, 0.42);
  --frame1373c-mint: #00FA9A;
  --frame1373c-mintsoft: #9AFF9A;
  --frame1373c-green: #00FF00;
  --frame1373c-paper: #E0E0E0;
  --frame1373c-muted: rgba(224, 224, 224, 0.68);
  --frame1373c-faint: rgba(224, 224, 224, 0.46);
  --frame1373c-mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, "Courier New", monospace;
  --frame1373c-body: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Noto Sans Bengali", "Hind Siliguri", Arial, sans-serif;
  --frame1373c-canvas: 480px;
  --frame1373c-topbar-h: 56px;
  --frame1373c-bottomnav-h: 64px;
  --frame1373c-r-lg: 14px;
  --frame1373c-r-md: 9px;
  --frame1373c-r-sm: 4px;
}

/* ---------- reset / base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--frame1373c-bg);
  color: var(--frame1373c-paper);
  font-family: var(--frame1373c-body);
  font-size: 14px;
  line-height: 1.72;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
a { color: var(--frame1373c-mintsoft); text-decoration: none; }
a:hover { color: var(--frame1373c-green); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; overflow-wrap: break-word; }
:focus-visible { outline: 2px solid var(--frame1373c-green); outline-offset: 2px; border-radius: 2px; }
.frame1373c-noscroll { overflow: hidden; }

/* monospace accent utility */
.frame1373c-mono { font-family: var(--frame1373c-mono); letter-spacing: 0.1em; }

/* ---------- centered phone canvas ---------- */
.frame1373c-main {
  max-width: var(--frame1373c-canvas);
  margin: 0 auto;
  padding: calc(var(--frame1373c-topbar-h) + 12px) 14px calc(var(--frame1373c-bottomnav-h) + 42px);
}

/* ---------- top action band ---------- */
.frame1373c-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  margin: 0 auto;
  max-width: var(--frame1373c-canvas);
  height: var(--frame1373c-topbar-h);
  background: var(--frame1373c-bar);
  border-bottom: 1px solid var(--frame1373c-line);
}
.frame1373c-topin {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  height: 100%;
  padding: 0 10px;
}
.frame1373c-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.frame1373c-logo {
  width: 32px;
  height: 32px;
  border-radius: var(--frame1373c-r-sm);
  border: 1px solid var(--frame1373c-line-strong);
  flex: none;
}
.frame1373c-brandname {
  font-family: var(--frame1373c-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--frame1373c-paper);
  white-space: nowrap;
}
.frame1373c-topacts { display: flex; align-items: center; gap: 6px; flex: none; }

/* square, high-contrast CTAs */
.frame1373c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 0; /* square CTA shape */
  font-weight: 700;
  line-height: 1.25;
  min-height: 44px;
  padding: 0 10px;
  font-size: 12px;
  text-align: center;
  transition: transform 0.12s ease, filter 0.12s ease;
}
.frame1373c-btn:active { transform: translateY(1px) scale(0.97); }
.frame1373c-btn--solid {
  background: var(--frame1373c-mint);
  color: #16323f;
  box-shadow: 0 0 0 1px rgba(0, 250, 154, 0.35), 0 4px 14px rgba(0, 250, 154, 0.2);
}
.frame1373c-btn--solid:hover { filter: brightness(1.08); color: #16323f; }
.frame1373c-btn--ghost {
  background: transparent;
  color: var(--frame1373c-mintsoft);
  box-shadow: inset 0 0 0 1px var(--frame1373c-line-strong);
}
.frame1373c-btn--ghost:hover { color: var(--frame1373c-green); }
.frame1373c-btn--wide { width: 100%; min-height: 44px; font-size: 14px; }
.frame1373c-brand { flex: 1 1 auto; }
.frame1373c-brandname { overflow: hidden; text-overflow: ellipsis; }
.frame1373c-topacts { gap: 4px; }
.frame1373c-topacts > .frame1373c-btn { min-height: 44px; padding: 0 7px; font-size: 10px; }
.frame1373c-main { min-width: 0; }
.frame1373c-mod p, .frame1373c-mod li { overflow-wrap: anywhere; }
.frame1373c-mod h3 { margin-top: 12px; }
.frame1373c-ctarow { flex-wrap: wrap; }
.frame1373c-ctarow > * { min-width: 0; }
.frame1373c-cdot { min-height: 12px; min-width: 12px; }
.frame1373c-bnav-item--raised .frame1373c-bnav-label { margin-top: 0; }
@media (max-width: 374px) {
  .frame1373c-topin { gap: 3px; padding: 0 6px; }
  .frame1373c-topacts { gap: 3px; }
  .frame1373c-topacts > .frame1373c-btn { padding: 0 5px; font-size: 9px; }
  .frame1373c-brandname { font-size: 12px; }
  .frame1373c-logo { width: 28px; height: 28px; }
  .frame1373c-menubtn { width: 36px; height: 40px; }
  .frame1373c-topbar { overflow: visible; }
}
@media (min-width: 430px) {
  .frame1373c-main { max-width: 480px; }
}

.frame1373c-menubtn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--frame1373c-r-sm);
  color: var(--frame1373c-mint);
  box-shadow: inset 0 0 0 1px var(--frame1373c-line);
  transition: transform 0.12s ease;
}
.frame1373c-menubtn:active { transform: scale(0.92); }

/* ---------- side drawer menu ---------- */
.frame1373c-scrim {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(6, 10, 14, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}
.frame1373c-scrim.frame1373c-is-shown { opacity: 1; visibility: visible; }
.frame1373c-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  width: min(85vw, 312px);
  background: #223140;
  border-left: 1px solid var(--frame1373c-line-strong);
  transform: translateX(103%);
  transition: transform 0.28s cubic-bezier(0.22, 0.9, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding-bottom: env(safe-area-inset-bottom);
}
.frame1373c-drawer.frame1373c-is-open { transform: translateX(0); }
.frame1373c-drawerhead {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid var(--frame1373c-line);
}
.frame1373c-drawerhead .frame1373c-logo { width: 28px; height: 28px; }
.frame1373c-drawerhead-name {
  font-family: var(--frame1373c-mono);
  font-size: 14px;
  font-weight: 700;
  flex: 1;
  min-width: 0;
}
.frame1373c-drawerclose {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--frame1373c-r-sm);
  color: var(--frame1373c-paper);
  box-shadow: inset 0 0 0 1px var(--frame1373c-line);
}
.frame1373c-drawerclose:active { transform: scale(0.92); }
.frame1373c-drawernav { flex: 1; overflow-y: auto; padding: 10px 12px 14px; }
.frame1373c-dgroup {
  font-family: var(--frame1373c-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--frame1373c-mint);
  text-transform: none;
  margin: 14px 4px 6px;
}
.frame1373c-dgroup:first-child { margin-top: 4px; }
.frame1373c-dlink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 0 10px;
  border-radius: var(--frame1373c-r-sm) var(--frame1373c-r-md) var(--frame1373c-r-md) var(--frame1373c-r-sm);
  color: var(--frame1373c-paper);
  font-size: 13.5px;
  border-left: 3px solid transparent;
}
.frame1373c-dlink:hover { background: var(--frame1373c-bg-raise); color: var(--frame1373c-green); }
.frame1373c-dlink[aria-current="page"] {
  border-left-color: var(--frame1373c-mint);
  background: rgba(0, 250, 154, 0.08);
  color: var(--frame1373c-green);
  font-weight: 700;
}
.frame1373c-dlink::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  flex: none;
  opacity: 0.6;
}
.frame1373c-drawercta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--frame1373c-line);
}

/* ---------- hero ---------- */
.frame1373c-hero {
  position: relative;
  margin: 4px 0 16px;
  padding: 18px 16px 18px;
  border: 1px solid var(--frame1373c-line);
  border-radius: var(--frame1373c-r-lg) var(--frame1373c-r-sm) var(--frame1373c-r-lg) var(--frame1373c-r-sm);
  background:
    radial-gradient(130% 95% at 82% -18%, rgba(0, 250, 154, 0.18), transparent 58%),
    radial-gradient(90% 80% at 8% 118%, rgba(0, 255, 0, 0.08), transparent 60%),
    var(--frame1373c-bg-raise);
  overflow: hidden;
}
.frame1373c-kicker {
  font-family: var(--frame1373c-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--frame1373c-mint);
  margin-bottom: 8px;
}
.frame1373c-hero-title {
  font-size: 21px;
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.frame1373c-hero-title em {
  font-style: normal;
  color: var(--frame1373c-green);
}
.frame1373c-lede {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--frame1373c-muted);
}
.frame1373c-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.frame1373c-stats li {
  border: 1px solid var(--frame1373c-line);
  border-radius: var(--frame1373c-r-sm);
  background: var(--frame1373c-bg-sink);
  padding: 8px 6px 7px;
  text-align: center;
}
.frame1373c-statnum {
  display: block;
  font-family: var(--frame1373c-mono);
  font-size: 17px;
  font-weight: 700;
  color: var(--frame1373c-mint);
  line-height: 1.1;
}
.frame1373c-statlabel { font-size: 10.5px; color: var(--frame1373c-faint); }
.frame1373c-ctarow { margin-top: 14px; display: flex; gap: 8px; }

/* ---------- carousel ---------- */
.frame1373c-carousel { margin: 0 0 18px; }
.frame1373c-cslides {
  position: relative;
  border: 1px solid var(--frame1373c-line);
  border-radius: var(--frame1373c-r-md);
  overflow: hidden;
  background: var(--frame1373c-bg-sink);
}
.frame1373c-cslide {
  display: block;
  width: 100%;
  position: relative;
  aspect-ratio: 2 / 1;
  text-align: left;
  visibility: hidden;
  position: absolute;
  inset: 0;
}
.frame1373c-cslide.frame1373c-is-on { visibility: visible; position: relative; }
.frame1373c-cslide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.frame1373c-cslide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(10, 16, 22, 0) 0%, rgba(10, 16, 22, 0.86) 62%);
}
.frame1373c-cslide-cap strong { font-size: 14.5px; line-height: 1.4; color: #fff; }
.frame1373c-cslide-cap em {
  font-style: normal;
  font-size: 11px;
  color: var(--frame1373c-mintsoft);
}
.frame1373c-cslide-cta {
  align-self: flex-start;
  margin-top: 5px;
  background: var(--frame1373c-mint);
  color: #16323f;
  font-weight: 800;
  font-size: 11.5px;
  padding: 6px 10px;
  border-radius: 0;
}
.frame1373c-cdots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 9px;
}
.frame1373c-cdot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: rgba(154, 255, 154, 0.22);
  transition: width 0.18s ease, background 0.18s ease;
}
.frame1373c-cdot.frame1373c-is-on { width: 22px; background: var(--frame1373c-green); }

/* ---------- game sections ---------- */
.frame1373c-gsec { margin: 0 0 22px; }
.frame1373c-gsechead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding: 0 2px 8px;
  border-bottom: 1px dashed var(--frame1373c-line-strong);
  margin-bottom: 12px;
}
.frame1373c-gsec-title {
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.45;
}
.frame1373c-count {
  font-family: var(--frame1373c-mono);
  font-size: 11px;
  color: var(--frame1373c-mint);
  white-space: nowrap;
  border: 1px solid var(--frame1373c-line);
  padding: 2px 7px;
  border-radius: var(--frame1373c-r-sm);
  flex: none;
}
.frame1373c-gsec-lede {
  font-size: 12.5px;
  color: var(--frame1373c-muted);
  margin: -4px 2px 12px;
}

/* game grid: 4 columns at 320px, 5 columns from 430px up */
.frame1373c-ggrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px 7px;
}
.frame1373c-gtile {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-align: left;
  transition: transform 0.14s ease;
}
.frame1373c-gtile:active { transform: translateY(-3px); }
.frame1373c-gtile-thumb {
  display: block;
  border-radius: var(--frame1373c-r-md) var(--frame1373c-r-md) var(--frame1373c-r-sm) var(--frame1373c-r-sm);
  overflow: hidden;
  border: 1px solid var(--frame1373c-line);
  background: var(--frame1373c-bg-sink);
  aspect-ratio: 1 / 1;
}
.frame1373c-gtile-thumb img { width: 100%; height: 100%; object-fit: cover; }
.frame1373c-gtile-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-top: 5px;
  padding: 3px 5px 4px 7px;
  font-size: 10px;
  line-height: 1.35;
  color: var(--frame1373c-paper);
  background: rgba(9, 15, 20, 0.5);
  border-radius: var(--frame1373c-r-sm);
  border-left: 2px solid var(--frame1373c-mint);
  min-height: 27px;
}

/* ---------- content modules ---------- */
.frame1373c-mods { margin-top: 26px; }
.frame1373c-mod {
  position: relative;
  margin: 0 0 16px;
  padding: 15px 14px 16px;
  border: 1px solid var(--frame1373c-line);
  border-radius: var(--frame1373c-r-md) var(--frame1373c-r-sm) var(--frame1373c-r-md) var(--frame1373c-r-sm);
  background: var(--frame1373c-bg-raise);
}
.frame1373c-mod-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
  margin: 2px 0 8px;
}
.frame1373c-mod-lead { font-size: 13px; color: var(--frame1373c-muted); }
.frame1373c-mod p + p { margin-top: 8px; }

/* app module: checklist panel */
.frame1373c-appbox {
  margin-top: 12px;
  border: 1px solid var(--frame1373c-line);
  border-radius: var(--frame1373c-r-sm);
  background: var(--frame1373c-bg-sink);
  padding: 12px;
}
.frame1373c-checklist li {
  position: relative;
  padding: 5px 0 5px 20px;
  font-size: 12.5px;
  color: var(--frame1373c-muted);
}
.frame1373c-checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 8px;
  height: 8px;
  background: var(--frame1373c-mint);
}
.frame1373c-mod-ctarow { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }

/* category compare rows */
.frame1373c-catrows { margin-top: 10px; border-top: 1px solid var(--frame1373c-line); }
.frame1373c-catrow {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 2px;
  border-bottom: 1px solid var(--frame1373c-line);
}
.frame1373c-catchip {
  flex: none;
  width: 92px;
  font-family: var(--frame1373c-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--frame1373c-green);
  border: 1px solid var(--frame1373c-line-strong);
  border-radius: var(--frame1373c-r-sm);
  padding: 3px 6px;
  text-align: center;
  margin-top: 2px;
}
.frame1373c-catrow p { font-size: 12.5px; color: var(--frame1373c-muted); }

/* numbered steps */
.frame1373c-steps { margin-top: 10px; counter-reset: frame1373c-step; }
.frame1373c-step {
  display: flex;
  gap: 11px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--frame1373c-line);
}
.frame1373c-step:last-child { border-bottom: 0; }
.frame1373c-stepnum {
  flex: none;
  font-family: var(--frame1373c-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--frame1373c-mint);
  border: 1px solid var(--frame1373c-line-strong);
  border-radius: var(--frame1373c-r-sm);
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.frame1373c-step b { display: block; font-size: 13px; color: var(--frame1373c-paper); }
.frame1373c-step p { font-size: 12px; color: var(--frame1373c-muted); }

/* trick cards */
.frame1373c-tricks { margin-top: 10px; display: grid; gap: 8px; }
.frame1373c-trick {
  padding: 10px 11px;
  border: 1px solid var(--frame1373c-line);
  border-left: 3px solid var(--frame1373c-green);
  border-radius: 0 var(--frame1373c-r-md) var(--frame1373c-r-md) 0;
  background: var(--frame1373c-bg-sink);
  transition: transform 0.14s ease;
}
.frame1373c-trick:active { transform: translateY(-2px); }
.frame1373c-trick b { display: block; font-size: 12.5px; margin-bottom: 2px; }
.frame1373c-trick p { font-size: 11.5px; color: var(--frame1373c-muted); }

/* summary flow strip */
.frame1373c-flow { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 4px; align-items: center; }
.frame1373c-flowchip {
  font-family: var(--frame1373c-mono);
  font-size: 10.5px;
  color: var(--frame1373c-paper);
  border: 1px solid var(--frame1373c-line-strong);
  border-radius: var(--frame1373c-r-sm);
  padding: 5px 8px;
  background: var(--frame1373c-bg-sink);
}
.frame1373c-flowchip span { color: var(--frame1373c-mint); margin-right: 4px; }
.frame1373c-flowsep { color: var(--frame1373c-faint); font-family: var(--frame1373c-mono); }

/* use case rows */
.frame1373c-userows { margin-top: 10px; display: grid; gap: 8px; }
.frame1373c-userow {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
  align-items: start;
  border: 1px solid var(--frame1373c-line);
  border-radius: var(--frame1373c-r-sm) var(--frame1373c-r-md) var(--frame1373c-r-md) var(--frame1373c-r-sm);
  padding: 9px 10px;
  background: var(--frame1373c-bg-sink);
}
.frame1373c-usetag {
  font-size: 11px;
  font-weight: 700;
  color: var(--frame1373c-green);
  line-height: 1.4;
  padding-top: 2px;
}
.frame1373c-userow p { font-size: 12px; color: var(--frame1373c-muted); }

/* ---------- extended footer (home only) ---------- */
.frame1373c-xfoot {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px dashed var(--frame1373c-line-strong);
}
.frame1373c-xfoot-brand {
  font-family: var(--frame1373c-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--frame1373c-paper);
  margin-bottom: 6px;
}
.frame1373c-xfoot-brand img {
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: -4px;
  margin-right: 7px;
  border-radius: 3px;
}
.frame1373c-xfoot-about { font-size: 12px; color: var(--frame1373c-muted); }
.frame1373c-xfootdir {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 14px;
}
.frame1373c-xfootdir a {
  display: block;
  font-size: 12px;
  color: var(--frame1373c-paper);
  padding: 6px 0 6px 12px;
  position: relative;
  min-height: 30px;
}
.frame1373c-xfootdir a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 5px;
  height: 5px;
  background: var(--frame1373c-mint);
}
.frame1373c-xfootdir a:hover { color: var(--frame1373c-green); }
.frame1373c-xfoot-promos {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.frame1373c-xfoot-promos .frame1373c-btn--wide { grid-column: 1 / -1; }
.frame1373c-xfoot-disclaimer {
  margin-top: 14px;
  font-size: 11px;
  color: var(--frame1373c-faint);
  border: 1px solid var(--frame1373c-line);
  border-radius: var(--frame1373c-r-sm);
  padding: 9px 10px;
  background: var(--frame1373c-bg-sink);
}

/* ---------- generic footer ---------- */
.frame1373c-foot {
  max-width: var(--frame1373c-canvas);
  margin: 0 auto;
  padding: 4px 16px 12px;
  text-align: center;
  font-size: 11px;
  color: var(--frame1373c-faint);
  font-family: var(--frame1373c-mono);
  letter-spacing: 0.04em;
}

/* ---------- bottom navigation (center-raised) ---------- */
.frame1373c-bottomnav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  margin: 0 auto;
  max-width: var(--frame1373c-canvas);
  height: calc(var(--frame1373c-bottomnav-h) + env(safe-area-inset-bottom));
  padding: 0 4px env(safe-area-inset-bottom);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  background: var(--frame1373c-bar);
  border-top: 1px solid var(--frame1373c-line-strong);
}
.frame1373c-bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  color: var(--frame1373c-muted);
  transition: transform 0.12s ease;
}
.frame1373c-bnav-item:active { transform: scale(0.9); }
.frame1373c-bnav-icon {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--frame1373c-r-sm);
  border: 1px solid transparent;
  color: currentColor;
}
.frame1373c-bnav-label { font-size: 10px; line-height: 1.2; }
.frame1373c-bnav-item.frame1373c-is-on { color: var(--frame1373c-green); }
.frame1373c-bnav-item.frame1373c-is-on .frame1373c-bnav-icon {
  border-color: var(--frame1373c-line-strong);
  background: rgba(0, 250, 154, 0.1);
  color: var(--frame1373c-mint);
}
.frame1373c-bnav-item.frame1373c-is-on .frame1373c-bnav-label { font-weight: 800; }
/* raised center action */
.frame1373c-bnav-item--raised { position: relative; }
.frame1373c-bnav-item--raised .frame1373c-bnav-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  margin-top: -18px;
  background: linear-gradient(140deg, var(--frame1373c-mint), var(--frame1373c-green));
  color: #14303c;
  border: 2px solid rgba(224, 224, 224, 0.85);
  box-shadow: 0 6px 18px rgba(0, 250, 154, 0.35);
}
.frame1373c-bnav-item--raised .frame1373c-bnav-label { color: var(--frame1373c-mintsoft); font-weight: 700; margin-top: 0; }

/* ---------- responsive ladder ---------- */
@media (min-width: 375px) {
  .frame1373c-main { padding-left: 16px; padding-right: 16px; }
  .frame1373c-ggrid { gap: 11px 9px; }
  .frame1373c-gtile-name { font-size: 10.5px; }
  .frame1373c-hero-title { font-size: 22px; }
}
/* from 430px the game grid widens to 5 columns */
@media (min-width: 430px) {
  .frame1373c-ggrid { grid-template-columns: repeat(5, 1fr); }
  .frame1373c-tricks { grid-template-columns: 1fr 1fr; }
  .frame1373c-hero-title { font-size: 23px; }
  .frame1373c-cslide-cap strong { font-size: 15.5px; }
}
/* wide screens keep the centered phone canvas with a subtle edge */
@media (min-width: 560px) {
  body { background: #1b2632; }
  .frame1373c-main,
  .frame1373c-topbar,
  .frame1373c-bottomnav,
  .frame1373c-foot {
    box-shadow: 0 0 0 1px rgba(0, 250, 154, 0.1);
  }
  .frame1373c-gtile:hover { transform: translateY(-3px); }
  .frame1373c-trick:hover { transform: translateY(-2px); }
  .frame1373c-dlink:hover { transform: translateX(2px); }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .frame1373c-drawer { transition: none; }
}
