/* ==========================================================================
   tk11 login - mobile-first layer styles
   File: css/responsive-94b2b7-layers.css
   Class prefix: view4b2b7-
   Palette: #FFB74D | #8B008B | #E9ECEF | #2E4057 | #FFEB3B | #FF5722
   Direction: poster titles + narrow body, small/medium radius,
   image-only game cards, step-by-step rhythm, color-only state changes,
   compact icon+text CTAs, center-raised bottom dock.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --view4b2b7-bg: #2e4057;
  --view4b2b7-bg-deep: #24344a;
  --view4b2b7-bg-outer: #1a2737;
  --view4b2b7-panel: #293b51;
  --view4b2b7-panel-2: #31465e;
  --view4b2b7-ink: #e9ecef;
  --view4b2b7-muted: #b9c4d2;
  --view4b2b7-faint: #8fa0b3;
  --view4b2b7-amber: #ffb74d;
  --view4b2b7-grape: #8b008b;
  --view4b2b7-grape-lift: #a63fa8;
  --view4b2b7-sun: #ffeb3b;
  --view4b2b7-ember: #ff5722;
  --view4b2b7-line: rgba(233, 236, 239, 0.16);
  --view4b2b7-line-strong: rgba(255, 183, 77, 0.42);
  --view4b2b7-radius-s: 8px;
  --view4b2b7-radius-m: 14px;
  --view4b2b7-radius-l: 18px;
  --view4b2b7-font-display: "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi", "Arial Black", system-ui, sans-serif;
  --view4b2b7-font-body: "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi", "Segoe UI", system-ui, sans-serif;
  --view4b2b7-tap: 44px;
  --view4b2b7-dock-h: 62px;
}

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

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

body {
  margin: 0;
  background: var(--view4b2b7-bg-outer);
  color: var(--view4b2b7-ink);
  font-family: var(--view4b2b7-font-body);
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.1px;
}

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

h1, h2, h3, h4, p, ul, ol, dl, dd, figure {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

a {
  color: var(--view4b2b7-amber);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--view4b2b7-sun);
  outline-offset: 2px;
  border-radius: 6px;
}

::selection {
  background: var(--view4b2b7-amber);
  color: #2e4057;
}

/* --------------------------------------------------------------------------
   3. Phone canvas (centered on wide screens, never above 430px)
   -------------------------------------------------------------------------- */
.view4b2b7-canvas {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--view4b2b7-bg);
  overflow-x: clip;
  box-shadow: 0 0 48px rgba(0, 0, 0, 0.5);
}

.view4b2b7-skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 90;
  background: var(--view4b2b7-sun);
  color: #2e4057;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: var(--view4b2b7-radius-s);
  transition: top 0.15s ease;
}

.view4b2b7-skip:focus {
  top: 8px;
}

/* --------------------------------------------------------------------------
   4. Top action band (minimal title bar)
   -------------------------------------------------------------------------- */
.view4b2b7-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  padding: 7px 10px 7px 12px;
  background: linear-gradient(180deg, #2e4057 0%, #223145 100%);
  border-bottom: 1px solid var(--view4b2b7-line);
  box-shadow: 0 3px 16px rgba(10, 18, 28, 0.45);
}

.view4b2b7-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  min-height: var(--view4b2b7-tap);
  color: var(--view4b2b7-ink);
}

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

.view4b2b7-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1.5px solid var(--view4b2b7-line-strong);
  object-fit: cover;
  background: var(--view4b2b7-bg-deep);
}

.view4b2b7-brandname {
  font-family: var(--view4b2b7-font-display);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.2px;
  line-height: 1.15;
  color: var(--view4b2b7-amber);
  white-space: nowrap;
}

