/* ============================================================
   king game casino — base visuals sheet
   class prefix : viewb94d9-
   canvas       : 320-430px mobile-first, centered on wide viewports
   palette      : #3CB371 green / #2D2D2D charcoal / #98FB98 pale green
                  #8B0000 deep red / #FAFAD2 straw light
   voice        : bold condensed headings + light body, near-square
                  corners, floating image tiles, step-driven rhythm,
                  short-distance transitions, staggered CTA sizes
   ============================================================ */

/* ---------- 1. tokens ---------- */
:root {
  --viewb94d9-bg: #191d19;
  --viewb94d9-bg-2: #20251f;
  --viewb94d9-panel: #242a24;
  --viewb94d9-panel-2: #2d2d2d;
  --viewb94d9-line: #38402f;
  --viewb94d9-line-soft: #2d342a;
  --viewb94d9-ink: #101310;
  --viewb94d9-text: #fafad2;
  --viewb94d9-dim: #b9c4ae;
  --viewb94d9-faint: #8d987f;
  --viewb94d9-green: #3cb371;
  --viewb94d9-green-deep: #2b8f58;
  --viewb94d9-green-soft: #98fb98;
  --viewb94d9-red: #8b0000;
  --viewb94d9-red-soft: #b32222;
  --viewb94d9-head-h: 112px;
  --viewb94d9-dock-h: 64px;
  --viewb94d9-r: 3px;
  --viewb94d9-r-2: 5px;
  --viewb94d9-t: 140ms;
  --viewb94d9-f-head: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --viewb94d9-f-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

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

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

body {
  background: var(--viewb94d9-bg);
  background-image:
    linear-gradient(180deg, #1d231c 0%, var(--viewb94d9-bg) 260px, var(--viewb94d9-bg) 100%);
  color: var(--viewb94d9-text);
  font-family: var(--viewb94d9-f-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.55;
  padding-top: calc(var(--viewb94d9-head-h) + env(safe-area-inset-top, 0px));
  padding-bottom: calc(var(--viewb94d9-dock-h) + env(safe-area-inset-bottom, 0px) + 26px);
}

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

button, a { -webkit-tap-highlight-color: rgba(60, 179, 113, 0.25); }

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

a { color: var(--viewb94d9-green-soft); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--viewb94d9-green-soft);
  outline-offset: 2px;
  border-radius: 2px;
}

.viewb94d9-shell {
  width: 100%;
  max-width: 430px; /* the literal 430 canvas cap */
  margin: 0 auto;
  position: relative;
}

.viewb94d9-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--viewb94d9-green);
  color: #0d130d;
  font-weight: 700;
  padding: 10px 16px;
  z-index: 200;
}

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

/* ---------- 3. top bar : asymmetric brand head ---------- */
.viewb94d9-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 90;
  background: rgba(22, 26, 21, 0.97);
  border-bottom: 1px solid var(--viewb94d9-line);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  padding-top: env(safe-area-inset-top, 0px);
}

.viewb94d9-brandrow {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 7px 12px 5px;
  border-bottom: 1px dashed var(--viewb94d9-line-soft);
}

.viewb94d9-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-right: auto;
  color: var(--viewb94d9-text);
  min-height: 44px;
}

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

.viewb94d9-brand-logo {
  width: 38px;
  height: 38px;
  border-radius: var(--viewb94d9-r);
  border: 1px solid var(--viewb94d9-line);
  background: #0f120e;
  flex: none;
}

