/* ============================================================
   tg7776 site - mobile shell stylesheet (compact shell)
   Prefix : ccf42a-
   Canvas : 320-430px phone-first, centered on wide screens
   Palette: #191970 / #0000FF / #880E4F / #AD1457 / #0E1621
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --ccf42a-ink:        #0E1621;  /* deepest navy - page base */
  --ccf42a-void:       #070b12;  /* outer page wash */
  --ccf42a-night:      #191970;  /* midnight blue - panels/headers */
  --ccf42a-night-soft: #141d3f;  /* lifted panel surface */
  --ccf42a-royal:      #0000FF;  /* electric blue - focus/active marks */
  --ccf42a-royal-soft: #2a2dff;  /* readable blue for text marks */
  --ccf42a-plum:       #880E4F;  /* dark magenta - secondary surfaces */
  --ccf42a-magenta:    #AD1457;  /* primary CTA */
  --ccf42a-magenta-hi: #d81b60;  /* CTA hover/press tint */
  --ccf42a-paper:      #f4eef6;  /* main text */
  --ccf42a-mist:       #b9c4e0;  /* muted text */
  --ccf42a-hair:       rgba(185, 196, 224, 0.16);
  --ccf42a-hair-blue:  rgba(42, 45, 255, 0.38);
  --ccf42a-font-round: "Baloo 2", "Comfortaa", "Quicksand", "SF Pro Rounded",
                       ui-rounded, "Trebuchet MS", "Segoe UI", sans-serif;
  --ccf42a-font-body:  "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  --ccf42a-radius:     6px;       /* low radius, sectioned feel */
  --ccf42a-radius-sm:  4px;
  --ccf42a-tap:        44px;      /* minimum touch target */
}

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

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

body {
  background: var(--ccf42a-void);
  color: var(--ccf42a-paper);
  font-family: var(--ccf42a-font-body);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.1px;
  overflow-x: hidden;
}

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

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

a { color: var(--ccf42a-royal-soft); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--ccf42a-font-round);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.2px;
}

:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--ccf42a-royal);
  outline-offset: 2px;
  border-radius: var(--ccf42a-radius-sm);
}

::selection { background: var(--ccf42a-plum); color: #fff; }

/* ---------- phone canvas ---------- */
.ccf42a-canvas {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 46% at 50% -4%, rgba(25, 25, 112, 0.55) 0%, rgba(14, 22, 33, 0) 62%),
    linear-gradient(180deg, #101a2b 0%, var(--ccf42a-ink) 38%, #0b1220 100%);
  overflow-x: clip;
}

/* wide screens keep the centered phone canvas */
@media (min-width: 480px) {
  body {
    background:
      radial-gradient(60% 40% at 50% 0%, rgba(25, 25, 112, 0.28) 0%, rgba(7, 11, 18, 0) 70%),
      var(--ccf42a-void);
  }
  .ccf42a-canvas {
    box-shadow: 0 0 0 1px rgba(42, 45, 255, 0.22), 0 24px 60px rgba(0, 0, 0, 0.55);
  }
}

/* ---------- top bar : compact brand strip ---------- */
.ccf42a-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 7px 10px;
  padding-top: calc(7px + env(safe-area-inset-top));
  background: linear-gradient(180deg, rgba(10, 15, 26, 0.97) 0%, rgba(10, 15, 26, 0.88) 100%);
  border-bottom: 1px solid var(--ccf42a-hair-blue);
  backdrop-filter: blur(8px);
}

.ccf42a-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--ccf42a-tap);
  margin-right: auto;
  color: var(--ccf42a-paper);
  text-decoration: none;
}

.ccf42a-brand:hover { text-decoration: none; }

.ccf42a-brand-logo {
  width: 34px;
  height: 34px;
  border-radius: var(--ccf42a-radius-sm);
  border: 1px solid var(--ccf42a-hair-blue);
  object-fit: cover;
  flex: none;
  background: #0b1220;
}

