/* ============================================================
   8xx5g vip - mobile-first frame stylesheet
   Palette: #1A1A1A canvas / #00CED1 accent / #80CBC4 soft ink
   All classes use the mobile4c1a4- prefix.
   Comments in English only.
   ============================================================ */

:root {
  --mobile4c1a4-ink: #1A1A1A;        /* canvas surface */
  --mobile4c1a4-ink-deep: #121212;   /* page backdrop */
  --mobile4c1a4-ink-soft: #232323;   /* raised surface */
  --mobile4c1a4-ink-line: #2e2e2e;   /* hairline border */
  --mobile4c1a4-accent: #00CED1;     /* primary accent */
  --mobile4c1a4-accent-dim: #067f81; /* pressed accent */
  --mobile4c1a4-soft: #80CBC4;       /* secondary ink */
  --mobile4c1a4-paper: #EAF7F6;      /* near-white text */
  --mobile4c1a4-muted: #9aa5a3;      /* quiet text */
  --mobile4c1a4-glow: rgba(0, 206, 209, 0.16);
  --mobile4c1a4-radius: 14px;
  --mobile4c1a4-dock-h: 66px;
  --mobile4c1a4-canvas: 430px;
}

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

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

body {
  background: var(--mobile4c1a4-ink-deep);
  color: var(--mobile4c1a4-paper);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 15px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--mobile4c1a4-accent); text-decoration: none; }
a:active { opacity: 0.75; }

ul, ol { list-style-position: inside; }

/* ---------- centered phone canvas ---------- */
.mobile4c1a4-shell {
  position: relative;
  width: 100%;
  max-width: var(--mobile4c1a4-canvas);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--mobile4c1a4-ink);
  box-shadow: 0 0 42px rgba(0, 0, 0, 0.55);
  overflow-x: clip;
}

/* ---------- top identity bar ---------- */
.mobile4c1a4-topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(26, 26, 26, 0.96);
  backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--mobile4c1a4-ink-line);
  padding: 8px 12px 9px;
}

/* brand row: centered identity only, no promo microcopy */
.mobile4c1a4-brandrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
}

.mobile4c1a4-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--mobile4c1a4-ink-line);
  object-fit: cover;
  flex: 0 0 auto;
}

.mobile4c1a4-sitename {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--mobile4c1a4-paper);
  white-space: nowrap;
}
.mobile4c1a4-sitename em {
  font-style: normal;
  color: var(--mobile4c1a4-accent);
}

/* action row: auth buttons + menu trigger sit outside the brand strip */
.mobile4c1a4-actionrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.mobile4c1a4-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.2px;
  cursor: pointer;
  border: 1px solid transparent;
  padding: 0 18px;
  transition: transform 0.15s ease, background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.mobile4c1a4-btn:active { transform: scale(0.96); }

.mobile4c1a4-btn--register {
  flex: 1;
  background: linear-gradient(135deg, var(--mobile4c1a4-accent), #23b6b8);
  color: #06282a;
  box-shadow: 0 4px 16px var(--mobile4c1a4-glow);
}

.mobile4c1a4-btn--login {
  flex: 1;
  background: transparent;
  color: var(--mobile4c1a4-accent);
  border-color: rgba(0, 206, 209, 0.55);
}

.mobile4c1a4-burger {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--mobile4c1a4-ink-soft);
  border: 1px solid var(--mobile4c1a4-ink-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--mobile4c1a4-soft);
}

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

/* ---------- slide-in partition menu ---------- */
.mobile4c1a4-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.mobile4c1a4-scrim.is-open { opacity: 1; pointer-events: auto; }

.mobile4c1a4-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  width: min(84vw, 320px);
  background: #161616;
  border-left: 1px solid var(--mobile4c1a4-ink-line);
  transform: translateX(105%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding-bottom: calc(var(--mobile4c1a4-dock-h) + 14px);
}
.mobile4c1a4-drawer.is-open { transform: translateX(0); }

.mobile4c1a4-drawerhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--mobile4c1a4-ink-line);
  position: sticky;
  top: 0;
  background: #161616;
  z-index: 2;
}
.mobile4c1a4-drawerhead strong {
  font-size: 15px;
  color: var(--mobile4c1a4-paper);
  letter-spacing: 0.3px;
}
.mobile4c1a4-drawerclose {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: var(--mobile4c1a4-ink-soft);
  color: var(--mobile4c1a4-soft);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mobile4c1a4-drawerclose svg { width: 18px; height: 18px; }

.mobile4c1a4-drawergroup {
  padding: 10px 16px 4px;
}
.mobile4c1a4-drawergroup h3 {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--mobile4c1a4-soft);
  margin-bottom: 6px;
}
.mobile4c1a4-drawerlink {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 4px;
  border-bottom: 1px solid #222;
  color: var(--mobile4c1a4-paper);
  font-size: 14.5px;
}
.mobile4c1a4-drawerlink:last-child { border-bottom: none; }
.mobile4c1a4-drawerlink::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mobile4c1a4-accent);
  flex: 0 0 auto;
}
.mobile4c1a4-drawerlink:active { color: var(--mobile4c1a4-accent); }

