/* ==========================================================================
   vb8 bit - shell-native stylesheet (site: vb8bit.click)
   Palette: #2D2D2D canvas / #36454F shell / #48D1CC accent
   Direction: rounded headings + compact body, near-square corners,
   pure-image game cards, step-advance rhythm, restrained fade motion,
   solid primary CTA with outlined secondary CTA.
   All classes use the framed3661- prefix.
   ========================================================================== */

:root {
  --framed3661-canvas: #2D2D2D;
  --framed3661-canvas-deep: #232323;
  --framed3661-shell: #36454F;
  --framed3661-shell-deep: #2C3840;
  --framed3661-shell-soft: #3B4C57;
  --framed3661-accent: #48D1CC;
  --framed3661-accent-strong: #5FE0DA;
  --framed3661-accent-ink: #0D2625;
  --framed3661-gold: #E4B95B;
  --framed3661-ink: #F2F6F5;
  --framed3661-ink-dim: #B9C4C8;
  --framed3661-ink-faint: #8D9BA1;
  --framed3661-line: #46565F;
  --framed3661-line-soft: #3F4E57;
  --framed3661-radius-xs: 2px;
  --framed3661-radius-s: 3px;
  --framed3661-radius-m: 5px;
  --framed3661-radius-l: 8px;
  --framed3661-font-head: 'Baloo Da 2', 'Hind Siliguri', 'Noto Sans Bengali', 'Trebuchet MS', system-ui, sans-serif;
  --framed3661-font-body: 'Hind Siliguri', 'Noto Sans Bengali', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --framed3661-topbar-h: 116px;
  --framed3661-bnav-h: 60px;
  --framed3661-safe-b: env(safe-area-inset-bottom, 0px);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

* {
  box-sizing: border-box;
}

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

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

/* Centered phone canvas that stays stable on wide screens */
.framed3661-page {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--framed3661-canvas);
  box-shadow: 0 0 0 1px rgba(70, 86, 95, 0.35);
}

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

h1, h2, h3, h4 {
  font-family: var(--framed3661-font-head);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 10px;
  color: var(--framed3661-ink);
  letter-spacing: 0.2px;
}

h1 { font-size: 23px; }
h2 { font-size: 19px; }
h3 { font-size: 16px; }

p { margin: 0 0 12px; }

a {
  color: var(--framed3661-accent);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

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

li { margin-bottom: 6px; }

.framed3661-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--framed3661-accent);
  color: var(--framed3661-accent-ink);
  padding: 10px 16px;
  font-weight: 700;
  border-radius: var(--framed3661-radius-s);
  z-index: 300;
}

.framed3661-skip:focus {
  left: 12px;
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--framed3661-accent-strong);
  outline-offset: 2px;
  border-radius: var(--framed3661-radius-xs);
}

/* --------------------------------------------------------------------------
   Top bar: brand layer + action layer
   -------------------------------------------------------------------------- */

.framed3661-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 120;
  background: linear-gradient(180deg, #343F48 0%, var(--framed3661-shell) 100%);
  border-bottom: 1px solid var(--framed3661-line);
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.35);
}

/* Brand layer: only logo image + site name */
.framed3661-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 8px 12px 6px;
}

.framed3661-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--framed3661-radius-m);
  object-fit: cover;
  border: 1px solid var(--framed3661-line-soft);
  background: var(--framed3661-shell-deep);
  flex: 0 0 auto;
}

.framed3661-brand-name {
  font-family: var(--framed3661-font-head);
  font-size: 21px;
  font-weight: 700;
  color: var(--framed3661-ink);
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.framed3661-brand-name::after {
  content: "";
  display: inline-block;
  width: 26px;
  height: 3px;
  margin-left: 8px;
  vertical-align: middle;
  background: var(--framed3661-accent);
  border-radius: var(--framed3661-radius-xs);
}

/* Action layer: register / login / menu */
.framed3661-action-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding: 0 12px 10px;
}

.framed3661-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 9px 14px;
  font-family: var(--framed3661-font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border-radius: var(--framed3661-radius-s);
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
  border: 1px solid transparent;
}

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

