/* ============================================================
   joya 999 - adaptive display stylesheet
   Mobile-first canvas: 320-430px, centered shell on wide screens
   Palette: #DEE2E6 / #0D1117 / #FF9800 / #808080 / #696969 / #95A5A6
   Design tone: rounded headings + compact body, mixed radii,
   grouped cover cards, intro-first rhythm, short transitions,
   icon+text compact CTAs.
   ============================================================ */

/* ---------- design tokens ---------- */
:root {
  --frameb8878-ink: #DEE2E6;
  --frameb8878-bg: #0D1117;
  --frameb8878-accent: #FF9800;
  --frameb8878-gray-1: #808080;
  --frameb8878-gray-2: #696969;
  --frameb8878-gray-3: #95A5A6;
  --frameb8878-surface: rgba(222, 226, 230, 0.05);
  --frameb8878-surface-2: rgba(222, 226, 230, 0.09);
  --frameb8878-line: rgba(222, 226, 230, 0.12);
  --frameb8878-radius-lg: 18px;
  --frameb8878-radius-md: 12px;
  --frameb8878-radius-sm: 8px;
  --frameb8878-radius-pill: 999px;
  --frameb8878-font-round: "Trebuchet MS", "Nirmala UI", "Noto Sans Bengali", "Segoe UI", sans-serif;
  --frameb8878-font-body: system-ui, -apple-system, "Nirmala UI", "Noto Sans Bengali", "Segoe UI", sans-serif;
  --frameb8878-shell-max: 430px;
  --frameb8878-head-h: 58px;
  --frameb8878-nav-h: 62px;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }

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

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  background: #0D1117;
  color: var(--frameb8878-ink);
  font-family: var(--frameb8878-font-body);
  font-size: 14px;
  line-height: 1.65;
  min-height: 100vh;
}

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

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

a:hover { text-decoration: underline; }

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

.frameb8878-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- centered phone shell ---------- */
.frameb8878-shell {
  position: relative;
  max-width: var(--frameb8878-shell-max);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--frameb8878-bg);
  box-shadow: 0 0 48px rgba(0, 0, 0, 0.55);
  overflow: clip;
}

/* ---------- top action strip ---------- */
.frameb8878-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--frameb8878-shell-max);
  height: var(--frameb8878-head-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px;
  background: rgba(13, 17, 23, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--frameb8878-line);
  z-index: 60;
  transition: box-shadow 0.25s ease;
}

.frameb8878-header-scrolled {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

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

.frameb8878-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255, 152, 0, 0.35);
  flex: 0 0 auto;
}

.frameb8878-brand-name {
  font-family: var(--frameb8878-font-round);
  font-size: 19px;
  font-weight: 700;
  color: var(--frameb8878-ink);
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.frameb8878-brand-name span {
  color: var(--frameb8878-accent);
}

.frameb8878-headactions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

/* compact icon+text CTAs */
.frameb8878-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 44px;
  padding: 0 13px;
  border-radius: var(--frameb8878-radius-md);
  font-family: var(--frameb8878-font-round);
  font-size: 13px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease, background 0.18s ease;
}

.frameb8878-btn:active { transform: translateY(1px) scale(0.97); }

.frameb8878-btn-register {
  background: linear-gradient(135deg, #FF9800, #696969);
  color: #0D1117;
  box-shadow: 0 3px 12px rgba(255, 152, 0, 0.3);
}

.frameb8878-btn-register:hover { filter: brightness(1.08); text-decoration: none; }

.frameb8878-btn-login {
  background: transparent;
  color: var(--frameb8878-ink);
  border-color: rgba(149, 165, 166, 0.55);
}

.frameb8878-btn-login:hover {
  background: rgba(149, 165, 166, 0.14);
  text-decoration: none;
}

/* hamburger trigger */
.frameb8878-menubtn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--frameb8878-line);
  border-radius: var(--frameb8878-radius-sm);
  cursor: pointer;
  flex: 0 0 auto;
}

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

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

