/* ==========================================================================
   ph55 mobile lobby chrome
   Palette anchors : #273746 / #FF8C00 / #F4A460 / #F8F8FF / #FFDFBA
   Canvas contract  : 320px - 430px phone canvas, centered on wide screens
   Design voice     : poster headings + narrow body, square cards, round
                      utility buttons, square high-contrast CTAs,
                      step-driven content rhythm, motion only on key CTAs.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --ce77e5-ink: #273746;            /* deep slate canvas */
  --ce77e5-abyss: #1c2836;          /* sunk panels */
  --ce77e5-pit: #16202b;            /* deepest wells */
  --ce77e5-card: #223141;           /* raised card faces */
  --ce77e5-flame: #ff8c00;          /* primary accent */
  --ce77e5-flame-deep: #b96b04;     /* pressed accent shadow */
  --ce77e5-sand: #f4a460;           /* warm secondary accent */
  --ce77e5-mist: #f8f8ff;           /* main text */
  --ce77e5-peach: #ffdfba;          /* muted text */
  --ce77e5-line: rgba(248, 248, 255, 0.16);
  --ce77e5-line-soft: rgba(248, 248, 255, 0.08);
  --ce77e5-veil: rgba(22, 32, 43, 0.9);

  --ce77e5-head-font: "Segoe UI", system-ui, -apple-system, Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --ce77e5-body-font: "Segoe UI", system-ui, -apple-system, Roboto,
    "Helvetica Neue", Arial, sans-serif;

  --ce77e5-r-card: 3px;             /* cards stay square */
  --ce77e5-r-chip: 4px;
  --ce77e5-r-pill: 999px;           /* utility buttons run round */
  --ce77e5-tap: 44px;               /* minimum touch target */
  --ce77e5-top-h: 58px;
  --ce77e5-bottom-h: 64px;
  --ce77e5-gutter: 14px;
  --ce77e5-canvas: 430px;           /* hard phone-canvas ceiling */
}

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

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

body {
  margin: 0;
  background: #0f151d;
  color: var(--ce77e5-mist);
  font-family: var(--ce77e5-body-font);
  font-size: 15px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

a {
  color: var(--ce77e5-sand);
  text-decoration: none;
}

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

:focus-visible {
  outline: 2px solid var(--ce77e5-flame);
  outline-offset: 2px;
  border-radius: 2px;
}

::selection {
  background: var(--ce77e5-flame);
  color: var(--ce77e5-pit);
}

/* --------------------------------------------------------------------------
   3. Phone canvas shell — wide screens keep the centered 430px canvas
   -------------------------------------------------------------------------- */
.ce77e5-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(120% 46% at 50% 0%, #2d3f52 0%, var(--ce77e5-ink) 58%);
  box-shadow: 0 0 0 1px rgba(255, 140, 0, 0.12), 0 24px 60px rgba(0, 0, 0, 0.55);
}

/* --------------------------------------------------------------------------
   4. Fixed top action bar — logo leads, actions ride on the right
   -------------------------------------------------------------------------- */
.ce77e5-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  height: var(--ce77e5-top-h);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: var(--ce77e5-veil);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--ce77e5-flame);
}

.ce77e5-brandzone {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-right: auto;
}

.ce77e5-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--ce77e5-r-chip);
  border: 1px solid var(--ce77e5-line);
  flex: none;
}

.ce77e5-brandname {
  font-family: var(--ce77e5-head-font);
  font-weight: 900;
  font-size: 21px;
  letter-spacing: 0.02em;
  color: var(--ce77e5-mist);
  line-height: 1;
  white-space: nowrap;
}

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

/* Square, high-contrast primary CTA — the only element with press motion */
.ce77e5-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 13px;
  background: var(--ce77e5-flame);
  color: var(--ce77e5-pit);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 2px;
  box-shadow: 0 3px 0 var(--ce77e5-flame-deep);
  transition: transform 0.06s ease, box-shadow 0.06s ease;
}

.ce77e5-cta:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--ce77e5-flame-deep);
}

