/* ==========================================================================
   acebet.click - mobile-first base stylesheet
   class prefix : c8a87a-
   canvas       : 320-430px phone frame, centered on wide screens
   palette      : #2E4057 base / #FFEFD5 accent / #D3D3D3 + #BDC3C7 text
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. design tokens
   -------------------------------------------------------------------------- */
:root {
  --c8a87a-bg: #2e4057;
  --c8a87a-bg-deep: #26374e;
  --c8a87a-bg-ink: #1b2939;
  --c8a87a-panel: #38506e;
  --c8a87a-panel-soft: #334963;
  --c8a87a-line: #52688a;
  --c8a87a-line-soft: #43587a;
  --c8a87a-cream: #ffefd5;
  --c8a87a-silver: #d3d3d3;
  --c8a87a-muted: #bdc3c7;
  --c8a87a-on-cream: #23364c;
  --c8a87a-shadow-1: 0 8px 22px rgba(11, 20, 33, 0.38);
  --c8a87a-shadow-2: 0 2px 8px rgba(11, 20, 33, 0.45);
  --c8a87a-r-card: 6px;
  --c8a87a-r-tile: 10px;
  --c8a87a-r-btn: 999px;
  --c8a87a-font-head: "Segoe UI", "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
  --c8a87a-font-body: system-ui, -apple-system, "Segoe UI", "Noto Sans Bengali", "Hind Siliguri", sans-serif;
  --c8a87a-topbar-h: 58px;
  --c8a87a-bnav-h: 66px;
  --c8a87a-tap: 44px;
  --c8a87a-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. base + shell
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--c8a87a-bg-ink);
  color: var(--c8a87a-silver);
  font-family: var(--c8a87a-font-body);
  font-size: 15px;
  line-height: 1.72;
  overflow-x: hidden;
}

.c8a87a-shell {
  position: relative;
  background: var(--c8a87a-bg);
  min-height: 100vh;
  overflow-x: clip;
}

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

a { color: var(--c8a87a-cream); }

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

h1, h2, h3 {
  font-family: var(--c8a87a-font-head);
  color: var(--c8a87a-cream);
  margin: 0;
  line-height: 1.38;
  letter-spacing: 0.015em;
}

p { margin: 0 0 0.9em; }

.c8a87a-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--c8a87a-cream);
  color: var(--c8a87a-on-cream);
  padding: 10px 16px;
  border-radius: 0 0 var(--c8a87a-r-tile) 0;
  font-weight: 700;
  z-index: 120;
}

.c8a87a-skip:focus { left: 0; }

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

::selection { background: var(--c8a87a-cream); color: var(--c8a87a-on-cream); }

/* --------------------------------------------------------------------------
   3. top action bar (logo-led)
   -------------------------------------------------------------------------- */
.c8a87a-topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--c8a87a-topbar-h);
  padding: 8px 12px 8px 14px;
  background: linear-gradient(180deg, #2f425a 0%, var(--c8a87a-bg) 100%);
  border-bottom: 1px solid var(--c8a87a-line);
  box-shadow: var(--c8a87a-shadow-2);
}

.c8a87a-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-right: auto;
  min-width: 0;
  text-decoration: none;
}

.c8a87a-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--c8a87a-line);
  background: var(--c8a87a-bg-deep);
  object-fit: cover;
  flex: 0 0 auto;
}

.c8a87a-brand-name {
  font-family: var(--c8a87a-font-head);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c8a87a-cream);
  white-space: nowrap;
}

.c8a87a-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}

/* compact dual button group (register / login) */
.c8a87a-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 15px;
  border-radius: var(--c8a87a-r-btn);
  border: 1.5px solid transparent;
  font-size: 13.5px;
  font-weight: 700;
  font-family: var(--c8a87a-font-head);
  letter-spacing: 0.03em;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.15s var(--c8a87a-ease), background-color 0.2s, color 0.2s, border-color 0.2s;
}

.c8a87a-btn:active { transform: translateY(1px) scale(0.96); }

.c8a87a-btn--solid {
  background: var(--c8a87a-cream);
  color: var(--c8a87a-on-cream);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.28);
}

.c8a87a-btn--solid:active { box-shadow: 0 1px 0 rgba(0, 0, 0, 0.28); }