.viewb94d9-brand-name {
  font-family: var(--viewb94d9-f-head);
  font-weight: 800;
  font-size: 21px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.viewb94d9-brand-name em {
  display: block;
  font-style: normal;
  font-family: var(--viewb94d9-f-body);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.34em;
  color: var(--viewb94d9-green-soft);
  text-transform: uppercase;
  margin-top: 2px;
}

.viewb94d9-menubtn {
  flex: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid var(--viewb94d9-line);
  border-radius: var(--viewb94d9-r);
  background: var(--viewb94d9-panel);
  color: var(--viewb94d9-green-soft);
  transition: background var(--viewb94d9-t) ease, color var(--viewb94d9-t) ease;
}

.viewb94d9-menubtn:active { background: var(--viewb94d9-green-deep); color: #0d130d; }

.viewb94d9-menubtn svg { display: block; }

.viewb94d9-menubtn-lab {
  font-family: var(--viewb94d9-f-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.viewb94d9-actionrow {
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding: 8px 12px 9px;
}

.viewb94d9-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--viewb94d9-f-head);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: var(--viewb94d9-r);
  min-height: 44px;
  transition: transform var(--viewb94d9-t) ease, filter var(--viewb94d9-t) ease,
    background var(--viewb94d9-t) ease;
}

.viewb94d9-btn:active { transform: translateY(1px); filter: brightness(1.12); }

/* primary : the oversized action */
.viewb94d9-btn-main {
  flex: 1.45;
  background: linear-gradient(180deg, var(--viewb94d9-green) 0%, var(--viewb94d9-green-deep) 100%);
  color: #0c120d;
  font-size: 16px;
  padding: 11px 10px;
  box-shadow: 0 4px 0 #1c5b39;
}

/* secondary : deliberately smaller sibling */
.viewb94d9-btn-ghost {
  flex: 1;
  background: transparent;
  color: var(--viewb94d9-green-soft);
  font-size: 13.5px;
  padding: 9px 8px;
  border: 1px solid var(--viewb94d9-green-deep);
}

/* hero-scale primary */
.viewb94d9-btn-hero {
  background: linear-gradient(180deg, var(--viewb94d9-green-soft) 0%, var(--viewb94d9-green) 55%, var(--viewb94d9-green-deep) 100%);
  color: #0c120d;
  font-size: 17px;
  padding: 15px 22px;
  box-shadow: 0 5px 0 #1c5b39;
}

.viewb94d9-btn-line {
  background: none;
  border: 1px solid var(--viewb94d9-line);
  color: var(--viewb94d9-text);
  font-size: 14px;
  padding: 12px 18px;
}

/* inline text promo link */
.viewb94d9-plink {
  color: var(--viewb94d9-green-soft);
  font-weight: 600;
  border-bottom: 1px dotted var(--viewb94d9-green);
  padding-bottom: 1px;
  min-height: 24px;
}

/* ---------- 4. full-height menu layer ---------- */
.viewb94d9-scrim {
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 8, 0.72);
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--viewb94d9-t) ease;
}

.viewb94d9-scrim.viewb94d9-on { opacity: 1; pointer-events: auto; }

.viewb94d9-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(84vw, 340px);
  z-index: 130;
  background: #151815;
  border-right: 1px solid var(--viewb94d9-line);
  transform: translateX(-102%);
  transition: transform 190ms ease;
  display: flex;
  flex-direction: column;
  padding-top: env(safe-area-inset-top, 0px);
}

.viewb94d9-drawer.viewb94d9-open { transform: translateX(0); }

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

.viewb94d9-drawer-head img {
  width: 34px;
  height: 34px;
  border-radius: var(--viewb94d9-r);
  border: 1px solid var(--viewb94d9-line);
}

.viewb94d9-drawer-head strong {
  font-family: var(--viewb94d9-f-head);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-right: auto;
}

.viewb94d9-drawer-x {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--viewb94d9-line);
  border-radius: var(--viewb94d9-r);
  color: var(--viewb94d9-dim);
  background: var(--viewb94d9-panel);
}

.viewb94d9-drawer-nav {
  flex: 1;
  overflow-y: auto;
  padding: 10px 10px 16px;
}

.viewb94d9-drawer-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--viewb94d9-text);
  font-size: 15px;
  font-weight: 400;
  border-left: 3px solid transparent;
  border-bottom: 1px solid var(--viewb94d9-line-soft);
  transition: border-color var(--viewb94d9-t) ease, background var(--viewb94d9-t) ease;
}