.framed3661-btn-solid {
  background: var(--framed3661-accent);
  color: var(--framed3661-accent-ink);
  border-color: var(--framed3661-accent);
}

.framed3661-btn-solid:hover,
.framed3661-btn-solid:focus-visible {
  background: var(--framed3661-accent-strong);
  text-decoration: none;
}

.framed3661-btn-ghost {
  background: transparent;
  color: var(--framed3661-accent);
  border-color: var(--framed3661-accent);
}

.framed3661-btn-ghost:hover,
.framed3661-btn-ghost:focus-visible {
  background: rgba(72, 209, 204, 0.12);
  text-decoration: none;
}

.framed3661-action-register {
  flex: 1 1 0;
}

.framed3661-action-login {
  flex: 1 1 0;
}

.framed3661-menu-btn {
  flex: 0 0 auto;
  padding: 9px 12px;
}

.framed3661-menu-btn-ico {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 20px;
}

.framed3661-menu-btn-ico i {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

/* --------------------------------------------------------------------------
   Full-height menu layer
   -------------------------------------------------------------------------- */

.framed3661-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  max-width: 480px;
  margin: 0 auto;
  background: linear-gradient(180deg, #2F3B44 0%, var(--framed3661-canvas) 42%);
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.framed3661-menu-open .framed3661-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.framed3661-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--framed3661-line-soft);
}

.framed3661-menu-title {
  font-family: var(--framed3661-font-head);
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.framed3661-menu-close {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--framed3661-line);
  border-radius: var(--framed3661-radius-s);
  color: var(--framed3661-ink-dim);
  font-size: 18px;
  cursor: pointer;
}

.framed3661-menu-close:active {
  transform: translateY(-2px);
}

.framed3661-menu-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0 12px 18px;
  flex: 1 0 auto;
}

.framed3661-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 50px;
  padding: 12px 12px;
  margin-bottom: 6px;
  color: var(--framed3661-ink);
  font-size: 15.5px;
  font-weight: 600;
  background: rgba(54, 69, 79, 0.5);
  border: 1px solid var(--framed3661-line-soft);
  border-radius: var(--framed3661-radius-s);
  position: relative;
}

.framed3661-menu-link::after {
  content: "\203A";
  color: var(--framed3661-accent);
  font-size: 18px;
  font-weight: 700;
}

.framed3661-menu-link:hover,
.framed3661-menu-link:focus-visible {
  background: rgba(72, 209, 204, 0.1);
  text-decoration: none;
}

.framed3661-menu-link:active {
  transform: translateY(-2px);
}

/* Active marker: underline strip on the left edge */
.framed3661-menu-link.framed3661-current {
  border-color: var(--framed3661-accent);
  box-shadow: inset 3px 0 0 var(--framed3661-accent);
}

.framed3661-menu-note {
  padding: 0 16px 22px;
  margin: 0;
  color: var(--framed3661-ink-faint);
  font-size: 12.5px;
}

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

.framed3661-main {
  padding: calc(var(--framed3661-topbar-h) + 12px) 12px calc(var(--framed3661-bnav-h) + var(--framed3661-safe-b) + 34px);
}

.framed3661-kicker {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--framed3661-accent);
  border: 1px solid rgba(72, 209, 204, 0.45);
  border-radius: var(--framed3661-radius-xs);
  padding: 3px 8px;
  margin-bottom: 10px;
}

/* Hero */
.framed3661-hero {
  padding: 14px 2px 4px;
  animation: framed3661-rise 0.4s ease both;
}

.framed3661-hero-note {
  color: var(--framed3661-ink-dim);
  font-size: 14.5px;
}

.framed3661-cta-row {
  display: flex;
  gap: 10px;
  margin: 14px 0 6px;
}

.framed3661-cta-row .framed3661-btn {
  flex: 1 1 0;
}

/* --------------------------------------------------------------------------
   Carousel
   -------------------------------------------------------------------------- */

.framed3661-csl {
  position: relative;
  margin: 16px 0 4px;
  border-radius: var(--framed3661-radius-m);
  overflow: hidden;
  border: 1px solid var(--framed3661-line);
  background: var(--framed3661-shell-deep);
}