.ccf42a-brand-name {
  font-family: var(--ccf42a-font-round);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #fff;
  white-space: nowrap;
}

.ccf42a-topbar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}

/* icon-text compact CTA */
.ccf42a-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 36px;
  padding: 7px 12px;
  border-radius: var(--ccf42a-radius-sm);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.12s ease, background-color 0.12s ease, box-shadow 0.12s ease;
}

.ccf42a-cta svg { width: 14px; height: 14px; flex: none; }

.ccf42a-cta-main {
  background: linear-gradient(135deg, var(--ccf42a-magenta) 0%, var(--ccf42a-plum) 100%);
  color: #fff;
  box-shadow: 0 3px 10px rgba(173, 20, 87, 0.42);
}

.ccf42a-cta-main:active {
  transform: translateY(1px);
  background: var(--ccf42a-magenta-hi);
}

.ccf42a-cta-ghost {
  background: rgba(42, 45, 255, 0.10);
  color: #dfe6ff;
  border: 1px solid var(--ccf42a-hair-blue);
}

.ccf42a-cta-ghost:active { transform: translateY(1px); background: rgba(42, 45, 255, 0.22); }

/* menu trigger */
.ccf42a-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--ccf42a-radius-sm);
  border: 1px solid var(--ccf42a-hair-blue);
  background: rgba(20, 29, 63, 0.65);
  color: var(--ccf42a-paper);
}

.ccf42a-menu-btn svg { width: 18px; height: 18px; }

.ccf42a-menu-btn[aria-expanded="true"] {
  background: var(--ccf42a-night);
  border-color: var(--ccf42a-royal-soft);
}

/* ---------- slide-up route panel ---------- */
.ccf42a-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(4, 6, 11, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.ccf42a-route-panel {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 105%);
  width: 100%;
  max-width: 430px;
  z-index: 80;
  padding: 14px 14px calc(16px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, #182246 0%, #0d1425 100%);
  border-top: 2px solid var(--ccf42a-royal-soft);
  border-radius: 14px 14px 0 0;
  box-shadow: 0 -14px 40px rgba(0, 0, 0, 0.55);
  transition: transform 0.26s cubic-bezier(0.22, 0.9, 0.3, 1);
  max-height: 78vh;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.ccf42a-is-open .ccf42a-menu-backdrop { opacity: 1; visibility: visible; }
.ccf42a-is-open .ccf42a-route-panel  { transform: translate(-50%, 0); }
.ccf42a-is-open { overflow: hidden; }

.ccf42a-route-grip {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: var(--ccf42a-hair);
  margin: 0 auto 10px;
}

.ccf42a-route-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.ccf42a-route-title h2 {
  font-size: 16px;
  color: #fff;
}

.ccf42a-route-title span {
  font-size: 11px;
  color: var(--ccf42a-mist);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.ccf42a-route-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.ccf42a-route-link {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 9px 10px;
  border-radius: var(--ccf42a-radius-sm);
  background: rgba(14, 22, 33, 0.6);
  border: 1px solid var(--ccf42a-hair);
  color: var(--ccf42a-paper);
  font-size: 13px;
  font-weight: 600;
}

.ccf42a-route-link svg {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--ccf42a-royal-soft);
}

.ccf42a-route-link:active { background: rgba(42, 45, 255, 0.18); }

.ccf42a-route-link:hover { text-decoration: none; }

/* current page marker in the panel */
.ccf42a-route-link[aria-current="page"] {
  border-color: var(--ccf42a-royal-soft);
  background: rgba(42, 45, 255, 0.14);
  box-shadow: inset 0 -2px 0 var(--ccf42a-royal-soft);
}

.ccf42a-route-note {
  margin-top: 10px;
  padding: 9px 11px;
  border-left: 3px solid var(--ccf42a-magenta);
  border-radius: var(--ccf42a-radius-sm);
  background: rgba(136, 14, 79, 0.16);
  font-size: 12px;
  color: var(--ccf42a-mist);
}

/* ---------- main column ---------- */
.ccf42a-main {
  padding: calc(64px + env(safe-area-inset-top)) 12px calc(104px + env(safe-area-inset-bottom));
}

/* ---------- hero ---------- */
.ccf42a-hero {
  margin: 10px 0 14px;
}

.ccf42a-hero-title {
  font-size: 23px;
  color: #fff;
  margin: 2px 2px 8px;
}

.ccf42a-hero-title em {
  font-style: normal;
  color: #ff7bae;
}

.ccf42a-hero-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0 2px 12px;
  font-size: 12.5px;
  color: var(--ccf42a-mist);
}

.ccf42a-hero-sub b { color: #e8dded; font-weight: 600; }

.ccf42a-hero-sub .ccf42a-dot-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ccf42a-magenta-hi);
  flex: none;
}