.c8a87a-btn--ghost {
  background: transparent;
  border-color: var(--c8a87a-silver);
  color: var(--c8a87a-cream);
}

.c8a87a-btn--sm { min-height: 34px; padding: 7px 13px; font-size: 12.5px; }

.c8a87a-burger {
  width: var(--c8a87a-tap);
  height: var(--c8a87a-tap);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: transparent;
  border: 1.5px solid var(--c8a87a-line);
  border-radius: 12px;
  flex: 0 0 auto;
  transition: border-color 0.2s, transform 0.15s var(--c8a87a-ease);
}

.c8a87a-burger:active { transform: scale(0.92); }

.c8a87a-burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--c8a87a-cream);
}

/* --------------------------------------------------------------------------
   4. side drawer menu
   -------------------------------------------------------------------------- */
.c8a87a-scrim {
  position: fixed;
  inset: 0;
  background: rgba(15, 24, 38, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--c8a87a-ease), visibility 0.25s;
  z-index: 80;
}

.c8a87a-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: max(0px, calc(50vw - 215px));
  width: min(82vw, 318px);
  background: var(--c8a87a-bg-deep);
  border-left: 1px solid var(--c8a87a-line);
  box-shadow: -14px 0 34px rgba(8, 15, 26, 0.5);
  transform: translateX(102%);
  transition: transform 0.28s var(--c8a87a-ease);
  z-index: 90;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 14px 16px 26px;
  visibility: hidden;
}

body.c8a87a-drawer-on .c8a87a-scrim { opacity: 1; visibility: visible; }

body.c8a87a-drawer-on .c8a87a-drawer { transform: translateX(0); visibility: visible; }

.c8a87a-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--c8a87a-line);
  margin-bottom: 14px;
}

.c8a87a-drawer-title {
  font-family: var(--c8a87a-font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c8a87a-muted);
}

.c8a87a-drawer-close {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1.5px solid var(--c8a87a-line);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.c8a87a-drawer-close svg { width: 18px; height: 18px; stroke: var(--c8a87a-cream); }

.c8a87a-drawer-group { margin-bottom: 16px; }

.c8a87a-drawer-cap {
  margin: 0 0 7px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c8a87a-muted);
  font-family: var(--c8a87a-font-head);
}

.c8a87a-drawer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.c8a87a-drawer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--c8a87a-tap);
  padding: 10px 12px;
  border: 1px solid var(--c8a87a-line-soft);
  border-radius: var(--c8a87a-r-card);
  background: var(--c8a87a-panel-soft);
  text-decoration: none;
  color: var(--c8a87a-silver);
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.2s, background-color 0.2s, transform 0.15s var(--c8a87a-ease);
}

.c8a87a-drawer-link:active { transform: scale(0.97); }

.c8a87a-drawer-link:hover { border-color: var(--c8a87a-cream); color: var(--c8a87a-cream); }

.c8a87a-drawer-link svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  stroke: var(--c8a87a-muted);
}

.c8a87a-drawer-link:hover svg { stroke: var(--c8a87a-cream); }

.c8a87a-drawer-cta {
  margin-top: auto;
  padding-top: 16px;
  display: grid;
  gap: 8px;
}

/* --------------------------------------------------------------------------
   5. hero
   -------------------------------------------------------------------------- */
.c8a87a-main {
  padding: 4px 14px calc(var(--c8a87a-bnav-h) + 34px + env(safe-area-inset-bottom, 0px));
}

.c8a87a-hero {
  padding: 18px 0 4px;
}

.c8a87a-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  font-family: var(--c8a87a-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c8a87a-on-cream);
  background: var(--c8a87a-muted);
  clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
  margin-bottom: 12px;
}

.c8a87a-hero h1 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}

.c8a87a-lede {
  font-size: 15px;
  color: var(--c8a87a-silver);
}

.c8a87a-cta-duo {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 14px 0 12px;
}

.c8a87a-cta-duo .c8a87a-btn { flex: 1 1 140px; min-height: 42px; }

.c8a87a-facts {
  list-style: none;
  margin: 0 0 6px;
  padding: 0;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
}

.c8a87a-facts::-webkit-scrollbar { display: none; }

.c8a87a-fact {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border: 1px solid var(--c8a87a-line);
  border-radius: var(--c8a87a-r-btn);
  background: var(--c8a87a-bg-deep);
  font-size: 12px;
  font-weight: 600;
  color: var(--c8a87a-muted);
  white-space: nowrap;
}

