/* =====================================================================
   phlwin apk · visuals-adaptive-a83242.css
   Mobile-first visual layer built for a 320-430px phone canvas.
   Wide screens keep the centered phone canvas; the design palette is
   #40E0D0 / #87CEFA / #48D1CC / #2E4057 / #FF7F50 (dark carries the
   background, lights carry text and accents).
   Direction: humanist headings + clear body, small-medium radii with
   comfortable spacing, image cards with a bottom name strip, short
   list-style rhythm, restrained fade feedback, staggered CTA sizes.
   ===================================================================== */

:root {
  --mobile32422-ink: #2E4057;
  --mobile32422-ink-deep: #26374B;
  --mobile32422-panel: #223449;
  --mobile32422-panel-2: #1C2C3F;
  --mobile32422-well: #1B2A3D;
  --mobile32422-tide: #40E0D0;
  --mobile32422-tide-mid: #48D1CC;
  --mobile32422-sky: #87CEFA;
  --mobile32422-coral: #FF7F50;
  --mobile32422-paper: #EAF6F3;
  --mobile32422-mist: #AECBDA;
  --mobile32422-dim: #8FB0C4;
  --mobile32422-line: rgba(72, 209, 204, 0.18);
  --mobile32422-head-h: 62px;
  --mobile32422-tab-h: 58px;
  --mobile32422-font-head: "Trebuchet MS", "Segoe UI", Verdana, Geneva, sans-serif;
  --mobile32422-font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

html, body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background: var(--mobile32422-well);
  color: var(--mobile32422-paper);
  font-family: var(--mobile32422-font-body);
  font-size: 15px;
  line-height: 1.6;
  padding-top: calc(var(--mobile32422-head-h) + env(safe-area-inset-top, 0px));
  padding-bottom: calc(var(--mobile32422-tab-h) + 26px + env(safe-area-inset-bottom, 0px));
}

body.mobile32422-locked { overflow: hidden; }

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

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

a { color: var(--mobile32422-sky); text-decoration: none; }

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

/* Phone canvas: one column, capped at 430px, centered on wide screens. */
.mobile32422-page {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 45% at 12% 0%, rgba(64, 224, 208, 0.10), transparent 60%),
    radial-gradient(110% 40% at 92% 7%, rgba(135, 206, 250, 0.09), transparent 55%),
    var(--mobile32422-ink);
  position: relative;
}

.mobile32422-skip {
  position: absolute;
  left: -999px;
  top: 4px;
  z-index: 60;
}

.mobile32422-skip:focus {
  left: 8px;
  padding: 8px 12px;
  background: var(--mobile32422-tide);
  color: var(--mobile32422-ink);
  border-radius: 8px;
  font-size: 13px;
}

/* ---------------------------------------------------------------------
   Top action bar: logo-led brand strip on the left, actions on the right.
   --------------------------------------------------------------------- */
.mobile32422-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  max-width: 430px;
  z-index: 40;
  min-height: var(--mobile32422-head-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 7px 10px 7px 10px;
  padding-top: calc(7px + env(safe-area-inset-top, 0px));
  background: rgba(31, 47, 66, 0.97);
  border-bottom: 1px solid var(--mobile32422-line);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.mobile32422-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.mobile32422-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  flex: none;
}

.mobile32422-wordmark {
  font-family: var(--mobile32422-font-head);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--mobile32422-paper);
  white-space: nowrap;
}

.mobile32422-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: none;
}

.mobile32422-btn {
  min-height: 44px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 0 10px;
  transition: filter 0.25s ease, transform 0.15s ease;
}

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

.mobile32422-btn-register {
  background: linear-gradient(135deg, var(--mobile32422-coral), #ff9b76);
  color: #34221A;
}

.mobile32422-btn-login {
  background: transparent;
  border: 1px solid var(--mobile32422-tide-mid);
  color: var(--mobile32422-tide);
}

.mobile32422-burger {
  width: 42px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--mobile32422-sky);
  transition: color 0.25s ease, background 0.25s ease;
}

.mobile32422-burger:active { background: rgba(135, 206, 250, 0.12); }

/* ---------------------------------------------------------------------
   Side drawer menu + scrim
   --------------------------------------------------------------------- */