/* ---------- side drawer ---------- */
.frameb8878-scrim {
  position: fixed;
  inset: 0;
  background: rgba(13, 17, 23, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 70;
}

.frameb8878-scrim-open { opacity: 1; visibility: visible; }

.frameb8878-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 78%;
  max-width: 316px;
  background: #10151d;
  border-right: 1px solid var(--frameb8878-line);
  transform: translateX(-104%);
  transition: transform 0.28s ease;
  z-index: 80;
  display: flex;
  flex-direction: column;
  padding: 14px 14px 96px;
  overflow-y: auto;
}

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

.frameb8878-drawerhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 2px 12px;
  border-bottom: 1px solid var(--frameb8878-line);
}

.frameb8878-drawerbrand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--frameb8878-font-round);
  font-weight: 700;
  font-size: 17px;
}

.frameb8878-drawerbrand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
}

.frameb8878-drawerclose {
  width: 44px;
  height: 44px;
  border-radius: var(--frameb8878-radius-sm);
  border: 1px solid var(--frameb8878-line);
  background: transparent;
  color: var(--frameb8878-ink);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}

.frameb8878-drawerlist {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.frameb8878-drawerlink {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: var(--frameb8878-radius-md);
  color: var(--frameb8878-ink);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.18s ease, transform 0.18s ease;
}

.frameb8878-drawerlink:hover {
  background: var(--frameb8878-surface);
  text-decoration: none;
  transform: translateX(3px);
}

.frameb8878-drawerlink-active {
  background: rgba(255, 152, 0, 0.12);
  border-color: rgba(255, 152, 0, 0.4);
  color: var(--frameb8878-accent);
}

.frameb8878-drawerlink-ico {
  width: 22px;
  text-align: center;
  color: var(--frameb8878-gray-3);
  flex: 0 0 auto;
}

.frameb8878-drawerlink-active .frameb8878-drawerlink-ico { color: var(--frameb8878-accent); }

/* ---------- main canvas ---------- */
.frameb8878-main {
  padding: calc(var(--frameb8878-head-h) + 10px) 12px calc(var(--frameb8878-nav-h) + 46px);
}

/* ---------- hero carousel ---------- */
.frameb8878-carousel {
  position: relative;
  border-radius: var(--frameb8878-radius-lg);
  overflow: hidden;
  border: 1px solid var(--frameb8878-line);
  background: #10151d;
}

.frameb8878-carouseltrack {
  display: flex;
  transition: transform 0.45s ease;
}

.frameb8878-slide {
  min-width: 100%;
  position: relative;
  display: block;
}

.frameb8878-slide img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.frameb8878-slidelabel {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: 78%;
  background: rgba(13, 17, 23, 0.78);
  border: 1px solid rgba(255, 152, 0, 0.35);
  color: var(--frameb8878-ink);
  font-family: var(--frameb8878-font-round);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  padding: 5px 10px;
  border-radius: var(--frameb8878-radius-pill);
}

.frameb8878-dots {
  position: absolute;
  right: 10px;
  bottom: 9px;
  display: flex;
  gap: 6px;
}

.frameb8878-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--frameb8878-radius-pill);
  border: 1px solid rgba(222, 226, 230, 0.6);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.frameb8878-dot-active {
  width: 20px;
  background: var(--frameb8878-accent);
  border-color: var(--frameb8878-accent);
}

/* ---------- intro block ---------- */
.frameb8878-intro {
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--frameb8878-radius-lg);
  background: linear-gradient(160deg, rgba(255, 152, 0, 0.10), rgba(105, 105, 105, 0.10));
  border: 1px solid var(--frameb8878-line);
}

.frameb8878-h1 {
  font-family: var(--frameb8878-font-round);
  font-size: 21px;
  line-height: 1.35;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--frameb8878-ink);
}

.frameb8878-h1 em {
  font-style: normal;
  color: var(--frameb8878-accent);
}

