/* ============================================================
   bd111 cure - mobile-first base stylesheet
   Canvas: 320-430px phone frame, centered on wide screens
   Prefix: frameb5173-
   ============================================================ */

/* ---------- root tokens ---------- */
:root {
  --frameb5173-bg: #0C0C0C;
  --frameb5173-bg-out: #060505;
  --frameb5173-panel: #161010;
  --frameb5173-panel-2: #1c1414;
  --frameb5173-primary: #CD5C5C;
  --frameb5173-strong: #B22222;
  --frameb5173-accent: #FF8A80;
  --frameb5173-soft: #FFB6C1;
  --frameb5173-ink: #FFEDEE;
  --frameb5173-muted: rgba(255, 182, 193, 0.72);
  --frameb5173-line: rgba(205, 92, 92, 0.28);
  --frameb5173-line-soft: rgba(205, 92, 92, 0.2);
  --frameb5173-font-body: "Hind Siliguri", "Noto Sans Bengali", "SolaimanLipi", "Segoe UI", system-ui, -apple-system, sans-serif;
  --frameb5173-font-head: "Hind Siliguri", "Noto Sans Bengali", "SolaimanLipi", "Segoe UI", system-ui, -apple-system, sans-serif;
  --frameb5173-radius-s: 8px;
  --frameb5173-radius-m: 11px;
  --frameb5173-radius-l: 14px;
  --frameb5173-topbar-h: 60px;
  --frameb5173-dock-h: 60px;
  --frameb5173-ease: 0.25s ease;
}

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

html {
  background: var(--frameb5173-bg-out);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0 auto;
  max-width: 430px;
  min-height: 100vh;
  background: var(--frameb5173-bg);
  color: var(--frameb5173-ink);
  font-family: var(--frameb5173-font-body);
  font-size: 14px;
  line-height: 1.7;
  box-shadow: 0 0 0 1px rgba(205, 92, 92, 0.14), 0 0 46px rgba(0, 0, 0, 0.85);
  overflow-x: hidden;
}

img { max-width: 100%; }

h1, h2, h3, p, ul, ol { margin: 0; }

ul, ol { padding: 0; list-style: none; }

a { color: var(--frameb5173-accent); }

button {
  font-family: inherit;
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--frameb5173-accent);
  outline-offset: 2px;
  border-radius: 6px;
}

::selection { background: rgba(178, 34, 34, 0.6); color: #fff; }

/* ---------- skip link ---------- */
.frameb5173-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--frameb5173-strong);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 var(--frameb5173-radius-s) 0;
  font-weight: 700;
  text-decoration: none;
}

.frameb5173-skip:focus-visible { left: 0; }

/* ============================================================
   Fixed top bar - asymmetric brand block | action cluster
   ============================================================ */
.frameb5173-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 430px;
  height: var(--frameb5173-topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px;
  background: rgba(12, 11, 11, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--frameb5173-line);
  z-index: 90;
}

/* brand block: logo + name only, closed by an accent slash */
.frameb5173-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding-right: 13px;
  position: relative;
}

.frameb5173-brand::after {
  content: "";
  position: absolute;
  right: 0;
  top: 9px;
  bottom: 9px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--frameb5173-accent), var(--frameb5173-strong));
}

.frameb5173-brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 138, 128, 0.35);
  object-fit: cover;
  display: block;
  flex: 0 0 auto;
}

.frameb5173-brandname {
  font-family: var(--frameb5173-font-head);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.2px;
  line-height: 1.15;
  color: var(--frameb5173-ink);
  white-space: nowrap;
}

/* action cluster */
.frameb5173-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}

.frameb5173-btn {
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background-color var(--frameb5173-ease), color var(--frameb5173-ease), border-color var(--frameb5173-ease);
}

.frameb5173-btn--cta {
  background: var(--frameb5173-strong);
  border: 1px solid var(--frameb5173-strong);
  color: #fff;
}

.frameb5173-btn--cta:active { background: var(--frameb5173-primary); }

.frameb5173-btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 138, 128, 0.5);
  color: var(--frameb5173-soft);
}