.mobile4c1a4-drawer-cta {
  margin: 14px 16px 0;
  width: calc(100% - 32px);
}

/* ---------- hero carousel ---------- */
.mobile4c1a4-hero {
  position: relative;
  margin: 12px 12px 4px;
  border-radius: var(--mobile4c1a4-radius);
  overflow: hidden;
  border: 1px solid var(--mobile4c1a4-ink-line);
  background: var(--mobile4c1a4-ink-soft);
}

.mobile4c1a4-track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}

.mobile4c1a4-slide {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 16 / 9;
}
.mobile4c1a4-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile4c1a4-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9px;
  display: flex;
  justify-content: center;
  gap: 7px;
}
.mobile4c1a4-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(234, 247, 246, 0.4);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, width 0.2s ease;
}
.mobile4c1a4-dot.is-active {
  background: var(--mobile4c1a4-accent);
  width: 22px;
  border-radius: 99px;
}

/* hero CTA strip under the carousel */
.mobile4c1a4-herostrip {
  display: flex;
  gap: 8px;
  margin: 8px 12px 0;
}
.mobile4c1a4-herostrip .mobile4c1a4-btn { flex: 1; }

/* ---------- section shells ---------- */
.mobile4c1a4-main {
  padding: 6px 0 calc(var(--mobile4c1a4-dock-h) + 30px);
}

.mobile4c1a4-sec { padding: 18px 12px 4px; }

.mobile4c1a4-sechead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.mobile4c1a4-sechead h2 {
  font-size: 17.5px;
  font-weight: 800;
  color: var(--mobile4c1a4-paper);
  line-height: 1.35;
  letter-spacing: 0.2px;
}
.mobile4c1a4-sechead h2 span {
  color: var(--mobile4c1a4-accent);
}
.mobile4c1a4-seclinks {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 11.5px;
  white-space: nowrap;
  text-align: right;
  flex: 0 0 auto;
}
.mobile4c1a4-seclinks a { color: var(--mobile4c1a4-soft); }
.mobile4c1a4-seclinks a:active { color: var(--mobile4c1a4-accent); }

.mobile4c1a4-lede {
  font-size: 13.5px;
  color: var(--mobile4c1a4-muted);
  margin: -4px 0 10px;
}

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

.mobile4c1a4-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--mobile4c1a4-ink-soft);
  border: 1px solid var(--mobile4c1a4-ink-line);
  border-radius: 12px;
  padding: 6px 5px 7px;
  cursor: pointer;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.18s ease, transform 0.15s ease;
  min-width: 0;
}
.mobile4c1a4-tile:active {
  border-color: var(--mobile4c1a4-accent);
  transform: scale(0.95);
}

.mobile4c1a4-tileimg {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 9px;
  object-fit: cover;
  background: #101010;
  margin-bottom: 6px;
}

.mobile4c1a4-tilename {
  font-size: 11px;
  line-height: 1.32;
  color: #d9e6e4;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  width: 100%;
}

/* ---------- prose blocks ---------- */
.mobile4c1a4-prose {
  background: var(--mobile4c1a4-ink-soft);
  border: 1px solid var(--mobile4c1a4-ink-line);
  border-radius: var(--mobile4c1a4-radius);
  padding: 16px 15px 14px;
}

.mobile4c1a4-prose h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--mobile4c1a4-accent);
  margin: 14px 0 6px;
}
.mobile4c1a4-prose h3:first-child { margin-top: 0; }

.mobile4c1a4-prose p {
  font-size: 14px;
  color: #d3dedc;
  margin-bottom: 10px;
}
.mobile4c1a4-prose p:last-child { margin-bottom: 0; }

.mobile4c1a4-prose ol,
.mobile4c1a4-prose ul {
  margin: 0 0 10px 4px;
  color: #d3dedc;
  font-size: 14px;
}
.mobile4c1a4-prose li { margin-bottom: 6px; }
.mobile4c1a4-prose li::marker { color: var(--mobile4c1a4-accent); font-weight: 700; }

