/* ==========================================================================
   vip dhaka - mobile-first stylesheet
   File   : css/layers-mobile-8fceb3.css
   Prefix : cfceb3-
   Palette: #333333 base dark / #00FA9A accent / #48D1CC support / #808080 muted
   Design : mono accents + regular body text, small-mid radii, outlined tile
            cards, step-advance rhythm, color-only state changes, solid main
            CTA with outlined secondary, compact icon dock at the bottom.
   Canvas : stable 320-430px phone frame, centered on wide screens.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --cfceb3-bg: #2b2d2c;
  --cfceb3-bgDeep: #222423;
  --cfceb3-panel: #333333;
  --cfceb3-panelUp: #3a3d3b;
  --cfceb3-panelDown: #2e302f;
  --cfceb3-line: #4b4f4d;
  --cfceb3-lineSoft: #414442;
  --cfceb3-ink: #f2f5f2;
  --cfceb3-inkDim: #c8cdc8;
  --cfceb3-muted: #a2a8a2;
  --cfceb3-accent: #00FA9A;
  --cfceb3-accentDeep: #00c47c;
  --cfceb3-accentInk: #062419;
  --cfceb3-teal: #48D1CC;
  --cfceb3-tealInk: #062726;
  --cfceb3-glowRing: 0 0 0 1px rgba(0, 250, 154, 0.55);
  --cfceb3-glowSoft: 0 0 12px rgba(0, 250, 154, 0.22);
  --cfceb3-radius: 12px;
  --cfceb3-radiusSm: 9px;
  --cfceb3-radiusXs: 7px;
  --cfceb3-topH: 56px;
  --cfceb3-dockH: 64px;
  --cfceb3-gap: 12px;
  --cfceb3-mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --cfceb3-sans: "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--cfceb3-bgDeep);
  color: var(--cfceb3-ink);
  font-family: var(--cfceb3-sans);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: var(--cfceb3-teal);
  text-decoration: none;
}

a:active {
  color: var(--cfceb3-accent);
}

button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

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

/* Visible keyboard focus: restrained glow ring, color-only motion budget */
a:focus-visible,
button:focus-visible {
  outline: none;
  box-shadow: var(--cfceb3-glowRing), var(--cfceb3-glowSoft);
  border-radius: var(--cfceb3-radiusXs);
}

/* --------------------------------------------------------------------------
   3. Skip link
   -------------------------------------------------------------------------- */
.cfceb3-skip {
  position: fixed;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  padding: 8px 14px;
  background: var(--cfceb3-accent);
  color: var(--cfceb3-accentInk);
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--cfceb3-radiusSm);
  box-shadow: var(--cfceb3-glowSoft);
}

.cfceb3-skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   4. Phone canvas + main column
   -------------------------------------------------------------------------- */
.cfceb3-shell {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--cfceb3-bg);
  box-shadow: 0 0 0 1px var(--cfceb3-lineSoft);
}

.cfceb3-main {
  padding: calc(var(--cfceb3-topH) + 10px) var(--cfceb3-gap) calc(var(--cfceb3-dockH) + 34px + env(safe-area-inset-bottom, 0px));
}

/* --------------------------------------------------------------------------
   5. Fixed top band: minimal title strip + action cluster
   -------------------------------------------------------------------------- */
.cfceb3-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(34, 36, 35, 0.96);
  border-bottom: 1px solid var(--cfceb3-line);
  backdrop-filter: blur(6px);
}

.cfceb3-topInner {
  max-width: 430px;
  margin: 0 auto;
  min-height: var(--cfceb3-topH);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px var(--cfceb3-gap);
}

.cfceb3-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--cfceb3-ink);
}

.cfceb3-logo {
  width: 34px;
  height: 34px;
  border-radius: var(--cfceb3-radiusXs);
  border: 1px solid var(--cfceb3-line);
  background: var(--cfceb3-panel);
  object-fit: cover;
}

.cfceb3-brandName {
  font-family: var(--cfceb3-mono);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cfceb3-accent);
  white-space: nowrap;
}

.cfceb3-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* CTA pair: solid primary + outlined secondary */
.cfceb3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 12px;
  border-radius: var(--cfceb3-radiusSm);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.cfceb3-btnSolid {
  background: var(--cfceb3-accent);
  color: var(--cfceb3-accentInk);
  border: 1px solid var(--cfceb3-accent);
}

