/* ==========================================================================
   joya9.cfd — responsive visuals (mobile-first phone canvas)
   ---------------------------------------------------------------------------
   Class / variable prefix .... framed7987-
   Canvas .................... 320-430px stable, centered on wide screens
   Palette ................... #3A3A3A base, #F5F5F5 ink, #DCDCDC hairlines,
                                #C0C0C0 muted text (plus shades of the base)
   Shape language ............ light card radius + compact buttons,
                                horizontal icon-name bars for games,
                                segmented action buttons for CTAs
   Motion budget ............. menu slide-in + soft card lift, nothing else
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --framed7987-bg: #3a3a3a;            /* page canvas (deep tone) */
  --framed7987-bg-body: #2b2b2b;       /* desktop backdrop behind canvas */
  --framed7987-bg-panel: #313131;      /* cards / strips */
  --framed7987-bg-panel-2: #2e2e2e;    /* recessed panels */
  --framed7987-bg-ink: #f5f5f5;        /* inverted fill (active states) */
  --framed7987-ink: #f5f5f5;           /* primary text */
  --framed7987-ink-soft: #dcdcdc;      /* secondary text */
  --framed7987-ink-mute: #c0c0c0;      /* muted text */
  --framed7987-line: rgba(220, 220, 220, 0.14);
  --framed7987-line-strong: rgba(220, 220, 220, 0.34);
  --framed7987-line-soft: rgba(220, 220, 220, 0.08);
  --framed7987-radius-s: 6px;
  --framed7987-radius: 9px;
  --framed7987-radius-l: 14px;
  --framed7987-tap: 44px;              /* minimum touch target */
  --framed7987-head-h: 58px;           /* fixed header height */
  --framed7987-rail-h: 62px;           /* fixed bottom rail height */
  --framed7987-pad: 14px;              /* canvas side padding */
  --framed7987-ease: cubic-bezier(0.25, 0.6, 0.3, 1);
  --framed7987-font-display: "Trebuchet MS", "Noto Sans Bengali", "Hind Siliguri", "Segoe UI", system-ui, sans-serif;
  --framed7987-font-body: "Segoe UI", "Noto Sans Bengali", "Hind Siliguri", Roboto, system-ui, -apple-system, sans-serif;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--framed7987-bg-body);
  color: var(--framed7987-ink);
  font-family: var(--framed7987-font-body);
  font-size: 15px;
  line-height: 1.62;
  overflow-x: hidden;
}

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

a { color: var(--framed7987-ink-soft); text-decoration: none; }
a:hover { color: var(--framed7987-ink); }

ul, ol { margin: 0; padding: 0; }

h1, h2, h3 {
  font-family: var(--framed7987-font-display);
  color: var(--framed7987-ink);
  line-height: 1.3;
  margin: 0 0 10px;
  letter-spacing: 0.1px;
}

h1 { font-size: 24px; font-weight: 800; }
h2 { font-size: 18.5px; font-weight: 700; }
h3 { font-size: 15.5px; font-weight: 700; }

p { margin: 0 0 12px; color: var(--framed7987-ink-soft); }

:focus-visible {
  outline: 2px solid var(--framed7987-ink);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Accessible helper for icon-only controls */
.framed7987-sronly {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Phone canvas: everything lives inside, wide screens keep it centered */
.framed7987-page {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--framed7987-bg);
  box-shadow: 0 0 0 1px rgba(220, 220, 220, 0.1);
}

/* --------------------------------------------------------------------------
   3. Header — minimal title + action strip (fixed to canvas top)
   -------------------------------------------------------------------------- */
.framed7987-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  margin-inline: auto;
  max-width: 480px;
  height: var(--framed7987-head-h);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  background: rgba(58, 58, 58, 0.96);
  border-bottom: 1px solid var(--framed7987-line);
  z-index: 40;
  backdrop-filter: saturate(1.1) blur(6px);
}

.framed7987-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-right: auto;
}

.framed7987-logo {
  width: 34px;
  height: 34px;
  border-radius: var(--framed7987-radius-s);
  border: 1px solid var(--framed7987-line-strong);
  object-fit: cover;
  flex: none;
}