.viewb94d9-drawer-nav a:hover,
.viewb94d9-drawer-nav a:focus-visible {
  border-left-color: var(--viewb94d9-green);
  background: #1b201b;
  text-decoration: none;
}

.viewb94d9-drawer-nav a::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--viewb94d9-green);
  flex: none;
}

.viewb94d9-drawer-group {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--viewb94d9-faint);
  padding: 16px 12px 6px;
}

.viewb94d9-drawer-cta { padding: 12px 14px calc(14px + env(safe-area-inset-bottom, 0px)); }

.viewb94d9-drawer-cta .viewb94d9-btn {
  width: 100%;
  background: var(--viewb94d9-green);
  color: #0c120d;
  font-size: 15px;
  padding: 13px 10px;
}

/* ---------- 5. hero ---------- */
.viewb94d9-main { padding: 14px 12px 0; }

.viewb94d9-hero { padding: 6px 2px 16px; }

.viewb94d9-hero-title {
  font-family: var(--viewb94d9-f-head);
  font-weight: 800;
  font-size: 30px;
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  text-wrap: balance;
}

.viewb94d9-hero-title b {
  color: var(--viewb94d9-green-soft);
  font-weight: 800;
}

.viewb94d9-hero-copy {
  margin: 11px 0 0;
  max-width: 40ch;
  color: var(--viewb94d9-dim);
  font-size: 14.5px;
}

.viewb94d9-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.viewb94d9-chip {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--viewb94d9-green-soft);
  border: 1px solid var(--viewb94d9-line);
  background: var(--viewb94d9-panel);
  padding: 5px 9px;
  border-radius: var(--viewb94d9-r);
}

.viewb94d9-hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.viewb94d9-hero-note {
  flex-basis: 100%;
  font-size: 12.5px;
  color: var(--viewb94d9-faint);
}

/* ---------- 6. promo carousel ---------- */
.viewb94d9-promo { position: relative; margin: 4px 0 18px; }

.viewb94d9-promo-frame {
  position: relative;
  border: 1px solid var(--viewb94d9-line);
  border-radius: var(--viewb94d9-r-2);
  overflow: hidden;
  background: var(--viewb94d9-panel);
}

.viewb94d9-promo-track {
  display: flex;
  transition: transform 260ms ease;
}

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

.viewb94d9-promo-slide img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.viewb94d9-promo-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 26px 12px 9px;
  background: linear-gradient(180deg, rgba(10, 12, 10, 0) 0%, rgba(10, 12, 10, 0.88) 62%);
  font-family: var(--viewb94d9-f-head);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--viewb94d9-text);
}

.viewb94d9-promo-cap::after {
  content: "\2192";
  margin-left: auto;
  color: var(--viewb94d9-green-soft);
  font-size: 16px;
}

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

.viewb94d9-promo-dot {
  width: 22px;
  height: 10px;
  padding: 0;
  border-radius: 2px;
  border: 1px solid rgba(152, 251, 152, 0.65);
  background: rgba(16, 19, 16, 0.55);
}

.viewb94d9-promo-dot.viewb94d9-on { background: var(--viewb94d9-green-soft); border-color: var(--viewb94d9-green-soft); }

/* ---------- 7. category tabs ---------- */
.viewb94d9-tabs {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scrollbar-width: none;
  margin-bottom: 4px;
}

.viewb94d9-tabs::-webkit-scrollbar { display: none; }

.viewb94d9-tab {
  flex: none;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--viewb94d9-dim);
  border: 1px solid var(--viewb94d9-line);
  border-left-width: 4px;
  border-radius: var(--viewb94d9-r);
  background: var(--viewb94d9-panel);
  transition: color var(--viewb94d9-t) ease, border-color var(--viewb94d9-t) ease;
}

.viewb94d9-tab.viewb94d9-on,
.viewb94d9-tab:active {
  color: var(--viewb94d9-green-soft);
  border-left-color: var(--viewb94d9-green);
  text-decoration: none;
}

/* ---------- 8. shelves (game sections) ---------- */
.viewb94d9-sec { scroll-margin-top: calc(var(--viewb94d9-head-h) + 14px); }