.frameb8878-lead {
  margin: 0 0 10px;
  color: var(--frameb8878-gray-3);
  font-size: 13.5px;
}

.frameb8878-lead strong { color: var(--frameb8878-ink); font-weight: 600; }

.frameb8878-statchips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.frameb8878-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--frameb8878-ink);
  background: var(--frameb8878-surface-2);
  border: 1px solid var(--frameb8878-line);
  border-radius: var(--frameb8878-radius-pill);
}

.frameb8878-chip b { color: var(--frameb8878-accent); }

/* ---------- sections ---------- */
.frameb8878-section {
  margin-top: 22px;
  animation: frameb8878-rise 0.35s ease both;
}

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

.frameb8878-h2 {
  font-family: var(--frameb8878-font-round);
  font-size: 17px;
  line-height: 1.4;
  font-weight: 800;
  margin: 0 0 6px;
  padding-left: 10px;
  border-left: 4px solid var(--frameb8878-accent);
  border-radius: 2px;
}

.frameb8878-sectionlead {
  margin: 0 0 12px;
  color: var(--frameb8878-gray-3);
  font-size: 13px;
}

.frameb8878-sectionlead a, .frameb8878-bodytext a { font-weight: 600; }

.frameb8878-bodytext {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: var(--frameb8878-ink);
}

.frameb8878-bodytext strong { color: var(--frameb8878-accent); font-weight: 700; }

.frameb8878-h3 {
  font-family: var(--frameb8878-font-round);
  font-size: 14.5px;
  font-weight: 700;
  margin: 14px 0 6px;
  color: var(--frameb8878-ink);
}

/* ---------- grouped cover card + game grid ---------- */
.frameb8878-catcover {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-radius: var(--frameb8878-radius-md);
  padding: 10px 12px;
  margin: 14px 0 10px;
  border: 1px solid var(--frameb8878-line);
}

.frameb8878-catcover-hot { background: linear-gradient(120deg, rgba(255, 152, 0, 0.22), rgba(105, 105, 105, 0.16)); }
.frameb8878-catcover-poker { background: linear-gradient(120deg, rgba(149, 165, 166, 0.20), rgba(105, 105, 105, 0.18)); }
.frameb8878-catcover-fishing { background: linear-gradient(120deg, rgba(255, 152, 0, 0.12), rgba(149, 165, 166, 0.18)); }
.frameb8878-catcover-slot { background: linear-gradient(120deg, rgba(105, 105, 105, 0.24), rgba(255, 152, 0, 0.12)); }
.frameb8878-catcover-live { background: linear-gradient(120deg, rgba(128, 128, 128, 0.24), rgba(255, 152, 0, 0.16)); }

.frameb8878-catinfo { min-width: 0; }

.frameb8878-catname {
  font-family: var(--frameb8878-font-round);
  font-size: 15px;
  font-weight: 800;
  margin: 0;
  color: var(--frameb8878-ink);
}

.frameb8878-catline {
  margin: 2px 0 0;
  font-size: 11.5px;
  color: var(--frameb8878-gray-3);
}

.frameb8878-catcount {
  flex: 0 0 auto;
  min-width: 44px;
  text-align: center;
  padding: 6px 10px;
  border-radius: var(--frameb8878-radius-pill);
  background: rgba(13, 17, 23, 0.55);
  border: 1px solid rgba(255, 152, 0, 0.4);
  color: var(--frameb8878-accent);
  font-family: var(--frameb8878-font-round);
  font-size: 12px;
  font-weight: 800;
}

.frameb8878-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 6px;
}

.frameb8878-game {
  display: block;
  text-align: center;
  color: var(--frameb8878-ink);
  border-radius: var(--frameb8878-radius-md);
  transition: transform 0.18s ease;
}

.frameb8878-game:hover { text-decoration: none; transform: translateY(-3px); }

.frameb8878-game:active { transform: translateY(0) scale(0.96); }