.cfceb3-btnSolid:active {
  background: var(--cfceb3-teal);
  border-color: var(--cfceb3-teal);
}

.cfceb3-btnLine {
  background: transparent;
  color: var(--cfceb3-accent);
  border: 1px solid var(--cfceb3-accent);
}

.cfceb3-btnLine:active {
  color: var(--cfceb3-teal);
  border-color: var(--cfceb3-teal);
}

/* Menu trigger: 44px touch target */
.cfceb3-menuBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  border-radius: var(--cfceb3-radiusSm);
  color: var(--cfceb3-inkDim);
  transition: color 0.15s ease, box-shadow 0.15s ease;
}

.cfceb3-menuBtn:active,
.cfceb3-menuBtn[aria-expanded="true"] {
  color: var(--cfceb3-accent);
}

.cfceb3-menuIco {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   6. Compact route panel (dropdown inside the top band)
   -------------------------------------------------------------------------- */
.cfceb3-routePanel {
  display: none;
  max-width: 430px;
  margin: 0 auto;
  padding: 10px var(--cfceb3-gap) 14px;
  background: var(--cfceb3-bgDeep);
  border-top: 1px solid var(--cfceb3-lineSoft);
  border-bottom: 1px solid var(--cfceb3-line);
}

.cfceb3-routePanel.cfceb3-isOpen {
  display: block;
}

.cfceb3-routeGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

.cfceb3-routeCol {
  min-width: 0;
}

.cfceb3-routeTitle {
  font-family: var(--cfceb3-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cfceb3-muted);
  padding: 4px 2px 6px;
}

.cfceb3-routeList {
  display: grid;
  gap: 2px;
}

.cfceb3-routeLink {
  display: block;
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: var(--cfceb3-radiusXs);
  color: var(--cfceb3-inkDim);
  font-size: 13.5px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.cfceb3-routeLink:active {
  color: var(--cfceb3-accent);
  border-color: var(--cfceb3-line);
}

.cfceb3-routeLink.cfceb3-isOn {
  color: var(--cfceb3-accent);
  border-color: var(--cfceb3-line);
  background: var(--cfceb3-panelDown);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   7. Hero carousel: snap track + dots
   -------------------------------------------------------------------------- */
.cfceb3-hero {
  margin: 4px 0 6px;
}

.cfceb3-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--cfceb3-radius);
  border: 1px solid var(--cfceb3-line);
  background: var(--cfceb3-panel);
}

.cfceb3-track::-webkit-scrollbar {
  display: none;
}

.cfceb3-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: center;
  width: 100%;
  text-align: left;
}

.cfceb3-slideImg {
  width: 100%;
  aspect-ratio: 430 / 200;
  object-fit: cover;
}

.cfceb3-slideCap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(34, 36, 35, 0) 0%, rgba(24, 26, 25, 0.88) 78%);
}

.cfceb3-capKick {
  font-family: var(--cfceb3-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cfceb3-teal);
}

.cfceb3-capTxt {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--cfceb3-ink);
}

.cfceb3-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 9px 0 2px;
}

.cfceb3-dot {
  width: 26px;
  height: 22px;
  position: relative;
}

.cfceb3-dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cfceb3-line);
  transition: background-color 0.15s ease, width 0.15s ease;
}

.cfceb3-dot.cfceb3-isOn::after {
  width: 18px;
  border-radius: 5px;
  background: var(--cfceb3-accent);
}

/* --------------------------------------------------------------------------
   8. Quick access strip (real internal routes)
   -------------------------------------------------------------------------- */
.cfceb3-quick {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 8px 0 4px;
}