.framed3661-csl-view {
  overflow: hidden;
  touch-action: pan-y;
}

.framed3661-csl-track {
  display: flex;
  transition: transform 0.45s ease;
}

.framed3661-csl-slide {
  position: relative;
  flex: 0 0 100%;
  display: block;
  min-height: 132px;
}

.framed3661-csl-slide img {
  width: 100%;
  height: 168px;
  object-fit: cover;
}

.framed3661-csl-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(20, 26, 29, 0) 0%, rgba(20, 26, 29, 0.88) 78%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.framed3661-csl-cap b {
  display: block;
  font-family: var(--framed3661-font-head);
  font-size: 15.5px;
  color: #FFFFFF;
  font-weight: 700;
}

.framed3661-csl-cap span {
  display: block;
  font-size: 11.5px;
  color: var(--framed3661-accent);
  font-weight: 600;
}

.framed3661-csl-cap em {
  font-style: normal;
  flex: 0 0 auto;
  background: var(--framed3661-accent);
  color: var(--framed3661-accent-ink);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 10px;
  border-radius: var(--framed3661-radius-s);
}

.framed3661-csl-dots {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 6px;
}

.framed3661-csl-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--framed3661-accent);
  background: rgba(45, 45, 45, 0.55);
  cursor: pointer;
}

.framed3661-csl-dot[aria-current="true"] {
  background: var(--framed3661-accent);
}

/* --------------------------------------------------------------------------
   Category chips (horizontal shortcut rail)
   -------------------------------------------------------------------------- */

.framed3661-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 2px 10px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.framed3661-chips::-webkit-scrollbar {
  display: none;
}

.framed3661-chip {
  flex: 0 0 auto;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--framed3661-ink-dim);
  background: var(--framed3661-shell-deep);
  border: 1px solid var(--framed3661-line-soft);
  border-radius: var(--framed3661-radius-s);
  white-space: nowrap;
}

.framed3661-chip:hover,
.framed3661-chip:focus-visible {
  color: var(--framed3661-accent);
  border-color: var(--framed3661-accent);
  text-decoration: none;
}

.framed3661-chip:active {
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Game areas
   -------------------------------------------------------------------------- */

.framed3661-games {
  margin-top: 6px;
}

.framed3661-cat {
  margin-bottom: 22px;
  scroll-margin-top: calc(var(--framed3661-topbar-h) + 14px);
}

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

.framed3661-cat-title {
  font-size: 17.5px;
  margin: 0;
}

.framed3661-cat-count {
  flex: 0 0 auto;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--framed3661-accent);
  border: 1px solid rgba(72, 209, 204, 0.4);
  border-radius: var(--framed3661-radius-xs);
  padding: 2px 7px;
}

.framed3661-cat-note {
  color: var(--framed3661-ink-dim);
  font-size: 13px;
  margin: 0 0 12px;
}

/* Stable grid tracks: 4 columns at 320px, 5 from 430px */
.framed3661-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 8px;
}

.framed3661-gcard {
  display: block;
  background: var(--framed3661-shell-deep);
  border: 1px solid var(--framed3661-line-soft);
  border-radius: var(--framed3661-radius-s);
  padding: 5px 4px 7px;
  text-align: center;
  transition: transform 0.12s ease, border-color 0.16s ease;
}

.framed3661-gcard:hover,
.framed3661-gcard:focus-visible {
  border-color: var(--framed3661-accent);
  text-decoration: none;
}

.framed3661-gcard:active {
  transform: translateY(-2px);
}

.framed3661-gcard-img {
  display: block;
  border-radius: var(--framed3661-radius-s);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--framed3661-shell);
}

.framed3661-gcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.framed3661-gcard-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--framed3661-ink);
  min-height: 30px;
}

/* --------------------------------------------------------------------------
   Content modules
   -------------------------------------------------------------------------- */

