/* ==========================================================================
   b777bet.homes - site shell stylesheet
   File: css/b777bet-shell-d42c8c.css
   Class prefix: c42c8c-  |  Mobile-first 320-430px phone canvas
   Palette: #00E5FF / #40E0D0 / #1E1E1E / #00CED1 (dark canvas, light ink)
   Design tone: bold headings + light body, mixed radii, big/small card mix,
   short-list info rhythm, motion only on key CTAs, full-width primary CTA.
   ========================================================================== */

/* ---------------------------------------------------------------- tokens */
:root {
  --c42c8c-backdrop: #101313;
  --c42c8c-canvas: #1E1E1E;
  --c42c8c-surface: #242828;
  --c42c8c-surface-2: #2B3030;
  --c42c8c-ink: #ECFDFB;
  --c42c8c-soft: #C3D7D5;
  --c42c8c-dim: #96ABAA;
  --c42c8c-faint: #7E9492;
  --c42c8c-cyan: #00E5FF;
  --c42c8c-teal: #40E0D0;
  --c42c8c-sea: #00CED1;
  --c42c8c-line: rgba(0, 229, 255, 0.16);
  --c42c8c-line-soft: rgba(64, 224, 208, 0.12);
  --c42c8c-grad: linear-gradient(135deg, #00E5FF 0%, #00CED1 100%);
  --c42c8c-r-lg: 18px;
  --c42c8c-r-md: 13px;
  --c42c8c-r-sm: 9px;
  --c42c8c-hh: 110px;   /* fixed header height (two rows) */
  --c42c8c-dh: 72px;    /* floating dock height */
  --c42c8c-font: "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi",
    "Kalpurush", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--c42c8c-hh) + 10px);
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--c42c8c-font);
  font-size: 14px;
  line-height: 1.75;
  font-weight: 400;
  color: var(--c42c8c-ink);
  background:
    radial-gradient(420px 260px at 12% -6%, rgba(0, 206, 209, 0.10), transparent 70%),
    radial-gradient(520px 320px at 110% 30%, rgba(0, 229, 255, 0.06), transparent 72%),
    var(--c42c8c-backdrop);
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

body.c42c8c-menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
}

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

a:hover {
  color: var(--c42c8c-cyan);
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--c42c8c-cyan);
  outline-offset: 2px;
}

/* ---------------------------------------------------------------- canvas */
.c42c8c-canvas {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100dvh;
  background: var(--c42c8c-canvas);
  overflow-x: clip;
}

@media (min-width: 520px) {
  .c42c8c-canvas {
    border-left: 1px solid var(--c42c8c-line-soft);
    border-right: 1px solid var(--c42c8c-line-soft);
    box-shadow: 0 0 70px rgba(0, 206, 209, 0.09);
  }
}

.c42c8c-skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 120;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--c42c8c-grad);
  color: #062B2E;
  font-weight: 700;
  font-size: 13px;
  transition: top 0.2s ease;
}

.c42c8c-skip:focus {
  top: 10px;
}

/* ---------------------------------------------------------------- header */
.c42c8c-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  background: rgba(22, 25, 25, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c42c8c-line-soft);
}

/* asymmetric accent tick under the brand corner */
.c42c8c-header::after {
  content: "";
  position: absolute;
  left: 14px;
  bottom: -1px;
  width: 68px;
  height: 2px;
  border-radius: 2px;
  background: var(--c42c8c-grad);
}

.c42c8c-hrow1 {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 7px;
}

.c42c8c-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  min-width: 0;
  color: var(--c42c8c-ink);
}

.c42c8c-logo {
  display: block;
  width: 37px;
  height: 37px;
  border-radius: 12px;
  border: 1px solid rgba(0, 229, 255, 0.42);
  box-shadow: 0 3px 12px rgba(0, 229, 255, 0.22);
  object-fit: cover;
}