.c8a87a-fact svg { width: 13px; height: 13px; stroke: var(--c8a87a-cream); flex: 0 0 auto; }

/* --------------------------------------------------------------------------
   6. promo banner carousel
   -------------------------------------------------------------------------- */
.c8a87a-cv {
  margin: 16px 0 6px;
  border: 1px solid var(--c8a87a-line);
  border-radius: var(--c8a87a-r-tile);
  background: var(--c8a87a-bg-deep);
  overflow: hidden;
}

.c8a87a-cv-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.c8a87a-cv-track::-webkit-scrollbar { display: none; }

.c8a87a-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  position: relative;
  border: 0;
  padding: 0;
  background: var(--c8a87a-bg-ink);
  text-align: left;
  aspect-ratio: 2 / 1;
  display: block;
}

.c8a87a-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c8a87a-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 14px 12px;
  background: linear-gradient(180deg, rgba(20, 32, 48, 0) 0%, rgba(20, 32, 48, 0.88) 62%);
  display: grid;
  gap: 2px;
}

.c8a87a-slide-cap strong {
  font-family: var(--c8a87a-font-head);
  font-size: 16.5px;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
}

.c8a87a-slide-cap small {
  font-size: 12px;
  color: var(--c8a87a-muted);
  line-height: 1.5;
}

.c8a87a-cv-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border-top: 1px solid var(--c8a87a-line-soft);
}

.c8a87a-cv-dots {
  display: flex;
  gap: 6px;
}

.c8a87a-dot {
  width: 14px;
  height: 6px;
  border-radius: 3px;
  border: 0;
  padding: 0;
  background: var(--c8a87a-line);
  transition: width 0.25s var(--c8a87a-ease), background-color 0.25s;
}

.c8a87a-dot.is-on { width: 26px; background: var(--c8a87a-cream); }

.c8a87a-cv-arrows {
  display: flex;
  gap: 6px;
}

.c8a87a-cv-arrow {
  width: 40px;
  height: 34px;
  border-radius: 9px;
  border: 1.5px solid var(--c8a87a-line);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, transform 0.15s var(--c8a87a-ease);
}

.c8a87a-cv-arrow:active { transform: scale(0.92); border-color: var(--c8a87a-cream); }

.c8a87a-cv-arrow svg { width: 16px; height: 16px; stroke: var(--c8a87a-cream); }

/* --------------------------------------------------------------------------
   7. category quick strip
   -------------------------------------------------------------------------- */
.c8a87a-cats {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 14px 0 4px;
  padding: 2px 0 6px;
  scrollbar-width: none;
}

.c8a87a-cats::-webkit-scrollbar { display: none; }

.c8a87a-cat-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 14px;
  border: 1.5px solid var(--c8a87a-line);
  border-radius: var(--c8a87a-r-btn);
  background: var(--c8a87a-panel-soft);
  color: var(--c8a87a-silver);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--c8a87a-font-head);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s, transform 0.15s var(--c8a87a-ease);
}

.c8a87a-cat-chip:active { transform: scale(0.95); }

.c8a87a-cat-chip:hover { border-color: var(--c8a87a-cream); color: var(--c8a87a-cream); }

.c8a87a-cat-chip i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--c8a87a-muted);
  font-style: normal;
}

/* --------------------------------------------------------------------------
   8. content sections (question-driven rhythm)
   -------------------------------------------------------------------------- */
.c8a87a-sec {
  margin-top: 30px;
  scroll-margin-top: calc(var(--c8a87a-topbar-h) + 10px);
}

.c8a87a-sec-head {
  display: grid;
  gap: 7px;
  margin-bottom: 12px;
}

.c8a87a-sec-q {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px 4px 9px;
  background: var(--c8a87a-panel);
  border-left: 3px solid var(--c8a87a-cream);
  font-family: var(--c8a87a-font-head);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c8a87a-cream);
}

.c8a87a-sec h2 {
  font-size: 19.5px;
  font-weight: 800;
  padding-left: 11px;
  border-left: 3px solid var(--c8a87a-muted);
}

.c8a87a-sec-note {
  font-size: 14px;
  color: var(--c8a87a-silver);
}