/* Compact icon+text CTAs */
.view4b2b7-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: var(--view4b2b7-tap);
  padding: 0 13px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.view4b2b7-btn svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.view4b2b7-btn-solid {
  background: linear-gradient(180deg, #ffb74d 0%, #ff5722 100%);
  color: #2e2a57;
}

.view4b2b7-btn-solid:active {
  background: linear-gradient(180deg, #ffc36b 0%, #ff6a3d 100%);
}

.view4b2b7-btn-ghost {
  background: transparent;
  color: var(--view4b2b7-amber);
  border-color: var(--view4b2b7-line-strong);
}

.view4b2b7-btn-ghost:active {
  background: rgba(255, 183, 77, 0.14);
}

.view4b2b7-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--view4b2b7-tap);
  height: var(--view4b2b7-tap);
  border-radius: 10px;
  border: 1px solid var(--view4b2b7-line);
  background: var(--view4b2b7-bg-deep);
  color: var(--view4b2b7-ink);
  transition: border-color 0.15s ease;
}

.view4b2b7-burger svg {
  width: 20px;
  height: 20px;
}

.view4b2b7-burger[aria-expanded="true"] {
  border-color: var(--view4b2b7-amber);
  color: var(--view4b2b7-amber);
}

/* Short vertical lift micro-interaction (state change only) */
.view4b2b7-btn:active,
.view4b2b7-burger:active,
.view4b2b7-gamecard:active {
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   5. Sectioned menu page (slide-down panel)
   -------------------------------------------------------------------------- */
.view4b2b7-menu {
  position: fixed;
  top: 58px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 55;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  background: #223145;
  border-bottom: 1px solid var(--view4b2b7-line-strong);
  box-shadow: 0 18px 30px rgba(8, 14, 24, 0.55);
  padding: 4px 12px 16px;
  display: none;
}

.view4b2b7-menu.view4b2b7-open {
  display: block;
}

.view4b2b7-menulabel {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 2px 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--view4b2b7-faint);
}

.view4b2b7-menulabel::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--view4b2b7-line);
}

.view4b2b7-menulinks {
  display: grid;
  gap: 4px;
}

.view4b2b7-menulink {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--view4b2b7-tap);
  padding: 0 10px;
  border-radius: var(--view4b2b7-radius-s);
  color: var(--view4b2b7-ink);
  font-weight: 700;
  font-size: 14px;
  background: rgba(233, 236, 239, 0.03);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.view4b2b7-menulink:hover {
  background: rgba(255, 183, 77, 0.12);
  text-decoration: none;
}

.view4b2b7-menulink svg {
  width: 17px;
  height: 17px;
  color: var(--view4b2b7-amber);
  flex: 0 0 auto;
}

/* Underline marker = active page state */
.view4b2b7-menulink[aria-current="page"] {
  color: var(--view4b2b7-sun);
  box-shadow: inset 0 -2px 0 var(--view4b2b7-sun);
}

.view4b2b7-menufoot {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.view4b2b7-menufoot .view4b2b7-btn {
  flex: 1;
}

/* --------------------------------------------------------------------------
   6. Main column
   -------------------------------------------------------------------------- */
.view4b2b7-main {
  padding: 70px 0 0;
  /* keep clear of the fixed dock */
  padding-bottom: calc(var(--view4b2b7-dock-h) + 58px + env(safe-area-inset-bottom, 0px));
}

.view4b2b7-main > section {
  margin-top: 16px;
}

/* --------------------------------------------------------------------------
   7. Opening headline (single H1, poster feel)
   -------------------------------------------------------------------------- */
.view4b2b7-openhead {
  padding: 14px 14px 0;
}

.view4b2b7-openhead h1 {
  font-family: var(--view4b2b7-font-display);
  font-size: 24px;
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: -0.2px;
  color: var(--view4b2b7-ink);
  text-wrap: balance;
}

.view4b2b7-openhead h1 em {
  font-style: normal;
  color: var(--view4b2b7-sun);
}

.view4b2b7-openhead p {
  margin-top: 8px;
  max-width: 40ch;
  font-size: 14px;
  color: var(--view4b2b7-muted);
}

/* --------------------------------------------------------------------------
   8. Promo carousel
   -------------------------------------------------------------------------- */
.view4b2b7-hero {
  position: relative;
  margin: 14px 12px 0;
  border-radius: var(--view4b2b7-radius-m);
  overflow: hidden;
  border: 1px solid var(--view4b2b7-line);
  background: var(--view4b2b7-bg-deep);
}

.view4b2b7-track {
  display: flex;
  transition: transform 0.42s ease;
}

.view4b2b7-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--view4b2b7-bg-deep);
  text-align: left;
}

