﻿/* ============================================================
   8kb.click mobile-first frame stylesheet
   Class prefix : cf7da2-
   Canvas       : 320-430px phone frame, centered on wide screens
   Palette      : #273746 (deep bg) / #FFDFBA (cream text)
                  #FF91A4 (rose accent) / #FA8072 (salmon accent)
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --cf7da2-ink: #273746;
  --cf7da2-ink-deep: #1d2934;
  --cf7da2-ink-soft: #31445a;
  --cf7da2-panel: #2c3f53;
  --cf7da2-panel-2: #35495f;
  --cf7da2-cream: #ffdfba;
  --cf7da2-cream-dim: #e9c9a4;
  --cf7da2-cream-faint: #c8ab8b;
  --cf7da2-rose: #ff91a4;
  --cf7da2-salmon: #fa8072;
  --cf7da2-line: rgba(255, 223, 186, 0.16);
  --cf7da2-line-strong: rgba(255, 145, 164, 0.42);
  --cf7da2-shadow: 0 10px 26px rgba(0, 0, 0, 0.34);
  --cf7da2-r-soft: 6px;
  --cf7da2-r-tight: 4px;
  --cf7da2-font-body: "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi",
    "Segoe UI", system-ui, -apple-system, sans-serif;
  --cf7da2-gap: 12px;
  --cf7da2-head-h: 56px;
  --cf7da2-bnav-h: 60px;
}

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

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

body {
  margin: 0;
  font-family: var(--cf7da2-font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--cf7da2-cream);
  background: #16202b;
  overflow-x: hidden;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

a {
  color: var(--cf7da2-rose);
  text-decoration: none;
}

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

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

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h2,
h3 {
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.2px;
}

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--cf7da2-rose);
  outline-offset: 2px;
  border-radius: var(--cf7da2-r-tight);
}

/* ---------- phone canvas shell ---------- */
.cf7da2-shell {
  position: relative;
  max-width: 430px;
  margin-inline: auto;
  min-height: 100vh;
  background: linear-gradient(178deg, #2b3c4e 0%, var(--cf7da2-ink) 42%, #22303f 100%);
  box-shadow: 0 0 0 1px rgba(255, 223, 186, 0.06), 0 18px 60px rgba(0, 0, 0, 0.5);
  overflow-x: clip;
}

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

.cf7da2-skip {
  position: absolute;
  top: -48px;
  left: 10px;
  z-index: 90;
  padding: 10px 14px;
  background: var(--cf7da2-rose);
  color: #232f3c;
  font-weight: 700;
  border-radius: var(--cf7da2-r-soft);
  transition: top 0.2s ease;
}

.cf7da2-skip:focus {
  top: 8px;
}

/* ---------- layout container ---------- */
.cf7da2-wrap {
  padding: 0 12px;
}

.cf7da2-main {
  display: block;
  padding-top: 10px;
  /* keep clear of the fixed bottom function bar */
  padding-bottom: calc(var(--cf7da2-bnav-h) + 26px + env(safe-area-inset-bottom));
}

.cf7da2-sec {
  margin-top: 22px;
  scroll-margin-top: calc(var(--cf7da2-head-h) + 12px);
}

/* ---------- top action bar ---------- */
.cf7da2-head {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--cf7da2-head-h);
  background: rgba(35, 48, 62, 0.96);
  backdrop-filter: blur(7px);
  border-bottom: 1px solid var(--cf7da2-line);
}

.cf7da2-headin {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  min-height: var(--cf7da2-head-h);
}

/* brand zone: real logo image only + site name */
.cf7da2-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  min-width: 0;
}

.cf7da2-logo {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: var(--cf7da2-r-soft);
  border: 1px solid var(--cf7da2-line-strong);
  object-fit: cover;
  background: #101923;
}

.cf7da2-brandname {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--cf7da2-cream);
  white-space: nowrap;
}