.c8a87a-sec-note a {
  color: var(--c8a87a-cream);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   9. game grid + cards (image over bottom name bar)
   -------------------------------------------------------------------------- */
.c8a87a-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 12px;
}

.c8a87a-grid--dense { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.c8a87a-gcard {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--c8a87a-line-soft);
  border-radius: var(--c8a87a-r-card);
  background: var(--c8a87a-bg-deep);
  overflow: hidden;
  aspect-ratio: 1 / 1.18;
  transition: border-color 0.2s, transform 0.15s var(--c8a87a-ease), box-shadow 0.2s;
}

.c8a87a-gcard:active {
  transform: scale(0.95);
  border-color: var(--c8a87a-cream);
  box-shadow: var(--c8a87a-shadow-1);
}

.c8a87a-gcard-img {
  width: 100%;
  height: calc(100% - 30px);
  object-fit: cover;
  background: var(--c8a87a-bg-ink);
}

.c8a87a-gcard-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 30px;
  display: flex;
  align-items: center;
  padding: 4px 7px;
  background: linear-gradient(180deg, rgba(24, 37, 54, 0.94), rgba(15, 24, 37, 0.97));
  border-top: 1px solid rgba(255, 239, 213, 0.16);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--c8a87a-cream);
  text-align: center;
  justify-content: center;
}

.c8a87a-gcard-tag {
  position: absolute;
  top: 5px;
  left: 5px;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(27, 41, 57, 0.85);
  border: 1px solid rgba(255, 239, 213, 0.35);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c8a87a-cream);
  font-family: var(--c8a87a-font-head);
}

/* --------------------------------------------------------------------------
   10. info modules: steps, tricks, faq, milestones, takeaways
   -------------------------------------------------------------------------- */
.c8a87a-mod {
  margin-top: 12px;
  border: 1px solid var(--c8a87a-line-soft);
  border-left: 3px solid var(--c8a87a-muted);
  border-radius: var(--c8a87a-r-card);
  background: var(--c8a87a-bg-deep);
  padding: 14px 13px 8px;
}

.c8a87a-mod p { font-size: 14px; }

.c8a87a-mod a {
  color: var(--c8a87a-cream);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.c8a87a-steps {
  list-style: none;
  margin: 12px 0;
  padding: 0;
  display: grid;
  gap: 10px;
  counter-reset: c8a87a-step;
}

.c8a87a-step {
  counter-increment: c8a87a-step;
  position: relative;
  padding: 10px 12px 10px 50px;
  border: 1px solid var(--c8a87a-line-soft);
  border-radius: var(--c8a87a-r-card);
  background: var(--c8a87a-panel-soft);
  font-size: 13.5px;
}

.c8a87a-step::before {
  content: "0" counter(c8a87a-step);
  position: absolute;
  left: 12px;
  top: 12px;
  width: 28px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c8a87a-cream);
  color: var(--c8a87a-on-cream);
  font-family: var(--c8a87a-font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
}

.c8a87a-step strong { color: var(--c8a87a-cream); display: block; margin-bottom: 2px; }

.c8a87a-tricks {
  list-style: none;
  margin: 12px 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.c8a87a-tricks li {
  position: relative;
  padding: 10px 12px 10px 34px;
  border: 1px dashed var(--c8a87a-line);
  border-radius: var(--c8a87a-r-card);
  font-size: 13.5px;
  background: rgba(38, 55, 78, 0.5);
}

.c8a87a-tricks li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 15px;
  width: 9px;
  height: 9px;
  background: var(--c8a87a-cream);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.c8a87a-tricks strong { color: var(--c8a87a-cream); }

.c8a87a-warn {
  margin: 12px 0;
  padding: 11px 13px;
  border: 1px solid rgba(255, 239, 213, 0.4);
  border-left: 4px solid var(--c8a87a-cream);
  border-radius: var(--c8a87a-r-card);
  background: rgba(255, 239, 213, 0.07);
  font-size: 13px;
  color: var(--c8a87a-cream);
}

.c8a87a-faq {
  margin: 12px 0;
  display: grid;
  gap: 9px;
}

.c8a87a-faq details {
  border: 1px solid var(--c8a87a-line-soft);
  border-radius: var(--c8a87a-r-card);
  background: var(--c8a87a-panel-soft);
  overflow: hidden;
}

.c8a87a-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: var(--c8a87a-tap);
  padding: 11px 13px;
  font-size: 14px;
  font-weight: 700;
  color: var(--c8a87a-cream);
  font-family: var(--c8a87a-font-head);
}

.c8a87a-faq summary::-webkit-details-marker { display: none; }

.c8a87a-faq summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--c8a87a-cream);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 800;
  transition: transform 0.2s var(--c8a87a-ease);
}