.framed7987-brandname {
  font-family: var(--framed7987-font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--framed7987-ink);
  white-space: nowrap;
}

.framed7987-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

/* Segmented action bar: one frame, two compact segments divided by a hairline */
.framed7987-seg {
  display: flex;
  align-items: stretch;
  height: var(--framed7987-tap);
  border: 1px solid var(--framed7987-line-strong);
  border-radius: var(--framed7987-radius);
  overflow: hidden;
  background: var(--framed7987-bg-panel);
}

.framed7987-segbtn {
  appearance: none;
  border: 0;
  padding: 0 14px;
  min-width: var(--framed7987-tap);
  font-family: var(--framed7987-font-body);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--framed7987-ink-soft);
  background: transparent;
  cursor: pointer;
  transition: background-color 0.22s var(--framed7987-ease), color 0.22s var(--framed7987-ease);
}

.framed7987-segbtn + .framed7987-segbtn {
  border-left: 1px solid var(--framed7987-line);
}

.framed7987-segbtn--primary {
  background: var(--framed7987-bg-ink);
  color: #3a3a3a;
}

.framed7987-segbtn--ghost:active { background: rgba(220, 220, 220, 0.12); }

/* Menu trigger — monochrome icon button */
.framed7987-menubtn,
.framed7987-iconbtn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--framed7987-tap);
  height: var(--framed7987-tap);
  border: 1px solid var(--framed7987-line-strong);
  border-radius: var(--framed7987-radius);
  background: var(--framed7987-bg-panel);
  color: var(--framed7987-ink);
  cursor: pointer;
  transition: background-color 0.22s var(--framed7987-ease), color 0.22s var(--framed7987-ease);
}