.mobile32422-scrim {
  position: fixed;
  inset: 0;
  z-index: 48;
  background: rgba(15, 25, 38, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile32422-scrim.mobile32422-open { opacity: 1; visibility: visible; }

.mobile32422-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 50;
  width: min(84vw, 316px);
  background: linear-gradient(180deg, #233850 0%, #1D2E42 100%);
  border-left: 1px solid var(--mobile32422-line);
  transform: translateX(102%);
  visibility: hidden;
  transition: transform 0.32s ease, visibility 0.32s ease;
  display: flex;
  flex-direction: column;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  overflow-y: auto;
}

.mobile32422-drawer.mobile32422-open {
  transform: translateX(0);
  visibility: visible;
}

.mobile32422-drawer-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 12px;
  border-bottom: 1px solid var(--mobile32422-line);
}

.mobile32422-drawer-logo { width: 28px; height: 28px; border-radius: 7px; }

.mobile32422-drawer-title {
  font-family: var(--mobile32422-font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--mobile32422-paper);
  margin-right: auto;
}

.mobile32422-drawer-close {
  width: 40px;
  height: 44px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mobile32422-dim);
  transition: color 0.25s ease;
}

.mobile32422-drawer-close:active { color: var(--mobile32422-coral); }

.mobile32422-drawer-group { padding: 10px 12px 4px; }

.mobile32422-drawer-cap {
  margin: 0 0 4px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--mobile32422-sky);
  opacity: 0.85;
}

.mobile32422-drawer-link {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 4px 0 2px;
  border-radius: 9px;
  color: var(--mobile32422-mist);
  font-size: 13.5px;
  transition: color 0.25s ease, background 0.25s ease;
}

.mobile32422-drawer-link::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 2px;
  background: var(--mobile32422-tide-mid);
  margin-right: 10px;
  flex: none;
  opacity: 0.7;
}

.mobile32422-drawer-link:active,
.mobile32422-drawer-link:hover {
  color: var(--mobile32422-paper);
  background: rgba(64, 224, 208, 0.08);
}

.mobile32422-drawer-cta {
  margin: 12px;
  min-height: 48px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--mobile32422-coral), #ff9b76);
  color: #34221A;
  font-weight: 700;
  font-size: 13.5px;
}

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
.mobile32422-main { display: block; }

.mobile32422-hero {
  padding: 16px 14px 6px;
  animation: mobile32422-fade 0.55s ease both;
}

.mobile32422-hero-eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--mobile32422-tide);
}

.mobile32422-hero-title {
  margin: 0 0 10px;
  font-family: var(--mobile32422-font-head);
  font-size: 23px;
  line-height: 1.28;
  letter-spacing: 0.2px;
  color: var(--mobile32422-paper);
}

.mobile32422-hero-lede {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.66;
  color: var(--mobile32422-mist);
}

.mobile32422-hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.mobile32422-cta-primary {
  width: 100%;
  min-height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--mobile32422-coral), #ff9b76);
  color: #34221A;
  font-family: var(--mobile32422-font-head);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(255, 127, 80, 0.22);
  transition: filter 0.25s ease, transform 0.15s ease;
}

.mobile32422-cta-ghost {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 11px;
  border: 1px solid var(--mobile32422-tide-mid);
  color: var(--mobile32422-tide);
  font-size: 13.5px;
  font-weight: 700;
  transition: background 0.25s ease;
}

.mobile32422-cta-primary:active,
.mobile32422-cta-ghost:active { transform: translateY(1px); }

.mobile32422-hero-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 14px 0 0;
  padding: 0;
}

.mobile32422-hero-meta li {
  font-size: 11.5px;
  color: var(--mobile32422-dim);
  display: inline-flex;
  align-items: center;
}

.mobile32422-hero-meta li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mobile32422-tide);
  margin-right: 6px;
}

/* ---------------------------------------------------------------------
   Promo stage (fading carousel of local banner art)
   --------------------------------------------------------------------- */
.mobile32422-stage {
  position: relative;
  margin: 14px 14px 4px;
  aspect-ratio: 2 / 1;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--mobile32422-line);
  background: var(--mobile32422-panel-2);
  animation: mobile32422-fade 0.6s ease both;
}