/* action zone: staggered register / login sizes */
.cf7da2-btnreg {
  min-height: 44px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 800;
  color: #24161b;
  background: linear-gradient(135deg, var(--cf7da2-rose) 8%, var(--cf7da2-salmon) 92%);
  border: 0;
  border-radius: var(--cf7da2-r-soft);
  box-shadow: 0 4px 14px rgba(250, 128, 114, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cf7da2-btnreg:hover {
  transform: translateY(-1px);
}

.cf7da2-btnlogin {
  min-height: 44px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--cf7da2-cream);
  background: transparent;
  border: 1px solid var(--cf7da2-line-strong);
  border-radius: var(--cf7da2-r-soft);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.cf7da2-btnlogin:hover {
  background: rgba(255, 145, 164, 0.12);
}

/* burger button with morph to X */
.cf7da2-btnmenu {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-content: center;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--cf7da2-line);
  border-radius: var(--cf7da2-r-soft);
}

.cf7da2-btnmenu span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--cf7da2-cream);
  transition: transform 0.22s ease, opacity 0.18s ease;
}

.cf7da2-btnmenu span:nth-child(2) {
  width: 12px;
  justify-self: start;
}

.cf7da2-btnmenu[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.cf7da2-btnmenu[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.cf7da2-btnmenu[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- compact route panel (expandable menu) ---------- */
.cf7da2-routepanel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  background: #1f2c39;
  border-bottom: 1px solid transparent;
  transition: max-height 0.28s ease, opacity 0.22s ease;
}

.cf7da2-routepanel.cf7da2-open {
  max-height: 560px;
  opacity: 1;
  border-bottom-color: var(--cf7da2-line);
}

.cf7da2-routebox {
  padding: 10px 12px 16px;
}

.cf7da2-routegrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.cf7da2-routelabel {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--cf7da2-cream-faint);
}

.cf7da2-routegrid .cf7da2-routelabel:first-child {
  margin-top: 0;
}

.cf7da2-routelink {
  display: block;
  min-height: 44px;
  padding: 9px 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--cf7da2-cream);
  background: var(--cf7da2-panel);
  border: 1px solid var(--cf7da2-line);
  border-left: 3px solid transparent;
  border-radius: var(--cf7da2-r-tight);
}

.cf7da2-routelink:hover,
.cf7da2-routelink:focus-visible {
  text-decoration: none;
  background: var(--cf7da2-panel-2);
  border-left-color: var(--cf7da2-rose);
}

.cf7da2-routelink small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--cf7da2-cream-faint);
}

.cf7da2-routelink.cf7da2-here {
  border-left-color: var(--cf7da2-salmon);
  background: rgba(250, 128, 114, 0.14);
}

/* ---------- hero ---------- */
.cf7da2-hero {
  padding: 16px 0 4px;
}

.cf7da2-herobrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--cf7da2-salmon);
  text-transform: uppercase;
}

.cf7da2-herobrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--cf7da2-salmon);
  border-radius: 2px;
}

.cf7da2-maintitle {
  margin: 8px 0 10px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.35;
  color: #fff2e2;
}

.cf7da2-maintitle b {
  color: var(--cf7da2-rose);
}

.cf7da2-lede {
  font-size: 14px;
  color: var(--cf7da2-cream-dim);
}

.cf7da2-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.cf7da2-chip {
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--cf7da2-cream);
  background: rgba(255, 145, 164, 0.1);
  border: 1px solid var(--cf7da2-line-strong);
  border-radius: 999px;
}

/* hero CTA row: primary/secondary size mismatch */
.cf7da2-ctarow {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-top: 14px;
}

.cf7da2-btnmain {
  flex: 1 1 auto;
  min-height: 48px;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 800;
  color: #24161b;
  background: linear-gradient(135deg, var(--cf7da2-rose) 5%, var(--cf7da2-salmon) 95%);
  border: 0;
  border-radius: var(--cf7da2-r-soft);
  box-shadow: 0 6px 18px rgba(250, 128, 114, 0.4);
  transition: transform 0.15s ease;
}

.cf7da2-btnmain:hover {
  transform: translateY(-1px);
}

.cf7da2-btnghost {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 10px 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--cf7da2-cream);
  background: rgba(44, 63, 83, 0.6);
  border: 1px solid var(--cf7da2-line-strong);
  border-radius: var(--cf7da2-r-soft);
}

.cf7da2-btnghost:hover {
  background: rgba(255, 145, 164, 0.14);
}