.c42c8c-bname {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
  background: var(--c42c8c-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* hamburger trigger (icon morphs into an X while the panel is open) */
.c42c8c-menubtn {
  position: relative;
  width: 44px;
  height: 44px;
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid var(--c42c8c-line);
  border-radius: 12px;
  transition: border-color 0.2s ease;
}

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

.c42c8c-menubtn span:nth-child(2) {
  width: 13px;
  align-self: flex-start;
  margin-left: 3px;
}

body.c42c8c-menu-open .c42c8c-menubtn span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.c42c8c-menu-open .c42c8c-menubtn span:nth-child(2) {
  opacity: 0;
}

body.c42c8c-menu-open .c42c8c-menubtn span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* register / login action strip (outside the brand area) */
.c42c8c-hrow2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  padding: 0 14px 11px;
}

.c42c8c-btn {
  min-height: 44px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.c42c8c-btn--reg {
  background: var(--c42c8c-grad);
  color: #062B2E;
  box-shadow: 0 5px 18px rgba(0, 229, 255, 0.25);
}

.c42c8c-btn--login {
  background: rgba(64, 224, 208, 0.08);
  border-color: rgba(64, 224, 208, 0.42);
  color: var(--c42c8c-teal);
}

.c42c8c-btn:active {
  transform: translateY(1px);
}

.c42c8c-btn--reg:active {
  box-shadow: 0 2px 8px rgba(0, 229, 255, 0.22);
}

/* ------------------------------------------------- slide-up route panel */
.c42c8c-scrim {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(4, 8, 8, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.c42c8c-menu-open .c42c8c-scrim {
  opacity: 1;
  visibility: visible;
}

.c42c8c-panel {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 105%);
  width: 100%;
  max-width: 430px;
  max-height: 78dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 90;
  padding: 12px 14px calc(18px + env(safe-area-inset-bottom));
  background: #171A1A;
  border: 1px solid var(--c42c8c-line-soft);
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  visibility: hidden;
  transition: transform 0.34s cubic-bezier(0.22, 0.9, 0.32, 1),
    visibility 0.34s ease;
}

body.c42c8c-menu-open .c42c8c-panel {
  transform: translate(-50%, 0);
  visibility: visible;
}

.c42c8c-grip {
  width: 44px;
  height: 4px;
  border-radius: 4px;
  margin: 0 auto 12px;
  background: #39413F;
}

.c42c8c-panelhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.c42c8c-paneltitle {
  font-size: 15px;
  font-weight: 800;
  color: var(--c42c8c-ink);
}

.c42c8c-closebtn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid var(--c42c8c-line);
  color: var(--c42c8c-cyan);
}

.c42c8c-closebtn svg {
  width: 17px;
  height: 17px;
}

.c42c8c-routes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.c42c8c-route {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 11px;
  border-radius: var(--c42c8c-r-md);
  background: var(--c42c8c-surface);
  border: 1px solid var(--c42c8c-line-soft);
  color: var(--c42c8c-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.c42c8c-route svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--c42c8c-teal);
}

.c42c8c-route:active {
  background: var(--c42c8c-surface-2);
}

.c42c8c-route[aria-current="page"] {
  border-color: rgba(0, 229, 255, 0.5);
  background: rgba(0, 229, 255, 0.08);
}

.c42c8c-route[aria-current="page"] svg {
  color: var(--c42c8c-cyan);
}

/* ------------------------------------------------------------------ main */
.c42c8c-main {
  display: block;
  padding-bottom: calc(var(--c42c8c-dh) + 42px + env(safe-area-inset-bottom));
}

/* ------------------------------------------------------------------ hero */
.c42c8c-hero {
  padding: calc(var(--c42c8c-hh) + 14px) 15px 4px;
}

.c42c8c-hero h1 {
  font-size: 23px;
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-wrap: balance;
  margin-bottom: 11px;
}

.c42c8c-lead {
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--c42c8c-soft);
  margin-bottom: 10px;
}

.c42c8c-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 13px 0 0;
}