/* Round utility button */
.ce77e5-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 15px;
  border: 1px solid var(--ce77e5-sand);
  border-radius: var(--ce77e5-r-pill);
  color: var(--ce77e5-mist);
  font-size: 13px;
  font-weight: 600;
  background: rgba(244, 164, 96, 0.08);
}

.ce77e5-burger {
  width: var(--ce77e5-tap);
  height: var(--ce77e5-tap);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--ce77e5-r-chip);
  color: var(--ce77e5-mist);
  border: 1px solid var(--ce77e5-line);
  flex: none;
}

.ce77e5-burger svg { width: 22px; height: 22px; }

.ce77e5-burger[aria-expanded="true"] {
  background: var(--ce77e5-flame);
  color: var(--ce77e5-pit);
  border-color: var(--ce77e5-flame);
}

/* --------------------------------------------------------------------------
   5. Stacked overlay menu
   -------------------------------------------------------------------------- */
.ce77e5-drawer {
  position: fixed;
  top: var(--ce77e5-top-h);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 55;
  visibility: hidden;
}

.ce77e5-drawer.ce77e5-open { visibility: visible; }

.ce77e5-scrim {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 21, 0.66);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.ce77e5-open .ce77e5-scrim { opacity: 1; }

.ce77e5-drawerpanel {
  position: relative;
  background: var(--ce77e5-abyss);
  border-bottom: 2px solid var(--ce77e5-flame);
  padding: 8px 12px 16px;
  max-height: calc(100dvh - var(--ce77e5-top-h));
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.ce77e5-open .ce77e5-drawerpanel {
  transform: translateY(0);
  opacity: 1;
}

.ce77e5-dgroup {
  margin: 14px 4px 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ce77e5-sand);
}

.ce77e5-dlink {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 10px;
  border-radius: var(--ce77e5-r-chip);
  color: var(--ce77e5-mist);
  font-size: 15px;
  font-weight: 600;
}

.ce77e5-dlink::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--ce77e5-line);
  flex: none;
}

.ce77e5-dlink:hover,
.ce77e5-dlink:focus-visible {
  background: rgba(244, 164, 96, 0.12);
  text-decoration: none;
}

/* Current page — full contrast inversion */
.ce77e5-dlink-active {
  background: var(--ce77e5-flame);
  color: var(--ce77e5-pit);
}

.ce77e5-dlink-active::before { background: var(--ce77e5-pit); }

.ce77e5-dlink-active:hover,
.ce77e5-dlink-active:focus-visible { background: var(--ce77e5-flame); }

/* --------------------------------------------------------------------------
   6. Main column
   -------------------------------------------------------------------------- */
.ce77e5-main {
  padding: calc(var(--ce77e5-top-h) + 14px) var(--ce77e5-gutter)
    calc(var(--ce77e5-bottom-h) + 44px + env(safe-area-inset-bottom, 0px));
}

.ce77e5-lead { margin: 0 0 26px; }

/* --------------------------------------------------------------------------
   7. Hero — poster headline
   -------------------------------------------------------------------------- */
.ce77e5-hero { padding: 6px 0 4px; }

.ce77e5-hero h1 {
  margin: 0 0 4px;
  font-family: var(--ce77e5-head-font);
  font-size: clamp(29px, 8.4vw, 37px);
  line-height: 1.04;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  color: var(--ce77e5-mist);
  text-wrap: balance;
}

.ce77e5-hero h1 em {
  font-style: normal;
  color: var(--ce77e5-flame);
}

.ce77e5-heroline {
  width: 54px;
  height: 5px;
  background: var(--ce77e5-flame);
  margin: 12px 0 14px;
}

.ce77e5-herotext {
  margin: 0 0 16px;
  max-width: 40ch;
  color: var(--ce77e5-peach);
}

.ce77e5-herostats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 0 0 18px;
  list-style: none;
  padding: 0;
}