/* banner carousel */
.ccf42a-hero-frame {
  position: relative;
  border-radius: var(--ccf42a-radius);
  border: 1px solid var(--ccf42a-hair-blue);
  background: var(--ccf42a-night-soft);
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.42);
}

.ccf42a-hero-track {
  display: flex;
  width: 100%;
  transition: transform 0.38s cubic-bezier(0.3, 0.8, 0.3, 1);
  touch-action: pan-y;
}

.ccf42a-hero-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  display: block;
}

.ccf42a-hero-slide img {
  width: 100%;
  aspect-ratio: 2.2 / 1;
  object-fit: cover;
}

.ccf42a-hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.ccf42a-hero-dot {
  width: 22px;
  height: 6px;
  border-radius: 3px;
  background: rgba(244, 238, 246, 0.32);
  transition: background-color 0.2s ease, width 0.2s ease;
}

.ccf42a-hero-dot.ccf42a-is-on {
  width: 30px;
  background: #fff;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.55);
}

/* quick fact chips */
.ccf42a-quick-row {
  display: flex;
  gap: 8px;
  margin: 0 0 18px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px;
}

.ccf42a-quick-row::-webkit-scrollbar { display: none; }

.ccf42a-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: var(--ccf42a-radius-sm);
  background: rgba(25, 25, 112, 0.42);
  border: 1px solid var(--ccf42a-hair-blue);
  font-size: 12px;
  font-weight: 600;
  color: #dfe6ff;
  white-space: nowrap;
}

.ccf42a-chip svg { width: 14px; height: 14px; color: #ff7bae; }

/* ---------- intro lead ---------- */
.ccf42a-lead-sec {
  margin: 0 0 18px;
  padding: 13px 14px;
  border-left: 3px solid var(--ccf42a-magenta);
  border-radius: var(--ccf42a-radius-sm);
  background: rgba(25, 25, 112, 0.30);
}

.ccf42a-lead-sec .ccf42a-lead {
  font-size: 13.5px;
  color: #e6dff0;
}

.ccf42a-lead-sec .ccf42a-lead + .ccf42a-lead { margin-top: 8px; }

/* ---------- section shell (low radius, sectioned) ---------- */
.ccf42a-sec {
  margin: 0 0 18px;
  background: var(--ccf42a-night-soft);
  border: 1px solid var(--ccf42a-hair);
  border-radius: var(--ccf42a-radius);
  overflow: hidden;
}

.ccf42a-sec-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 12px;
  background: linear-gradient(90deg, rgba(25, 25, 112, 0.85) 0%, rgba(25, 25, 112, 0.25) 100%);
  border-bottom: 1px solid var(--ccf42a-hair-blue);
}

.ccf42a-sec-head::before {
  content: "";
  width: 4px;
  height: 18px;
  flex: none;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--ccf42a-magenta-hi) 0%, var(--ccf42a-magenta) 100%);
}

.ccf42a-sec-head h2 {
  font-size: 16px;
  color: #fff;
  margin-right: auto;
}