.frameb8878-gameimg {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--frameb8878-radius-md);
  border: 1px solid var(--frameb8878-line);
  background: #10151d;
}

.frameb8878-gamename {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 5px;
  font-size: 10.8px;
  line-height: 1.35;
  color: var(--frameb8878-gray-3);
  font-weight: 600;
  min-height: 29px;
}

.frameb8878-game:hover .frameb8878-gamename { color: var(--frameb8878-accent); }

/* ---------- info modules ---------- */
.frameb8878-module {
  border-radius: var(--frameb8878-radius-lg);
  background: var(--frameb8878-surface);
  border: 1px solid var(--frameb8878-line);
  padding: 14px;
}

/* steps */
.frameb8878-steps {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.frameb8878-step {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.frameb8878-stepnum {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--frameb8878-radius-pill);
  background: rgba(255, 152, 0, 0.16);
  border: 1px solid rgba(255, 152, 0, 0.45);
  color: var(--frameb8878-accent);
  font-family: var(--frameb8878-font-round);
  font-size: 12.5px;
  font-weight: 800;
}

.frameb8878-steptext {
  font-size: 13px;
  color: var(--frameb8878-ink);
  margin: 2px 0 0;
}

/* play style rows */
.frameb8878-styles {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 10px;
}

.frameb8878-stylerow {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px;
  border-radius: var(--frameb8878-radius-md);
  background: rgba(13, 17, 23, 0.45);
  border: 1px solid var(--frameb8878-line);
  transition: transform 0.18s ease;
}

.frameb8878-stylerow:hover { transform: translateY(-2px); }

.frameb8878-styleicon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--frameb8878-radius-sm);
  background: rgba(255, 152, 0, 0.13);
  color: var(--frameb8878-accent);
}

.frameb8878-stylebody { min-width: 0; }

.frameb8878-styletitle {
  margin: 0 0 2px;
  font-family: var(--frameb8878-font-round);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--frameb8878-ink);
}

.frameb8878-styledesc {
  margin: 0;
  font-size: 12.5px;
  color: var(--frameb8878-gray-3);
}

.frameb8878-styletag {
  display: inline-block;
  margin-top: 5px;
  padding: 2px 9px;
  border-radius: var(--frameb8878-radius-pill);
  border: 1px solid rgba(149, 165, 166, 0.4);
  color: var(--frameb8878-gray-3);
  font-size: 10.5px;
  font-weight: 700;
}

/* comparison rows */
.frameb8878-compare {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 10px;
}

.frameb8878-comparerow {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 8px;
  align-items: start;
  padding: 9px 10px;
  border-radius: var(--frameb8878-radius-md);
  background: rgba(13, 17, 23, 0.45);
  border: 1px solid var(--frameb8878-line);
}

.frameb8878-comparekey {
  font-family: var(--frameb8878-font-round);
  font-size: 12px;
  font-weight: 800;
  color: var(--frameb8878-accent);
  line-height: 1.4;
}

.frameb8878-compareval {
  font-size: 12.5px;
  color: var(--frameb8878-ink);
  line-height: 1.55;
}

/* fact chips */
.frameb8878-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  margin-top: 10px;
}

.frameb8878-fact {
  padding: 9px 10px;
  border-radius: var(--frameb8878-radius-md);
  background: rgba(255, 152, 0, 0.08);
  border: 1px solid rgba(255, 152, 0, 0.28);
}

.frameb8878-fact b {
  display: block;
  font-family: var(--frameb8878-font-round);
  font-size: 12.5px;
  color: var(--frameb8878-accent);
  margin-bottom: 2px;
}

.frameb8878-fact span {
  font-size: 12px;
  color: var(--frameb8878-gray-3);
  line-height: 1.5;
  display: block;
}

/* inline promo text link */
.frameb8878-ctatext {
  color: var(--frameb8878-accent);
  font-weight: 700;
  border-bottom: 1px dashed rgba(255, 152, 0, 0.55);
}