.ce77e5-herostats li {
  background: var(--ce77e5-card);
  border: 1px solid var(--ce77e5-line-soft);
  border-radius: var(--ce77e5-r-card);
  padding: 8px 6px;
  text-align: center;
}

.ce77e5-herostats b {
  display: block;
  font-size: 17px;
  font-weight: 900;
  color: var(--ce77e5-flame);
  line-height: 1.15;
}

.ce77e5-herostats span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ce77e5-peach);
}

.ce77e5-heropair {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ce77e5-heropair .ce77e5-cta { min-height: var(--ce77e5-tap); padding: 0 20px; }

.ce77e5-heropair .ce77e5-pill { min-height: var(--ce77e5-tap); }

/* --------------------------------------------------------------------------
   8. Banner carousel
   -------------------------------------------------------------------------- */
.ce77e5-carousel {
  position: relative;
  margin: 4px 0 26px;
  border-radius: var(--ce77e5-r-card);
  overflow: hidden;
  border: 1px solid var(--ce77e5-line);
  background: var(--ce77e5-pit);
}

.ce77e5-track {
  display: flex;
  transition: transform 0.32s ease;
  touch-action: pan-y;
}

.ce77e5-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  display: block;
  padding: 0;
  text-align: left;
}

.ce77e5-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.ce77e5-slidecap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  padding: 26px 14px 12px;
  background: linear-gradient(180deg, rgba(22, 32, 43, 0) 0%,
    rgba(22, 32, 43, 0.92) 78%);
}

.ce77e5-slidecap b {
  display: block;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ce77e5-flame);
}

.ce77e5-slidecap i {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: var(--ce77e5-mist);
  max-width: 34ch;
}

.ce77e5-carouselui {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ce77e5-dots {
  display: flex;
  gap: 5px;
  margin: 0 auto;
}

.ce77e5-dot {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: rgba(248, 248, 255, 0.42);
  min-width: 9px;
  min-height: 9px;
}

.ce77e5-dot.ce77e5-dot-live {
  width: 20px;
  background: var(--ce77e5-flame);
}

.ce77e5-arrow {
  width: 30px;
  height: 30px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ce77e5-veil);
  border: 1px solid var(--ce77e5-line);
  border-radius: var(--ce77e5-r-chip);
  color: var(--ce77e5-mist);
  font-size: 16px;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   9. Content rhythm — kickers, poster H2s, narrow paragraphs
   -------------------------------------------------------------------------- */
.ce77e5-wing { margin: 0 0 30px; }

.ce77e5-kicker {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ce77e5-sand);
  margin: 0 0 6px;
}

.ce77e5-wing h2,
.ce77e5-block h2 {
  margin: 0 0 10px;
  font-family: var(--ce77e5-head-font);
  font-size: clamp(21px, 6vw, 25px);
  line-height: 1.12;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--ce77e5-mist);
  text-wrap: balance;
  padding-left: 10px;
  border-left: 5px solid var(--ce77e5-flame);
}

.ce77e5-lede,
.ce77e5-block p {
  margin: 0 0 12px;
  max-width: 42ch;
  color: var(--ce77e5-peach);
}

.ce77e5-lede a,
.ce77e5-block p a,
.ce77e5-answer a {
  color: var(--ce77e5-sand);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(244, 164, 96, 0.5);
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   10. Game grids — pure image tiles with a short name underneath
   -------------------------------------------------------------------------- */
.ce77e5-grid {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

@media (min-width: 380px) {
  .ce77e5-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.ce77e5-gcard {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--ce77e5-card);
  border: 1px solid var(--ce77e5-line-soft);
  border-radius: var(--ce77e5-r-card);
  padding: 5px 4px 7px;
  min-height: var(--ce77e5-tap);
}

.ce77e5-gcard img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
  background: var(--ce77e5-pit);
}

.ce77e5-gcard span {
  display: block;
  margin-top: 5px;
  font-size: 10.5px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--ce77e5-mist);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 26px;
}

.ce77e5-gcard:active {
  border-color: var(--ce77e5-flame);
  background: #2a3b4e;
}