.frameb5173-btn--ghost:active {
  background: rgba(205, 92, 92, 0.18);
  color: var(--frameb5173-accent);
}

.frameb5173-burger {
  width: 42px;
  height: 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--frameb5173-line);
  border-radius: 9px;
  cursor: pointer;
  transition: border-color var(--frameb5173-ease), background-color var(--frameb5173-ease);
}

.frameb5173-burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--frameb5173-soft);
  transition: transform 0.28s ease, opacity 0.2s ease, background-color var(--frameb5173-ease);
}

.frameb5173-burger:active { border-color: var(--frameb5173-accent); }

.frameb5173-burger.frameb5173-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); background: var(--frameb5173-accent); }
.frameb5173-burger.frameb5173-open span:nth-child(2) { opacity: 0; }
.frameb5173-burger.frameb5173-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); background: var(--frameb5173-accent); }

@media (max-width: 359px) {
  .frameb5173-btn { padding: 7px 9px; font-size: 12px; }
  .frameb5173-brandname { font-size: 16px; }
  .frameb5173-brand { gap: 7px; padding-right: 10px; }
  .frameb5173-brand img { width: 34px; height: 34px; }
}

/* ============================================================
   Full-height slide-in menu layer
   ============================================================ */
.frameb5173-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 95;
}

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

.frameb5173-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(84%, 328px);
  max-width: 328px;
  background: #130c0c;
  border-left: 1px solid var(--frameb5173-line);
  transform: translateX(103%);
  transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
  z-index: 96;
  overflow-y: auto;
  padding: 16px 14px calc(26px + env(safe-area-inset-bottom));
}

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

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

.frameb5173-menuhead strong {
  font-family: var(--frameb5173-font-head);
  font-size: 15.5px;
  font-weight: 800;
  color: var(--frameb5173-ink);
}

.frameb5173-menuclose {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  border: 1px solid var(--frameb5173-line);
  background: transparent;
  color: var(--frameb5173-soft);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  transition: color var(--frameb5173-ease), border-color var(--frameb5173-ease);
}

.frameb5173-menuclose:active { color: var(--frameb5173-accent); border-color: var(--frameb5173-accent); }

.frameb5173-mgroup { margin-top: 16px; }

.frameb5173-mglabel {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.1px;
  color: var(--frameb5173-accent);
  text-transform: uppercase;
  margin: 0 0 6px 2px;
}

.frameb5173-mlink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 11px 12px;
  border-radius: var(--frameb5173-radius-m);
  border: 1px solid transparent;
  color: var(--frameb5173-ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color var(--frameb5173-ease), border-color var(--frameb5173-ease), color var(--frameb5173-ease);
}

.frameb5173-mlink::after {
  content: "\203A";
  color: var(--frameb5173-accent);
  font-size: 17px;
  font-weight: 800;
}

.frameb5173-mlink:active {
  background: rgba(205, 92, 92, 0.16);
  border-color: rgba(255, 138, 128, 0.3);
}

.frameb5173-mlink[aria-current="page"] {
  border-color: rgba(255, 138, 128, 0.4);
  background: rgba(178, 34, 34, 0.16);
  color: var(--frameb5173-accent);
}

/* ============================================================
   Main canvas shell
   ============================================================ */
.frameb5173-shell {
  padding: calc(var(--frameb5173-topbar-h) + 10px) 0 calc(var(--frameb5173-dock-h) + 34px + env(safe-area-inset-bottom));
}

.frameb5173-h1 {
  font-family: var(--frameb5173-font-head);
  font-size: 22px;
  line-height: 1.42;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--frameb5173-ink);
  padding: 2px 12px 0;
}

.frameb5173-lead {
  margin: 10px 12px 0;
  padding: 12px 14px;
  border: 1px solid var(--frameb5173-line-soft);
  border-left: 4px solid var(--frameb5173-primary);
  border-radius: var(--frameb5173-radius-l);
  background: linear-gradient(180deg, rgba(178, 34, 34, 0.1), rgba(12, 12, 12, 0));
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 237, 238, 0.92);
}

/* ============================================================
   Hero banner carousel
   ============================================================ */