.view4b2b7-slide img {
  width: 100%;
  aspect-ratio: 21 / 10;
  object-fit: cover;
}

.view4b2b7-slidecap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 12px 12px;
  background: linear-gradient(180deg, rgba(36, 52, 74, 0) 0%, rgba(26, 39, 55, 0.94) 78%);
}

.view4b2b7-slidetitle {
  font-family: var(--view4b2b7-font-display);
  font-size: 16.5px;
  font-weight: 900;
  line-height: 1.35;
  color: var(--view4b2b7-ink);
  max-width: 30ch;
}

.view4b2b7-slidechip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffb74d, #ff5722);
  color: #2e2a57;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.view4b2b7-slidechip svg {
  width: 12px;
  height: 12px;
}

.view4b2b7-dots {
  position: absolute;
  right: 10px;
  bottom: 9px;
  display: flex;
  gap: 4px;
  z-index: 2;
}

.view4b2b7-dot {
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.view4b2b7-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(233, 236, 239, 0.45);
  transition: background-color 0.15s ease, width 0.15s ease;
}

.view4b2b7-dot.view4b2b7-dot-on::before {
  background: var(--view4b2b7-sun);
  width: 20px;
}

/* --------------------------------------------------------------------------
   9. Step rail (step-by-step info rhythm)
   -------------------------------------------------------------------------- */
.view4b2b7-steps {
  margin: 16px 12px 0;
  padding: 14px 12px 6px;
  border-radius: var(--view4b2b7-radius-m);
  background: var(--view4b2b7-panel);
  border: 1px solid var(--view4b2b7-line);
}

.view4b2b7-steps h2 {
  font-family: var(--view4b2b7-font-display);
  font-size: 16px;
  font-weight: 900;
  color: var(--view4b2b7-amber);
  margin: 0 2px 6px;
}

.view4b2b7-step {
  position: relative;
  display: flex;
  gap: 10px;
  padding: 8px 2px 12px;
}

.view4b2b7-step + .view4b2b7-step {
  border-top: 1px dashed var(--view4b2b7-line);
}

.view4b2b7-stepnum {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--view4b2b7-grape);
  color: var(--view4b2b7-sun);
  font-family: var(--view4b2b7-font-display);
  font-size: 13px;
  font-weight: 900;
}

.view4b2b7-step b {
  display: block;
  font-size: 13.5px;
  color: var(--view4b2b7-ink);
}

.view4b2b7-step p {
  font-size: 12.5px;
  color: var(--view4b2b7-muted);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   10. Game zones (pure image cards + short name)
   -------------------------------------------------------------------------- */
.view4b2b7-zone {
  margin: 24px 12px 0;
}

.view4b2b7-zonehead {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 7px;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--view4b2b7-line-strong);
}

.view4b2b7-zonehead h2 {
  font-family: var(--view4b2b7-font-display);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.3;
  color: var(--view4b2b7-ink);
}

.view4b2b7-zonecount {
  margin-left: auto;
  flex: 0 0 auto;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 235, 59, 0.45);
  color: var(--view4b2b7-sun);
  font-size: 10.5px;
  font-weight: 800;
  white-space: nowrap;
}

.view4b2b7-zoneintro {
  font-size: 13px;
  color: var(--view4b2b7-muted);
  margin: 0 2px 10px;
  max-width: 44ch;
}

/* 4 columns at 320px, 5 columns from 375px up */
.view4b2b7-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 7px;
}