/* --------------------------------------------------------------------------
   11. Step-driven modules
   -------------------------------------------------------------------------- */
.ce77e5-steps {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  counter-reset: ce77e5-step;
}

.ce77e5-steps li {
  position: relative;
  counter-increment: ce77e5-step;
  padding: 0 0 18px 46px;
}

.ce77e5-steps li::before {
  content: counter(ce77e5-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ce77e5-flame);
  color: var(--ce77e5-pit);
  font-weight: 900;
  font-size: 13px;
  border-radius: var(--ce77e5-r-chip);
  box-shadow: 0 2px 0 var(--ce77e5-flame-deep);
}

.ce77e5-steps li::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 36px;
  bottom: 2px;
  width: 0;
  border-left: 2px dashed rgba(244, 164, 96, 0.4);
}

.ce77e5-steps li:last-child::after { display: none; }

.ce77e5-steps b {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--ce77e5-mist);
  margin-bottom: 2px;
}

.ce77e5-steps p {
  margin: 0;
  max-width: 40ch;
  color: var(--ce77e5-peach);
  font-size: 14px;
}

/* Compact horizontal stepper */
.ce77e5-microsteps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 14px 0 0;
  padding: 0;
}

.ce77e5-microsteps li {
  background: var(--ce77e5-card);
  border: 1px solid var(--ce77e5-line-soft);
  border-top: 3px solid var(--ce77e5-flame);
  border-radius: var(--ce77e5-r-card);
  padding: 9px 8px;
}

.ce77e5-microsteps b {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--ce77e5-flame);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 3px;
}

.ce77e5-microsteps span { font-size: 12px; color: var(--ce77e5-peach); }

/* Checklist rows */
.ce77e5-checks {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.ce77e5-checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--ce77e5-card);
  border: 1px solid var(--ce77e5-line-soft);
  border-radius: var(--ce77e5-r-card);
  padding: 10px 12px;
}

.ce77e5-checks li::before {
  content: "✓";
  flex: none;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ce77e5-flame);
  color: var(--ce77e5-pit);
  font-size: 12px;
  font-weight: 900;
  border-radius: 2px;
  margin-top: 2px;
}

.ce77e5-checks p { margin: 0; font-size: 13.5px; color: var(--ce77e5-peach); }

/* --------------------------------------------------------------------------
   12. Quote wall
   -------------------------------------------------------------------------- */
.ce77e5-quotes {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
}

.ce77e5-quote {
  position: relative;
  background: var(--ce77e5-card);
  border: 1px solid var(--ce77e5-line-soft);
  border-radius: var(--ce77e5-r-card);
  padding: 14px 14px 10px 40px;
}

.ce77e5-quote::before {
  content: "“";
  position: absolute;
  left: 10px;
  top: 4px;
  font-size: 34px;
  font-weight: 900;
  color: var(--ce77e5-flame);
  line-height: 1;
}

.ce77e5-quote p { margin: 0 0 8px; font-size: 13.5px; color: var(--ce77e5-mist); }

.ce77e5-quote footer {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ce77e5-sand);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   13. Fact sheet
   -------------------------------------------------------------------------- */
.ce77e5-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0 0;
}

.ce77e5-facts div {
  background: var(--ce77e5-card);
  border: 1px solid var(--ce77e5-line-soft);
  border-radius: var(--ce77e5-r-card);
  padding: 10px 11px;
}

.ce77e5-facts dt {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ce77e5-sand);
  margin-bottom: 3px;
}