.frameb8878-ctatext:hover { text-decoration: none; color: #ffb14d; }

/* ---------- extended footer ---------- */
.frameb8878-extfooter {
  margin-top: 24px;
  padding: 16px 14px;
  border-radius: var(--frameb8878-radius-lg);
  background: linear-gradient(180deg, rgba(105, 105, 105, 0.16), rgba(13, 17, 23, 0.2));
  border: 1px solid var(--frameb8878-line);
}

.frameb8878-extbrandtext {
  margin: 8px 0 0;
  font-size: 12.5px;
  color: var(--frameb8878-gray-3);
}

.frameb8878-shorts {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 2px 6px;
  scrollbar-width: none;
}

.frameb8878-shorts::-webkit-scrollbar { display: none; }

.frameb8878-short {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--frameb8878-radius-pill);
  font-family: var(--frameb8878-font-round);
  font-size: 12.5px;
  font-weight: 800;
  background: rgba(255, 152, 0, 0.14);
  border: 1px solid rgba(255, 152, 0, 0.45);
  color: var(--frameb8878-accent);
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease;
}

.frameb8878-short:hover {
  transform: translateY(-2px);
  background: rgba(255, 152, 0, 0.22);
  text-decoration: none;
}

.frameb8878-directory {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-top: 10px;
}

.frameb8878-dirlink {
  display: block;
  padding: 8px 10px;
  border-radius: var(--frameb8878-radius-sm);
  background: rgba(13, 17, 23, 0.5);
  border: 1px solid var(--frameb8878-line);
  color: var(--frameb8878-ink);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.frameb8878-dirlink:hover {
  border-color: rgba(255, 152, 0, 0.5);
  color: var(--frameb8878-accent);
  text-decoration: none;
}

.frameb8878-disclaimer {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px dashed var(--frameb8878-line);
  font-size: 11px;
  color: var(--frameb8878-gray-1);
  line-height: 1.6;
}

/* ---------- common footer ---------- */
.frameb8878-footer {
  margin-top: 18px;
  padding: 10px 0 8px;
  text-align: center;
  font-size: 11.5px;
  color: var(--frameb8878-gray-1);
}

/* ---------- bottom nav: compact icon rack ---------- */
.frameb8878-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--frameb8878-shell-max);
  height: calc(var(--frameb8878-nav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  display: flex;
  align-items: stretch;
  background: rgba(13, 17, 23, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--frameb8878-line);
  z-index: 50;
}

.frameb8878-navitem {
  position: relative;
  flex: 1 1 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  color: var(--frameb8878-gray-3);
  border-top: 3px solid transparent;
  transition: color 0.18s ease, transform 0.18s ease;
}

.frameb8878-navitem:hover { color: var(--frameb8878-ink); text-decoration: none; }

.frameb8878-navicon {
  width: 22px;
  height: 22px;
  display: inline-flex;
}

.frameb8878-navicon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.frameb8878-navlabel {
  font-size: 10.2px;
  font-weight: 700;
  line-height: 1;
}

/* active: top indicator line + filled icon + short lift */
.frameb8878-navactive {
  color: var(--frameb8878-accent);
  border-top: 3px solid var(--frameb8878-accent);
  transform: translateY(-2px);
}

.frameb8878-navactive .frameb8878-navicon svg {
  fill: currentColor;
  stroke: none;
}

/* promo nav accents */
.frameb8878-navpromo .frameb8878-navlabel { color: var(--frameb8878-accent); }

/* ---------- responsive tweaks ---------- */
@media (min-width: 375px) {
  .frameb8878-h1 { font-size: 22px; }
  .frameb8878-h2 { font-size: 17.5px; }
}

@media (min-width: 400px) {
  .frameb8878-grid { grid-template-columns: repeat(5, 1fr); }
  .frameb8878-facts { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 431px) {
  .frameb8878-shell { border-left: 1px solid var(--frameb8878-line); border-right: 1px solid var(--frameb8878-line); }
}

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