.view4b2b7-gamecard {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  min-width: 0;
  padding: 5px 5px 7px;
  background: var(--view4b2b7-bg-deep);
  border: 1px solid var(--view4b2b7-line);
  border-radius: var(--view4b2b7-radius-s);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.view4b2b7-gamecard img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  background: var(--view4b2b7-panel);
}

.view4b2b7-gamecard span {
  font-size: 10.5px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--view4b2b7-muted);
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
}

.view4b2b7-gamecard:active {
  border-color: var(--view4b2b7-amber);
  background: var(--view4b2b7-panel-2);
}

.view4b2b7-zonelinks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.view4b2b7-zonelinks a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: var(--view4b2b7-tap);
  padding: 0 14px;
  border-radius: 999px;
  border: 1px dashed var(--view4b2b7-line-strong);
  color: var(--view4b2b7-amber);
  font-size: 12.5px;
  font-weight: 700;
  transition: background-color 0.15s ease;
}

.view4b2b7-zonelinks a:hover {
  background: rgba(255, 183, 77, 0.1);
  text-decoration: none;
}

.view4b2b7-zonelinks a::before {
  content: "→";
  font-weight: 900;
  color: var(--view4b2b7-ember);
}

/* --------------------------------------------------------------------------
   11. Prose modules
   -------------------------------------------------------------------------- */
.view4b2b7-sect {
  margin: 24px 12px 0;
  padding: 15px 14px 17px;
  border-radius: var(--view4b2b7-radius-m);
  background: var(--view4b2b7-panel);
  border: 1px solid var(--view4b2b7-line);
}

.view4b2b7-sect > h2 {
  font-family: var(--view4b2b7-font-display);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
  color: var(--view4b2b7-amber);
  padding-bottom: 7px;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--view4b2b7-line-strong);
  text-wrap: balance;
}

.view4b2b7-sect h3 {
  font-family: var(--view4b2b7-font-display);
  font-size: 14.5px;
  font-weight: 900;
  color: var(--view4b2b7-sun);
  margin: 14px 0 4px;
}

.view4b2b7-sect p {
  font-size: 13.5px;
  color: var(--view4b2b7-ink);
  max-width: 46ch;
}

.view4b2b7-sect p + p {
  margin-top: 8px;
}

.view4b2b7-sect a {
  color: var(--view4b2b7-sun);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255, 235, 59, 0.5);
  text-underline-offset: 3px;
}

.view4b2b7-numlist {
  counter-reset: view4b2b7-step;
  display: grid;
  gap: 9px;
  margin-top: 10px;
}

.view4b2b7-numlist li {
  counter-increment: view4b2b7-step;
  position: relative;
  padding: 10px 10px 10px 44px;
  border-radius: var(--view4b2b7-radius-s);
  background: rgba(233, 236, 239, 0.045);
  font-size: 13px;
  color: var(--view4b2b7-muted);
}

.view4b2b7-numlist li b {
  color: var(--view4b2b7-ink);
}

.view4b2b7-numlist li::before {
  content: counter(view4b2b7-step);
  position: absolute;
  left: 10px;
  top: 10px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--view4b2b7-grape);
  color: var(--view4b2b7-sun);
  font-family: var(--view4b2b7-font-display);
  font-size: 12.5px;
  font-weight: 900;
}

