/* ============================================================
   h19 2026 - base stylesheet for the 320-430px mobile canvas
   File   : css/surface-compact-4205b9.css
   Prefix : view4205b-
   Palette: #1E1E1E canvas / #E0E0E0 ink / #9AFF9A mint
            #228B22 green / #2E8B57 sea green
   Voice  : poster-weight headings over a narrow body column,
            near-square tool corners, light floating image cards,
            step-by-step rhythm, restrained fade feedback.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --view4205b-bg: #1e1e1e;
  --view4205b-bg-deep: #131313;
  --view4205b-panel: #232323;
  --view4205b-panel-2: #2b2b2b;
  --view4205b-ink: #e0e0e0;
  --view4205b-dim: #9fae9f;
  --view4205b-mint: #9aff9a;
  --view4205b-green: #228b22;
  --view4205b-sea: #2e8b57;
  --view4205b-line: rgba(224, 224, 224, 0.14);
  --view4205b-line-mint: rgba(154, 255, 154, 0.30);
  --view4205b-top-h: 56px;
  --view4205b-rail-h: 60px;
  --view4205b-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

/* ---------- reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

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

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

a { color: var(--view4205b-mint); text-decoration: none; }
a:hover { text-decoration: underline; }

/* inline text-link styled as a button for in-paragraph promo entries */
.view4205b-tlink {
  color: var(--view4205b-mint);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--view4205b-mint);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ---------- phone canvas shell ---------- */
.view4205b-shell {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100dvh;
  background: var(--view4205b-bg);
}

@media (min-width: 431px) {
  .view4205b-shell {
    box-shadow: 0 0 0 1px rgba(154, 255, 154, 0.10), 0 18px 60px rgba(0, 0, 0, 0.55);
  }
}

.view4205b-main { padding: 0 14px 104px; }

/* ---------- top action bar ---------- */
.view4205b-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--view4205b-top-h);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: linear-gradient(180deg, #202020 0%, #1b1b1b 100%);
  border-bottom: 1px solid var(--view4205b-line-mint);
}

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

.view4205b-brand-logo {
  flex: 0 0 auto;
  display: block;
  border-radius: 7px;
  overflow: hidden;
  border: 1px solid var(--view4205b-line-mint);
  box-shadow: 0 2px 8px rgba(46, 139, 87, 0.35);
}

.view4205b-brand-logo img { width: 34px; height: 34px; }

.view4205b-brand-name {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--view4205b-ink);
}
.view4205b-brand-name b { color: var(--view4205b-mint); font-weight: 800; }

.view4205b-topacts { display: flex; align-items: center; gap: 7px; }

.view4205b-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 13px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.view4205b-btn:active { transform: translateY(1px) scale(0.98); }

.view4205b-btn-solid {
  background: linear-gradient(180deg, var(--view4205b-mint) 0%, var(--view4205b-sea) 130%);
  color: #0c1c0f;
}
.view4205b-btn-solid:hover { filter: brightness(1.08); text-decoration: none; }

.view4205b-btn-ghost {
  border: 1px solid var(--view4205b-line-mint);
  color: var(--view4205b-mint);
  background: rgba(34, 139, 34, 0.12);
}
.view4205b-btn-ghost:hover { text-decoration: none; background: rgba(34, 139, 34, 0.22); }

/* menu trigger with morphing bars */
.view4205b-menubtn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--view4205b-line);
  border-radius: 5px;
  color: var(--view4205b-mint);
}
.view4205b-menubtn-ico {
  width: 20px;
  height: 14px;
  position: relative;
  transition: transform 0.2s ease;
}
.view4205b-menubtn-ico i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.22s ease, opacity 0.18s ease, top 0.22s ease;
}
.view4205b-menubtn-ico i:nth-child(1) { top: 0; }
.view4205b-menubtn-ico i:nth-child(2) { top: 6px; }
.view4205b-menubtn-ico i:nth-child(3) { top: 12px; }
.view4205b-menubtn.view4205b-open .view4205b-menubtn-ico i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.view4205b-menubtn.view4205b-open .view4205b-menubtn-ico i:nth-child(2) { opacity: 0; }
.view4205b-menubtn.view4205b-open .view4205b-menubtn-ico i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* ---------- layered dropdown menu ---------- */
.view4205b-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 39;
  max-height: calc(100dvh - var(--view4205b-top-h) - 8px);
  overflow-y: auto;
  padding: 10px 12px 16px;
  background: #191919;
  border-bottom: 1px solid var(--view4205b-line-mint);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.5);
  animation: view4205b-menudrop 0.18s ease both;
}
.view4205b-menu[hidden] { display: none; }