.framed7987-menubtn:active { background: var(--framed7987-bg-ink); color: #3a3a3a; }

.framed7987-ic {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   4. Sectioned menu page (slides in over the canvas)
   -------------------------------------------------------------------------- */
.framed7987-menu {
  position: fixed;
  top: 0; bottom: 0; left: 0; right: 0;
  margin-inline: auto;
  max-width: 480px;
  z-index: 60;
  visibility: hidden;
  pointer-events: none;
}

.framed7987-menu--open { visibility: visible; pointer-events: auto; }

.framed7987-menubd {
  position: absolute;
  inset: 0;
  background: rgba(28, 28, 28, 0.68);
  opacity: 0;
  transition: opacity 0.26s var(--framed7987-ease);
  border: 0;
  padding: 0;
  cursor: pointer;
}

.framed7987-menu--open .framed7987-menubd { opacity: 1; }

.framed7987-menupanel {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: min(86%, 332px);
  background: var(--framed7987-bg-panel-2);
  border-right: 1px solid var(--framed7987-line);
  display: flex;
  flex-direction: column;
  transform: translateX(-102%);
  transition: transform 0.3s var(--framed7987-ease);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.framed7987-menu--open .framed7987-menupanel { transform: translateX(0); }

.framed7987-menuhead {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid var(--framed7987-line);
  position: sticky;
  top: 0;
  background: var(--framed7987-bg-panel-2);
}

.framed7987-menuhead img { width: 30px; height: 30px; border-radius: var(--framed7987-radius-s); border: 1px solid var(--framed7987-line-strong); }

.framed7987-menutitle {
  font-family: var(--framed7987-font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--framed7987-ink);
  margin-right: auto;
}

.framed7987-menugroup { padding: 14px 14px 4px; }

.framed7987-menulabel {
  display: block;
  font-size: 11px;
  letter-spacing: 1.1px;
  color: var(--framed7987-ink-mute);
  margin: 0 0 8px 2px;
}

.framed7987-menulink {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 6px 10px;
  margin: 0 0 4px;
  border: 1px solid transparent;
  border-radius: var(--framed7987-radius-s);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--framed7987-ink-soft);
  transition: background-color 0.22s var(--framed7987-ease), color 0.22s var(--framed7987-ease), border-color 0.22s var(--framed7987-ease);
}

.framed7987-menulink:hover,
.framed7987-menulink:focus-visible {
  background: rgba(220, 220, 220, 0.08);
  color: var(--framed7987-ink);
}

.framed7987-menulink--on {
  /* contrast inversion for the current page */
  background: var(--framed7987-bg-ink);
  color: #3a3a3a;
  border-color: var(--framed7987-bg-ink);
}

.framed7987-menulink .framed7987-ic { width: 18px; height: 18px; flex: none; opacity: 0.9; }

.framed7987-menufoot {
  margin-top: auto;
  padding: 14px;
  border-top: 1px solid var(--framed7987-line);
  font-size: 12px;
  color: var(--framed7987-ink-mute);
}

/* --------------------------------------------------------------------------
   5. Main column
   -------------------------------------------------------------------------- */
.framed7987-main {
  padding: calc(var(--framed7987-head-h) + 12px) var(--framed7987-pad) calc(var(--framed7987-rail-h) + 34px);
}

section { scroll-margin-top: calc(var(--framed7987-head-h) + 10px); }

.framed7987-block { margin: 0 0 26px; }

/* --------------------------------------------------------------------------
   6. Hero carousel (three local promo banners)
   -------------------------------------------------------------------------- */
.framed7987-hero {
  position: relative;
  border: 1px solid var(--framed7987-line);
  border-radius: var(--framed7987-radius-l);
  overflow: hidden;
  background: var(--framed7987-bg-panel);
  margin: 0 0 22px;
}

.framed7987-track {
  display: flex;
  transition: transform 0.42s var(--framed7987-ease);
  will-change: transform;
}

.framed7987-slide {
  flex: 0 0 100%;
  display: block;
  position: relative;
  aspect-ratio: 5 / 2;
}

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

.framed7987-slidecap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 12px 8px;
  background: linear-gradient(180deg, rgba(43, 43, 43, 0) 0%, rgba(43, 43, 43, 0.88) 78%);
  font-family: var(--framed7987-font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--framed7987-ink);
}

.framed7987-dots {
  position: absolute;
  right: 10px;
  bottom: 8px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.framed7987-dot {
  appearance: none;
  width: 22px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: rgba(220, 220, 220, 0.35);
  cursor: pointer;
  transition: background-color 0.25s var(--framed7987-ease);
}

.framed7987-dot--on { background: var(--framed7987-bg-ink); }

/* --------------------------------------------------------------------------
   7. Intro (unique H1) + category quick-jump strip
   -------------------------------------------------------------------------- */
.framed7987-intro h1 { margin-bottom: 12px; }

.framed7987-kicker {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 1.6px;
  color: var(--framed7987-ink-mute);
  border: 1px solid var(--framed7987-line);
  border-radius: 999px;
  padding: 3px 10px;
  margin: 0 0 12px;
}

.framed7987-jump {
  display: flex;
  gap: 8px;
  margin: 14px 0 0;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.framed7987-jump::-webkit-scrollbar { display: none; }

.framed7987-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 6px 13px;
  border: 1px solid var(--framed7987-line-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--framed7987-ink-soft);
  background: var(--framed7987-bg-panel);
  transition: background-color 0.22s var(--framed7987-ease), color 0.22s var(--framed7987-ease);
}

.framed7987-chip:active { background: var(--framed7987-bg-ink); color: #3a3a3a; }

/* --------------------------------------------------------------------------
   8. Game sections — horizontal icon + name bars
   -------------------------------------------------------------------------- */
.framed7987-sechead {
  display: flex;
  align-items: baseline;
  gap: 10px;
  border-left: 3px solid var(--framed7987-ink);
  padding-left: 10px;
  margin: 0 0 10px;
}

.framed7987-sechead h2 { margin: 0; }

.framed7987-count {
  flex: none;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--framed7987-ink-mute);
  border: 1px solid var(--framed7987-line);
  border-radius: 999px;
  padding: 2px 9px;
  white-space: nowrap;
}

.framed7987-lead {
  font-size: 14px;
  color: var(--framed7987-ink-soft);
  margin: 0 0 12px;
}

.framed7987-lead a,
.framed7987-body a,
.framed7987-xfoot a {
  color: var(--framed7987-ink);
  font-weight: 700;
  border-bottom: 1px solid var(--framed7987-line-strong);
  padding-bottom: 1px;
}

/* Stable grid: 2 bar columns at 320px, 3 columns on wider phones */
.framed7987-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.framed7987-gbar {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 62px;
  padding: 8px;
  background: var(--framed7987-bg-panel);
  border: 1px solid var(--framed7987-line-soft);
  border-radius: var(--framed7987-radius);
  transition: transform 0.22s var(--framed7987-ease), border-color 0.22s var(--framed7987-ease), background-color 0.22s var(--framed7987-ease);
}

.framed7987-gbar:hover,
.framed7987-gbar:focus-visible {
  transform: translateY(-2px);
  border-color: var(--framed7987-line-strong);
  color: var(--framed7987-ink);
}

.framed7987-gthumb {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: var(--framed7987-radius-s);
  overflow: hidden;
  border: 1px solid var(--framed7987-line);
  background: var(--framed7987-bg-panel-2);
}

.framed7987-gthumb img { width: 100%; height: 100%; object-fit: cover; }

.framed7987-gname {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--framed7987-ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.framed7987-gbar:hover .framed7987-gname,
.framed7987-gbar:focus-visible .framed7987-gname { color: var(--framed7987-ink); }

/* --------------------------------------------------------------------------
   9. Content modules (CTA, steps, features, security, relations)
   -------------------------------------------------------------------------- */
.framed7987-panel {
  background: var(--framed7987-bg-panel);
  border: 1px solid var(--framed7987-line-soft);
  border-radius: var(--framed7987-radius-l);
  padding: 16px 14px;
  margin: 0 0 22px;
}

.framed7987-direct {
  border-left: 3px solid var(--framed7987-ink);
  padding: 2px 0 2px 12px;
  margin: 0 0 14px;
  font-weight: 700;
  color: var(--framed7987-ink);
}

/* Wide segmented CTA — two actions sharing one frame */
.framed7987-ctaseg {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 52px;
  margin: 14px 0 4px;
  border: 1px solid var(--framed7987-line-strong);
  border-radius: var(--framed7987-radius-l);
  overflow: hidden;
}

.framed7987-ctabtn {
  appearance: none;
  flex: 1 1 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  font-family: var(--framed7987-font-display);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.22s var(--framed7987-ease), color 0.22s var(--framed7987-ease);
}

.framed7987-ctabtn--solid {
  background: var(--framed7987-bg-ink);
  color: #3a3a3a;
}

.framed7987-ctabtn--line {
  background: transparent;
  color: var(--framed7987-ink);
}

.framed7987-ctabtn + .framed7987-ctabtn { border-left: 1px solid var(--framed7987-line); }
.framed7987-ctabtn--line:active { background: rgba(220, 220, 220, 0.12); }

.framed7987-note {
  font-size: 12px;
  color: var(--framed7987-ink-mute);
  margin: 10px 0 0;
}

/* Numbered steps — compact metric rhythm */
.framed7987-steps { list-style: none; counter-reset: framed7987step; margin: 4px 0 0; }

.framed7987-step {
  counter-increment: framed7987step;
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--framed7987-line-soft);
}

.framed7987-step:last-child { border-bottom: 0; }

.framed7987-step::before {
  content: counter(framed7987step, decimal-leading-zero);
  flex: none;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--framed7987-line-strong);
  border-radius: var(--framed7987-radius-s);
  font-family: var(--framed7987-font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--framed7987-ink);
}

.framed7987-step p { margin: 0; font-size: 13.5px; }

.framed7987-step b { color: var(--framed7987-ink); }

/* Feature rows — label + short explanation, scannable */
.framed7987-facts { margin: 4px 0 0; }

.framed7987-fact {
  display: grid;
  grid-template-columns: minmax(96px, 38%) 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--framed7987-line-soft);
}