.mobile32422-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.65s ease, visibility 0.65s ease;
  text-align: left;
  padding: 0;
}

.mobile32422-slide.mobile32422-on { opacity: 1; visibility: visible; }

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

.mobile32422-slide-tag {
  position: absolute;
  left: 10px;
  bottom: 12px;
  max-width: calc(100% - 20px);
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(27, 42, 61, 0.88);
  border: 1px solid rgba(64, 224, 208, 0.4);
  color: var(--mobile32422-tide);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.mobile32422-stage-dots {
  position: absolute;
  right: 8px;
  bottom: 6px;
  display: flex;
  gap: 2px;
  z-index: 2;
}

.mobile32422-dot {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile32422-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(234, 246, 243, 0.45);
  transition: background 0.25s ease, transform 0.25s ease;
}

.mobile32422-dot.mobile32422-on::before {
  background: var(--mobile32422-tide);
  transform: scale(1.25);
}

/* ---------------------------------------------------------------------
   Category chip strip (horizontal scroll)
   --------------------------------------------------------------------- */
.mobile32422-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 14px 6px;
  scrollbar-width: none;
}

.mobile32422-chips::-webkit-scrollbar { display: none; }

.mobile32422-chip {
  flex: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--mobile32422-panel);
  border: 1px solid var(--mobile32422-line);
  color: var(--mobile32422-sky);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.mobile32422-chip:active {
  color: var(--mobile32422-tide);
  border-color: var(--mobile32422-tide-mid);
}

/* ---------------------------------------------------------------------
   Game shelves
   --------------------------------------------------------------------- */
.mobile32422-shelf {
  padding: 16px 14px 4px;
  scroll-margin-top: calc(var(--mobile32422-head-h) + 14px);
}

.mobile32422-shelf-title {
  margin: 0 0 6px;
  font-family: var(--mobile32422-font-head);
  font-size: 18.5px;
  line-height: 1.32;
  color: var(--mobile32422-paper);
  position: relative;
  padding-bottom: 8px;
}

.mobile32422-shelf-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--mobile32422-tide), rgba(135, 206, 250, 0.25));
}

.mobile32422-shelf-note {
  margin: 6px 0 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--mobile32422-mist);
}

.mobile32422-shelf-note a { border-bottom: 1px dashed rgba(135, 206, 250, 0.5); }

.mobile32422-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 8px;
}

/* Game card: square art with a bottom name strip */
.mobile32422-game {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--mobile32422-panel);
  border: 1px solid rgba(72, 209, 204, 0.14);
  text-align: center;
  transition: transform 0.18s ease, border-color 0.25s ease;
}

.mobile32422-game:active {
  transform: scale(0.96);
  border-color: var(--mobile32422-tide-mid);
}

.mobile32422-game-art {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--mobile32422-well);
}

.mobile32422-game-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile32422-game-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 32px;
  padding: 5px 5px 6px;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.28;
  color: #D9EBE7;
  background: linear-gradient(180deg, rgba(28, 44, 63, 0.4), rgba(27, 42, 61, 0.95));
  border-top: 1px solid rgba(72, 209, 204, 0.12);
}

/* ---------------------------------------------------------------------
   Reading modules below the game area
   --------------------------------------------------------------------- */
.mobile32422-read { padding: 6px 14px 8px; }

.mobile32422-module {
  margin: 14px 0;
  padding: 15px 14px;
  background: var(--mobile32422-panel-2);
  border: 1px solid var(--mobile32422-line);
  border-radius: 14px;
}

.mobile32422-module-title {
  margin: 0 0 9px;
  font-family: var(--mobile32422-font-head);
  font-size: 18px;
  line-height: 1.35;
  color: var(--mobile32422-paper);
}

.mobile32422-module p {
  margin: 0 0 10px;
  font-size: 13.8px;
  line-height: 1.66;
  color: #D5E7E3;
}

.mobile32422-module p:last-child { margin-bottom: 0; }

.mobile32422-module strong { color: var(--mobile32422-paper); }

.mobile32422-points,
.mobile32422-steps,
.mobile32422-checklist {
  margin: 4px 0 12px;
  padding: 0;
  list-style: none;
}