.ccf42a-sec-count {
  flex: none;
  padding: 3px 8px;
  border-radius: 10px;
  background: rgba(136, 14, 79, 0.55);
  border: 1px solid rgba(216, 27, 96, 0.4);
  font-size: 11px;
  font-weight: 700;
  color: #ffd6e4;
}

.ccf42a-sec-more {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 32px;
  padding: 5px 9px;
  border-radius: var(--ccf42a-radius-sm);
  border: 1px solid var(--ccf42a-hair-blue);
  background: rgba(42, 45, 255, 0.10);
  font-size: 11.5px;
  font-weight: 700;
  color: #dfe6ff;
}

.ccf42a-sec-more svg { width: 12px; height: 12px; }

.ccf42a-sec-more:hover { text-decoration: none; background: rgba(42, 45, 255, 0.2); }

.ccf42a-sec-body { padding: 12px; }

.ccf42a-sec-kicker {
  display: block;
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ccf42a-mist);
}

/* ---------- game grid : grouped cover cards ---------- */
.ccf42a-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.ccf42a-game {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  padding: 5px 5px 7px;
  border-radius: var(--ccf42a-radius-sm);
  background: rgba(11, 18, 32, 0.72);
  border: 1px solid rgba(185, 196, 224, 0.10);
  text-align: center;
  -webkit-tap-highlight-color: rgba(173, 20, 87, 0.25);
}

.ccf42a-game:active {
  border-color: var(--ccf42a-magenta);
  background: rgba(136, 14, 79, 0.28);
}

.ccf42a-game-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 3px;
  background: #0b1220;
}

.ccf42a-game-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 600;
  color: #d9e0f2;
  min-height: 2.6em;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* wider phones / small tablets : 5 tracks */
@media (min-width: 430px) {
  .ccf42a-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
  .ccf42a-game-name { font-size: 11.5px; }
  .ccf42a-hero-title { font-size: 25px; }
  .ccf42a-main { padding-left: 16px; padding-right: 16px; }
}

/* ---------- editorial note sections ---------- */
.ccf42a-note-sec .ccf42a-sec-body { padding: 13px 14px 15px; }

.ccf42a-note-sec h3 {
  font-size: 14.5px;
  color: #ffe3ee;
  margin: 14px 0 6px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.ccf42a-note-sec h3:first-child { margin-top: 0; }

.ccf42a-note-sec h3 svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--ccf42a-magenta-hi);
}

.ccf42a-note-sec p {
  margin: 0 0 9px;
  font-size: 13px;
  color: #d5dcec;
}

.ccf42a-note-sec p:last-child { margin-bottom: 0; }

.ccf42a-note-sec strong { color: #fff; font-weight: 700; }

.ccf42a-inline-link {
  color: #9fb4ff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(42, 45, 255, 0.6);
  text-underline-offset: 2px;
}

/* numbered habit list */
.ccf42a-habit {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--ccf42a-hair);
}

.ccf42a-habit:last-child { border-bottom: 0; padding-bottom: 2px; }

.ccf42a-habit-num {
  flex: none;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(136, 14, 79, 0.5);
  border: 1px solid rgba(216, 27, 96, 0.45);
  font-family: var(--ccf42a-font-round);
  font-size: 12px;
  font-weight: 700;
  color: #ffd6e4;
}

.ccf42a-habit b {
  display: block;
  font-size: 13px;
  color: #fff;
  margin-bottom: 2px;
}

.ccf42a-habit span { font-size: 12.5px; color: var(--ccf42a-mist); }

/* scenario answer block */
.ccf42a-answer {
  padding: 11px 12px;
  border-radius: var(--ccf42a-radius-sm);
  background: rgba(25, 25, 112, 0.35);
  border-left: 3px solid var(--ccf42a-royal-soft);
  font-size: 13px;
  color: #e6e2f5;
  margin-bottom: 10px;
}

.ccf42a-mini-faq { border-top: 1px solid var(--ccf42a-hair); }

.ccf42a-mini-faq li {
  padding: 10px 0 10px 2px;
  border-bottom: 1px dashed var(--ccf42a-hair);
}