.framed7987-fact:last-child { border-bottom: 0; }

.framed7987-fact dt {
  font-family: var(--framed7987-font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--framed7987-ink);
  margin: 0;
}

.framed7987-fact dd { margin: 0; font-size: 13.5px; color: var(--framed7987-ink-soft); }

/* Security checklist */
.framed7987-check { list-style: none; margin: 4px 0 0; }

.framed7987-check li {
  position: relative;
  padding: 8px 0 8px 26px;
  font-size: 13.5px;
  color: var(--framed7987-ink-soft);
  border-bottom: 1px solid var(--framed7987-line-soft);
}

.framed7987-check li:last-child { border-bottom: 0; }

.framed7987-check li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 14px;
  width: 9px;
  height: 9px;
  border: 1.6px solid var(--framed7987-ink);
  border-radius: 2px;
}

/* Relation map — compact linked pairs */
.framed7987-rel { list-style: none; margin: 4px 0 0; }

.framed7987-rel li {
  padding: 9px 0 9px 14px;
  border-left: 1px solid var(--framed7987-line-strong);
  margin: 0 0 0 4px;
  font-size: 13.5px;
  color: var(--framed7987-ink-soft);
}

.framed7987-rel b { color: var(--framed7987-ink); font-weight: 700; }

/* --------------------------------------------------------------------------
   10. Extended footer (brand > promotions > directory > disclaimer)
   -------------------------------------------------------------------------- */