/* ---------- category jump bar ---------- */
.cf7da2-catbar {
  display: flex;
  gap: 6px;
  margin-top: 14px;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.cf7da2-catbar::-webkit-scrollbar {
  display: none;
}

.cf7da2-catbarlink {
  flex: 0 0 auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--cf7da2-cream);
  background: var(--cf7da2-panel);
  border: 1px solid var(--cf7da2-line);
  border-radius: 999px;
}

.cf7da2-catbarlink:hover,
.cf7da2-catbarlink:focus-visible {
  text-decoration: none;
  border-color: var(--cf7da2-rose);
  color: #fff2e2;
}

.cf7da2-catbarlink i {
  font-style: normal;
  font-size: 10px;
  color: var(--cf7da2-salmon);
}

/* ---------- promo carousel ---------- */
.cf7da2-carousel {
  position: relative;
  margin-top: 16px;
}

.cf7da2-cviewport {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--cf7da2-line);
  box-shadow: var(--cf7da2-shadow);
  touch-action: pan-y;
}

.cf7da2-ctrack {
  display: flex;
  transition: transform 0.38s cubic-bezier(0.33, 0.9, 0.3, 1);
}

.cf7da2-cslide {
  flex: 0 0 100%;
  position: relative;
}

.cf7da2-clink {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #101923;
  text-align: left;
}

.cf7da2-cimg {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.cf7da2-cover {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(29, 41, 52, 0) 30%, rgba(29, 41, 52, 0.88) 100%);
}

.cf7da2-ccap {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  display: grid;
  gap: 2px;
}

.cf7da2-ccap b {
  font-size: 15px;
  font-weight: 800;
  color: #fff2e2;
  line-height: 1.35;
}

.cf7da2-ccap small {
  font-size: 11px;
  color: var(--cf7da2-cream-dim);
}

.cf7da2-ccap em {
  justify-self: start;
  margin-top: 3px;
  padding: 4px 10px;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  color: #24161b;
  background: var(--cf7da2-rose);
  border-radius: 999px;
}

/* prev / next */
.cf7da2-cnav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 44px;
  display: grid;
  place-content: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--cf7da2-cream);
  background: rgba(29, 41, 52, 0.72);
  border: 1px solid var(--cf7da2-line);
  border-radius: var(--cf7da2-r-tight);
}

.cf7da2-cprev {
  left: 6px;
}

.cf7da2-cnext {
  right: 6px;
}

.cf7da2-cnav:hover {
  background: rgba(250, 128, 114, 0.5);
}

/* dots with sliding focus bar */
.cf7da2-cdots {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}

.cf7da2-cdot {
  width: 30px;
  height: 26px;
  display: grid;
  place-content: center;
  padding: 0;
  background: transparent;
  border: 0;
}

.cf7da2-cdot i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 223, 186, 0.32);
  transition: background 0.2s ease;
}

.cf7da2-cdotbar {
  position: absolute;
  top: 11px;
  left: calc(50% - 55px);
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: var(--cf7da2-rose);
  transition: transform 0.3s cubic-bezier(0.33, 0.9, 0.3, 1);
}

/* ---------- section headings ---------- */
.cf7da2-sechead {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--cf7da2-line);
}

.cf7da2-secttl {
  position: relative;
  font-size: 17.5px;
  color: #fff2e2;
  padding-bottom: 6px;
}

.cf7da2-secttl::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 42px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--cf7da2-rose), var(--cf7da2-salmon));
  transition: width 0.25s ease;
}

.cf7da2-sechead:hover .cf7da2-secttl::after {
  width: 68px;
}

.cf7da2-secnote {
  margin: 0 0 12px;
  font-size: 12.5px;
  color: var(--cf7da2-cream-faint);
}

.cf7da2-secnote a {
  color: var(--cf7da2-rose);
}

/* related-routes row inside each game section */
.cf7da2-secsee {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 12px 0 0;
  padding: 9px 10px;
  background: rgba(44, 63, 83, 0.55);
  border: 1px dashed var(--cf7da2-line-strong);
  border-radius: var(--cf7da2-r-soft);
}

.cf7da2-secsee span {
  font-size: 11px;
  font-weight: 700;
  color: var(--cf7da2-cream-faint);
}

.cf7da2-seelink {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 700;
  color: var(--cf7da2-cream);
  background: var(--cf7da2-panel);
  border: 1px solid var(--cf7da2-line);
  border-radius: var(--cf7da2-r-tight);
}