/* answer callout: conclusion first */
.mobile4c1a4-answer {
  border-left: 3px solid var(--mobile4c1a4-accent);
  background: rgba(0, 206, 209, 0.07);
  border-radius: 0 12px 12px 0;
  padding: 12px 13px;
  font-size: 14px;
  color: #dff0ee;
  margin-bottom: 12px;
}
.mobile4c1a4-answer strong { color: var(--mobile4c1a4-accent); }

/* inline keyword link styling inside prose */
.mobile4c1a4-prose a,
.mobile4c1a4-answer a {
  color: var(--mobile4c1a4-accent);
  border-bottom: 1px dotted rgba(0, 206, 209, 0.5);
}

/* ---------- FAQ accordion ---------- */
.mobile4c1a4-faq { border-radius: var(--mobile4c1a4-radius); overflow: hidden; border: 1px solid var(--mobile4c1a4-ink-line); }

.mobile4c1a4-faq details {
  background: var(--mobile4c1a4-ink-soft);
  border-bottom: 1px solid var(--mobile4c1a4-ink-line);
}
.mobile4c1a4-faq details:last-child { border-bottom: none; }

.mobile4c1a4-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 13px 44px 13px 15px;
  font-size: 14px;
  font-weight: 700;
  color: var(--mobile4c1a4-paper);
  position: relative;
  min-height: 46px;
  display: flex;
  align-items: center;
  -webkit-tap-highlight-color: transparent;
}
.mobile4c1a4-faq summary::-webkit-details-marker { display: none; }
.mobile4c1a4-faq summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 19px;
  color: var(--mobile4c1a4-accent);
  font-weight: 700;
}
.mobile4c1a4-faq details[open] summary::after { content: "−"; }

.mobile4c1a4-faqbody {
  padding: 0 15px 13px;
  font-size: 13.5px;
  color: #c9d6d4;
}

/* ---------- extended footer (homepage only) ---------- */
.mobile4c1a4-extfoot {
  margin: 26px 12px 6px;
  border-top: 1px solid var(--mobile4c1a4-ink-line);
  padding-top: 18px;
}

.mobile4c1a4-extfoot h2 {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--mobile4c1a4-paper);
  margin-bottom: 4px;
}
.mobile4c1a4-extfoot h2 span { color: var(--mobile4c1a4-accent); }

/* promotions: 6 short entries, compact chips */
.mobile4c1a4-promos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 18px;
}
.mobile4c1a4-promo {
  background: var(--mobile4c1a4-ink-soft);
  border: 1px solid var(--mobile4c1a4-ink-line);
  border-radius: 12px;
  padding: 10px 11px;
  cursor: pointer;
  text-align: left;
  color: var(--mobile4c1a4-paper);
  font-size: 12.5px;
  font-weight: 600;
  min-height: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.mobile4c1a4-promo:active { border-color: var(--mobile4c1a4-accent); }
.mobile4c1a4-promo small {
  color: var(--mobile4c1a4-soft);
  font-size: 10.5px;
  font-weight: 500;
  margin-top: 2px;
}

/* brand + directory: two-column layout */
.mobile4c1a4-twocol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
.mobile4c1a4-twocol h3 {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: var(--mobile4c1a4-soft);
  margin-bottom: 7px;
}
.mobile4c1a4-twocol p {
  font-size: 12.5px;
  color: var(--mobile4c1a4-muted);
}
.mobile4c1a4-twocol ul { list-style: none; }
.mobile4c1a4-twocol li { margin-bottom: 2px; }
.mobile4c1a4-twocol a {
  font-size: 12.5px;
  color: #cfdedc;
  display: inline-block;
  padding: 3px 0;
}

.mobile4c1a4-disclaimer {
  font-size: 11.5px;
  color: #7f8b89;
  border-top: 1px solid var(--mobile4c1a4-ink-line);
  padding-top: 12px;
  line-height: 1.55;
}

/* ---------- common footer ---------- */
.mobile4c1a4-foot {
  text-align: center;
  padding: 14px 16px 8px;
  border-top: 1px solid var(--mobile4c1a4-ink-line);
  margin-top: 14px;
}
.mobile4c1a4-foot p {
  font-size: 11.5px;
  color: #767f7d;
}

/* ---------- fixed mobile bottom dock ---------- */
.mobile4c1a4-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--mobile4c1a4-canvas);
  height: var(--mobile4c1a4-dock-h);
  z-index: 65;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(18, 18, 18, 0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--mobile4c1a4-ink-line);
}