.viewb94d9-shelf { margin: 0 0 26px; }

.viewb94d9-shelf-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-left: 4px solid var(--viewb94d9-green);
  padding: 2px 0 2px 10px;
  margin-bottom: 8px;
}

.viewb94d9-shelf-title {
  font-family: var(--viewb94d9-f-head);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.viewb94d9-shelf-count {
  margin-left: auto;
  flex: none;
  font-family: var(--viewb94d9-f-head);
  font-size: 12px;
  font-weight: 800;
  color: var(--viewb94d9-green-soft);
  border: 1px solid var(--viewb94d9-line);
  background: var(--viewb94d9-panel);
  padding: 4px 8px;
  border-radius: 2px;
  letter-spacing: 0.06em;
}

.viewb94d9-shelf-sub {
  color: var(--viewb94d9-dim);
  font-size: 13px;
  margin: 6px 0 0;
}

.viewb94d9-shelf-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 9px 0 11px;
  font-size: 12px;
  color: var(--viewb94d9-faint);
}

.viewb94d9-shelf-links a {
  color: var(--viewb94d9-green-soft);
  font-weight: 600;
  border-bottom: 1px dotted var(--viewb94d9-green);
}

/* ---------- 9. game grid + floating tiles ---------- */
.viewb94d9-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.viewb94d9-tile {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  text-align: center;
  border-radius: var(--viewb94d9-r-2);
  transition: transform var(--viewb94d9-t) ease;
}

.viewb94d9-tile::before {
  /* light floating halo behind every tile art */
  content: "";
  position: absolute;
  inset: 0 0 22px 0;
  border-radius: var(--viewb94d9-r-2);
  border: 1px solid var(--viewb94d9-line);
  background: var(--viewb94d9-panel);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.38);
}

.viewb94d9-tile img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--viewb94d9-r-2) var(--viewb94d9-r-2) 0 0;
}

.viewb94d9-tile-name {
  position: relative;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 400;
  color: var(--viewb94d9-dim);
  padding: 3px 3px 4px;
  min-height: 26px;
}

.viewb94d9-tile:active { transform: translateY(2px) scale(0.98); }

.viewb94d9-tile:active .viewb94d9-tile-name { color: var(--viewb94d9-green-soft); }

.viewb94d9-tile:focus-visible::before {
  border-color: var(--viewb94d9-green-soft);
}

/* ---------- 10. content modules ---------- */
.viewb94d9-module {
  border-top: 1px solid var(--viewb94d9-line-soft);
  padding: 20px 0 6px;
  margin-top: 6px;
}

.viewb94d9-eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--viewb94d9-faint);
  margin-bottom: 5px;
}

.viewb94d9-mod-title {
  font-family: var(--viewb94d9-f-head);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.16;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.viewb94d9-mod-lead {
  color: var(--viewb94d9-dim);
  font-size: 14px;
  margin: 9px 0 0;
  max-width: 44ch;
}

/* milestone ladder */
.viewb94d9-ladder { margin-top: 14px; }

.viewb94d9-rung {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 10px 0 12px;
  border-bottom: 1px dashed var(--viewb94d9-line-soft);
}

.viewb94d9-rung:last-child { border-bottom: 0; }

.viewb94d9-rung-num {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  font-family: var(--viewb94d9-f-head);
  font-weight: 800;
  font-size: 15px;
  color: #f5f0d0;
  background: var(--viewb94d9-red);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.28);
}