.cf7da2-seelink:hover,
.cf7da2-seelink:focus-visible {
  text-decoration: none;
  color: #fff2e2;
  border-color: var(--cf7da2-rose);
}

/* ---------- game grid: 4 cols @320, 5 cols @375+ ---------- */
.cf7da2-ggrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 6px;
}

/* light floating image card */
.cf7da2-gcard {
  display: grid;
  gap: 5px;
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  text-align: center;
}

.cf7da2-gthumb {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--cf7da2-r-soft);
  border: 1px solid var(--cf7da2-line);
  background: linear-gradient(160deg, var(--cf7da2-panel-2), var(--cf7da2-panel));
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

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

.cf7da2-gcard:hover .cf7da2-gthumb,
.cf7da2-gcard:focus-visible .cf7da2-gthumb {
  transform: translateY(-3px);
  border-color: var(--cf7da2-rose);
  box-shadow: 0 10px 20px rgba(250, 128, 114, 0.28);
}

.cf7da2-gcard:active .cf7da2-gthumb {
  transform: translateY(-1px) scale(0.98);
}

.cf7da2-gname {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
  font-size: 10.5px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--cf7da2-cream-dim);
  overflow-wrap: anywhere;
}

.cf7da2-gcard:hover .cf7da2-gname {
  color: #fff2e2;
}

/* ---------- how-to steps ---------- */
.cf7da2-steps {
  display: grid;
  gap: 8px;
  counter-reset: cf7da2step;
}

.cf7da2-step {
  display: flex;
  gap: 10px;
  padding: 11px 12px;
  background: var(--cf7da2-panel);
  border: 1px solid var(--cf7da2-line);
  border-radius: var(--cf7da2-r-soft);
}

.cf7da2-stepnum {
  flex: 0 0 30px;
  height: 30px;
  display: grid;
  place-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #24161b;
  background: var(--cf7da2-rose);
  border-radius: 999px;
}

.cf7da2-stepttl {
  font-size: 13.5px;
  color: #fff2e2;
}

.cf7da2-steptxt {
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--cf7da2-cream-dim);
}

.cf7da2-steptxt a {
  color: var(--cf7da2-rose);
  font-weight: 700;
}

/* inline sub-question block */
.cf7da2-ask {
  margin-top: 12px;
  padding: 11px 12px;
  background: rgba(255, 145, 164, 0.07);
  border-left: 3px solid var(--cf7da2-salmon);
  border-radius: var(--cf7da2-r-tight);
}

.cf7da2-askttl {
  font-size: 13px;
  color: #fff2e2;
}

.cf7da2-ask p {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--cf7da2-cream-dim);
}

.cf7da2-ask a {
  color: var(--cf7da2-rose);
  font-weight: 700;
}

/* ---------- latest winners ---------- */
.cf7da2-wfeed {
  display: grid;
  gap: 6px;
}

.cf7da2-wrow {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  background: var(--cf7da2-panel);
  border: 1px solid var(--cf7da2-line);
  border-radius: var(--cf7da2-r-tight);
}

.cf7da2-wrow:nth-child(even) {
  background: rgba(44, 63, 83, 0.55);
}

.cf7da2-wuser {
  font-size: 12px;
  font-weight: 700;
  color: var(--cf7da2-cream);
  overflow-wrap: anywhere;
}

.cf7da2-wgame {
  font-size: 11.5px;
  color: var(--cf7da2-cream-faint);
}

.cf7da2-wmult {
  padding: 3px 8px;
  font-size: 11.5px;
  font-weight: 800;
  color: #24161b;
  background: var(--cf7da2-rose);
  border-radius: 999px;
  white-space: nowrap;
}

.cf7da2-wcta {
  margin-top: 12px;
}

.cf7da2-wcta button {
  min-height: 44px;
  width: 100%;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 800;
  color: #24161b;
  background: linear-gradient(135deg, var(--cf7da2-rose) 10%, var(--cf7da2-salmon) 90%);
  border: 0;
  border-radius: var(--cf7da2-r-soft);
}

/* ---------- category highlights ---------- */
.cf7da2-hl {
  display: grid;
  gap: 8px;
}