.c42c8c-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: var(--c42c8c-teal);
  background: rgba(64, 224, 208, 0.09);
  border: 1px solid rgba(64, 224, 208, 0.24);
}

.c42c8c-chip svg {
  width: 13px;
  height: 13px;
}

/* full-width primary CTA (motion budget lives here) */
.c42c8c-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 51px;
  margin-top: 15px;
  border: 0;
  border-radius: 15px;
  background: var(--c42c8c-grad);
  color: #062B2E;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 26px rgba(0, 229, 255, 0.28);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.c42c8c-cta svg {
  width: 17px;
  height: 17px;
}

.c42c8c-cta:active {
  transform: translateY(2px);
  box-shadow: 0 3px 10px rgba(0, 229, 255, 0.2);
}

/* -------------------------------------------------------------- carousel */
.c42c8c-caro {
  margin: 20px 15px 6px;
  border-radius: var(--c42c8c-r-lg);
  overflow: hidden;
  border: 1px solid var(--c42c8c-line-soft);
  background: var(--c42c8c-surface);
}

.c42c8c-vp {
  position: relative;
  overflow: hidden;
}

.c42c8c-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.3, 1);
}

.c42c8c-slide {
  flex: 0 0 100%;
  min-width: 0;
  display: block;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
}

.c42c8c-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 1915 / 450;
  object-fit: cover;
}

.c42c8c-cap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border-top: 1px solid var(--c42c8c-line-soft);
}

.c42c8c-cap strong {
  flex: 1;
  min-width: 0;
  font-size: 12.5px;
  line-height: 1.55;
  font-weight: 700;
  color: var(--c42c8c-soft);
}

.c42c8c-capchip {
  flex: none;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: var(--c42c8c-cyan);
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.c42c8c-dots {
  position: absolute;
  left: 50%;
  bottom: 9px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.c42c8c-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(236, 253, 251, 0.42);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  transition: width 0.25s ease, background 0.25s ease;
}

.c42c8c-dot.c42c8c-on {
  width: 22px;
  background: var(--c42c8c-cyan);
}

/* ------------------------------------------------------------ game areas */
.c42c8c-sec {
  padding: 26px 15px 2px;
}

.c42c8c-sec h2,
.c42c8c-exthead {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 800;
  color: var(--c42c8c-ink);
  margin-bottom: 8px;
}

.c42c8c-sec h2::before,
.c42c8c-exthead::before {
  content: "";
  flex: none;
  width: 5px;
  height: 19px;
  border-radius: 3px;
  background: var(--c42c8c-grad);
  transform: skewY(-10deg);
}

.c42c8c-seclead {
  font-size: 13px;
  line-height: 1.95;
  color: var(--c42c8c-soft);
  margin-bottom: 13px;
}

.c42c8c-seclead a,
.c42c8c-modtxt a,
.c42c8c-extbrand a {
  color: var(--c42c8c-cyan);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(0, 229, 255, 0.4);
  text-underline-offset: 3px;
}

/* featured (large) game card - big/small card mix */
.c42c8c-feature {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  margin-bottom: 12px;
  padding: 11px 13px;
  text-align: left;
  border-radius: var(--c42c8c-r-lg);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.09), rgba(64, 224, 208, 0.03));
  border: 1px solid rgba(0, 229, 255, 0.28);
  transition: border-color 0.18s ease;
}

.c42c8c-feature img {
  flex: none;
  width: 76px;
  height: 76px;
  border-radius: 15px;
  object-fit: cover;
  border: 1px solid rgba(0, 229, 255, 0.22);
}

.c42c8c-featurename {
  display: block;
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.45;
  color: var(--c42c8c-ink);
}

.c42c8c-featuresub {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--c42c8c-teal);
}

/* compact game grid: 4 columns at 320px, 5 columns on wider phones */
.c42c8c-ggrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