.framed7987-xfoot {
  margin: 30px 0 0;
  border-top: 1px solid var(--framed7987-line-strong);
  padding-top: 20px;
}

.framed7987-xfsec { margin: 0 0 20px; }

.framed7987-xfbrand p {
  font-size: 13.5px;
  color: var(--framed7987-ink-mute);
  margin: 8px 0 0;
}

.framed7987-xfbrand h2 { font-size: 16.5px; }

.framed7987-xfh {
  font-size: 11.5px;
  letter-spacing: 1.4px;
  color: var(--framed7987-ink-mute);
  margin: 0 0 10px;
}

/* Promotion entries — list rows with chevron, each an affiliate trigger */
.framed7987-promo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--framed7987-tap);
  padding: 10px 12px;
  margin: 0 0 8px;
  border: 1px solid var(--framed7987-line);
  border-radius: var(--framed7987-radius);
  background: var(--framed7987-bg-panel);
  font-size: 14px;
  font-weight: 700;
  color: var(--framed7987-ink);
  transition: border-color 0.22s var(--framed7987-ease), transform 0.22s var(--framed7987-ease);
}

.framed7987-promo:hover { border-color: var(--framed7987-line-strong); transform: translateY(-1px); }

.framed7987-promo .framed7987-ic { width: 17px; height: 17px; flex: none; opacity: 0.85; }

.framed7987-promo span { flex: 1 1 auto; }

.framed7987-promo small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--framed7987-ink-mute);
}

/* Page directory — compact two column list of real internal routes */
.framed7987-dir {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
}

.framed7987-dir a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 4px 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--framed7987-ink-soft);
  border-bottom: 0;
  border-bottom-color: transparent;
  transition: color 0.22s var(--framed7987-ease);
}

.framed7987-dir a:hover { color: var(--framed7987-ink); }

.framed7987-xfnote {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--framed7987-ink-mute);
  border: 1px dashed var(--framed7987-line);
  border-radius: var(--framed7987-radius);
  padding: 10px 12px;
  margin: 0;
}

/* Generic footer bar — copyright only */
.framed7987-footer {
  border-top: 1px solid var(--framed7987-line);
  padding: 14px 0 6px;
  text-align: center;
  font-size: 12.5px;
  color: var(--framed7987-ink-mute);
}

/* --------------------------------------------------------------------------
   11. Bottom rail — full width nav track pinned to the canvas bottom
   -------------------------------------------------------------------------- */
.framed7987-rail {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  margin-inline: auto;
  max-width: 480px;
  height: calc(var(--framed7987-rail-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  display: flex;
  align-items: stretch;
  gap: 4px;
  background: rgba(46, 46, 46, 0.97);
  border-top: 1px solid var(--framed7987-line-strong);
  z-index: 45;
}

.framed7987-railitem {
  flex: 1 1 20%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--framed7987-tap);
  padding: 6px 2px 4px;
  border: 0;
  border-radius: var(--framed7987-radius);
  background: transparent;
  color: var(--framed7987-ink-mute);
  font-family: var(--framed7987-font-body);
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: background-color 0.25s var(--framed7987-ease), color 0.25s var(--framed7987-ease);
}

.framed7987-railitem .framed7987-ic { width: 21px; height: 21px; }

/* Active role: contrast inversion pill with a top indicator notch */
.framed7987-railitem--on {
  background: var(--framed7987-bg-ink);
  color: #3a3a3a;
  margin-top: -3px;
  border: 1px solid var(--framed7987-bg-ink);
}

.framed7987-railitem--on::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--framed7987-ink);
}