.cf7da2-hlcard {
  padding: 11px 12px;
  background: var(--cf7da2-panel);
  border: 1px solid var(--cf7da2-line);
  border-left: 3px solid var(--cf7da2-rose);
  border-radius: var(--cf7da2-r-soft);
}

.cf7da2-hlcard:nth-child(even) {
  border-left-color: var(--cf7da2-salmon);
}

.cf7da2-hlhead {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cf7da2-hlpic {
  font-size: 17px;
  line-height: 1;
}

.cf7da2-hlname {
  font-size: 14px;
  color: #fff2e2;
}

.cf7da2-hltxt {
  margin-top: 5px;
  font-size: 12.5px;
  color: var(--cf7da2-cream-dim);
}

.cf7da2-hltxt a {
  color: var(--cf7da2-rose);
  font-weight: 700;
}

.cf7da2-hltxt h3 {
  font-size: 13px;
  color: #fff2e2;
  margin-bottom: 3px;
}

.cf7da2-hlwho {
  margin-top: 6px;
  font-size: 11.5px;
  color: var(--cf7da2-cream-faint);
}

.cf7da2-hlwho b {
  color: var(--cf7da2-salmon);
}

/* ---------- step summary chips ---------- */
.cf7da2-sumrow {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.cf7da2-sumrow::-webkit-scrollbar {
  display: none;
}

.cf7da2-sumchip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 12px;
  background: var(--cf7da2-panel);
  border: 1px solid var(--cf7da2-line-strong);
  border-radius: var(--cf7da2-r-soft);
  font-size: 12px;
  font-weight: 700;
  color: var(--cf7da2-cream);
  white-space: nowrap;
}

.cf7da2-sumnum {
  display: grid;
  place-content: center;
  width: 20px;
  height: 20px;
  font-size: 10.5px;
  font-weight: 800;
  color: #24161b;
  background: var(--cf7da2-rose);
  border-radius: 999px;
}

.cf7da2-sumtxt {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--cf7da2-cream-faint);
}

/* ---------- pros & limitations ---------- */
.cf7da2-pl {
  display: grid;
  gap: 8px;
}

.cf7da2-plcol {
  padding: 11px 12px;
  border-radius: var(--cf7da2-r-soft);
  border: 1px solid var(--cf7da2-line);
}

.cf7da2-plcol--plus {
  background: rgba(255, 145, 164, 0.09);
}

.cf7da2-plcol--minus {
  background: rgba(250, 128, 114, 0.07);
}

.cf7da2-plhead {
  font-size: 13.5px;
  color: #fff2e2;
}

.cf7da2-pllist {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.cf7da2-plitem {
  position: relative;
  padding-left: 20px;
  font-size: 12.5px;
  color: var(--cf7da2-cream-dim);
}

.cf7da2-plcol--plus .cf7da2-plitem::before {
  content: "+";
  position: absolute;
  left: 2px;
  top: 0;
  font-weight: 800;
  color: var(--cf7da2-rose);
}

.cf7da2-plcol--minus .cf7da2-plitem::before {
  content: "\2013";
  position: absolute;
  left: 2px;
  top: 0;
  font-weight: 800;
  color: var(--cf7da2-salmon);
}

/* ---------- extended footer (homepage only) ---------- */
.cf7da2-extfoot {
  margin-top: 26px;
  padding: 16px 12px 12px;
  background: #1f2c39;
  border-top: 1px solid var(--cf7da2-line-strong);
}

.cf7da2-efhead {
  font-size: 15px;
  color: #fff2e2;
  margin-bottom: 6px;
}

.cf7da2-efbrand {
  font-size: 12.5px;
  color: var(--cf7da2-cream-dim);
}

/* horizontal shortcut tiles */
.cf7da2-eftiles {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.cf7da2-eftiles::-webkit-scrollbar {
  display: none;
}

.cf7da2-eftile {
  flex: 0 0 auto;
  width: 138px;
  display: grid;
  gap: 3px;
  justify-items: start;
  min-height: 58px;
  padding: 10px 12px;
  text-align: left;
  background: var(--cf7da2-panel);
  border: 1px solid var(--cf7da2-line-strong);
  border-radius: var(--cf7da2-r-soft);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.cf7da2-eftile:hover {
  transform: translateY(-2px);
  border-color: var(--cf7da2-rose);
}

.cf7da2-efttl {
  font-size: 12.5px;
  font-weight: 800;
  color: #fff2e2;
}

.cf7da2-efsub {
  font-size: 10.5px;
  color: var(--cf7da2-cream-faint);
}

/* page directory */
.cf7da2-efdir {
  margin-top: 16px;
}

.cf7da2-efdirhead {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--cf7da2-salmon);
}

.cf7da2-efdlist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 8px;
}

.cf7da2-efdlink {
  display: grid;
  gap: 1px;
  min-height: 44px;
  align-content: center;
  padding: 7px 9px;
  background: rgba(44, 63, 83, 0.6);
  border: 1px solid var(--cf7da2-line);
  border-radius: var(--cf7da2-r-tight);
}

.cf7da2-efdlink:hover,
.cf7da2-efdlink:focus-visible {
  text-decoration: none;
  background: var(--cf7da2-panel-2);
}

.cf7da2-efdlink b {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--cf7da2-cream);
}