.cfceb3-quickLink {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-height: 52px;
  padding: 6px 4px;
  border: 1px solid var(--cfceb3-line);
  border-radius: var(--cfceb3-radiusSm);
  background: var(--cfceb3-panel);
  color: var(--cfceb3-inkDim);
  font-size: 11.5px;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.cfceb3-quickLink:active {
  color: var(--cfceb3-accent);
  border-color: var(--cfceb3-accentDeep);
}

.cfceb3-quickKick {
  font-family: var(--cfceb3-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--cfceb3-muted);
}

/* --------------------------------------------------------------------------
   9. Section scaffolding + headings
   -------------------------------------------------------------------------- */
.cfceb3-sec {
  margin-top: 22px;
}

.cfceb3-secHead {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.cfceb3-kicker {
  font-family: var(--cfceb3-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cfceb3-teal);
}

.cfceb3-count {
  font-family: var(--cfceb3-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--cfceb3-bgDeep);
  background: var(--cfceb3-accent);
  border-radius: 20px;
  padding: 2px 9px;
}

.cfceb3-h1 {
  font-size: 21px;
  line-height: 1.5;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.cfceb3-h2 {
  font-size: 17px;
  line-height: 1.55;
  font-weight: 800;
  color: var(--cfceb3-ink);
}

.cfceb3-h3 {
  font-size: 14.5px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--cfceb3-inkDim);
}

.cfceb3-lead {
  margin-top: 8px;
  padding: 10px 12px;
  border-left: 3px solid var(--cfceb3-accent);
  border-radius: 0 var(--cfceb3-radiusSm) var(--cfceb3-radiusSm) 0;
  background: var(--cfceb3-panelDown);
  color: var(--cfceb3-inkDim);
  font-size: 14px;
}

.cfceb3-intro {
  margin: 4px 0 10px;
  color: var(--cfceb3-inkDim);
  font-size: 14px;
}

.cfceb3-intro a {
  border-bottom: 1px dashed var(--cfceb3-teal);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   10. Game tile grid: outlined tile cards, stable 4 tracks
   -------------------------------------------------------------------------- */
.cfceb3-tileGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.cfceb3-tile {
  min-width: 0;
}

.cfceb3-tileBtn {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 44px;
  padding: 6px 5px;
  border: 1px solid var(--cfceb3-line);
  border-radius: var(--cfceb3-radiusSm);
  background: var(--cfceb3-panel);
  text-align: center;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cfceb3-tileBtn:active {
  border-color: var(--cfceb3-accentDeep);
}

.cfceb3-tileImg {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--cfceb3-radiusXs);
  border: 1px solid var(--cfceb3-lineSoft);
  background: var(--cfceb3-bgDeep);
}

.cfceb3-tileName {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 5px;
  min-height: 2.6em;
  font-size: 11.5px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--cfceb3-inkDim);
}

/* --------------------------------------------------------------------------
   11. Step rail: step-advance information rhythm
   -------------------------------------------------------------------------- */
.cfceb3-steps {
  display: grid;
  gap: 10px;
  counter-reset: cfceb3step;
}

.cfceb3-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 11px;
  border: 1px solid var(--cfceb3-line);
  border-left: 3px solid var(--cfceb3-teal);
  border-radius: var(--cfceb3-radiusSm);
  background: var(--cfceb3-panelDown);
}

.cfceb3-stepNo {
  font-family: var(--cfceb3-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--cfceb3-teal);
  border: 1px dashed var(--cfceb3-line);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: start;
}

.cfceb3-stepTitle {
  font-size: 14px;
  font-weight: 700;
  color: var(--cfceb3-ink);
  margin-bottom: 2px;
}

.cfceb3-stepBody {
  font-size: 13.5px;
  color: var(--cfceb3-inkDim);
}

/* --------------------------------------------------------------------------
   12. Pick rows (category highlights)
   -------------------------------------------------------------------------- */
.cfceb3-picks {
  display: grid;
  gap: 8px;
}

.cfceb3-pick {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 9px 10px;
  border: 1px solid var(--cfceb3-line);
  border-radius: var(--cfceb3-radiusSm);
  background: var(--cfceb3-panel);
}

.cfceb3-pickTag {
  font-family: var(--cfceb3-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  color: var(--cfceb3-teal);
  border: 1px solid var(--cfceb3-line);
  border-radius: var(--cfceb3-radiusXs);
  padding: 3px 4px;
  margin-top: 2px;
}

.cfceb3-pickTitle {
  font-size: 14px;
  font-weight: 700;
  color: var(--cfceb3-ink);
  margin-bottom: 1px;
}

.cfceb3-pickTxt {
  font-size: 13px;
  color: var(--cfceb3-inkDim);
}

/* --------------------------------------------------------------------------
   13. Milestone ladder (achievements)
   -------------------------------------------------------------------------- */
.cfceb3-ladder {
  display: grid;
  gap: 0;
  border: 1px solid var(--cfceb3-line);
  border-radius: var(--cfceb3-radius);
  background: var(--cfceb3-panelDown);
  overflow: hidden;
}

.cfceb3-rung {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 8px;
  padding: 11px 12px;
  border-bottom: 1px solid var(--cfceb3-lineSoft);
}

.cfceb3-rung:last-child {
  border-bottom: 0;
}

.cfceb3-rungNo {
  font-family: var(--cfceb3-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--cfceb3-accentInk);
  background: var(--cfceb3-accent);
  border-radius: var(--cfceb3-radiusXs);
  padding: 3px 0;
  text-align: center;
  height: fit-content;
  margin-top: 2px;
}

.cfceb3-rungTitle {
  font-size: 14px;
  font-weight: 700;
  color: var(--cfceb3-ink);
  margin-bottom: 1px;
}

.cfceb3-rungBody {
  font-size: 13.5px;
  color: var(--cfceb3-inkDim);
}

/* --------------------------------------------------------------------------
   14. Decision CTA block
   -------------------------------------------------------------------------- */
.cfceb3-cta {
  margin-top: 10px;
  padding: 14px 13px;
  border: 1px solid var(--cfceb3-accentDeep);
  border-radius: var(--cfceb3-radius);
  background: linear-gradient(180deg, rgba(0, 250, 154, 0.08) 0%, rgba(51, 51, 51, 0.4) 62%);
}

.cfceb3-ctaText {
  font-size: 13.5px;
  color: var(--cfceb3-inkDim);
  margin: 4px 0 10px;
}

.cfceb3-ctaRow {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cfceb3-ctaRow .cfceb3-btn {
  flex: 1 1 130px;
  min-height: 44px;
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   15. Relation map (entity relationships)
   -------------------------------------------------------------------------- */
.cfceb3-map {
  display: grid;
  gap: 8px;
}

.cfceb3-mapRow {
  display: grid;
  gap: 3px;
  padding: 10px 11px;
  border: 1px dashed var(--cfceb3-line);
  border-radius: var(--cfceb3-radiusSm);
  background: var(--cfceb3-panel);
}

.cfceb3-mapKey {
  font-family: var(--cfceb3-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cfceb3-teal);
}

.cfceb3-mapVal {
  font-size: 13.5px;
  color: var(--cfceb3-inkDim);
}

.cfceb3-mapVal a {
  border-bottom: 1px dashed var(--cfceb3-teal);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   16. Fact list
   -------------------------------------------------------------------------- */
.cfceb3-facts {
  display: grid;
  gap: 7px;
}

.cfceb3-facts li {
  position: relative;
  padding: 8px 10px 8px 30px;
  border: 1px solid var(--cfceb3-line);
  border-radius: var(--cfceb3-radiusXs);
  background: var(--cfceb3-panelDown);
  font-size: 13.5px;
  color: var(--cfceb3-inkDim);
}

.cfceb3-facts li::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 15px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--cfceb3-accent);
}

/* --------------------------------------------------------------------------
   17. Extended footer: brand > directory > promotions > disclaimer
   -------------------------------------------------------------------------- */
.cfceb3-xfoot {
  margin-top: 26px;
  border-top: 2px solid var(--cfceb3-line);
  padding-top: 14px;
  display: grid;
  gap: 18px;
}

.cfceb3-xBrand {
  border: 1px solid var(--cfceb3-line);
  border-radius: var(--cfceb3-radius);
  background: var(--cfceb3-panelDown);
  padding: 12px 13px;
}

.cfceb3-xBrand p {
  font-size: 13.5px;
  color: var(--cfceb3-inkDim);
}

.cfceb3-xBrand .cfceb3-h2 {
  margin-bottom: 4px;
}

.cfceb3-xSection {
  min-width: 0;
}

.cfceb3-xList {
  display: grid;
  gap: 4px;
  margin-top: 6px;
}

.cfceb3-xLink {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--cfceb3-lineSoft);
  border-radius: var(--cfceb3-radiusXs);
  background: var(--cfceb3-panel);
  color: var(--cfceb3-inkDim);
  font-size: 13px;
  line-height: 1.45;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.cfceb3-xLink:active {
  color: var(--cfceb3-accent);
  border-color: var(--cfceb3-accentDeep);
}

.cfceb3-xLink b {
  color: var(--cfceb3-ink);
  font-weight: 700;
}

.cfceb3-xPromoList {
  display: grid;
  gap: 6px;
  margin-top: 6px;
}

.cfceb3-xPromo {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 9px 11px;
  border: 1px solid var(--cfceb3-accentDeep);
  border-radius: var(--cfceb3-radiusSm);
  background: var(--cfceb3-panelDown);
  text-align: left;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--cfceb3-ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cfceb3-xPromo:active {
  border-color: var(--cfceb3-accent);
  box-shadow: var(--cfceb3-glowSoft);
}

.cfceb3-xPromoMark {
  flex: 0 0 auto;
  font-family: var(--cfceb3-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cfceb3-accentInk);
  background: var(--cfceb3-accent);
  border-radius: 5px;
  padding: 2px 6px;
}

.cfceb3-xNote {
  border: 1px dashed var(--cfceb3-line);
  border-radius: var(--cfceb3-radiusSm);
  padding: 11px 12px;
  background: var(--cfceb3-bgDeep);
  font-size: 12.5px;
  color: var(--cfceb3-muted);
}

.cfceb3-xNote b {
  color: var(--cfceb3-inkDim);
}

/* --------------------------------------------------------------------------
   18. Universal footer line
   -------------------------------------------------------------------------- */
.cfceb3-foot {
  margin-top: 16px;
  padding: 12px 2px 4px;
  border-top: 1px solid var(--cfceb3-lineSoft);
  text-align: center;
}

.cfceb3-copy {
  font-family: var(--cfceb3-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--cfceb3-muted);
}

/* --------------------------------------------------------------------------
   19. Fixed bottom icon dock
   -------------------------------------------------------------------------- */
.cfceb3-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: rgba(30, 32, 31, 0.97);
  border-top: 1px solid var(--cfceb3-line);
  backdrop-filter: blur(6px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.cfceb3-dockInner {
  max-width: 430px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: var(--cfceb3-dockH);
}

.cfceb3-dockItem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--cfceb3-dockH);
  padding: 7px 2px 6px;
  color: var(--cfceb3-muted);
  transition: color 0.15s ease, box-shadow 0.15s ease;
}

.cfceb3-dockItem:active {
  color: var(--cfceb3-inkDim);
}

.cfceb3-dockIcon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.cfceb3-dockLabel {
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

/* Active state: label emphasis + restrained glow under the icon */
.cfceb3-dockItem.cfceb3-isOn {
  color: var(--cfceb3-accent);
  box-shadow: inset 0 3px 0 0 var(--cfceb3-accent);
}

.cfceb3-dockItem.cfceb3-isOn .cfceb3-dockLabel {
  font-weight: 800;
  color: var(--cfceb3-accent);
}

/* --------------------------------------------------------------------------
   20. Wide-screen behavior: keep the centered phone canvas
   -------------------------------------------------------------------------- */
@media (min-width: 375px) {
  .cfceb3-tileGrid { gap: 9px; }
  .cfceb3-h1 { font-size: 22px; }
}

@media (min-width: 430px) {
  .cfceb3-shell { border-radius: 0 0 14px 14px; }
  .cfceb3-tileGrid { gap: 10px; }
  .cfceb3-quick { gap: 8px; }
  .cfceb3-capTxt { font-size: 15px; }
}

@media (min-width: 480px) {
  body { background: #1a1c1b; }
  .cfceb3-shell { box-shadow: 0 0 0 1px var(--cfceb3-line), 0 18px 60px rgba(0, 0, 0, 0.55); }
  .cfceb3-topInner, .cfceb3-routePanel { box-shadow: 0 1px 0 var(--cfceb3-line); }
}

/* --------------------------------------------------------------------------
   21. Motion budget: color-only transitions; honor reduced-motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}

/* Compatible Part1 additions: accessible controls and distinct help layouts. */
:root { --cfceb3-topH: 64px; --cfceb3-neutral: #808080; }
.cfceb3-btn, .cfceb3-routeLink, .cfceb3-xLink { min-height: 44px; }
.cfceb3-topInner { gap: 4px; }
.cfceb3-actions { gap: 4px; }
.cfceb3-topInner .cfceb3-btn { padding: 7px 8px; font-size: 12px; }
.cfceb3-brand { gap: 5px; }
.cfceb3-brandName { font-size: 14px; letter-spacing: 0; }
.cfceb3-menuBtn { margin-right: 0; flex-shrink: 0; }
.cfceb3-routePanel { max-height: calc(100dvh - 66px); overflow-y: auto; }
.cfceb3-routeGrid { gap: 6px; }
.cfceb3-routeLink { padding: 7px; font-size: 12px; }
.cfceb3-h1, .cfceb3-h2, .cfceb3-h3, .cfceb3-main p { overflow-wrap: anywhere; }
.cfceb3-main p + p { margin-top: 10px; }
.cfceb3-main p a, .cfceb3-main dd a { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 1px dashed var(--cfceb3-teal); }
.cfceb3-hero .cfceb3-slideImg { aspect-ratio: 1915 / 450; object-fit: contain; }
.cfceb3-slide { align-self: start; }
.cfceb3-slideCap { position: static; padding: 9px 12px; background: var(--cfceb3-panel); min-height: 64px; }
.cfceb3-capKick { letter-spacing: .04em; }
.cfceb3-capTxt { font-size: 13px; }
.cfceb3-carouselTools { display: flex; align-items: center; justify-content: space-between; gap: 3px; }
.cfceb3-carouselTools > button { min-width: 44px; min-height: 44px; border: 1px solid var(--cfceb3-line); border-radius: 7px; }
.cfceb3-dots { padding: 0; gap: 0; }
.cfceb3-dot { width: 44px; height: 44px; }
.cfceb3-dot::after, .cfceb3-dot.cfceb3-isOn::after { width: 9px; height: 9px; border-radius: 50%; transition: background-color .15s ease; }
.cfceb3-tileBtn { height: 100%; }
.cfceb3-tileName { display: block; overflow: visible; font-size: 11px; min-height: 2.6em; overflow-wrap: anywhere; }
.cfceb3-tileImg { object-fit: contain; }
.cfceb3-paper { margin-top: 14px; padding: 13px; border: 1px solid var(--cfceb3-line); border-radius: var(--cfceb3-radiusSm); background: var(--cfceb3-panelDown); }
.cfceb3-paper h3 { margin: 0 0 7px; color: var(--cfceb3-teal); font-size: 15px; }
.cfceb3-paper p, .cfceb3-main dd, .cfceb3-main li { font-size: 14px; }
.cfceb3-bodyPromo { display: flex; width: 100%; margin-top: 10px; }
.cfceb3-term { padding: 12px 0; border-bottom: 1px solid var(--cfceb3-line); }
.cfceb3-term dt { color: var(--cfceb3-teal); font-weight: 700; }
.cfceb3-term dd { margin-top: 6px; color: var(--cfceb3-inkDim); }
.cfceb3-case { padding: 13px 0 13px 12px; border-left: 2px solid var(--cfceb3-neutral); margin-top: 12px; }
.cfceb3-case h3 { font-size: 15px; margin-bottom: 7px; color: var(--cfceb3-teal); }
.cfceb3-breadcrumb { margin-bottom: 10px; }
.cfceb3-breadcrumb a { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; }
.cfceb3-xLink { flex-direction: column; gap: 2px; }
.cfceb3-xLink span { font-size: 12px; color: var(--cfceb3-muted); }
.cfceb3-xPromo { width: 100%; }
.cfceb3-foot { padding-bottom: 12px; }
.cfceb3-track { touch-action: pan-x pan-y; overscroll-behavior-x: contain; }
@media (max-width: 340px) {
  .cfceb3-logo { width: 28px; height: 28px; }
  .cfceb3-topInner { padding-left: 8px; padding-right: 8px; }
  .cfceb3-brandName { font-size: 13px; }
  .cfceb3-topInner .cfceb3-btn { padding-left: 5px; padding-right: 5px; }
  .cfceb3-tileGrid { gap: 6px; }
}