.framed3661-block {
  background: linear-gradient(180deg, rgba(54, 69, 79, 0.55) 0%, rgba(44, 56, 64, 0.55) 100%);
  border: 1px solid var(--framed3661-line-soft);
  border-radius: var(--framed3661-radius-l);
  padding: 16px 14px 12px;
  margin: 18px 0;
  animation: framed3661-rise 0.4s ease both;
  scroll-margin-top: calc(var(--framed3661-topbar-h) + 14px);
}

.framed3661-block > h2 {
  margin-top: 0;
}

.framed3661-lead {
  color: var(--framed3661-ink);
  font-size: 14.5px;
}

.framed3661-block p {
  color: var(--framed3661-ink-dim);
  font-size: 14px;
}

.framed3661-block strong {
  color: var(--framed3661-ink);
}

/* Steps: numbered advance rail */
.framed3661-steps {
  list-style: none;
  counter-reset: framed3661-step;
  margin: 14px 0 6px;
  padding: 0;
}

.framed3661-step {
  counter-increment: framed3661-step;
  position: relative;
  padding: 0 0 14px 42px;
  border-left: 2px solid var(--framed3661-line);
  margin-left: 14px;
}

.framed3661-step:last-child {
  border-left-color: transparent;
  padding-bottom: 2px;
}

.framed3661-step::before {
  content: counter(framed3661-step);
  position: absolute;
  left: -15px;
  top: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--framed3661-shell);
  border: 1px solid var(--framed3661-accent);
  border-radius: var(--framed3661-radius-s);
  color: var(--framed3661-accent);
  font-family: var(--framed3661-font-head);
  font-weight: 700;
  font-size: 13px;
}

.framed3661-step h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.framed3661-step p {
  margin: 0;
  font-size: 13.5px;
  color: var(--framed3661-ink-dim);
}

/* Feature scan grid */
.framed3661-feat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 6px;
}

.framed3661-feat {
  background: var(--framed3661-shell-deep);
  border: 1px solid var(--framed3661-line-soft);
  border-radius: var(--framed3661-radius-s);
  padding: 10px 10px 8px;
}

.framed3661-feat h3 {
  margin: 0 0 4px;
  font-size: 13.5px;
  color: var(--framed3661-accent);
}

.framed3661-feat p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--framed3661-ink-dim);
}

/* Note list with accent dashes */
.framed3661-note-list {
  list-style: none;
  margin: 10px 0 12px;
  padding: 0;
}

.framed3661-note-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 13.5px;
  color: var(--framed3661-ink-dim);
}

.framed3661-note-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 2px;
  background: var(--framed3661-accent);
}

/* Q&A */
.framed3661-qa {
  border: 1px solid var(--framed3661-line-soft);
  border-radius: var(--framed3661-radius-s);
  background: var(--framed3661-shell-deep);
  margin-bottom: 8px;
  overflow: hidden;
}

.framed3661-qa summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 34px 12px 12px;
  font-weight: 700;
  font-size: 14px;
  color: var(--framed3661-ink);
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.framed3661-qa summary::-webkit-details-marker {
  display: none;
}

.framed3661-qa summary::after {
  content: "+";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--framed3661-accent);
  font-size: 17px;
  font-weight: 700;
}

.framed3661-qa[open] summary::after {
  content: "\2212";
}

.framed3661-qa p {
  margin: 0;
  padding: 0 12px 12px;
  font-size: 13.5px;
  color: var(--framed3661-ink-dim);
}

/* Inline promo text link */
.framed3661-textlink {
  color: var(--framed3661-accent);
  font-weight: 700;
  border-bottom: 1px dashed rgba(72, 209, 204, 0.6);
  cursor: pointer;
}

.framed3661-textlink:hover,
.framed3661-textlink:focus-visible {
  color: var(--framed3661-accent-strong);
  text-decoration: none;
}

/* Wide inline CTA strip inside modules */
.framed3661-inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(72, 209, 204, 0.4);
  background: rgba(72, 209, 204, 0.07);
  border-radius: var(--framed3661-radius-s);
  padding: 10px 12px;
  margin: 12px 0;
}

.framed3661-inline-cta p {
  margin: 0;
  font-size: 13px;
  color: var(--framed3661-ink);
  font-weight: 600;
}

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