.ccf42a-mini-faq b {
  display: block;
  font-size: 13px;
  color: #ffe3ee;
  margin-bottom: 3px;
}

.ccf42a-mini-faq p { font-size: 12.5px; color: var(--ccf42a-mist); }

/* compact stat row for RTP notes */
.ccf42a-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin: 10px 0 12px;
}

.ccf42a-stat {
  padding: 9px 6px;
  text-align: center;
  border-radius: var(--ccf42a-radius-sm);
  background: rgba(11, 18, 32, 0.65);
  border: 1px solid var(--ccf42a-hair);
}

.ccf42a-stat b {
  display: block;
  font-family: var(--ccf42a-font-round);
  font-size: 16px;
  color: #ff7bae;
}

.ccf42a-stat span { font-size: 10.5px; color: var(--ccf42a-mist); letter-spacing: 0.3px; }

/* RTP bar meter */
.ccf42a-meter {
  margin: 8px 0 12px;
}

.ccf42a-meter-row {
  display: grid;
  grid-template-columns: 92px 1fr 38px;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 12px;
  color: #d5dcec;
}

.ccf42a-meter-row span:last-child { text-align: right; color: #ff9dc0; font-weight: 700; }

.ccf42a-meter-track {
  height: 7px;
  border-radius: 4px;
  background: rgba(11, 18, 32, 0.9);
  border: 1px solid var(--ccf42a-hair);
  overflow: hidden;
}

.ccf42a-meter-fill {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--ccf42a-royal-soft) 0%, var(--ccf42a-magenta) 100%);
}

/* ---------- payment partner strip ---------- */
.ccf42a-pay-sec { background: rgba(25, 25, 112, 0.22); }

.ccf42a-pay-row {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 12px 2px 4px;
  scrollbar-width: none;
}

.ccf42a-pay-row::-webkit-scrollbar { display: none; }

.ccf42a-pay-logo {
  flex: none;
  width: 74px;
  height: 42px;
  object-fit: contain;
  border-radius: var(--ccf42a-radius-sm);
  background: #f3f5fb;
  border: 1px solid var(--ccf42a-hair);
  padding: 3px;
}