@keyframes view4205b-menudrop {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.view4205b-menu-home {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 12px;
  margin-bottom: 6px;
  border: 1px solid var(--view4205b-line-mint);
  border-radius: 5px;
  background: rgba(34, 139, 34, 0.16);
  font-weight: 700;
  color: var(--view4205b-ink);
}
.view4205b-menu-home:hover { text-decoration: none; background: rgba(34, 139, 34, 0.28); }

.view4205b-menu-group {
  margin-top: 10px;
  border: 1px solid var(--view4205b-line);
  border-radius: 6px;
  overflow: hidden;
}
.view4205b-menu-cap {
  padding: 8px 12px 2px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--view4205b-dim);
}
.view4205b-menu-group a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 12px;
  color: var(--view4205b-ink);
  border-top: 1px solid var(--view4205b-line);
  font-weight: 600;
}
.view4205b-menu-group a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--view4205b-sea);
}
.view4205b-menu-group a:hover { background: rgba(46, 139, 87, 0.18); text-decoration: none; }

/* ---------- hero ---------- */
.view4205b-hero { padding: 18px 2px 4px; }

.view4205b-hero h1 {
  font-size: 26px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.02em;
  padding-top: 4px; /* keep Vietnamese stacked diacritics clear */
}
.view4205b-hero h1 em {
  font-style: normal;
  color: var(--view4205b-mint);
}

.view4205b-hero p {
  margin-top: 10px;
  max-width: 40ch;
  color: var(--view4205b-ink);
}
.view4205b-hero p + p { margin-top: 8px; }

.view4205b-btnrow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.view4205b-btnrow .view4205b-btn { flex: 1 1 auto; min-height: 46px; }

/* ---------- promo stage (carousel) ---------- */
.view4205b-stage { margin: 16px -14px 0; position: relative; }

.view4205b-stage-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.view4205b-stage-track::-webkit-scrollbar { display: none; }

.view4205b-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: #202020;
  text-align: left;
}
.view4205b-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.view4205b-slide-cap {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 26px 14px 10px;
  background: linear-gradient(180deg, rgba(19, 19, 19, 0) 0%, rgba(19, 19, 19, 0.92) 78%);
}
.view4205b-slide-cap strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
.view4205b-slide-cap span {
  margin-left: auto;
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 4px;
  background: var(--view4205b-mint);
  color: #0c1c0f;
  font-size: 12px;
  font-weight: 800;
}

.view4205b-dots {
  position: absolute;
  right: 12px;
  bottom: 8px;
  display: flex;
  gap: 6px;
}
.view4205b-dot {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.view4205b-dot i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: rgba(224, 224, 224, 0.45);
  transition: background 0.2s ease, transform 0.2s ease;
}
.view4205b-dot.view4205b-dot-on i {
  background: var(--view4205b-mint);
  transform: rotate(45deg) scale(1.15);
}

/* ---------- category quick chips ---------- */
.view4205b-chips {
  display: flex;
  gap: 8px;
  margin: 16px -14px 0;
  padding: 2px 14px 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.view4205b-chips::-webkit-scrollbar { display: none; }
.view4205b-chip {
  flex: 0 0 auto;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--view4205b-line-mint);
  border-radius: 4px;
  background: rgba(35, 35, 35, 0.9);
  color: var(--view4205b-ink);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.view4205b-chip b { color: var(--view4205b-mint); margin-right: 4px; }
.view4205b-chip:hover { background: rgba(46, 139, 87, 0.25); text-decoration: none; }

/* ---------- section headers ---------- */
.view4205b-cat { margin-top: 30px; }

.view4205b-cathead { display: flex; align-items: baseline; gap: 10px; }

.view4205b-cathead-no {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--view4205b-mint);
  border: 1px solid var(--view4205b-line-mint);
  border-radius: 3px;
  padding: 2px 6px;
  transform: translateY(-3px);
}