.viewb94d9-rung:nth-child(2) .viewb94d9-rung-num { background: #6d4c12; box-shadow: 0 0 0 3px rgba(109, 76, 18, 0.3); }
.viewb94d9-rung:nth-child(3) .viewb94d9-rung-num { background: #8a6d1a; box-shadow: 0 0 0 3px rgba(138, 109, 26, 0.3); }
.viewb94d9-rung:nth-child(4) .viewb94d9-rung-num { background: var(--viewb94d9-green-deep); box-shadow: 0 0 0 3px rgba(43, 143, 88, 0.3); }

.viewb94d9-rung-body { flex: 1; min-width: 0; }

.viewb94d9-rung-name {
  font-family: var(--viewb94d9-f-head);
  font-weight: 800;
  font-size: 14.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--viewb94d9-text);
}

.viewb94d9-rung-txt {
  color: var(--viewb94d9-dim);
  font-size: 13px;
  margin: 3px 0 7px;
}

.viewb94d9-bar {
  height: 6px;
  background: #141813;
  border: 1px solid var(--viewb94d9-line-soft);
  border-radius: 2px;
  overflow: hidden;
}

.viewb94d9-fill-1 { width: 38%; height: 100%; background: var(--viewb94d9-red-soft); }
.viewb94d9-fill-2 { width: 58%; height: 100%; background: #b0812a; }
.viewb94d9-fill-3 { width: 79%; height: 100%; background: var(--viewb94d9-green); }
.viewb94d9-fill-4 { width: 100%; height: 100%; background: var(--viewb94d9-green-soft); }

.viewb94d9-rung-claim {
  display: inline-block;
  margin-top: 6px;
  font-size: 12.5px;
}

/* winners feed */
.viewb94d9-feed { margin-top: 14px; border: 1px solid var(--viewb94d9-line-soft); border-radius: var(--viewb94d9-r-2); overflow: hidden; }

.viewb94d9-feed-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 11px;
  background: var(--viewb94d9-panel);
  border-bottom: 1px solid var(--viewb94d9-line-soft);
}

.viewb94d9-feed-row:nth-child(even) { background: #212620; }
.viewb94d9-feed-row:last-child { border-bottom: 0; }

.viewb94d9-feed-tag {
  flex: none;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f2ead0;
  background: var(--viewb94d9-red);
  padding: 3px 6px;
  border-radius: 2px;
}

.viewb94d9-feed-tag.viewb94d9-tag-slot { background: #1f5f8a; }
.viewb94d9-feed-tag.viewb94d9-tag-live { background: #7a1f8a; }
.viewb94d9-feed-tag.viewb94d9-tag-fish { background: #1f8a72; }

.viewb94d9-feed-game { font-size: 13.5px; font-weight: 400; color: var(--viewb94d9-text); min-width: 0; }

.viewb94d9-feed-amt {
  margin-left: auto;
  flex: none;
  font-family: var(--viewb94d9-f-head);
  font-weight: 800;
  font-size: 14.5px;
  color: var(--viewb94d9-green-soft);
  font-variant-numeric: tabular-nums;
}

.viewb94d9-feed-who { flex: none; font-size: 11px; color: var(--viewb94d9-faint); font-variant-numeric: tabular-nums; }

/* numbered steps */
.viewb94d9-steps { margin-top: 14px; position: relative; }

.viewb94d9-step {
  position: relative;
  display: flex;
  gap: 12px;
  padding-bottom: 16px;
}

.viewb94d9-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 34px;
  bottom: 2px;
  width: 2px;
  background: linear-gradient(180deg, var(--viewb94d9-green) 0%, var(--viewb94d9-line) 100%);
}

.viewb94d9-step-num {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-family: var(--viewb94d9-f-head);
  font-weight: 800;
  font-size: 15px;
  color: #0c120d;
  background: var(--viewb94d9-green);
  border-radius: var(--viewb94d9-r);
  position: relative;
  z-index: 1;
}

.viewb94d9-step-name {
  font-family: var(--viewb94d9-f-head);
  font-weight: 800;
  font-size: 14.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.viewb94d9-step-txt { color: var(--viewb94d9-dim); font-size: 13.5px; margin-top: 3px; }

.viewb94d9-steps-cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 4px; }

/* scenario block */
.viewb94d9-ask {
  margin-top: 14px;
  border: 1px solid var(--viewb94d9-line-soft);
  border-left: 4px solid var(--viewb94d9-red);
  background: #1d211c;
  border-radius: var(--viewb94d9-r-2);
  padding: 13px 13px 14px;
}

.viewb94d9-ask-q {
  font-family: var(--viewb94d9-f-head);
  font-weight: 800;
  font-size: 15.5px;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.viewb94d9-ask-a { margin-top: 8px; font-size: 14px; color: var(--viewb94d9-text); }
.viewb94d9-ask-a b { color: var(--viewb94d9-green-soft); font-weight: 600; }

.viewb94d9-ask-p { margin-top: 8px; color: var(--viewb94d9-dim); font-size: 13.5px; }

.viewb94d9-ask-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--viewb94d9-faint);
  border-top: 1px dashed var(--viewb94d9-line-soft);
  padding-top: 8px;
}

/* entity relations */
.viewb94d9-map { margin-top: 14px; display: grid; gap: 9px; }

.viewb94d9-map-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 11px;
  background: var(--viewb94d9-panel);
  border: 1px solid var(--viewb94d9-line-soft);
  border-radius: var(--viewb94d9-r-2);
}

.viewb94d9-map-pair { flex: none; display: grid; gap: 3px; width: 92px; }

.viewb94d9-map-link {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 4px 4px;
  border-radius: 2px;
  background: #141813;
  border: 1px solid var(--viewb94d9-line);
  color: var(--viewb94d9-green-soft);
}

.viewb94d9-map-pair::after {
  content: "\2195";
  text-align: center;
  color: var(--viewb94d9-faint);
  font-size: 11px;
}

.viewb94d9-map-txt { font-size: 13.5px; color: var(--viewb94d9-dim); min-width: 0; }

.viewb94d9-note { font-size: 12px; color: var(--viewb94d9-faint); margin-top: 10px; }

/* ---------- 11. extended home footer ---------- */
.viewb94d9-xf {
  margin-top: 26px;
  border-top: 3px double var(--viewb94d9-line);
  padding: 18px 0 4px;
}

.viewb94d9-xf-label {
  font-family: var(--viewb94d9-f-head);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--viewb94d9-green-soft);
  margin-bottom: 10px;
}

.viewb94d9-xpromo { display: grid; gap: 7px; }

.viewb94d9-xpromo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  width: 100%;
  text-align: left;
  padding: 8px 11px;
  background: var(--viewb94d9-panel);
  border: 1px solid var(--viewb94d9-line-soft);
  border-radius: var(--viewb94d9-r-2);
  transition: border-color var(--viewb94d9-t) ease, transform var(--viewb94d9-t) ease;
}