.framed7987-railitem:active { color: var(--framed7987-ink); }

/* --------------------------------------------------------------------------
   12. Responsive refinements
   -------------------------------------------------------------------------- */

/* Larger phones: slightly roomier type, 3 game bars per row from 400px */
@media (min-width: 360px) {
  .framed7987-gname { font-size: 13px; }
  .framed7987-segbtn { padding: 0 16px; }
}

@media (min-width: 400px) {
  .framed7987-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .framed7987-gname { font-size: 12px; }
  .framed7987-main { padding-left: 16px; padding-right: 16px; }
}

/* 430px upper edge of the phone canvas band */
@media (min-width: 430px) {
  h1 { font-size: 26px; }
  h2 { font-size: 20px; }
  .framed7987-slide { aspect-ratio: 21 / 8; }
  .framed7987-gname { font-size: 12.5px; }
  .framed7987-ctaseg { height: 54px; }
}

/* Wide screens: keep the centered phone canvas, deepen the backdrop */
@media (min-width: 481px) {
  body { background: #262626; }
  .framed7987-page { box-shadow: 0 0 0 1px rgba(220, 220, 220, 0.12), 0 24px 70px rgba(0, 0, 0, 0.55); }
}

/* Short viewports: trim fixed chrome so content keeps breathing room */
@media (max-height: 568px) {
  .framed7987-rail { --framed7987-rail-h: 56px; }
}

/* Respect users who prefer calmer interfaces */
/* --------------------------------------------------------------------------
   14. Help page refinements — payment and review use distinct information rhythms
   -------------------------------------------------------------------------- */
.framed7987-payment-main,
.framed7987-review-main { padding-top: calc(var(--framed7987-head-h) + 18px); }

.framed7987-payment-intro,
.framed7987-review-lead { border-bottom: 1px solid var(--framed7987-line-strong); padding-bottom: 18px; }

.framed7987-payment-actions,
.framed7987-review-lead + section .framed7987-prompt,
.framed7987-payment-main .framed7987-prompt,
.framed7987-review-main .framed7987-prompt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--framed7987-tap);
  padding: 9px 14px;
  margin: 10px 8px 0 0;
  border: 1px solid var(--framed7987-line-strong);
  border-radius: var(--framed7987-radius);
  color: var(--framed7987-ink);
  font-weight: 700;
}