.frameb5173-hero {
  position: relative;
  margin: 14px 12px 0;
  border-radius: var(--frameb5173-radius-l);
  overflow: hidden;
  border: 1px solid var(--frameb5173-line);
}

.frameb5173-hero-vp { overflow: hidden; }

.frameb5173-hero-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  touch-action: pan-y;
}

.frameb5173-slide { flex: 0 0 100%; position: relative; }

.frameb5173-slidebtn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #0a0808;
  cursor: pointer;
}

.frameb5173-slidebtn img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.frameb5173-slidecap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(12, 12, 12, 0), rgba(12, 12, 12, 0.88));
  text-align: left;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--frameb5173-ink);
  line-height: 1.45;
}

.frameb5173-dots {
  position: absolute;
  right: 12px;
  bottom: 9px;
  display: flex;
  gap: 6px;
  z-index: 5;
}

.frameb5173-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 182, 193, 0.42);
  cursor: pointer;
  transition: width var(--frameb5173-ease), background-color var(--frameb5173-ease);
}

.frameb5173-dot.frameb5173-on {
  width: 22px;
  background: var(--frameb5173-accent);
}

/* ============================================================
   CTA button row (lightly rounded text buttons)
   ============================================================ */
.frameb5173-ctarow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 12px 0;
}

.frameb5173-ctabtn {
  flex: 1 1 30%;
  min-height: 44px;
  padding: 10px 8px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  background: rgba(178, 34, 34, 0.2);
  border: 1px solid rgba(255, 138, 128, 0.42);
  color: var(--frameb5173-ink);
  transition: background-color var(--frameb5173-ease), border-color var(--frameb5173-ease), color var(--frameb5173-ease);
}

.frameb5173-ctabtn--solid {
  background: var(--frameb5173-strong);
  border-color: var(--frameb5173-strong);
  color: #fff;
}

.frameb5173-ctabtn:active { background: rgba(205, 92, 92, 0.4); color: #fff; }

/* ============================================================
   Content blocks + heading marker
   ============================================================ */
.frameb5173-block { margin: 22px 12px 0; }

.frameb5173-h2 {
  font-family: var(--frameb5173-font-head);
  display: inline-block;
  position: relative;
  font-size: 18.5px;
  line-height: 1.4;
  font-weight: 800;
  color: var(--frameb5173-ink);
  padding-bottom: 7px;
  margin-bottom: 4px;
}

/* focus-indicator: accent underline that slides wider on hover/focus */
.frameb5173-h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 34px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--frameb5173-accent), var(--frameb5173-strong));
  transition: width 0.3s ease;
}

.frameb5173-block:hover .frameb5173-h2::after,
.frameb5173-block:focus-within .frameb5173-h2::after { width: 72%; }

.frameb5173-p {
  font-size: 14px;
  line-height: 1.78;
  color: rgba(255, 237, 238, 0.9);
  margin-top: 8px;
}

.frameb5173-p a {
  color: var(--frameb5173-accent);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255, 138, 128, 0.55);
  text-underline-offset: 3px;
  transition: color var(--frameb5173-ease);
}

.frameb5173-p a:active { color: var(--frameb5173-soft); }

.frameb5173-p strong, .frameb5173-kvitem strong { color: var(--frameb5173-soft); }

/* sub-heading inside a block, used by the glossary strip */
.frameb5173-h3 {
  font-family: var(--frameb5173-font-head);
  font-size: 15.5px;
  line-height: 1.5;
  font-weight: 800;
  color: var(--frameb5173-soft);
  margin: 14px 0 2px;
  padding-left: 10px;
  border-left: 3px solid var(--frameb5173-accent);
}

/* ============================================================
   Game group strip + grid (grouped cover cards)
   ============================================================ */
.frameb5173-grouphd {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 14px 0 10px;
  padding: 9px 12px;
  border: 1px solid var(--frameb5173-line-soft);
  border-left: 4px solid var(--frameb5173-strong);
  border-radius: var(--frameb5173-radius-m);
  background: linear-gradient(90deg, rgba(178, 34, 34, 0.16), rgba(12, 12, 12, 0));
}

.frameb5173-gchip {
  font-family: var(--frameb5173-font-head);
  font-size: 14.5px;
  font-weight: 800;
  color: var(--frameb5173-ink);
}