.ce77e5-facts dd {
  margin: 0;
  font-size: 12.5px;
  color: var(--ce77e5-peach);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   14. Direct answer panel
   -------------------------------------------------------------------------- */
.ce77e5-answer {
  background: var(--ce77e5-abyss);
  border: 1px solid var(--ce77e5-line);
  border-left: 5px solid var(--ce77e5-flame);
  border-radius: var(--ce77e5-r-card);
  padding: 14px 14px 8px;
  margin: 14px 0 0;
}

.ce77e5-answer p {
  margin: 0 0 10px;
  color: var(--ce77e5-mist);
  max-width: 44ch;
}

/* --------------------------------------------------------------------------
   15. Download banner block
   -------------------------------------------------------------------------- */
.ce77e5-dlwrap {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
}

.ce77e5-dlart {
  border: 1px solid var(--ce77e5-line);
  border-radius: var(--ce77e5-r-card);
  overflow: hidden;
}

.ce77e5-dlart img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.ce77e5-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.ce77e5-chips li {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ce77e5-peach);
  border: 1px solid var(--ce77e5-line);
  border-radius: var(--ce77e5-r-pill);
  padding: 5px 12px;
  background: rgba(34, 49, 65, 0.6);
}

/* --------------------------------------------------------------------------
   16. Index-only extended footer
   -------------------------------------------------------------------------- */
.ce77e5-extfoot {
  margin: 8px calc(-1 * var(--ce77e5-gutter)) 0;
  padding: 22px var(--ce77e5-gutter) 20px;
  background: var(--ce77e5-abyss);
  border-top: 2px solid var(--ce77e5-flame);
}

.ce77e5-xhead {
  margin: 0 0 12px;
  font-family: var(--ce77e5-head-font);
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ce77e5-mist);
}

.ce77e5-xpromo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 20px;
}

.ce77e5-xpromo .ce77e5-cta {
  width: 100%;
  min-height: var(--ce77e5-tap);
  padding: 0 8px;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.ce77e5-xpromo .ce77e5-cta.ce77e5-cta-wide { grid-column: 1 / -1; }

.ce77e5-xbrand {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--ce77e5-peach);
  max-width: 46ch;
}

.ce77e5-xdir {
  column-count: 2;
  column-gap: 14px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.ce77e5-xdir li {
  break-inside: avoid;
  margin-bottom: 9px;
}

.ce77e5-xdir a {
  display: block;
  color: var(--ce77e5-mist);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  padding: 4px 0;
}

.ce77e5-xdir a:hover,
.ce77e5-xdir a:focus-visible { color: var(--ce77e5-flame); }

.ce77e5-xdis {
  margin: 0;
  font-size: 11px;
  line-height: 1.6;
  color: rgba(255, 223, 186, 0.72);
  border-top: 1px solid var(--ce77e5-line-soft);
  padding-top: 12px;
}

/* --------------------------------------------------------------------------
   17. Legal strip
   -------------------------------------------------------------------------- */
.ce77e5-legal {
  padding: 14px var(--ce77e5-gutter)
    calc(var(--ce77e5-bottom-h) + 18px + env(safe-area-inset-bottom, 0px));
  text-align: center;
  font-size: 11.5px;
  color: rgba(255, 223, 186, 0.66);
}

.ce77e5-legal p { margin: 0; }

/* --------------------------------------------------------------------------
   18. Bottom action band — brand accent rail, inverted active chip
   -------------------------------------------------------------------------- */
.ce77e5-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: calc(var(--ce77e5-bottom-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--ce77e5-pit);
  border-top: 3px solid var(--ce77e5-flame);
}

.ce77e5-bitem {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--ce77e5-tap);
  color: var(--ce77e5-peach);
  border-radius: 0;
}

.ce77e5-bitem svg {
  width: 23px;
  height: 23px;
  transition: transform 0.14s ease;
}

.ce77e5-blabel {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: letter-spacing 0.14s ease, color 0.14s ease;
}

.ce77e5-bitem:hover,
.ce77e5-bitem:focus-visible { text-decoration: none; }

/* Active role — contrast inversion chip */
.ce77e5-bitem-live {
  color: var(--ce77e5-pit);
}

.ce77e5-bitem-live::before {
  content: "";
  position: absolute;
  inset: 6px 4px;
  background: var(--ce77e5-flame);
  border-radius: var(--ce77e5-r-chip);
  z-index: -1;
}

.ce77e5-bitem-live svg { transform: translateY(-1px); }