.framed7987-payment-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.framed7987-payment-actions .framed7987-prompt { flex: 1 1 140px; margin: 0; }
.framed7987-prompt--solid { background: var(--framed7987-bg-ink); color: #3a3a3a !important; border-color: var(--framed7987-bg-ink) !important; }
.framed7987-payment-main .framed7987-prompt,
.framed7987-review-main .framed7987-prompt { margin-top: 14px; }

.framed7987-paymentpath { display: grid; gap: 9px; margin-top: 14px; }
.framed7987-paymentpath article { position: relative; padding: 13px 12px 12px 55px; border: 1px solid var(--framed7987-line); border-radius: var(--framed7987-radius); background: var(--framed7987-bg-panel-2); }
.framed7987-paymentpath h3 { margin-bottom: 3px; }
.framed7987-paymentpath p { margin-bottom: 7px; font-size: 13.5px; }
.framed7987-paymentpath a { color: var(--framed7987-ink); font-size: 12.5px; font-weight: 700; border-bottom: 1px solid var(--framed7987-line-strong); }
.framed7987-pathno { position: absolute; left: 13px; top: 15px; display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid var(--framed7987-line-strong); border-radius: 50%; font-size: 12px; color: var(--framed7987-ink); }
.framed7987-payment-faq details { border-bottom: 1px solid var(--framed7987-line); padding: 11px 0; }
.framed7987-payment-faq details:first-of-type { border-top: 1px solid var(--framed7987-line); }
.framed7987-payment-faq summary { cursor: pointer; color: var(--framed7987-ink); font-weight: 700; padding-right: 18px; }
.framed7987-payment-faq details p { margin: 8px 0 0; font-size: 13.5px; }

.framed7987-review-verdict { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 15px 13px; border: 1px solid var(--framed7987-line-strong); border-radius: var(--framed7987-radius-l); background: linear-gradient(135deg, var(--framed7987-bg-panel), var(--framed7987-bg-panel-2)); }
.framed7987-verdict-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--framed7987-ink); border-radius: 50%; color: var(--framed7987-ink); font-size: 23px; font-weight: 800; }
.framed7987-review-deck { border-bottom: 1px solid var(--framed7987-line); padding-bottom: 12px; }
.framed7987-rubric-list { border-top: 1px solid var(--framed7987-line-strong); }
.framed7987-rubric-row { display: grid; grid-template-columns: 28px 1fr auto; gap: 9px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--framed7987-line); }
.framed7987-rubric-row h3 { margin: 0 0 3px; }
.framed7987-rubric-row p { font-size: 13.5px; margin: 0; }
.framed7987-rubric-no { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid var(--framed7987-line-strong); border-radius: 5px; font-size: 12px; font-weight: 800; }
.framed7987-rubric-tag { align-self: start; border: 1px solid var(--framed7987-line); border-radius: 999px; padding: 3px 6px; color: var(--framed7987-ink-mute); font-size: 10px; }
.framed7987-balance-line { display: grid; gap: 10px; }
.framed7987-balance-line > div { padding: 11px 12px; border-left: 3px solid var(--framed7987-ink); background: var(--framed7987-bg-panel-2); }
.framed7987-balance-line p { margin: 5px 0 0; font-size: 13.5px; }
.framed7987-balance-label { font-weight: 800; color: var(--framed7987-ink); }
.framed7987-review-glossary { margin: 5px 0 0; }
.framed7987-review-glossary > div { display: grid; grid-template-columns: 34% 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--framed7987-line); }
.framed7987-review-glossary dt { color: var(--framed7987-ink); font-weight: 800; }
.framed7987-review-glossary dd { margin: 0; color: var(--framed7987-ink-soft); font-size: 13.5px; }
.framed7987-review-sequence { list-style: none; margin: 4px 0 0; counter-reset: reviewstep; }
.framed7987-review-sequence li { counter-increment: reviewstep; position: relative; padding: 11px 0 11px 36px; border-bottom: 1px solid var(--framed7987-line); color: var(--framed7987-ink-soft); font-size: 13.5px; }
.framed7987-review-sequence li::before { content: counter(reviewstep); position: absolute; left: 0; top: 10px; display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: var(--framed7987-bg-ink); color: #3a3a3a; font-weight: 800; font-size: 12px; }
.framed7987-review-sequence b { color: var(--framed7987-ink); }
.framed7987-next-route { border-top: 1px solid var(--framed7987-line-strong); }
.framed7987-next-route p { padding: 10px 0; margin: 0; border-bottom: 1px solid var(--framed7987-line); font-size: 13.5px; }
.framed7987-next-route a { color: var(--framed7987-ink); font-weight: 700; border-bottom: 1px solid var(--framed7987-line-strong); }

@media (max-width: 359px) {
  .framed7987-rubric-row { grid-template-columns: 28px 1fr; }
  .framed7987-rubric-tag { grid-column: 2; justify-self: start; }
  .framed7987-verdict-mark { width: 34px; height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation: none !important; }
  .framed7987-track { transition: none; }
}

/* --------------------------------------------------------------------------
   13. Print — keep a clean single column of content
   -------------------------------------------------------------------------- */
@media print {
  .framed7987-header,
  .framed7987-menu,
  .framed7987-rail,
  .framed7987-hero { display: none !important; }
  body { background: #fff; color: #222; }
  .framed7987-page { box-shadow: none; max-width: none; }
}