/* ---------- footer ---------- */
.ccf42a-foot {
  border-top: 2px solid var(--ccf42a-hair-blue);
  background: linear-gradient(180deg, #101a30 0%, #0a101d 100%);
  padding: 16px 14px 20px;
}

.ccf42a-foot-block { margin-bottom: 18px; }

.ccf42a-foot-block:last-child { margin-bottom: 0; }

.ccf42a-foot-block > h3 {
  font-size: 13px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #ff9dc0;
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.ccf42a-foot-block > h3 svg { width: 14px; height: 14px; color: var(--ccf42a-royal-soft); }

/* directory : sectioned two-column list */
.ccf42a-dir-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.ccf42a-dir-list a {
  display: block;
  min-height: 40px;
  padding: 9px 10px;
  border-radius: var(--ccf42a-radius-sm);
  background: rgba(14, 22, 33, 0.6);
  border: 1px solid var(--ccf42a-hair);
  font-size: 12px;
  font-weight: 600;
  color: #d9e0f2;
  line-height: 1.35;
}

.ccf42a-dir-list a:hover { text-decoration: none; border-color: var(--ccf42a-royal-soft); }

.ccf42a-foot-brand {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.ccf42a-foot-brand img {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: var(--ccf42a-radius-sm);
  border: 1px solid var(--ccf42a-hair-blue);
  object-fit: cover;
  background: #0b1220;
}

.ccf42a-foot-brand p {
  font-size: 12.5px;
  color: var(--ccf42a-mist);
}

.ccf42a-foot-brand p b { color: #fff; }

/* five descriptive promo entries */
.ccf42a-offers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.ccf42a-offer {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 10px;
  border-radius: var(--ccf42a-radius-sm);
  text-align: left;
  background: rgba(136, 14, 79, 0.22);
  border: 1px solid rgba(173, 20, 87, 0.4);
  font-size: 12px;
  font-weight: 600;
  color: #ffd6e4;
  line-height: 1.3;
  transition: transform 0.12s ease;
}

.ccf42a-offer:active { transform: translateY(1px); }

.ccf42a-offer svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: #ff9dc0;
}

.ccf42a-offer.ccf42a-offer-wide { grid-column: 1 / -1; }

.ccf42a-foot-note {
  padding: 10px 11px;
  border-radius: var(--ccf42a-radius-sm);
  background: rgba(11, 18, 32, 0.55);
  border: 1px dashed var(--ccf42a-hair);
  font-size: 11.5px;
  line-height: 1.6;
  color: #93a0bd;
}

.ccf42a-copy {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--ccf42a-hair);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11.5px;
  color: #7f8aa6;
}

.ccf42a-copy svg { width: 12px; height: 12px; }

/* ---------- bottom rail : full-width nav track ---------- */
.ccf42a-rail {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 65;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 5px 4px calc(5px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(13, 20, 37, 0.94) 0%, rgba(8, 12, 21, 0.98) 100%);
  border-top: 1px solid var(--ccf42a-hair-blue);
  backdrop-filter: blur(10px);
}

.ccf42a-rail-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 50px;
  padding: 4px 2px;
  color: #8f9bb8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
  border-radius: var(--ccf42a-radius-sm);
  transition: transform 0.14s ease, color 0.14s ease;
}

.ccf42a-rail-item svg { width: 21px; height: 21px; }

.ccf42a-rail-item:active { transform: translateY(-2px); }

.ccf42a-rail-item:hover { text-decoration: none; }

/* underline active marker + short vertical lift */
.ccf42a-rail-item.ccf42a-is-active {
  color: #fff;
  transform: translateY(-2px);
}

.ccf42a-rail-item.ccf42a-is-active::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 3px;
  border-radius: 0 0 2px 2px;
  background: linear-gradient(90deg, var(--ccf42a-royal-soft), var(--ccf42a-magenta));
}