/* Label reveal micro-interaction */
.ce77e5-bitem-live .ce77e5-blabel {
  color: var(--ce77e5-pit);
  letter-spacing: 0.1em;
}

.ce77e5-bitem:active svg { transform: scale(0.9); }

/* --------------------------------------------------------------------------
   19. Utilities and motion budget
   -------------------------------------------------------------------------- */
.ce77e5-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ce77e5-flame);
  color: var(--ce77e5-pit);
  padding: 10px 16px;
  font-weight: 800;
  z-index: 100;
}

.ce77e5-skip:focus { left: 8px; top: 8px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ce77e5-track,
  .ce77e5-drawerpanel,
  .ce77e5-scrim,
  .ce77e5-bitem svg,
  .ce77e5-blabel,
  .ce77e5-cta { transition: none; }
}

/* Narrow phones: keep the action bar breathing at 320px */
@media (max-width: 339px) {
  .ce77e5-brandname { font-size: 18px; }
  .ce77e5-cta { padding: 0 10px; font-size: 12px; }
  .ce77e5-pill { padding: 0 11px; font-size: 12px; }
  .ce77e5-xpromo { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   20. Help-page layouts — evidence grid and branching service notes
   -------------------------------------------------------------------------- */
.ce77e5-reviewgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 0;
}

.ce77e5-reviewcell {
  min-height: 112px;
  padding: 12px;
  background: var(--ce77e5-card);
  border-top: 3px solid var(--ce77e5-flame);
  border-radius: var(--ce77e5-r-card);
}

.ce77e5-reviewcell strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ce77e5-mist);
  font-size: 14px;
  line-height: 1.25;
}

.ce77e5-reviewcell span {
  display: block;
  color: var(--ce77e5-peach);
  font-size: 12.5px;
  line-height: 1.45;
}

.ce77e5-promo-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}

.ce77e5-promo-line .ce77e5-cta { min-height: var(--ce77e5-tap); }

.ce77e5-note {
  margin: 12px 0 0;
  padding: 11px 12px;
  background: rgba(244, 164, 96, 0.08);
  border-left: 3px solid var(--ce77e5-sand);
  color: var(--ce77e5-peach);
  font-size: 13.5px;
}

.ce77e5-note strong { color: var(--ce77e5-mist); }

.ce77e5-timeline {
  list-style: none;
  margin: 15px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.ce77e5-timeline li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px;
  background: var(--ce77e5-card);
  border: 1px solid var(--ce77e5-line-soft);
  border-radius: var(--ce77e5-r-card);
}

.ce77e5-timeline b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--ce77e5-flame);
  color: var(--ce77e5-pit);
  border-radius: var(--ce77e5-r-chip);
  font-size: 12px;
}

.ce77e5-timeline h3 {
  margin: 0 0 3px;
  color: var(--ce77e5-mist);
  font-size: 14px;
  line-height: 1.3;
}

.ce77e5-timeline p { margin: 0; color: var(--ce77e5-peach); font-size: 13px; }

.ce77e5-branch {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
}

.ce77e5-branch article {
  padding: 12px;
  background: var(--ce77e5-abyss);
  border: 1px solid var(--ce77e5-line);
  border-radius: var(--ce77e5-r-card);
}

.ce77e5-branch h3 {
  margin: 0 0 4px;
  color: var(--ce77e5-flame);
  font-size: 14px;
}

.ce77e5-branch p { margin: 0; color: var(--ce77e5-peach); font-size: 13.5px; }

.ce77e5-signal {
  display: inline-block;
  margin: 0 0 7px;
  color: var(--ce77e5-sand);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

/* Wide phones inside the canvas ceiling — 430px literal canvas guard */
@media (min-width: 430px) {
  .ce77e5-grid { gap: 10px; }
  .ce77e5-main { padding-left: 18px; padding-right: 18px; }
}

@media (max-width: 339px) {
  .ce77e5-reviewgrid { grid-template-columns: 1fr; }
  .ce77e5-reviewcell { min-height: 0; }
}