.cf7da2-efdlink small {
  font-size: 10px;
  color: var(--cf7da2-cream-faint);
}

/* short factual disclaimer */
.cf7da2-efnote {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed var(--cf7da2-line);
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--cf7da2-cream-faint);
}

/* ---------- common footer ---------- */
.cf7da2-foot {
  padding: 14px 12px calc(var(--cf7da2-bnav-h) + 18px + env(safe-area-inset-bottom));
  text-align: center;
  font-size: 11px;
  color: var(--cf7da2-cream-faint);
  border-top: 1px solid var(--cf7da2-line);
}

.cf7da2-foot b {
  color: var(--cf7da2-cream-dim);
}

/* ---------- mobile bottom function bar ---------- */
.cf7da2-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  min-height: calc(var(--cf7da2-bnav-h) + env(safe-area-inset-bottom));
  padding: 0 4px env(safe-area-inset-bottom);
  background: rgba(31, 44, 57, 0.97);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--cf7da2-line-strong);
}

.cf7da2-bnitem {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 2px;
  min-height: var(--cf7da2-bnav-h);
  padding: 6px 2px 4px;
  color: var(--cf7da2-cream-dim);
  border: 0;
  background: transparent;
  text-decoration: none;
}

.cf7da2-bnitem::before {
  /* top indicator line */
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 26px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: transparent;
  transform: translateX(-50%) scaleX(0.4);
  transition: transform 0.22s ease, background 0.22s ease;
}

.cf7da2-bnitem.cf7da2-on {
  color: #fff2e2;
}

.cf7da2-bnitem.cf7da2-on::before {
  background: linear-gradient(90deg, var(--cf7da2-rose), var(--cf7da2-salmon));
  transform: translateX(-50%) scaleX(1);
}

.cf7da2-bnitem:hover,
.cf7da2-bnitem:focus-visible {
  text-decoration: none;
  color: #fff2e2;
}

/* dual-tone role icons with state morph */
.cf7da2-bnico {
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease;
}

.cf7da2-bnico .cf7da2-ic-b {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cf7da2-bnico .cf7da2-ic-a {
  fill: rgba(255, 223, 186, 0.28);
  transition: fill 0.2s ease;
}

.cf7da2-bnitem.cf7da2-on .cf7da2-bnico {
  transform: translateY(-2px) scale(1.08);
}

.cf7da2-bnitem.cf7da2-on .cf7da2-ic-a {
  fill: var(--cf7da2-salmon);
}

.cf7da2-bnlabel {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* ---------- responsive ladder ---------- */
@media (min-width: 375px) {
  .cf7da2-ggrid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .cf7da2-maintitle {
    font-size: 26px;
  }

  .cf7da2-efdlist {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (min-width: 431px) {
  .cf7da2-shell {
    margin-top: 18px;
    margin-bottom: 18px;
    min-height: calc(100vh - 36px);
    border-radius: 10px;
  }
}

/* Help pages use a denser reading rhythm without changing the frame language. */
.cf7da2-step strong {
  color: var(--cf7da2-cream);
}

.cf7da2-ask strong {
  color: var(--cf7da2-cream);
}

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

  .cf7da2-ctrack,
  .cf7da2-cdotbar,
  .cf7da2-bnico,
  .cf7da2-gthumb,
  .cf7da2-eftile {
    transition: none;
  }
}