.frameb5173-gcount {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--frameb5173-accent);
  border: 1px solid rgba(255, 138, 128, 0.4);
  border-radius: 20px;
  padding: 2px 9px;
  white-space: nowrap;
}

.frameb5173-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 6px;
}

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

.frameb5173-gcard {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  padding: 6px 5px 7px;
  background: var(--frameb5173-panel);
  border: 1px solid var(--frameb5173-line-soft);
  border-radius: var(--frameb5173-radius-m);
  cursor: pointer;
  transition: border-color var(--frameb5173-ease), background-color var(--frameb5173-ease), transform 0.2s ease;
}

.frameb5173-gcard img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--frameb5173-radius-s);
  display: block;
  background: #0a0808;
}

.frameb5173-gname {
  font-size: 11px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--frameb5173-soft);
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
  word-break: break-word;
}

.frameb5173-gcard:active {
  border-color: var(--frameb5173-accent);
  background: var(--frameb5173-panel-2);
  transform: translateY(1px);
}

/* see-also row under a game group */
.frameb5173-more {
  margin-top: 11px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-size: 12.5px;
}

.frameb5173-more span {
  color: var(--frameb5173-muted);
  font-weight: 700;
}

.frameb5173-more a {
  color: var(--frameb5173-accent);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255, 138, 128, 0.45);
  text-underline-offset: 3px;
  padding: 3px 0;
  transition: color var(--frameb5173-ease);
}

.frameb5173-more a:active { color: var(--frameb5173-soft); }

/* ============================================================
   Step list (step-driven rhythm)
   ============================================================ */
.frameb5173-steps {
  counter-reset: frameb5173step;
  margin-top: 12px;
}

.frameb5173-steps li {
  position: relative;
  counter-increment: frameb5173step;
  padding: 0 0 15px 38px;
  font-size: 14px;
  line-height: 1.72;
  color: rgba(255, 237, 238, 0.9);
}

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

.frameb5173-steps li::before {
  content: counter(frameb5173step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--frameb5173-radius-s);
  background: rgba(178, 34, 34, 0.26);
  border: 1px solid rgba(255, 138, 128, 0.42);
  color: var(--frameb5173-accent);
  font-weight: 800;
  font-size: 13px;
}

.frameb5173-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 30px;
  bottom: 2px;
  width: 2px;
  border-radius: 2px;
  background: rgba(205, 92, 92, 0.3);
}

.frameb5173-steps strong { color: var(--frameb5173-soft); }

/* ---------- key-value cards (payment / security points) ---------- */
.frameb5173-kv {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.frameb5173-kvitem {
  border: 1px solid var(--frameb5173-line-soft);
  border-radius: var(--frameb5173-radius-m);
  padding: 10px 12px;
  background: rgba(22, 16, 16, 0.72);
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 237, 238, 0.88);
}

.frameb5173-kvitem strong { display: block; margin-bottom: 2px; font-size: 13.5px; }

/* ---------- check list ---------- */
.frameb5173-checklist {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.frameb5173-checklist li {
  position: relative;
  padding: 8px 10px 8px 32px;
  border: 1px dashed rgba(255, 182, 193, 0.28);
  border-radius: var(--frameb5173-radius-m);
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(255, 237, 238, 0.88);
}

.frameb5173-checklist li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 13px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--frameb5173-accent);
  border-bottom: 2px solid var(--frameb5173-accent);
  transform: rotate(-45deg);
}

/* ============================================================
   Extended homepage footer (directory > brand > promos > note)
   ============================================================ */
.frameb5173-xfoot {
  margin: 28px 12px 0;
  border-top: 1px dashed rgba(205, 92, 92, 0.4);
  padding-top: 18px;
}

.frameb5173-xfsec { margin-top: 16px; }
.frameb5173-xfsec:first-child { margin-top: 0; }

.frameb5173-xftitle {
  font-family: var(--frameb5173-font-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--frameb5173-accent);
  margin-bottom: 9px;
}

.frameb5173-xfdir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 10px;
}

@media (max-width: 359px) {
  .frameb5173-xfdir { grid-template-columns: 1fr; }
}