.view4b2b7-rowlist {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.view4b2b7-rowlist li {
  padding: 9px 11px;
  border-radius: var(--view4b2b7-radius-s);
  border: 1px solid var(--view4b2b7-line);
  border-left: 3px solid var(--view4b2b7-grape-lift);
  font-size: 13px;
  color: var(--view4b2b7-muted);
}

.view4b2b7-rowlist li b {
  display: block;
  color: var(--view4b2b7-ink);
  font-size: 13px;
}

/* Compact Q&A blocks for the scenario module */
.view4b2b7-qa {
  margin-top: 12px;
  padding: 11px 12px;
  border-radius: var(--view4b2b7-radius-s);
  background: rgba(139, 0, 139, 0.14);
  border: 1px solid rgba(166, 63, 168, 0.35);
}

.view4b2b7-qa h3 {
  margin: 0 0 4px;
  font-size: 13.5px;
  color: var(--view4b2b7-sun);
}

.view4b2b7-qa p {
  font-size: 13px;
  color: var(--view4b2b7-muted);
}

/* Decision-context CTA row */
.view4b2b7-ctarow {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 13px;
}

.view4b2b7-ctarow .view4b2b7-btn {
  flex: 1 1 150px;
}

.view4b2b7-ctarow .view4b2b7-btn-sun {
  background: var(--view4b2b7-sun);
  color: #2e2a57;
}

.view4b2b7-ctarow .view4b2b7-btn-sun:active {
  background: #fff29e;
}

/* --------------------------------------------------------------------------
   12. Extended footer (brand > promotions > directory > disclaimer)
   -------------------------------------------------------------------------- */
.view4b2b7-xfoot {
  margin: 28px 12px 0;
  padding-top: 15px;
  border-top: 2px solid var(--view4b2b7-line-strong);
}

.view4b2b7-xlabel {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 2px 8px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--view4b2b7-faint);
}

.view4b2b7-xlabel::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--view4b2b7-line);
}

.view4b2b7-xbrand {
  font-size: 12.5px;
  color: var(--view4b2b7-muted);
  max-width: 46ch;
  margin-bottom: 16px;
}

.view4b2b7-xpromo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.view4b2b7-xbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: var(--view4b2b7-tap);
  padding: 0 8px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.view4b2b7-xbtn svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.view4b2b7-xbtn-amber {
  background: linear-gradient(180deg, #ffb74d, #ff8a50);
  color: #2e2a57;
}

.view4b2b7-xbtn-grape {
  background: var(--view4b2b7-grape);
  color: var(--view4b2b7-ink);
  border-color: rgba(255, 183, 77, 0.4);
}

.view4b2b7-xbtn-line {
  background: transparent;
  color: var(--view4b2b7-amber);
  border-color: var(--view4b2b7-line-strong);
}

.view4b2b7-xbtn:active {
  transform: translateY(-2px);
}

.view4b2b7-xgroup {
  margin-top: 14px;
}

.view4b2b7-xdir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 8px;
}

.view4b2b7-xdir a {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 10px;
  border-radius: var(--view4b2b7-radius-s);
  background: rgba(233, 236, 239, 0.05);
  color: var(--view4b2b7-muted);
  font-size: 12px;
  font-weight: 700;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.view4b2b7-xdir a:hover {
  background: rgba(255, 183, 77, 0.14);
  color: var(--view4b2b7-ink);
  text-decoration: none;
}

.view4b2b7-xdir a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--view4b2b7-ember);
  flex: 0 0 auto;
}

.view4b2b7-xnote {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: var(--view4b2b7-radius-s);
  border-left: 3px solid var(--view4b2b7-grape-lift);
  background: rgba(139, 0, 139, 0.16);
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--view4b2b7-muted);
}

/* --------------------------------------------------------------------------
   13. Common footer
   -------------------------------------------------------------------------- */
.view4b2b7-foot {
  margin-top: 22px;
  padding: 14px 16px 6px;
  border-top: 1px solid var(--view4b2b7-line);
  text-align: center;
  font-size: 11.5px;
  color: var(--view4b2b7-faint);
}

.view4b2b7-foot b {
  color: var(--view4b2b7-muted);
}

/* --------------------------------------------------------------------------
   14. Bottom dock (center-raised 5-role navigation)
   -------------------------------------------------------------------------- */
.view4b2b7-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  min-height: var(--view4b2b7-dock-h);
  padding: 5px 4px calc(5px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, #2a3c52 0%, #1c2b3d 100%);
  border-top: 1px solid var(--view4b2b7-line-strong);
  box-shadow: 0 -4px 18px rgba(8, 14, 24, 0.5);
}