@media (min-width: 402px) {
  .c42c8c-ggrid {
    grid-template-columns: repeat(5, 1fr);
    gap: 11px;
  }
}

.c42c8c-gcard {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 6px 6px 8px;
  border-radius: var(--c42c8c-r-md);
  background: var(--c42c8c-surface);
  border: 1px solid var(--c42c8c-line-soft);
  text-align: center;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.c42c8c-gcard img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--c42c8c-r-sm);
  background: #1A1D1D;
}

.c42c8c-gname {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 30px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--c42c8c-soft);
}

.c42c8c-gcard:active {
  transform: scale(0.95);
  border-color: rgba(0, 229, 255, 0.4);
}

/* --------------------------------------------------- content module shell */
.c42c8c-mod {
  margin: 26px 15px 0;
}

/* module 1: category highlights - open dashed list */
.c42c8c-hlrow {
  display: flex;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px dashed rgba(64, 224, 208, 0.16);
}

.c42c8c-hlrow:last-child {
  border-bottom: 0;
}

.c42c8c-hlico {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--c42c8c-teal);
  background: rgba(64, 224, 208, 0.09);
  border: 1px solid rgba(64, 224, 208, 0.22);
}

.c42c8c-hlico svg {
  width: 21px;
  height: 21px;
}

.c42c8c-hlrow h3 {
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--c42c8c-ink);
}

.c42c8c-modtxt {
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--c42c8c-soft);
  margin-top: 3px;
}

.c42c8c-hlfit {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  font-weight: 700;
  color: var(--c42c8c-teal);
}

/* module 2: mobile access - numbered step card */
.c42c8c-card {
  padding: 16px 15px 12px;
  border-radius: var(--c42c8c-r-lg);
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.05), rgba(0, 0, 0, 0) 55%), #222626;
  border: 1px solid var(--c42c8c-line-soft);
}

.c42c8c-step {
  display: flex;
  gap: 12px;
  padding: 9px 0;
}

.c42c8c-stepn {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--c42c8c-grad);
  color: #062B2E;
  font-size: 14px;
  font-weight: 800;
}

.c42c8c-step p {
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--c42c8c-soft);
  padding-top: 3px;
}

.c42c8c-step strong {
  color: var(--c42c8c-ink);
  font-weight: 700;
}

/* module 3: reviews - horizontal snap scroller */
.c42c8c-revs {
  display: flex;
  gap: 10px;
  margin: 0 -15px;
  padding: 4px 15px 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.c42c8c-revs::-webkit-scrollbar {
  display: none;
}

.c42c8c-rev {
  flex: 0 0 84%;
  max-width: 300px;
  scroll-snap-align: center;
  padding: 14px 14px 12px;
  border-radius: 16px;
  background: var(--c42c8c-surface);
  border: 1px solid var(--c42c8c-line-soft);
}

.c42c8c-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 8px;
  color: #FFC94D;
}

.c42c8c-stars svg {
  width: 14px;
  height: 14px;
}

.c42c8c-stars .c42c8c-star--off {
  color: #46504F;
}

.c42c8c-rev q {
  display: block;
  quotes: none;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--c42c8c-soft);
}

.c42c8c-revwho {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 11px;
}

.c42c8c-revwho svg {
  width: 30px;
  height: 30px;
  flex: none;
  color: var(--c42c8c-sea);
}

.c42c8c-revname {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--c42c8c-ink);
  line-height: 1.4;
}

.c42c8c-revcity {
  display: block;
  font-size: 10.5px;
  color: var(--c42c8c-faint);
}

/* module 4: decision checklist */
.c42c8c-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 0;
  font-size: 13px;
  line-height: 1.85;
  color: var(--c42c8c-soft);
}

.c42c8c-check svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--c42c8c-sea);
}

.c42c8c-check a {
  color: var(--c42c8c-cyan);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(0, 229, 255, 0.4);
  text-underline-offset: 3px;
}