.framed3661-ext {
  margin-top: 24px;
  border-top: 3px solid var(--framed3661-accent);
  padding-top: 18px;
}

.framed3661-ext h2 {
  font-size: 16.5px;
}

.framed3661-ext-dir {
  margin-bottom: 18px;
}

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

.framed3661-dir-link {
  display: block;
  min-height: 44px;
  padding: 9px 10px;
  background: var(--framed3661-shell-deep);
  border: 1px solid var(--framed3661-line-soft);
  border-radius: var(--framed3661-radius-s);
  color: var(--framed3661-ink);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
}

.framed3661-dir-link span {
  display: block;
  color: var(--framed3661-ink-faint);
  font-size: 11px;
  font-weight: 400;
}

.framed3661-dir-link:hover,
.framed3661-dir-link:focus-visible {
  border-color: var(--framed3661-accent);
  text-decoration: none;
}

.framed3661-ext-brand {
  margin-bottom: 18px;
  border: 1px solid var(--framed3661-line-soft);
  border-radius: var(--framed3661-radius-m);
  padding: 12px;
  background: rgba(54, 69, 79, 0.4);
}

.framed3661-ext-brand p {
  margin: 0;
  font-size: 13px;
  color: var(--framed3661-ink-dim);
}

/* Horizontal promotion shortcuts */
.framed3661-ext-promos {
  margin-bottom: 18px;
}

.framed3661-ps-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 2px 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.framed3661-ps-row::-webkit-scrollbar {
  display: none;
}

.framed3661-ps {
  flex: 0 0 auto;
  width: 84px;
  min-height: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 6px;
  background: var(--framed3661-shell-deep);
  border: 1px solid var(--framed3661-line);
  border-radius: var(--framed3661-radius-s);
  color: var(--framed3661-ink);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
}

.framed3661-ps svg {
  width: 22px;
  height: 22px;
  color: var(--framed3661-accent);
}

.framed3661-ps:hover,
.framed3661-ps:focus-visible {
  border-color: var(--framed3661-accent);
  text-decoration: none;
}

.framed3661-ps:active {
  transform: translateY(-2px);
}

.framed3661-ext-disc {
  border-top: 1px dashed var(--framed3661-line);
  padding-top: 12px;
}

.framed3661-ext-disc p {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--framed3661-ink-faint);
}

/* Universal footer (copyright only) */
.framed3661-univ {
  margin-top: 16px;
  padding: 12px 0 4px;
  border-top: 1px solid var(--framed3661-line-soft);
  text-align: center;
}

.framed3661-univ p {
  margin: 0 0 4px;
  font-size: 12px;
  color: var(--framed3661-ink-faint);
}

.framed3661-univ b {
  color: var(--framed3661-ink-dim);
}

/* --------------------------------------------------------------------------
   Layered bottom navigation strip
   -------------------------------------------------------------------------- */

.framed3661-bnav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 480px;
  z-index: 130;
  background: linear-gradient(180deg, #333F48 0%, #2B363E 100%);
  border-top: 2px solid var(--framed3661-accent);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.4);
  padding-bottom: var(--framed3661-safe-b);
}

.framed3661-bnav-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.framed3661-bnav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--framed3661-bnav-h);
  padding: 8px 2px 6px;
  color: var(--framed3661-ink-faint);
  font-size: 10.5px;
  font-weight: 700;
  text-align: center;
  position: relative;
}

.framed3661-bnav-link svg {
  width: 21px;
  height: 21px;
  color: var(--framed3661-ink-dim);
}

.framed3661-bnav-link:active {
  transform: translateY(-2px);
}

.framed3661-bnav-link:hover,
.framed3661-bnav-link:focus-visible {
  text-decoration: none;
}

/* Active state: top underline marker inside the layered strip */
.framed3661-bnav-link.framed3661-current {
  color: var(--framed3661-accent);
}

.framed3661-bnav-link.framed3661-current svg {
  color: var(--framed3661-accent);
}

.framed3661-bnav-link.framed3661-current::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 26%;
  right: 26%;
  height: 3px;
  background: var(--framed3661-accent);
  border-radius: 0 0 2px 2px;
}