.c8a87a-faq details[open] summary::after { transform: rotate(45deg); }

.c8a87a-faq-a {
  padding: 0 13px 13px;
  font-size: 13.5px;
  color: var(--c8a87a-silver);
  border-top: 1px dashed var(--c8a87a-line-soft);
  padding-top: 10px;
  margin: 0 0 4px;
}

.c8a87a-mile {
  list-style: none;
  margin: 14px 0 8px;
  padding: 0 0 0 22px;
  position: relative;
  display: grid;
  gap: 12px;
}

.c8a87a-mile::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--c8a87a-cream), var(--c8a87a-line));
}

.c8a87a-mile li {
  position: relative;
  font-size: 13.5px;
  padding: 2px 0 2px 8px;
}

.c8a87a-mile li::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 7px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--c8a87a-cream);
  background: var(--c8a87a-bg);
  transform: rotate(45deg);
}

.c8a87a-mile strong { color: var(--c8a87a-cream); display: block; }

.c8a87a-take {
  list-style: none;
  margin: 12px 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.c8a87a-take li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 11px;
  border: 1px solid var(--c8a87a-line-soft);
  border-radius: var(--c8a87a-r-card);
  background: var(--c8a87a-panel-soft);
  font-size: 12.5px;
  line-height: 1.6;
}

.c8a87a-take svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  margin-top: 3px;
  stroke: var(--c8a87a-cream);
}

/* --------------------------------------------------------------------------
   11. extended footer (brand > directory > promos > disclaimer)
   -------------------------------------------------------------------------- */
.c8a87a-xfoot {
  margin-top: 34px;
  border: 1px solid var(--c8a87a-line);
  border-radius: var(--c8a87a-r-tile);
  background: var(--c8a87a-bg-deep);
  padding: 16px 14px;
  display: grid;
  gap: 16px;
}

.c8a87a-xf-cap {
  margin: 0 0 8px;
  font-family: var(--c8a87a-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c8a87a-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.c8a87a-xf-cap::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--c8a87a-line-soft);
}

.c8a87a-xf-brand {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}

.c8a87a-xf-brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--c8a87a-line);
  flex: 0 0 auto;
}

.c8a87a-xf-brand p { margin: 0; font-size: 13px; }

.c8a87a-xf-brand strong {
  display: block;
  font-family: var(--c8a87a-font-head);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c8a87a-cream);
  margin-bottom: 3px;
}

.c8a87a-xf-dir {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.c8a87a-xf-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--c8a87a-line-soft);
  border-radius: var(--c8a87a-r-card);
  background: var(--c8a87a-panel-soft);
  text-decoration: none;
  color: var(--c8a87a-silver);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  transition: border-color 0.2s, color 0.2s, transform 0.15s var(--c8a87a-ease);
}

.c8a87a-xf-link:active { transform: scale(0.97); }

.c8a87a-xf-link:hover { border-color: var(--c8a87a-cream); color: var(--c8a87a-cream); }

.c8a87a-xf-link svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  stroke: var(--c8a87a-muted);
}

.c8a87a-xf-promos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.c8a87a-xf-promo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 84px;
  padding: 12px;
  border: 1.5px solid rgba(255, 239, 213, 0.55);
  border-radius: var(--c8a87a-r-tile);
  background: linear-gradient(160deg, rgba(255, 239, 213, 0.1), rgba(189, 195, 199, 0.04));
  text-align: left;
  transition: transform 0.15s var(--c8a87a-ease), border-color 0.2s;
}

.c8a87a-xf-promo:active { transform: scale(0.96); border-color: var(--c8a87a-cream); }

.c8a87a-xf-promo svg { width: 22px; height: 22px; stroke: var(--c8a87a-cream); }

.c8a87a-xf-promo strong {
  font-family: var(--c8a87a-font-head);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--c8a87a-cream);
  line-height: 1.35;
}

.c8a87a-xf-promo small { font-size: 11px; color: var(--c8a87a-muted); line-height: 1.5; }