/* ------------------------------------------------- extended home footer */
.c42c8c-ext {
  margin: 28px 15px 0;
  padding: 18px 15px 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, #212626, #1B1F1F);
  border: 1px solid var(--c42c8c-line-soft);
}

.c42c8c-extbrand {
  font-size: 12.5px;
  line-height: 1.95;
  color: var(--c42c8c-soft);
  margin-top: 6px;
}

.c42c8c-extlabel {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 17px 0 9px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--c42c8c-teal);
}

.c42c8c-extlabel svg {
  width: 14px;
  height: 14px;
}

/* promotion actions: 4 entries, icon plus text label */
.c42c8c-extacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.c42c8c-extact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 800;
  color: #CFF6F4;
  background: rgba(0, 229, 255, 0.07);
  border: 1px solid rgba(0, 229, 255, 0.3);
  transition: transform 0.16s ease;
}

.c42c8c-extact svg {
  width: 17px;
  height: 17px;
  color: var(--c42c8c-cyan);
}

.c42c8c-extact--main {
  background: var(--c42c8c-grad);
  color: #062B2E;
  box-shadow: 0 5px 16px rgba(0, 229, 255, 0.2);
}

.c42c8c-extact--main svg {
  color: #062B2E;
}

.c42c8c-extact:active {
  transform: translateY(1px);
}

/* page directory: two-column list with icons */
.c42c8c-dirgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.c42c8c-dirlink {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 7px 10px;
  border-radius: 11px;
  background: rgba(36, 40, 40, 0.65);
  border: 1px solid transparent;
  color: var(--c42c8c-soft);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.c42c8c-dirlink svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--c42c8c-sea);
}

.c42c8c-dirlink:active {
  border-color: rgba(64, 224, 208, 0.35);
  color: var(--c42c8c-ink);
}

.c42c8c-note {
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px dashed rgba(64, 224, 208, 0.16);
  font-size: 11px;
  line-height: 1.8;
  color: var(--c42c8c-faint);
}

/* ---------------------------------------------------- universal copyright */
.c42c8c-foot {
  padding: 24px 15px 8px;
  text-align: center;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--c42c8c-faint);
}

/* ------------------------------------------------ floating docked navbar */
.c42c8c-dock {
  position: fixed;
  bottom: calc(10px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 22px);
  max-width: 408px;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 7px 6px;
  border-radius: 20px;
  background: rgba(21, 24, 24, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--c42c8c-line);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
}

.c42c8c-dockitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 46px;
  padding: 5px 2px;
  border: 0;
  background: none;
  border-radius: 14px;
  color: var(--c42c8c-faint);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
}

.c42c8c-dockitem svg {
  width: 21px;
  height: 21px;
  transition: transform 0.22s cubic-bezier(0.3, 1.4, 0.5, 1);
}

.c42c8c-dockitem:active svg {
  transform: scale(0.88);
}

/* active role: slight lift plus icon morph */
.c42c8c-dockitem.c42c8c-on {
  color: var(--c42c8c-cyan);
  background: rgba(0, 229, 255, 0.09);
}

.c42c8c-dockitem.c42c8c-on svg {
  transform: translateY(-2px) scale(1.1);
}

/* promo roles keep a teal accent to read as action entries */
.c42c8c-dockitem.c42c8c-hotp {
  color: var(--c42c8c-teal);
}

.c42c8c-dockitem.c42c8c-hotp svg {
  filter: drop-shadow(0 0 6px rgba(64, 224, 208, 0.45));
}