.mobile32422-points li,
.mobile32422-checklist li {
  position: relative;
  padding: 0 0 0 24px;
  margin: 0 0 9px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #D5E7E3;
}

.mobile32422-points li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--mobile32422-tide);
}

.mobile32422-checklist li::before {
  content: "\2713";
  position: absolute;
  left: 2px;
  top: 0;
  color: var(--mobile32422-tide);
  font-weight: 700;
}

.mobile32422-steps {
  counter-reset: mobile32422-step;
}

.mobile32422-steps li {
  position: relative;
  counter-increment: mobile32422-step;
  padding: 0 0 0 38px;
  margin: 0 0 11px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #D5E7E3;
}

.mobile32422-steps li::before {
  content: counter(mobile32422-step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(64, 224, 208, 0.16);
  border: 1px solid var(--mobile32422-tide-mid);
  color: var(--mobile32422-tide);
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Inline Q&A card */
.mobile32422-qa {
  margin: 12px 0 0;
  padding: 11px 12px 12px;
  background: rgba(34, 52, 73, 0.75);
  border-left: 3px solid var(--mobile32422-coral);
  border-radius: 10px;
}

.mobile32422-qa h3 {
  margin: 0 0 5px;
  font-family: var(--mobile32422-font-head);
  font-size: 14px;
  line-height: 1.4;
  color: var(--mobile32422-paper);
}

.mobile32422-qa p {
  margin: 0;
  font-size: 13.2px;
  color: var(--mobile32422-mist);
}

/* Fact rows for the app package */
.mobile32422-facts {
  margin: 12px 0 0;
  padding: 12px 13px;
  background: rgba(27, 42, 61, 0.7);
  border-radius: 11px;
}

.mobile32422-facts div {
  padding: 7px 0;
  border-bottom: 1px dashed rgba(135, 206, 250, 0.16);
}

.mobile32422-facts div:last-child { border-bottom: 0; }

.mobile32422-facts dt {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--mobile32422-sky);
}

.mobile32422-facts dd {
  margin: 3px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: #D5E7E3;
}

/* ---------------------------------------------------------------------
   Extended footer: brand > directory > quick actions > conditional note
   --------------------------------------------------------------------- */
.mobile32422-ext {
  margin-top: 18px;
  padding: 18px 14px 6px;
  border-top: 1px solid var(--mobile32422-line);
  background: linear-gradient(180deg, rgba(28, 44, 63, 0.55), rgba(27, 42, 61, 0.2));
}

.mobile32422-ext-brandline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.mobile32422-ext-brandline img { width: 28px; height: 28px; border-radius: 7px; }

.mobile32422-ext-brandline span {
  font-family: var(--mobile32422-font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--mobile32422-paper);
}

.mobile32422-ext-brand > p {
  margin: 0;
  font-size: 13px;
  line-height: 1.62;
  color: var(--mobile32422-mist);
}

.mobile32422-ext-cap {
  margin: 18px 0 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--mobile32422-tide);
}

.mobile32422-ext-dir ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 14px;
  row-gap: 4px;
}

.mobile32422-ext-dir a {
  display: flex;
  align-items: center;
  min-height: 36px;
  font-size: 12.8px;
  color: var(--mobile32422-mist);
  transition: color 0.25s ease;
}

.mobile32422-ext-dir a::before {
  content: "\203A";
  color: var(--mobile32422-sky);
  margin-right: 7px;
  font-weight: 700;
}

.mobile32422-ext-dir a:active,
.mobile32422-ext-dir a:hover { color: var(--mobile32422-paper); }

.mobile32422-ext-promogrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mobile32422-ext-promogrid button {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid var(--mobile32422-tide-mid);
  color: var(--mobile32422-tide);
  background: rgba(64, 224, 208, 0.06);
  font-size: 12.5px;
  font-weight: 700;
  padding: 0 8px;
  transition: background 0.25s ease, color 0.25s ease;
}