.mobile4c1a4-dockitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #8d9896;
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  -webkit-tap-highlight-color: transparent;
  padding: 6px 2px 4px;
  min-height: 44px;
  transition: color 0.18s ease;
}
.mobile4c1a4-dockitem svg {
  width: 21px;
  height: 21px;
  transition: transform 0.15s ease;
}
.mobile4c1a4-dockitem:active { color: var(--mobile4c1a4-accent); }
.mobile4c1a4-dockitem:active svg { transform: translateY(-2px) scale(1.08); }

.mobile4c1a4-dockitem.is-current { color: var(--mobile4c1a4-accent); }

/* promo dock roles get a slightly raised accent ring */
.mobile4c1a4-dockitem--cta svg { filter: drop-shadow(0 0 6px var(--mobile4c1a4-glow)); }

/* ---------- wide screens keep the phone canvas ---------- */
@media (min-width: 431px) {
  body { background: #0b0b0b; }
  .mobile4c1a4-shell { border-left: 1px solid #242424; border-right: 1px solid #242424; }
}

@media (max-width: 359px) {
  .mobile4c1a4-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mobile4c1a4-promos { grid-template-columns: 1fr; }
  .mobile4c1a4-twocol { grid-template-columns: 1fr; }
  .mobile4c1a4-facts { grid-template-columns: 1fr; }
  .mobile4c1a4-btn { font-size: 14px; padding: 0 12px; }
}

@media (min-width: 375px) and (max-width: 430px) {
  .mobile4c1a4-grid { gap: 9px 8px; }
}

/* ---------- numbered step timeline (help pages) ---------- */
.mobile4c1a4-steps { counter-reset: mobile4c1a4-step; }
.mobile4c1a4-step {
  position: relative;
  padding: 11px 12px 11px 46px;
  border: 1px solid var(--mobile4c1a4-ink-line);
  border-left: 3px solid var(--mobile4c1a4-accent);
  border-radius: 0 12px 12px 0;
  background: var(--mobile4c1a4-ink-soft);
  margin-bottom: 9px;
}
.mobile4c1a4-step::before {
  counter-increment: mobile4c1a4-step;
  content: counter(mobile4c1a4-step);
  position: absolute;
  left: 13px;
  top: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 206, 209, 0.12);
  border: 1px solid rgba(0, 206, 209, 0.5);
  color: var(--mobile4c1a4-accent);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile4c1a4-step h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--mobile4c1a4-paper);
  margin-bottom: 4px;
}
.mobile4c1a4-step p {
  font-size: 13.5px;
  color: #c9d6d4;
  line-height: 1.58;
}
.mobile4c1a4-step p:last-child { margin-bottom: 0; }

/* ---------- fact tiles (feature overview) ---------- */
.mobile4c1a4-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.mobile4c1a4-fact {
  background: var(--mobile4c1a4-ink-soft);
  border: 1px solid var(--mobile4c1a4-ink-line);
  border-radius: 12px;
  padding: 10px 11px;
}
.mobile4c1a4-fact b {
  display: block;
  font-size: 14.5px;
  color: var(--mobile4c1a4-accent);
  margin-bottom: 3px;
}
.mobile4c1a4-fact span {
  display: block;
  font-size: 12px;
  color: #c3d0ce;
  line-height: 1.5;
}

/* ---------- symptom / cause / fix cards ---------- */
.mobile4c1a4-trouble {
  border: 1px solid var(--mobile4c1a4-ink-line);
  border-radius: 12px;
  background: var(--mobile4c1a4-ink-soft);
  padding: 11px 12px;
  margin-bottom: 9px;
}
.mobile4c1a4-trouble h3 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--mobile4c1a4-paper);
  margin-bottom: 5px;
}
.mobile4c1a4-trouble p {
  font-size: 13px;
  color: #c9d6d4;
  margin-bottom: 4px;
  line-height: 1.55;
}
.mobile4c1a4-trouble p:last-child { margin-bottom: 0; }
.mobile4c1a4-trouble em {
  font-style: normal;
  color: var(--mobile4c1a4-accent);
  font-weight: 700;
}

/* ---------- inline text promo link ---------- */
.mobile4c1a4-textcta {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--mobile4c1a4-accent);
  border-bottom: 1px dotted rgba(0, 206, 209, 0.5);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.mobile4c1a4-textcta:active { opacity: 0.7; }

/* accessibility: honor reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .mobile4c1a4-track { transition: none; }
  .mobile4c1a4-btn, .mobile4c1a4-tile, .mobile4c1a4-dockitem svg { transition: none; }
}