.c8a87a-xf-disc {
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--c8a87a-muted);
  background: rgba(27, 41, 57, 0.55);
  border-radius: var(--c8a87a-r-card);
  font-size: 11.5px;
  color: var(--c8a87a-muted);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   12. universal footer + back to top
   -------------------------------------------------------------------------- */
.c8a87a-foot {
  margin-top: 22px;
  padding: 16px 2px 6px;
  border-top: 1px solid var(--c8a87a-line-soft);
  text-align: center;
}

.c8a87a-foot-copy {
  margin: 0 0 6px;
  font-size: 12.5px;
  color: var(--c8a87a-muted);
}

.c8a87a-foot-note {
  margin: 0;
  font-size: 11px;
  color: var(--c8a87a-muted);
  opacity: 0.85;
}

.c8a87a-totop {
  margin: 0 auto 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 18px;
  border: 1.5px solid var(--c8a87a-line);
  border-radius: var(--c8a87a-r-btn);
  background: transparent;
  color: var(--c8a87a-cream);
  font-family: var(--c8a87a-font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: border-color 0.2s, transform 0.15s var(--c8a87a-ease);
}

.c8a87a-totop:active { transform: translateY(1px) scale(0.96); }

.c8a87a-totop svg { width: 14px; height: 14px; stroke: currentColor; }

/* --------------------------------------------------------------------------
   13. mobile bottom navigation (outlined function bar)
   -------------------------------------------------------------------------- */
.c8a87a-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
  padding: 7px 6px calc(7px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(38, 55, 78, 0.97), rgba(27, 41, 57, 0.99));
  border-top: 1.5px solid var(--c8a87a-line);
  backdrop-filter: blur(6px);
}

.c8a87a-bnav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: var(--c8a87a-tap);
  padding: 4px 2px;
  border: 0;
  background: transparent;
  text-decoration: none;
  color: var(--c8a87a-muted);
  border-radius: 10px;
}

.c8a87a-bnav-item::before {
  /* sliding focus indicator above the active item */
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 22px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--c8a87a-cream);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.25s var(--c8a87a-ease);
}

.c8a87a-bnav-item.is-on { color: var(--c8a87a-cream); }

.c8a87a-bnav-item.is-on::before { transform: translateX(-50%) scaleX(1); }

.c8a87a-bnav-ic {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--c8a87a-line);
  border-radius: 9px;
  background: var(--c8a87a-bg-deep);
  transition: border-color 0.2s, transform 0.15s var(--c8a87a-ease);
}

.c8a87a-bnav-ic svg { width: 16px; height: 16px; stroke: currentColor; }

.c8a87a-bnav-item:active .c8a87a-bnav-ic { transform: scale(0.88); border-color: var(--c8a87a-cream); }

.c8a87a-bnav-item.is-on .c8a87a-bnav-ic { border-color: rgba(255, 239, 213, 0.7); }

.c8a87a-bnav-lb {
  font-size: 10.5px;
  font-weight: 700;
  font-family: var(--c8a87a-font-head);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

/* --------------------------------------------------------------------------
   14. breakpoints (mobile canvas first, then centered frame)
   -------------------------------------------------------------------------- */

/* small phones: keep 4 columns, slightly tighter gaps */
@media (max-width: 359px) {
  .c8a87a-main { padding-left: 11px; padding-right: 11px; }
  .c8a87a-hero h1 { font-size: 21.5px; }
  .c8a87a-grid { gap: 7px; }
  .c8a87a-gcard-bar { font-size: 10.5px; }
}

/* mid phones: dense category may widen to 5 columns */
@media (min-width: 375px) and (max-width: 430px) {
  .c8a87a-grid--dense { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .c8a87a-hero h1 { font-size: 25px; }
}

/* 430px canvas: cap the shell and center it on wider screens */
@media (min-width: 431px) {
  body { background: #16222f; }
  .c8a87a-shell {
    max-width: 430px;
    margin-inline: auto;
    border-inline: 1px solid var(--c8a87a-line);
    box-shadow: 0 0 44px rgba(0, 0, 0, 0.5);
  }
  .c8a87a-grid--dense { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* landscape / very narrow height tweaks */
@media (max-height: 480px) and (orientation: landscape) {
  .c8a87a-slide { aspect-ratio: 2.6 / 1; }
}

/* respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}