.mobile32422-ext-promogrid button:first-child {
  grid-column: 1 / -1;
  min-height: 48px;
  background: linear-gradient(135deg, var(--mobile32422-coral), #ff9b76);
  border: 0;
  color: #34221A;
}

.mobile32422-ext-promogrid button:active { transform: translateY(1px); }

.mobile32422-ext-note {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px dashed rgba(135, 206, 250, 0.18);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--mobile32422-dim);
}

.mobile32422-legal {
  margin: 0;
  padding: 14px 16px 8px;
  text-align: center;
  font-size: 11.5px;
  color: #7E9DB1;
}

/* ---------------------------------------------------------------------
   Fixed bottom tab bar: brand accent band on top, five roles
   --------------------------------------------------------------------- */
.mobile32422-tabbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  max-width: 430px;
  z-index: 45;
  display: flex;
  align-items: stretch;
  min-height: calc(var(--mobile32422-tab-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(29, 45, 63, 0.98);
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--mobile32422-tide), var(--mobile32422-sky) 55%, var(--mobile32422-coral)) 1;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.mobile32422-tab {
  flex: 1 1 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--mobile32422-tab-h);
  color: var(--mobile32422-dim);
  padding: 4px 2px 6px;
  transition: color 0.3s ease;
}

.mobile32422-tab svg { width: 22px; height: 22px; }

.mobile32422-tab-label {
  font-size: 10.2px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.mobile32422-tab.mobile32422-on { color: var(--mobile32422-tide); }

.mobile32422-tab.mobile32422-on .mobile32422-tab-label { font-weight: 700; }

.mobile32422-tab-hot { color: var(--mobile32422-coral); }

.mobile32422-tab-hot:active { color: #ffa182; }

.mobile32422-tab:active { color: var(--mobile32422-tide); }

/* ---------------------------------------------------------------------
   Motion budget: one restrained fade used a couple of times
   --------------------------------------------------------------------- */
@keyframes mobile32422-fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* ---------------------------------------------------------------------
   Step-ups inside the phone canvas
   --------------------------------------------------------------------- */
@media (min-width: 375px) {
  .mobile32422-hero { padding: 20px 16px 6px; }
  .mobile32422-hero-title { font-size: 26px; }
  .mobile32422-grid { gap: 12px 10px; }
  .mobile32422-game-name { font-size: 11px; }
  .mobile32422-shelf, .mobile32422-read, .mobile32422-chips { padding-left: 16px; padding-right: 16px; }
  .mobile32422-stage { margin-left: 16px; margin-right: 16px; }
}

@media (min-width: 404px) {
  .mobile32422-grid { grid-template-columns: repeat(5, 1fr); }
  .mobile32422-hero-title { font-size: 27px; }
}

/* Wide screens: keep the phone canvas centered with a framed look. */
@media (min-width: 431px) {
  body {
    background:
      radial-gradient(60% 30% at 20% 0%, rgba(64, 224, 208, 0.06), transparent 60%),
      radial-gradient(50% 26% at 85% 8%, rgba(135, 206, 250, 0.05), transparent 55%),
      #162231;
  }

  .mobile32422-page {
    box-shadow: 0 0 0 1px rgba(72, 209, 204, 0.14), 0 24px 70px rgba(8, 15, 24, 0.55);
  }

  /* Keep the drawer and scrim inside the 430px canvas on desktop. */
  .mobile32422-scrim { left: calc(50% - 215px); right: calc(50% - 215px); }
  .mobile32422-drawer { right: calc(50% - 215px); }
}

/* Features page: a diagnostic path with compact, scannable evidence rows. */
.mobile32422-help-shell {
  padding: 18px 14px 8px;
}

.mobile32422-help-hero {
  padding: 4px 0 14px;
  border-bottom: 1px solid var(--mobile32422-line);
}

.mobile32422-help-hero .mobile32422-hero-title {
  margin-bottom: 8px;
}

.mobile32422-help-kicker {
  margin: 0 0 7px;
  color: var(--mobile32422-coral);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.mobile32422-feature-map {
  display: grid;
  gap: 8px;
  margin: 14px 0 16px;
}

.mobile32422-feature-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding: 11px 10px;
  border-left: 3px solid var(--mobile32422-tide-mid);
  border-radius: 8px 12px 12px 8px;
  background: linear-gradient(100deg, rgba(64, 224, 208, 0.12), rgba(34, 52, 73, 0.72));
}

.mobile32422-feature-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--mobile32422-sky);
  color: var(--mobile32422-ink);
  font-size: 12px;
  font-weight: 800;
}