.viewb94d9-xpromo-row:active { border-color: var(--viewb94d9-green); transform: translateX(2px); }

.viewb94d9-xpromo-num {
  flex: none;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  font-family: var(--viewb94d9-f-head);
  font-size: 12.5px;
  font-weight: 800;
  color: #0c120d;
  background: var(--viewb94d9-green-soft);
  border-radius: 2px;
}

.viewb94d9-xpromo-main {
  font-family: var(--viewb94d9-f-head);
  font-weight: 800;
  font-size: 14.5px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.viewb94d9-xpromo-sub { display: block; font-family: var(--viewb94d9-f-body); font-size: 12px; font-weight: 300; color: var(--viewb94d9-faint); text-transform: none; letter-spacing: 0; margin-top: 1px; }

.viewb94d9-xpromo-row::after { content: "\203A"; margin-left: auto; color: var(--viewb94d9-green); font-size: 18px; font-weight: 700; }

.viewb94d9-xbrand {
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--viewb94d9-dim);
  border-left: 3px solid var(--viewb94d9-green);
  padding-left: 11px;
}

.viewb94d9-xdir { margin-top: 20px; }

.viewb94d9-xdir-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }

.viewb94d9-xdir-group { min-width: 0; }

.viewb94d9-xdir-h {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--viewb94d9-faint);
  border-bottom: 1px solid var(--viewb94d9-line-soft);
  padding-bottom: 5px;
  margin-bottom: 6px;
}

.viewb94d9-xdir-list { list-style: none; display: grid; gap: 4px; }