.frameb5173-xfdir a {
  display: block;
  padding: 8px 10px;
  border: 1px solid var(--frameb5173-line-soft);
  border-radius: 9px;
  background: rgba(22, 16, 16, 0.55);
  color: rgba(255, 237, 238, 0.88);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.5;
  transition: color var(--frameb5173-ease), border-color var(--frameb5173-ease);
}

.frameb5173-xfdir a:active { color: var(--frameb5173-accent); border-color: var(--frameb5173-accent); }

.frameb5173-xfbrand {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255, 237, 238, 0.85);
}

.frameb5173-xfpromo { display: grid; gap: 8px; }

.frameb5173-xfbtn {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 48px;
  padding: 9px 12px;
  border-radius: var(--frameb5173-radius-m);
  border: 1px solid rgba(255, 138, 128, 0.36);
  background: linear-gradient(90deg, rgba(178, 34, 34, 0.24), rgba(12, 12, 12, 0));
  color: var(--frameb5173-ink);
  text-align: left;
  cursor: pointer;
  transition: background-color var(--frameb5173-ease), border-color var(--frameb5173-ease);
}

.frameb5173-xfbtn:active { border-color: var(--frameb5173-accent); background: rgba(178, 34, 34, 0.4); }

.frameb5173-xfbtn svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  color: var(--frameb5173-accent);
}

.frameb5173-xfbtn-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }

.frameb5173-xfbtn-text strong { font-size: 13.5px; font-weight: 800; line-height: 1.3; }

.frameb5173-xfbtn-text small {
  font-size: 11px;
  color: var(--frameb5173-muted);
  line-height: 1.45;
}

.frameb5173-xfdisc {
  margin-top: 14px;
  padding: 11px 13px;
  border: 1px dashed rgba(255, 182, 193, 0.32);
  border-radius: var(--frameb5173-radius-m);
  font-size: 11.5px;
  line-height: 1.7;
  color: rgba(255, 182, 193, 0.78);
}

/* ---------- site footer ---------- */
.frameb5173-sitefoot {
  margin-top: 24px;
  padding: 14px 12px 6px;
  border-top: 1px solid var(--frameb5173-line-soft);
  text-align: center;
  font-size: 12px;
  color: rgba(255, 182, 193, 0.62);
  line-height: 1.7;
}

.frameb5173-sitefoot strong { color: rgba(255, 237, 238, 0.8); font-weight: 700; }

/* ============================================================
   Fixed bottom dock - outlined function bar
   ============================================================ */
.frameb5173-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 430px;
  display: flex;
  height: calc(var(--frameb5173-dock-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(10, 8, 8, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--frameb5173-line);
  z-index: 88;
}

.frameb5173-dockbtn {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  padding: 6px 2px 4px;
  background: none;
  border: 0;
  border-left: 1px solid rgba(205, 92, 92, 0.14);
  color: rgba(255, 182, 193, 0.66);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  transition: color var(--frameb5173-ease);
}

.frameb5173-dockbtn:first-child { border-left: 0; }

.frameb5173-dockbtn svg {
  width: 22px;
  height: 22px;
}

.frameb5173-dockbtn:active { color: var(--frameb5173-soft); }

/* active state: sliding underline marker from center */
.frameb5173-dockbtn.frameb5173-on { color: var(--frameb5173-accent); }

.frameb5173-dockbtn.frameb5173-on::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 26px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--frameb5173-accent);
  transform: translateX(-50%);
  animation: frameb5173-rise 0.3s ease;
}

@keyframes frameb5173-rise {
  from { width: 0; opacity: 0; }
  to { width: 26px; opacity: 1; }
}

/* ============================================================
   Motion preferences + wide-canvas polish
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .frameb5173-hero-track,
  .frameb5173-menu,
  .frameb5173-dot,
  .frameb5173-dockbtn.frameb5173-on::after,
  .frameb5173-h2::after {
    transition: none;
    animation: none;
  }
}

@media (min-width: 431px) {
  body {
    border-left: 1px solid rgba(205, 92, 92, 0.22);
    border-right: 1px solid rgba(205, 92, 92, 0.22);
  }
}