.view4205b-cat h2 {
  font-size: 19px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.01em;
  padding-top: 3px;
}
.view4205b-cat h2::after {
  content: "";
  display: block;
  width: 26px;
  height: 3px;
  margin-top: 7px;
  background: linear-gradient(90deg, var(--view4205b-green), var(--view4205b-mint));
}

.view4205b-catcount {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--view4205b-dim);
  letter-spacing: 0.08em;
}

.view4205b-cat > p { margin-top: 10px; max-width: 42ch; }

.view4205b-catmore {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.view4205b-catmore a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--view4205b-line);
  border-left: 3px solid var(--view4205b-sea);
  border-radius: 4px;
  background: rgba(35, 35, 35, 0.85);
  font-size: 12.5px;
  font-weight: 700;
}
.view4205b-catmore a:hover { border-left-color: var(--view4205b-mint); text-decoration: none; }

/* ---------- game grid + floating cards ---------- */
.view4205b-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 8px;
}

.view4205b-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px 5px 7px;
  border: 1px solid var(--view4205b-line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  text-align: center;
}
.view4205b-card:hover {
  transform: translateY(-2px);
  border-color: var(--view4205b-line-mint);
  box-shadow: 0 8px 18px rgba(34, 139, 34, 0.25);
}
.view4205b-card:active { transform: translateY(0) scale(0.98); }

.view4205b-card-frame {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  overflow: hidden;
  background: #262626;
}
.view4205b-card-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.view4205b-card-name {
  font-size: 11px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--view4205b-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
  word-break: break-word;
}

/* ---------- winners feed ---------- */
.view4205b-winfeed {
  margin-top: 14px;
  border: 1px solid var(--view4205b-line);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(19, 19, 19, 0.6);
}
.view4205b-winfeed li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-top: 1px solid var(--view4205b-line);
  font-size: 12.5px;
}
.view4205b-winfeed li:first-child { border-top: 0; }
.view4205b-win-user { flex: 0 0 auto; color: var(--view4205b-dim); font-weight: 700; }
.view4205b-win-game { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.view4205b-win-amount { flex: 0 0 auto; color: var(--view4205b-mint); font-weight: 800; }
.view4205b-win-time { flex: 0 0 auto; font-size: 11px; color: var(--view4205b-dim); }

.view4205b-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--view4205b-dim);
  border-left: 3px solid var(--view4205b-sea);
  padding-left: 10px;
}

/* ---------- step rhythm (how to / mobile) ---------- */
.view4205b-steps { margin-top: 14px; counter-reset: view4205b-step; }

.view4205b-step {
  position: relative;
  counter-increment: view4205b-step;
  padding: 0 0 16px 40px;
  border-left: 2px solid var(--view4205b-line);
  margin-left: 13px;
}
.view4205b-step:last-child { padding-bottom: 2px; border-left-color: transparent; }

.view4205b-step::before {
  content: counter(view4205b-step, decimal-leading-zero);
  position: absolute;
  left: -14px;
  top: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--view4205b-green), var(--view4205b-sea));
  color: #eaffea;
  font-size: 12px;
  font-weight: 800;
}

.view4205b-step h3 { font-size: 15px; font-weight: 800; padding-top: 3px; }
.view4205b-step p { margin-top: 5px; font-size: 13.5px; color: var(--view4205b-ink); max-width: 40ch; }

/* ---------- play style comparison ---------- */
.view4205b-styles {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.view4205b-style {
  padding: 12px;
  border: 1px solid var(--view4205b-line);
  border-radius: 5px;
  background: var(--view4205b-panel);
}
.view4205b-style h3 {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--view4205b-mint);
}
.view4205b-style p { margin-top: 6px; font-size: 12.5px; color: var(--view4205b-ink); }
.view4205b-style .view4205b-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--view4205b-dim);
  border: 1px solid var(--view4205b-line);
  border-radius: 3px;
  padding: 2px 7px;
}