/* Promo role gets a soft accent chip look */
.framed3661-bnav-link em {
  font-style: normal;
  display: inline-block;
  line-height: 1.25;
  padding: 1px 5px;
  border: 1px solid rgba(72, 209, 204, 0.5);
  border-radius: var(--framed3661-radius-xs);
  font-size: 10px;
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

@keyframes framed3661-rise {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

/* --------------------------------------------------------------------------
   Breakpoints: 375px compact phones, 430px large phones, 560px desktop frame
   -------------------------------------------------------------------------- */

@media (min-width: 375px) {
  h1 { font-size: 25px; }
  h2 { font-size: 20px; }

  .framed3661-logo {
    width: 44px;
    height: 44px;
  }

  .framed3661-brand-name {
    font-size: 22px;
  }

  .framed3661-csl-slide img {
    height: 182px;
  }

  .framed3661-gcard-name {
    font-size: 11.5px;
  }

  .framed3661-grid {
    gap: 12px 10px;
  }
}

@media (min-width: 430px) {
  h1 { font-size: 27px; }

  .framed3661-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .framed3661-csl-slide img {
    height: 196px;
  }

  .framed3661-feat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .framed3661-dir-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .framed3661-main {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (min-width: 560px) {
  body {
    background: #1C1C1C;
  }

  .framed3661-page {
    box-shadow: 0 0 0 1px #46565F, 0 0 44px rgba(0, 0, 0, 0.5);
  }
}

/* Very narrow guard: keep single-line layout safe at 320px */
@media (max-width: 359px) {
  .framed3661-brand-name {
    font-size: 19px;
  }

  .framed3661-action-row {
    gap: 6px;
  }

  .framed3661-btn {
    padding: 9px 8px;
    font-size: 13px;
  }

  .framed3661-grid {
    gap: 8px 6px;
  }
}

/* Bengali help pages use a reading rail, not the home game grid. */
.framed3661-help-intro { padding: 12px 2px 18px; }
.framed3661-help-rail { display: grid; gap: 10px; margin: 18px 0; }
.framed3661-help-row { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--framed3661-line); }
.framed3661-help-index { color: var(--framed3661-accent); font: 700 20px/1.2 var(--framed3661-font-head); }
.framed3661-help-row h2, .framed3661-help-section h2 { font-size: 18px; margin-bottom: 7px; }
.framed3661-help-row p, .framed3661-help-section p { color: var(--framed3661-ink-dim); font-size: 14px; }
.framed3661-help-section { margin: 22px 0; padding: 15px 13px; border-left: 3px solid var(--framed3661-accent); background: rgba(54,69,79,.34); }
.framed3661-answer-line { margin: 0 0 12px; padding: 10px 11px; background: var(--framed3661-shell-deep); border-radius: var(--framed3661-radius-s); }
.framed3661-answer-line b { color: var(--framed3661-accent); }
.framed3661-checklist { list-style: none; margin: 12px 0; padding: 0; }
.framed3661-checklist li { padding: 10px 0 10px 27px; border-bottom: 1px dashed var(--framed3661-line); position: relative; color: var(--framed3661-ink-dim); }
.framed3661-checklist li::before { content: "✓"; position: absolute; left: 2px; color: var(--framed3661-accent); font-weight: 700; }
.framed3661-help-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 13px; margin: 16px 0; border: 1px solid var(--framed3661-accent); background: rgba(72,209,204,.06); }
.framed3661-fact-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.framed3661-fact-table th, .framed3661-fact-table td { text-align: left; vertical-align: top; padding: 9px 7px; border-bottom: 1px solid var(--framed3661-line); }
.framed3661-fact-table th { color: var(--framed3661-accent); width: 34%; }
.framed3661-help-note { border-top: 1px dashed var(--framed3661-line); padding-top: 12px; color: var(--framed3661-ink-faint); font-size: 12px; }
@media (max-width: 359px) { .framed3661-help-row { grid-template-columns: 30px minmax(0,1fr); gap: 8px; } }