.viewb94d9-xdir-list a {
  display: inline-block;
  font-size: 13px;
  color: var(--viewb94d9-text);
  padding: 5px 0;
  min-height: 30px;
}

.viewb94d9-xdir-list a::before { content: "\2022"; color: var(--viewb94d9-green); margin-right: 7px; }

.viewb94d9-xdisclaimer {
  margin-top: 20px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--viewb94d9-faint);
  background: #151815;
  border: 1px dashed var(--viewb94d9-line-soft);
  border-radius: var(--viewb94d9-r-2);
  padding: 10px 11px;
}

/* ---------- 12. footer + dock ---------- */
.viewb94d9-foot {
  text-align: center;
  padding: 18px 0 10px;
  border-top: 1px solid var(--viewb94d9-line-soft);
  margin-top: 18px;
  font-size: 12px;
  color: var(--viewb94d9-faint);
}

.viewb94d9-foot b { color: var(--viewb94d9-dim); font-weight: 600; }

.viewb94d9-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 95;
  display: flex;
  background: rgba(18, 21, 18, 0.98);
  border-top: 1px solid var(--viewb94d9-line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.4);
}

.viewb94d9-dock-item {
  flex: 1 1 20%;
  min-height: var(--viewb94d9-dock-h);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #7d8878;
  border-left: 1px solid var(--viewb94d9-line-soft);
  position: relative;
  padding: 7px 2px 6px;
  font-family: var(--viewb94d9-f-body);
}

.viewb94d9-dock-item:first-child { border-left: 0; }

.viewb94d9-dock-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22%;
  right: 22%;
  height: 3px;
  background: transparent;
}

.viewb94d9-dock-ic { width: 22px; height: 22px; transition: transform var(--viewb94d9-t) ease; }