/* Compatible reading layouts and touch/accessibility refinements. */
:root { --c42c8c-hh: 118px; }
.c42c8c-brand { min-height: 44px; }
.c42c8c-closebtn { width: 44px; height: 44px; }
.c42c8c-gname { display: block; overflow: visible; -webkit-line-clamp: unset; overflow-wrap: anywhere; }
.c42c8c-gcard:active { transform: none; }
.c42c8c-ggrid { align-items: stretch; }
.c42c8c-route, .c42c8c-dirlink { min-width: 0; overflow-wrap: anywhere; }
.c42c8c-dirlink { min-height: 44px; }
.c42c8c-main h2 { font-size: 18px; line-height: 1.55; margin-bottom: 10px; font-weight: 800; }
.c42c8c-main h3 { font-size: 14px; line-height: 1.6; margin: 8px 0 5px; }
.c42c8c-main p { overflow-wrap: break-word; }
.c42c8c-revs { display: grid; grid-template-columns: 1fr; margin: 0; padding: 0; overflow: visible; }
.c42c8c-rev { max-width: none; }
.c42c8c-mod > .c42c8c-card { margin-top: 10px; }
.c42c8c-brief { padding: 12px 0; border-bottom: 1px dashed var(--c42c8c-line); }
.c42c8c-brief p, .c42c8c-next p, .c42c8c-boundary p, .c42c8c-proof p,
.c42c8c-branch p, .c42c8c-answer p, .c42c8c-choice dd, .c42c8c-glossary dd,
.c42c8c-stoplist li { font-size: 13px; line-height: 1.95; color: var(--c42c8c-soft); }
.c42c8c-next { border-left: 3px solid var(--c42c8c-sea); padding: 8px 12px; margin-top: 13px; }
.c42c8c-boundary { padding: 15px; border: 1px solid var(--c42c8c-line); border-radius: 9px 18px 18px 9px; background: var(--c42c8c-surface); margin-top: 16px; }
.c42c8c-proof { padding: 12px 0; border-top: 1px solid var(--c42c8c-line); border-bottom: 1px solid var(--c42c8c-line); }
.c42c8c-choice, .c42c8c-glossary { margin: 12px 0 0; }
.c42c8c-choice dt, .c42c8c-glossary dt { color: var(--c42c8c-teal); font-weight: 800; padding-top: 14px; }
.c42c8c-choice dd, .c42c8c-glossary dd { margin: 5px 0 0; padding-bottom: 14px; border-bottom: 1px dashed var(--c42c8c-line); }
.c42c8c-branch { margin-top: 20px; padding: 15px; border-radius: 18px 9px 18px 9px; background: var(--c42c8c-surface); border-top: 3px solid var(--c42c8c-sea); }
.c42c8c-stoplist { border-left: 3px solid var(--c42c8c-cyan); padding-left: 14px; }
.c42c8c-stoplist li { margin-top: 12px; }
.c42c8c-answer { padding: 15px 0; border-top: 1px solid var(--c42c8c-line); }
.c42c8c-main a:not(.c42c8c-brand) { text-decoration: underline; text-underline-offset: 3px; }
.c42c8c-main a { display: inline-block; min-height: 44px; }
.c42c8c-caro > .c42c8c-note { margin: 0; padding: 12px; }
.c42c8c-canvas { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
.c42c8c-main { padding-bottom: 0; }
.c42c8c-dots { position: static; transform: none; justify-content: center; padding: 3px 0; background: #171A1A; }
.c42c8c-dot, .c42c8c-dot.c42c8c-on { width: 44px; height: 44px; background: transparent; box-shadow: none; display: grid; place-items: center; }
.c42c8c-dot::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: var(--c42c8c-soft); }
.c42c8c-dot.c42c8c-on::before { width: 22px; background: var(--c42c8c-cyan); }
.c42c8c-pause { min-height: 44px; width: 100%; background: #171A1A; color: var(--c42c8c-teal); border: 0; border-top: 1px solid var(--c42c8c-line); }
.c42c8c-dockitem { color: var(--c42c8c-soft); }
.c42c8c-main :focus-visible { outline: 2px solid var(--c42c8c-cyan); outline-offset: 3px; }

/* ------------------------------------------------------------ a11y/misc */
.c42c8c-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