.ccf42a-rail-item.ccf42a-rail-promo { color: #ff9dc0; }

.ccf42a-rail-item.ccf42a-rail-promo svg { color: #ff7bae; }

/* ---------- helpers ---------- */
.ccf42a-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.ccf42a-sr-only-go {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- motion & accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* very narrow devices keep 4 tracks and tighter gaps */
@media (max-width: 359px) {
  .ccf42a-grid { gap: 6px; }
  .ccf42a-topbar { gap: 5px; padding: 7px 8px; }
  .ccf42a-cta { padding: 7px 9px; font-size: 12px; }
  .ccf42a-hero-title { font-size: 21px; }
  .ccf42a-dir-list,
  .ccf42a-offers,
  .ccf42a-route-grid { grid-template-columns: 1fr; }
}

/* ---------- help page modules ---------- */
.ccf42a-help-hero {
  margin: 8px 0 18px;
  padding: 16px 14px 15px;
  background: linear-gradient(135deg, rgba(25, 25, 112, 0.78), rgba(136, 14, 79, 0.34));
  border-left: 4px solid var(--ccf42a-magenta-hi);
  border-bottom: 1px solid var(--ccf42a-hair-blue);
}

.ccf42a-help-kicker {
  display: block;
  margin-bottom: 7px;
  color: #ff9dc0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ccf42a-help-hero h1 { font-size: 24px; color: #fff; margin-bottom: 8px; }
.ccf42a-help-hero p { color: #e0e5f5; font-size: 13.5px; }

.ccf42a-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}

.ccf42a-help-actions .ccf42a-cta { min-height: 44px; }

.ccf42a-help-callout {
  padding: 11px 12px;
  margin: 0 0 11px;
  background: rgba(42, 45, 255, 0.12);
  border: 1px solid var(--ccf42a-hair-blue);
  border-radius: var(--ccf42a-radius-sm);
  color: #e8ebff;
  font-size: 13px;
}

.ccf42a-help-callout strong { color: #fff; }

.ccf42a-step-list { display: grid; gap: 0; }

.ccf42a-step {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--ccf42a-hair);
}

.ccf42a-step:last-child { border-bottom: 0; padding-bottom: 2px; }

.ccf42a-step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: var(--ccf42a-plum);
  color: #fff;
  font-family: var(--ccf42a-font-round);
  font-weight: 800;
}

.ccf42a-step h3 { margin: 0 0 3px; font-size: 14px; color: #fff; }
.ccf42a-step p { margin: 0; color: var(--ccf42a-mist); font-size: 12.75px; }

.ccf42a-mistake-list { display: grid; gap: 8px; }

.ccf42a-mistake {
  padding: 10px 11px;
  border-right: 3px solid var(--ccf42a-magenta);
  background: rgba(11, 18, 32, 0.65);
}

.ccf42a-mistake b { display: block; color: #ffd6e4; font-size: 13px; margin-bottom: 3px; }
.ccf42a-mistake span { color: var(--ccf42a-mist); font-size: 12.5px; }

.ccf42a-use-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ccf42a-use-card {
  min-height: 132px;
  padding: 11px;
  background: rgba(14, 22, 33, 0.7);
  border-top: 3px solid var(--ccf42a-royal-soft);
}

.ccf42a-use-card h3 { font-size: 13.5px; color: #fff; margin-bottom: 5px; }
.ccf42a-use-card p { font-size: 12px; color: var(--ccf42a-mist); }

.ccf42a-review-ribbon {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  align-items: center;
  padding: 12px;
  margin-bottom: 12px;
  background: rgba(173, 20, 87, 0.19);
  border: 1px solid rgba(216, 27, 96, 0.42);
}

.ccf42a-review-badge {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ccf42a-night);
  border: 2px solid var(--ccf42a-magenta-hi);
  color: #ffd6e4;
  font-family: var(--ccf42a-font-round);
  font-size: 16px;
  font-weight: 800;
}

.ccf42a-review-ribbon b { display: block; color: #fff; font-size: 14px; margin-bottom: 2px; }
.ccf42a-review-ribbon span { color: var(--ccf42a-mist); font-size: 12px; }

.ccf42a-review-lines { display: grid; gap: 8px; }

.ccf42a-review-line {
  display: grid;
  grid-template-columns: 102px 1fr 34px;
  gap: 7px;
  align-items: center;
  font-size: 11.5px;
  color: #dce3f6;
}

.ccf42a-review-line b { text-align: right; color: #ff9dc0; }
.ccf42a-review-line .ccf42a-meter-track { height: 8px; }

.ccf42a-pro-con {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ccf42a-pro-con > div { padding: 11px; background: rgba(11, 18, 32, 0.68); }
.ccf42a-pro-con h3 { font-size: 13.5px; color: #fff; margin-bottom: 7px; }
.ccf42a-pro-con ul { display: grid; gap: 6px; }
.ccf42a-pro-con li { padding-left: 12px; position: relative; color: var(--ccf42a-mist); font-size: 12px; }
.ccf42a-pro-con li::before { content: ""; position: absolute; left: 0; top: 0.58em; width: 5px; height: 5px; border-radius: 50%; background: var(--ccf42a-magenta-hi); }

.ccf42a-review-table { display: grid; gap: 1px; background: var(--ccf42a-hair); }

.ccf42a-review-row {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 9px;
  padding: 10px;
  background: rgba(14, 22, 33, 0.86);
  font-size: 12px;
}

.ccf42a-review-row strong { color: #ffd6e4; }
.ccf42a-review-row span { color: var(--ccf42a-mist); }

@media (max-width: 359px) {
  .ccf42a-use-grid,
  .ccf42a-pro-con { grid-template-columns: 1fr; }
  .ccf42a-review-line { grid-template-columns: 90px 1fr 32px; gap: 5px; }
}