/* ---------- scenario guidance ---------- */
.view4205b-scenes { margin-top: 14px; display: grid; gap: 10px; }

.view4205b-scene {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid var(--view4205b-line);
  border-radius: 5px;
  background: rgba(35, 35, 35, 0.75);
}
.view4205b-scene-ico {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: rgba(34, 139, 34, 0.25);
  border: 1px solid var(--view4205b-line-mint);
  color: var(--view4205b-mint);
  font-weight: 800;
  font-size: 13px;
}
.view4205b-scene h3 { font-size: 13.5px; font-weight: 800; }
.view4205b-scene p { margin-top: 4px; font-size: 12.5px; color: var(--view4205b-ink); }

/* ---------- FAQ ---------- */
.view4205b-faq { margin-top: 14px; display: grid; gap: 8px; }

.view4205b-faq details {
  border: 1px solid var(--view4205b-line);
  border-radius: 5px;
  background: var(--view4205b-panel);
  overflow: hidden;
}
.view4205b-faq summary {
  list-style: none;
  cursor: pointer;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-weight: 700;
  font-size: 13.5px;
}
.view4205b-faq summary::-webkit-details-marker { display: none; }
.view4205b-faq summary::after {
  content: "+";
  margin-left: auto;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--view4205b-line-mint);
  border-radius: 3px;
  color: var(--view4205b-mint);
  font-weight: 800;
}
.view4205b-faq details[open] summary::after { content: "–"; }
.view4205b-faq details p { padding: 0 12px 12px; font-size: 13px; max-width: 44ch; }

/* ---------- extended footer ---------- */
.view4205b-xfoot {
  margin: 34px -14px 0;
  padding: 20px 14px 6px;
  border-top: 1px solid var(--view4205b-line-mint);
  background: linear-gradient(180deg, rgba(34, 139, 34, 0.08), rgba(19, 19, 19, 0) 60%);
}

.view4205b-xfoot h2 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  padding-top: 2px;
}

.view4205b-dir {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.view4205b-dir a {
  display: block;
  padding: 9px 10px;
  border: 1px solid var(--view4205b-line);
  border-radius: 4px;
  background: rgba(35, 35, 35, 0.85);
  min-height: 44px;
}
.view4205b-dir b {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--view4205b-ink);
}
.view4205b-dir span { display: block; font-size: 11px; color: var(--view4205b-dim); line-height: 1.4; margin-top: 2px; }
.view4205b-dir a:hover { border-color: var(--view4205b-line-mint); text-decoration: none; }

.view4205b-xfoot-brand { margin-top: 20px; border-left: 3px solid var(--view4205b-sea); padding-left: 10px; }
.view4205b-xfoot-brand h3 { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--view4205b-dim); }
.view4205b-xfoot-brand p { margin-top: 6px; font-size: 12.5px; max-width: 46ch; }

.view4205b-xfoot-promo { margin-top: 18px; }
.view4205b-xfoot-promo h3 { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--view4205b-dim); }
.view4205b-promolist { margin-top: 10px; display: grid; gap: 8px; }
.view4205b-promoline {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 12px;
  border: 1px solid var(--view4205b-line-mint);
  border-radius: 5px;
  background: linear-gradient(90deg, rgba(34, 139, 34, 0.22), rgba(46, 139, 87, 0.06));
  font-weight: 700;
  font-size: 13px;
  text-align: left;
}
.view4205b-promoline:hover { filter: brightness(1.12); text-decoration: none; }
.view4205b-promoline em { font-style: normal; color: var(--view4205b-mint); }
.view4205b-promoline .view4205b-btn { margin-left: auto; flex: 0 0 auto; }

.view4205b-xfoot-disc {
  margin-top: 16px;
  padding: 10px 12px;
  border: 1px dashed var(--view4205b-line);
  border-radius: 5px;
  font-size: 11.5px;
  color: var(--view4205b-dim);
  line-height: 1.55;
}