.viewb94d9-dock-lab { font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

.viewb94d9-dock-item:active .viewb94d9-dock-ic { transform: translateY(-2px) scale(1.1); }

.viewb94d9-dock-item:hover { text-decoration: none; }

/* active segment : fill flips to accent + top indicator appears */
.viewb94d9-dock-item.viewb94d9-here { color: var(--viewb94d9-green-soft); }
.viewb94d9-dock-item.viewb94d9-here::before { background: var(--viewb94d9-green-soft); }
.viewb94d9-dock-item.viewb94d9-here .viewb94d9-dock-ic { color: var(--viewb94d9-green); filter: drop-shadow(0 0 5px rgba(60, 179, 113, 0.55)); }

.viewb94d9-dock-item:hover, .viewb94d9-dock-item:focus-visible { color: var(--viewb94d9-green-soft); }

/* ---------- 13. breakpoints ---------- */
@media (min-width: 375px) {
  .viewb94d9-hero-title { font-size: 33px; }
  .viewb94d9-tile-name { font-size: 11.5px; }
  .viewb94d9-map-pair { width: 104px; }
}

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

@media (min-width: 431px) {
  /* wide viewport : the phone canvas keeps its frame, page stays a letterbox */
  body { background-image: linear-gradient(180deg, #10140f 0%, #171b16 100%); }
  .viewb94d9-shell { box-shadow: 0 0 0 1px var(--viewb94d9-line-soft), 0 18px 60px rgba(0, 0, 0, 0.6); }
  .viewb94d9-topbar, .viewb94d9-dock { border-radius: 0; }
}

/* ---------- 14. motion + contrast safety ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (prefers-contrast: more) {
  :root {
    --viewb94d9-dim: #e6ecd8;
    --viewb94d9-faint: #cfd8c2;
    --viewb94d9-line: #5a6650;
  }
}

/* ---------- 15. guide page instruments ---------- */
.viewb94d9-guide-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-left: 3px solid var(--viewb94d9-green);
  background: var(--viewb94d9-panel);
  color: var(--viewb94d9-green-soft);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.viewb94d9-guide-lede {
  margin-top: 13px;
  padding: 13px 14px;
  border: 1px solid var(--viewb94d9-line);
  border-right: 4px solid var(--viewb94d9-green);
  background: linear-gradient(105deg, #252d24, #1b201b);
  color: var(--viewb94d9-text);
  font-size: 15px;
}

.viewb94d9-guide-list {
  display: grid;
  gap: 8px;
  margin-top: 13px;
  padding-left: 20px;
  color: var(--viewb94d9-dim);
}

.viewb94d9-guide-list li { padding-left: 3px; }
.viewb94d9-guide-list li::marker { color: var(--viewb94d9-green); font-weight: 800; }

.viewb94d9-guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 14px;
}

.viewb94d9-guide-card {
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid var(--viewb94d9-line-soft);
  border-top: 3px solid var(--viewb94d9-green-deep);
  background: var(--viewb94d9-panel);
}

.viewb94d9-guide-card h3 {
  font-family: var(--viewb94d9-f-head);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.viewb94d9-guide-card p { margin-top: 6px; color: var(--viewb94d9-dim); font-size: 13.5px; }

.viewb94d9-guide-rail {
  display: grid;
  gap: 0;
  margin-top: 14px;
  border-left: 2px solid var(--viewb94d9-green-deep);
}

.viewb94d9-guide-stop {
  position: relative;
  padding: 0 0 17px 18px;
}

.viewb94d9-guide-stop:last-child { padding-bottom: 2px; }

.viewb94d9-guide-stop::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 2px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--viewb94d9-green-soft);
  background: var(--viewb94d9-bg);
  border-radius: 50%;
}

.viewb94d9-guide-stop h3 {
  font-family: var(--viewb94d9-f-head);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}

.viewb94d9-guide-stop p { margin-top: 5px; color: var(--viewb94d9-dim); font-size: 13.5px; }

.viewb94d9-guide-callout {
  margin-top: 13px;
  padding: 12px 13px;
  border: 1px solid var(--viewb94d9-line);
  border-left: 4px solid var(--viewb94d9-red);
  background: #211c19;
}

.viewb94d9-guide-callout strong {
  display: block;
  font-family: var(--viewb94d9-f-head);
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.viewb94d9-guide-callout p { margin-top: 6px; color: var(--viewb94d9-dim); font-size: 13.5px; }

.viewb94d9-guide-table {
  width: 100%;
  margin-top: 14px;
  border-collapse: collapse;
  font-size: 13px;
}

.viewb94d9-guide-table th,
.viewb94d9-guide-table td {
  padding: 9px 8px;
  border: 1px solid var(--viewb94d9-line-soft);
  text-align: left;
  vertical-align: top;
}

.viewb94d9-guide-table th {
  color: var(--viewb94d9-green-soft);
  background: #161b16;
  font-family: var(--viewb94d9-f-head);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.viewb94d9-guide-table td { color: var(--viewb94d9-dim); background: var(--viewb94d9-panel); }

.viewb94d9-guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-top: 14px;
}

.viewb94d9-guide-actions .viewb94d9-btn { flex: 1 1 150px; }

.viewb94d9-checks {
  display: grid;
  gap: 7px;
  margin-top: 13px;
}

.viewb94d9-check {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 9px 10px;
  border-bottom: 1px dashed var(--viewb94d9-line-soft);
  color: var(--viewb94d9-dim);
  font-size: 13.5px;
}

.viewb94d9-check::before {
  content: "✓";
  flex: none;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  background: var(--viewb94d9-green);
  color: #0c120d;
  font-size: 12px;
  font-weight: 800;
  border-radius: 2px;
}

.viewb94d9-summary-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 14px;
}

.viewb94d9-summary-cell {
  min-width: 0;
  padding: 10px 8px;
  background: var(--viewb94d9-panel);
  border-top: 2px solid var(--viewb94d9-green);
  text-align: center;
}

.viewb94d9-summary-cell b { display: block; font-family: var(--viewb94d9-f-head); font-size: 17px; color: var(--viewb94d9-green-soft); }
.viewb94d9-summary-cell span { display: block; margin-top: 3px; color: var(--viewb94d9-faint); font-size: 10.5px; line-height: 1.2; }

@media (min-width: 375px) {
  .viewb94d9-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