.mobile32422-feature-row h3,
.mobile32422-branch h3,
.mobile32422-tip-card h3 {
  margin: 0 0 4px;
  color: var(--mobile32422-paper);
  font-family: var(--mobile32422-font-head);
  font-size: 15px;
  line-height: 1.35;
}

.mobile32422-feature-row p,
.mobile32422-branch p,
.mobile32422-tip-card p {
  margin: 0;
  color: var(--mobile32422-mist);
  font-size: 13px;
  line-height: 1.58;
}

.mobile32422-branch-list {
  display: grid;
  gap: 9px;
  margin: 12px 0 0;
}

.mobile32422-branch {
  padding: 12px;
  border: 1px solid rgba(135, 206, 250, 0.18);
  border-radius: 12px;
  background: rgba(27, 42, 61, 0.7);
}

.mobile32422-branch strong { color: var(--mobile32422-tide); }

.mobile32422-answer-list {
  margin: 0;
  padding: 0;
}

.mobile32422-answer-list div {
  padding: 11px 0;
  border-bottom: 1px dashed rgba(135, 206, 250, 0.2);
}

.mobile32422-answer-list div:last-child { border-bottom: 0; }

.mobile32422-answer-list dt {
  margin-bottom: 4px;
  color: var(--mobile32422-paper);
  font-family: var(--mobile32422-font-head);
  font-size: 14px;
  font-weight: 700;
}

.mobile32422-answer-list dd {
  margin: 0;
  color: var(--mobile32422-mist);
  font-size: 13.2px;
  line-height: 1.62;
}

/* Tips page: offset advice cards keep this help route distinct from features. */
.mobile32422-tips-shell {
  padding: 14px 14px 8px;
}

.mobile32422-tips-hero {
  padding: 8px 3px 16px;
}

.mobile32422-tips-hero .mobile32422-hero-title {
  font-size: 24px;
}

.mobile32422-tipdeck {
  display: grid;
  gap: 10px;
  margin: 10px 0 18px;
}

.mobile32422-tip-card {
  position: relative;
  padding: 14px 13px 13px 42px;
  border-radius: 16px 7px 16px 7px;
  background: var(--mobile32422-panel);
  border: 1px solid rgba(255, 127, 80, 0.26);
}

.mobile32422-tip-card::before {
  content: "!";
  position: absolute;
  left: 13px;
  top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--mobile32422-coral);
  color: #34221A;
  font-size: 13px;
  font-weight: 800;
}

.mobile32422-tip-card:nth-child(even) {
  border-color: rgba(135, 206, 250, 0.24);
  background: rgba(34, 52, 73, 0.72);
}

.mobile32422-tip-card:nth-child(even)::before {
  content: "i";
  background: var(--mobile32422-sky);
}

.mobile32422-term-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.mobile32422-term {
  min-width: 0;
  padding: 10px;
  border-top: 2px solid var(--mobile32422-tide);
  border-radius: 4px 4px 11px 11px;
  background: rgba(27, 42, 61, 0.74);
}

.mobile32422-term strong {
  display: block;
  margin-bottom: 4px;
  color: var(--mobile32422-sky);
  font-size: 12px;
}

.mobile32422-term span {
  display: block;
  color: var(--mobile32422-mist);
  font-size: 11.8px;
  line-height: 1.5;
}

.mobile32422-help-actions {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.mobile32422-help-actions button {
  min-height: 46px;
  padding: 0 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--mobile32422-coral), #ff9b76);
  color: #34221A;
  font-size: 13px;
  font-weight: 700;
}

.mobile32422-help-actions button:nth-child(2) {
  background: rgba(64, 224, 208, 0.08);
  border: 1px solid var(--mobile32422-tide-mid);
  color: var(--mobile32422-tide);
}

@media (min-width: 375px) {
  .mobile32422-help-shell,
  .mobile32422-tips-shell { padding-left: 16px; padding-right: 16px; }
  .mobile32422-tip-card { padding-right: 15px; }
}