/* ---------- common footer ---------- */
.view4205b-foot {
  margin: 22px -14px 0;
  padding: 14px;
  border-top: 1px solid var(--view4205b-line);
  text-align: center;
  font-size: 11.5px;
  color: var(--view4205b-dim);
  background: #191919;
}
.view4205b-foot b { color: var(--view4205b-mint); font-weight: 700; }

/* ---------- bottom navigation rail ---------- */
.view4205b-rail {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100vw, 430px);
  z-index: 50;
  display: flex;
  align-items: stretch;
  height: calc(var(--view4205b-rail-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: #171717;
  border-top: 1px solid var(--view4205b-line-mint);
}

.view4205b-railitem {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--view4205b-dim);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  -webkit-tap-highlight-color: rgba(154, 255, 154, 0.12);
}
.view4205b-railitem svg { width: 22px; height: 22px; }
.view4205b-railitem:hover { color: var(--view4205b-ink); text-decoration: none; }

/* active tab: contrast inversion */
.view4205b-railitem.view4205b-on {
  color: #0c1c0f;
  background: linear-gradient(180deg, var(--view4205b-mint), #6fdd6f);
  border-radius: 6px 6px 0 0;
}

/* icon state morph on press */
.view4205b-railitem svg { transition: transform 0.18s ease; }
.view4205b-railitem:active svg { transform: scale(0.84) rotate(-4deg); }

/* raised center CTA */
.view4205b-railcta {
  position: relative;
  color: var(--view4205b-ink);
}
.view4205b-railcta .view4205b-railcta-btn {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--view4205b-mint), var(--view4205b-green));
  color: #0c1c0f;
  border: 2px solid #1e1e1e;
  box-shadow: 0 6px 16px rgba(34, 139, 34, 0.5);
}
.view4205b-railcta .view4205b-railcta-btn svg { width: 26px; height: 26px; }
.view4205b-railcta span { margin-top: 32px; }
.view4205b-railcta:active .view4205b-railcta-btn { transform: translateX(-50%) scale(0.92); }

/* ---------- reveal animation ---------- */
.view4205b-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.view4205b-reveal.view4205b-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .view4205b-reveal { opacity: 1; transform: none; transition: none; }
  .view4205b-menu { animation: none; }
}

/* ============================================================
   Breakpoints
   ============================================================ */

/* Phone canvas tuning at the 430px design edge */
@media (max-width: 430px) {
  .view4205b-main { padding: 0 12px 100px; }

  .view4205b-hero h1 { font-size: 24px; }

  .view4205b-stage { margin: 14px -12px 0; }
  .view4205b-chips { margin: 14px -12px 0; padding: 2px 12px 6px; }
  .view4205b-slide-cap strong { font-size: 14px; }
  .view4205b-cat h2 { font-size: 18px; }
  .view4205b-xfoot { margin: 30px -12px 0; padding: 18px 12px 6px; }
  .view4205b-foot { margin: 20px -12px 0; }
}

/* Small phones: tighten the grid without dropping columns */
@media (max-width: 359px) {
  .view4205b-grid { gap: 8px 6px; }
  .view4205b-card { padding: 4px 3px 5px; }
  .view4205b-card-name { font-size: 10.5px; }
  .view4205b-brand-name { font-size: 16px; }
  .view4205b-btn { padding: 0 10px; font-size: 12px; }
  .view4205b-hero h1 { font-size: 22px; }
  .view4205b-dir { grid-template-columns: 1fr; }
}

/* Wider phones move to a 5-column game row */
@media (min-width: 396px) {
  .view4205b-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Desktop: keep the phone canvas centered and quiet */
@media (min-width: 431px) {
  body { background: radial-gradient(1200px 600px at 50% -10%, #1c241c, var(--view4205b-bg-deep)); }
}

/* Help-page reading aids and compact action clusters. */
.view4205b-cat .view4205b-promoline {
  width: 100%;
  justify-content: space-between;
  min-height: 44px;
  color: var(--view4205b-ink);
}
.view4205b-cat .view4205b-tlink { background: transparent; border: 0; min-height: 44px; padding: 8px 0; }
.view4205b-cat .view4205b-tlink:hover { text-decoration-thickness: 2px; }