.view4b2b7-dockitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 50px;
  padding: 2px 2px 4px;
  color: var(--view4b2b7-muted);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  background: transparent;
  border: 0;
  transition: color 0.15s ease;
}

.view4b2b7-dockitem svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.view4b2b7-dockitem:hover {
  color: var(--view4b2b7-ink);
  text-decoration: none;
}

/* Filled glyph + underline marker for the active role */
.view4b2b7-dockitem.view4b2b7-is-on {
  color: var(--view4b2b7-sun);
  box-shadow: inset 0 -3px 0 var(--view4b2b7-sun);
}

.view4b2b7-dockitem.view4b2b7-is-on svg {
  fill: rgba(255, 235, 59, 0.2);
  stroke: currentColor;
}

/* Raised hub button in the middle slot */
.view4b2b7-dockhub {
  transform: translateY(-13px);
}

.view4b2b7-hubbtn {
  width: 55px;
  height: 55px;
  border-radius: 999px;
  border: 2px solid var(--view4b2b7-amber);
  background: radial-gradient(circle at 32% 28%, #ff8a50 0%, #ff5722 42%, #8b008b 100%);
  color: #fffbf2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 7px 18px rgba(255, 87, 34, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.view4b2b7-hubbtn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  stroke: none;
}

.view4b2b7-hubbtn:active {
  transform: translateY(-15px);
  box-shadow: 0 3px 10px rgba(255, 87, 34, 0.4);
}

.view4b2b7-hublabel {
  color: var(--view4b2b7-amber);
}

/* --------------------------------------------------------------------------
   15. Breakpoints
   -------------------------------------------------------------------------- */
@media (min-width: 375px) {
  .view4b2b7-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .view4b2b7-gamecard span {
    font-size: 10px;
  }
}

@media (min-width: 430px) {
  .view4b2b7-openhead {
    padding-top: 18px;
  }

  .view4b2b7-openhead h1 {
    font-size: 26px;
  }

  .view4b2b7-sect,
  .view4b2b7-steps {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* Compatible completion for the separate brand/action bands and help pages. */
.view4b2b7-topbar { flex-direction: column; align-items: stretch; gap: 0; padding: 4px 12px 6px; }
.view4b2b7-brand { margin: 0; min-height: 44px; }
.view4b2b7-acts { display: flex; gap: 8px; align-items: center; padding-top: 4px; border-top: 1px solid var(--view4b2b7-line); }
.view4b2b7-acts .view4b2b7-btn { flex: 1; }
.view4b2b7-main { padding-top: 110px; }
.view4b2b7-menu { top: 103px; max-height: calc(100dvh - 103px); padding-bottom: 24px; z-index: 75; }
.view4b2b7-menu[hidden] { display: none; }
.view4b2b7-menu-visible { overflow: hidden; }
.view4b2b7-menuclose { display: flex; justify-content: space-between; align-items: center; min-height: 44px; margin-top: 8px; }
.view4b2b7-menuclose button { width: 44px; height: 44px; border: 1px solid var(--view4b2b7-line); background: var(--view4b2b7-bg); border-radius: 8px; }
.view4b2b7-skip { position: fixed; }
.view4b2b7-hero { touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.view4b2b7-track { transition: none; }
.view4b2b7-slide img { aspect-ratio: 1915 / 450; object-fit: contain; }
.view4b2b7-slidecap { position: static; display: block; padding: 10px 12px; background: var(--view4b2b7-bg-deep); min-height: 94px; }
.view4b2b7-slidetitle { display: block; }
.view4b2b7-dots { position: static; justify-content: center; gap: 2px; background: var(--view4b2b7-bg-deep); }
.view4b2b7-dot { width: 44px; height: 44px; }
.view4b2b7-dot::before { transition: background-color .15s; }
.view4b2b7-pause { min-width: 80px; min-height: 44px; background: transparent; border: 0; color: var(--view4b2b7-amber); font-size: 12px; }
.view4b2b7-gamecard { text-align: center; }
.view4b2b7-gamecard span { min-height: 29px; }
.view4b2b7-faint, .view4b2b7-menulabel, .view4b2b7-xlabel, .view4b2b7-foot { color: var(--view4b2b7-muted); }
.view4b2b7-xdir a { min-height: 44px; }
.view4b2b7-btn-solid, .view4b2b7-xbtn-amber, .view4b2b7-slidechip { background: var(--view4b2b7-amber); color: #1a2737; }
.view4b2b7-btn-solid:active { background: var(--view4b2b7-sun); }
.view4b2b7-main a { overflow-wrap: anywhere; }
.view4b2b7-sect a, .view4b2b7-notebook a, .view4b2b7-checksheet a { display: inline-block; min-height: 44px; padding: 7px 0; }
.view4b2b7-notebook { margin: 22px 14px 0; padding: 0 4px 8px 18px; border-left: 3px solid var(--view4b2b7-amber); }
.view4b2b7-notebook > h2, .view4b2b7-checksheet > h2 { font-size: 20px; line-height: 1.4; margin-bottom: 12px; color: var(--view4b2b7-amber); text-wrap: balance; }
.view4b2b7-notebook h3 { margin: 18px 0 6px; color: var(--view4b2b7-sun); font-size: 16px; }
.view4b2b7-notebook p, .view4b2b7-checksheet p { font-size: 14px; line-height: 1.85; margin: 10px 0; }
.view4b2b7-notebook .view4b2b7-ctarow { margin: 12px 0 22px; }
.view4b2b7-notebook .view4b2b7-btn { white-space: normal; line-height: 1.5; padding: 10px; min-width: 0; }
.view4b2b7-checksheet { margin: 22px 12px 0; padding: 16px 14px; background: var(--view4b2b7-bg-deep); border-radius: 8px; border-top: 3px solid var(--view4b2b7-grape-lift); }
.view4b2b7-checksheet dl { margin: 12px 0; }
.view4b2b7-checksheet dt { color: var(--view4b2b7-sun); font-weight: 800; margin-top: 15px; }
.view4b2b7-checksheet dd { font-size: 14px; border-bottom: 1px solid var(--view4b2b7-line); padding: 6px 0 14px; }
.view4b2b7-checksheet li { padding: 13px 0; border-bottom: 1px dashed var(--view4b2b7-line); font-size: 14px; }
.view4b2b7-checksheet li strong { color: var(--view4b2b7-sun); display: block; }
.view4b2b7-checksheet .view4b2b7-btn { width: 100%; margin: 10px 0 4px; white-space: normal; line-height: 1.4; padding: 10px; }
.view4b2b7-crumb { padding: 10px 14px 0; font-size: 12px; }
.view4b2b7-crumb a { display: inline-flex; min-height: 44px; align-items: center; }
.view4b2b7-hubbtn { background: var(--view4b2b7-grape); transition: background-color .15s; }
.view4b2b7-hubbtn:active { transform: none; background: #650065; }
.view4b2b7-dock { padding-bottom: calc(7px + env(safe-area-inset-bottom, 0px)); }
.view4b2b7-foot { padding-bottom: calc(140px + env(safe-area-inset-bottom, 0px)); }
.view4b2b7-main { padding-bottom: 0; }
.view4b2b7-btn:active, .view4b2b7-burger:active, .view4b2b7-gamecard:active, .view4b2b7-xbtn:active { transform: none; }
h1,h2,h3 { overflow-wrap: anywhere; }
section { scroll-margin-top: 120px; }

/* --------------------------------------------------------------------------
   16. Motion budget: only state colors, respect reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .view4b2b7-track {
    transition: none;
  }

  .view4b2b7-btn:active,
  .view4b2b7-burger:active,
  .view4b2b7-gamecard:active,
  .view4b2b7-xbtn:active,
  .view4b2b7-hubbtn:active,
  .view4b2b7-dockhub {
    transform: none;
  }
}
