/* ==========================================================================
   tg772.homes — dynamic canvas stylesheet
   Palette anchor: deep slate #273746 / sand #F4A460
   Voice: poster headings over narrow body text, mixed corner radii,
   game tiles as image + bottom name bar, quiet motion budget.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --viewf939b-shade-ink: #1a242e;
  --viewf939b-shade-void: #131b23;
  --viewf939b-shade-canvas: #273746;
  --viewf939b-shade-panel: #2e4152;
  --viewf939b-shade-raised: #384d60;
  --viewf939b-shade-line: #46617a;
  --viewf939b-sand: #f4a460;
  --viewf939b-sand-hi: #ffbe7d;
  --viewf939b-sand-lo: #c9863f;
  --viewf939b-sand-ink: #23180d;
  --viewf939b-cream: #f1eadb;
  --viewf939b-fog: #a9b8c4;
  --viewf939b-ember: #e2603f;

  --viewf939b-font-head: "Oswald", "Arial Narrow", Impact, sans-serif;
  --viewf939b-font-body: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;

  --viewf939b-r-tight: 5px;
  --viewf939b-r-soft: 11px;
  --viewf939b-r-wide: 18px;
  --viewf939b-r-slab: 22px 22px 9px 9px;

  --viewf939b-rail-h: 66px;
  --viewf939b-topbar-h: 118px;
  --viewf939b-gap: 12px;
  --viewf939b-gutter: 14px;

  --viewf939b-speed: 180ms;
  --viewf939b-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Base & canvas
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--viewf939b-shade-void);
  color: var(--viewf939b-cream);
  font-family: var(--viewf939b-font-body);
  font-size: 15px;
  line-height: 1.52;
  letter-spacing: 0.012em;
  min-height: 100vh;
  min-height: 100dvh;
}

.viewf939b-page {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  background:
    radial-gradient(120% 42% at 50% 0%, rgba(244, 164, 96, 0.09), transparent 62%),
    var(--viewf939b-shade-canvas);
  box-shadow: 0 0 46px rgba(0, 0, 0, 0.55);
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: calc(var(--viewf939b-rail-h) + 26px);
  padding-bottom: calc(var(--viewf939b-rail-h) + 26px + env(safe-area-inset-bottom, 0px));
  overflow-x: clip;
}

.viewf939b-main {
  padding: 0 var(--viewf939b-gutter) 8px;
}

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

a {
  color: var(--viewf939b-sand);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

h1,
h2,
h3 {
  font-family: var(--viewf939b-font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  line-height: 1.16;
  margin: 0 0 10px;
  text-wrap: balance;
}

p {
  margin: 0 0 10px;
}

.viewf939b-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

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

::selection {
  background: var(--viewf939b-sand);
  color: var(--viewf939b-sand-ink);
}

/* --------------------------------------------------------------------------
   3. Topbar — tab-style bar with brand row + scrollable tab strip
   -------------------------------------------------------------------------- */
.viewf939b-topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(26, 36, 46, 0.985), rgba(39, 55, 70, 0.96));
  border-bottom: 1px solid var(--viewf939b-shade-line);
  backdrop-filter: blur(7px);
}

.viewf939b-brandrow {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px var(--viewf939b-gutter) 7px;
  min-height: 54px;
}

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

.viewf939b-logo {
  width: 38px;
  height: 38px;
  border-radius: var(--viewf939b-r-tight);
  border: 1px solid rgba(244, 164, 96, 0.55);
  object-fit: cover;
  flex: none;
  background: var(--viewf939b-shade-ink);
}

.viewf939b-brandname {
  font-family: var(--viewf939b-font-head);
  font-size: 1.42rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--viewf939b-cream);
  white-space: nowrap;
}

.viewf939b-brandname b {
  color: var(--viewf939b-sand);
  font-weight: 700;
}

.viewf939b-actions {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
}

/* Header action buttons — light-rounded text button group */
.viewf939b-btn {
  font-family: var(--viewf939b-font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  border-radius: 8px;
  border: 1px solid transparent;
  min-height: 36px;
  padding: 7px 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background var(--viewf939b-speed) var(--viewf939b-ease),
    color var(--viewf939b-speed) var(--viewf939b-ease),
    border-color var(--viewf939b-speed) var(--viewf939b-ease);
}

.viewf939b-btn--register {
  background: linear-gradient(160deg, var(--viewf939b-sand-hi), var(--viewf939b-sand-lo));
  color: var(--viewf939b-sand-ink);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.32);
}

.viewf939b-btn--register:hover,
.viewf939b-btn--register:focus-visible {
  filter: brightness(1.07);
  text-decoration: none;
}

.viewf939b-btn--register:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.32);
}

.viewf939b-btn--login {
  background: transparent;
  color: var(--viewf939b-sand);
  border-color: rgba(244, 164, 96, 0.62);
}

.viewf939b-btn--login:hover,
.viewf939b-btn--login:focus-visible {
  background: rgba(244, 164, 96, 0.14);
  text-decoration: none;
}

/* Burger toggle for the compact route panel */
.viewf939b-burger {
  width: 36px;
  min-height: 36px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--viewf939b-shade-line);
  border-radius: 8px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.viewf939b-burger span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--viewf939b-cream);
  transition: transform var(--viewf939b-speed) var(--viewf939b-ease),
    opacity var(--viewf939b-speed) var(--viewf939b-ease);
}

.viewf939b-burger.viewf939b-is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.viewf939b-burger.viewf939b-is-open span:nth-child(2) {
  opacity: 0;
}

.viewf939b-burger.viewf939b-is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Tab strip */
.viewf939b-tabs {
  display: flex;
  gap: 5px;
  padding: 0 var(--viewf939b-gutter) 7px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

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

.viewf939b-tab {
  flex: none;
  font-family: var(--viewf939b-font-head);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--viewf939b-fog);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px 999px 6px 6px;
  padding: 6px 12px 5px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: color var(--viewf939b-speed) var(--viewf939b-ease),
    background var(--viewf939b-speed) var(--viewf939b-ease);
}

.viewf939b-tab:hover,
.viewf939b-tab:focus-visible {
  color: var(--viewf939b-cream);
  background: rgba(244, 164, 96, 0.12);
  text-decoration: none;
}

.viewf939b-tab.viewf939b-is-here {
  color: var(--viewf939b-sand-ink);
  background: var(--viewf939b-sand);
  border-color: var(--viewf939b-sand);
}

/* --------------------------------------------------------------------------
   4. Compact route panel (menu overlay)
   -------------------------------------------------------------------------- */
.viewf939b-routes {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 59;
  background: linear-gradient(180deg, var(--viewf939b-shade-ink), var(--viewf939b-shade-panel));
  border-bottom: 2px solid var(--viewf939b-sand);
  box-shadow: 0 22px 34px rgba(0, 0, 0, 0.5);
  padding: 14px var(--viewf939b-gutter) 16px;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 240ms var(--viewf939b-ease), visibility 240ms;
}

.viewf939b-routes.viewf939b-is-open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
}

.viewf939b-routes-caption {
  font-family: var(--viewf939b-font-head);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--viewf939b-sand);
  margin: 0 0 8px;
}

.viewf939b-routes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.viewf939b-routes-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 11px;
  border-radius: var(--viewf939b-r-tight);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--viewf939b-cream);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.viewf939b-routes-link:hover,
.viewf939b-routes-link:focus-visible {
  background: rgba(244, 164, 96, 0.16);
  border-color: rgba(244, 164, 96, 0.5);
  text-decoration: none;
}

.viewf939b-routes-link.viewf939b-is-here {
  border-color: var(--viewf939b-sand);
  color: var(--viewf939b-sand-hi);
}

.viewf939b-routes-mark {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--viewf939b-shade-line);
}

.viewf939b-routes-link.viewf939b-is-here .viewf939b-routes-mark {
  background: var(--viewf939b-sand);
}

/* --------------------------------------------------------------------------
   5. Hero carousel
   -------------------------------------------------------------------------- */
.viewf939b-hero {
  position: relative;
  margin: 12px 0 0;
  border-radius: var(--viewf939b-r-wide) var(--viewf939b-r-wide) var(--viewf939b-r-soft) var(--viewf939b-r-soft);
  overflow: hidden;
  border: 1px solid var(--viewf939b-shade-line);
  background: var(--viewf939b-shade-ink);
  isolation: isolate;
}

.viewf939b-slide {
  position: relative;
  display: block;
  margin: 0;
  aspect-ratio: 10 / 11;
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 420ms var(--viewf939b-ease), visibility 420ms;
}

.viewf939b-slides {
  display: grid;
}

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

.viewf939b-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04);
}

.viewf939b-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(178deg, rgba(19, 27, 35, 0.06) 30%, rgba(19, 27, 35, 0.88) 76%);
}

.viewf939b-slide-copy {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 2;
}

.viewf939b-slide-kicker {
  display: inline-block;
  font-family: var(--viewf939b-font-head);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--viewf939b-sand-ink);
  background: var(--viewf939b-sand);
  border-radius: 4px;
  padding: 3px 8px 2px;
  margin: 0 0 7px;
}

.viewf939b-slide-title {
  font-family: var(--viewf939b-font-head);
  font-size: clamp(1.28rem, 6.4vw, 1.7rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 6px;
  text-shadow: 0 2px 9px rgba(0, 0, 0, 0.6);
}

.viewf939b-slide-text {
  margin: 0 0 10px;
  font-size: 0.86rem;
  line-height: 1.42;
  color: var(--viewf939b-cream);
  max-width: 34ch;
}

.viewf939b-slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--viewf939b-font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--viewf939b-sand-ink);
  background: linear-gradient(150deg, var(--viewf939b-sand-hi), var(--viewf939b-sand));
  border-radius: 9px;
  padding: 9px 15px;
  min-height: 40px;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.35);
}

.viewf939b-slide-cta:hover,
.viewf939b-slide-cta:focus-visible {
  filter: brightness(1.06);
  text-decoration: none;
}

.viewf939b-slide-cta:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.viewf939b-slide-cta svg {
  width: 13px;
  height: 13px;
}

.viewf939b-dots {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 3;
  display: flex;
  gap: 6px;
}

.viewf939b-dot {
  width: 22px;
  height: 8px;
  min-height: 8px;
  padding: 0;
  border-radius: 4px;
  border: 1px solid rgba(244, 164, 96, 0.7);
  background: rgba(19, 27, 35, 0.5);
  cursor: pointer;
  transition: background var(--viewf939b-speed) var(--viewf939b-ease);
}

.viewf939b-dot.viewf939b-is-on {
  background: var(--viewf939b-sand);
}

/* --------------------------------------------------------------------------
   6. Notice strip + access lanes
   -------------------------------------------------------------------------- */
.viewf939b-strip {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 12px 0 0;
  padding: 9px 12px;
  border-radius: var(--viewf939b-r-soft);
  border: 1px dashed rgba(244, 164, 96, 0.5);
  background: rgba(244, 164, 96, 0.07);
  font-size: 0.84rem;
  color: var(--viewf939b-cream);
}

.viewf939b-strip svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--viewf939b-sand);
}

.viewf939b-lanes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin: 12px 0 0;
}

.viewf939b-lane {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 9px 9px;
  border-radius: var(--viewf939b-r-soft) var(--viewf939b-r-soft) var(--viewf939b-r-tight) var(--viewf939b-r-tight);
  background: var(--viewf939b-shade-panel);
  border: 1px solid var(--viewf939b-shade-line);
  color: var(--viewf939b-cream);
  text-align: left;
  min-height: 64px;
  cursor: pointer;
}

.viewf939b-lane b {
  font-family: var(--viewf939b-font-head);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--viewf939b-sand);
}

.viewf939b-lane small {
  font-size: 0.72rem;
  line-height: 1.3;
  color: var(--viewf939b-fog);
}

.viewf939b-lane:hover,
.viewf939b-lane:focus-visible {
  border-color: rgba(244, 164, 96, 0.6);
  background: var(--viewf939b-shade-raised);
  text-decoration: none;
}

.viewf939b-lane:active {
  transform: scale(0.985);
}

/* --------------------------------------------------------------------------
   7. Game decks — image tiles with bottom name bar
   -------------------------------------------------------------------------- */
.viewf939b-deck {
  margin: 22px 0 0;
}

.viewf939b-deck-head {
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.viewf939b-deck-head h2 {
  font-size: clamp(1.05rem, 5vw, 1.28rem);
  margin: 0;
  color: var(--viewf939b-cream);
}

.viewf939b-deck-count {
  font-family: var(--viewf939b-font-head);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--viewf939b-sand);
  border: 1px solid rgba(244, 164, 96, 0.5);
  border-radius: 999px;
  padding: 2px 9px;
}

.viewf939b-deck-rule {
  height: 2px;
  border: 0;
  margin: 8px 0;
  background: linear-gradient(90deg, var(--viewf939b-sand) 0 34px, rgba(70, 97, 122, 0.55) 34px);
}

.viewf939b-deck-note {
  font-size: 0.86rem;
  color: var(--viewf939b-fog);
  margin: 0 0 11px;
}

.viewf939b-deck-note a {
  color: var(--viewf939b-sand-hi);
  border-bottom: 1px dotted rgba(244, 164, 96, 0.65);
}

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

.viewf939b-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--viewf939b-r-soft);
  overflow: hidden;
  background: var(--viewf939b-shade-panel);
  border: 1px solid var(--viewf939b-shade-line);
  color: var(--viewf939b-cream);
  cursor: pointer;
  transition: border-color var(--viewf939b-speed) var(--viewf939b-ease);
  -webkit-tap-highlight-color: rgba(244, 164, 96, 0.25);
}

.viewf939b-tile:hover,
.viewf939b-tile:focus-visible {
  border-color: rgba(244, 164, 96, 0.75);
  text-decoration: none;
}

.viewf939b-tile:active {
  transform: scale(0.97);
}

.viewf939b-tile-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--viewf939b-shade-ink);
}

.viewf939b-tile-bar {
  font-size: 0.66rem;
  line-height: 1.22;
  letter-spacing: 0.015em;
  text-align: center;
  padding: 5px 4px 6px;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(26, 36, 46, 0.6), rgba(26, 36, 46, 0.95));
  border-top: 1px solid rgba(70, 97, 122, 0.6);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.viewf939b-tile--spot::before {
  content: "TOP";
  position: absolute;
  z-index: 2;
  top: 5px;
  left: 5px;
  font-family: var(--viewf939b-font-head);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--viewf939b-sand-ink);
  background: var(--viewf939b-sand);
  border-radius: 4px;
  padding: 2px 5px;
}

/* --------------------------------------------------------------------------
   8. Content modules
   -------------------------------------------------------------------------- */
.viewf939b-block {
  margin: 24px 0 0;
  padding: 15px 14px 14px;
  border-radius: var(--viewf939b-r-wide);
  background: linear-gradient(168deg, var(--viewf939b-shade-panel), rgba(46, 65, 82, 0.72));
  border: 1px solid var(--viewf939b-shade-line);
}

.viewf939b-block h2 {
  font-size: clamp(1.02rem, 4.8vw, 1.22rem);
  margin-bottom: 9px;
}

.viewf939b-block--slab {
  border-radius: var(--viewf939b-r-slab);
}

.viewf939b-block p {
  font-size: 0.9rem;
  color: var(--viewf939b-cream);
}

.viewf939b-block p:last-child {
  margin-bottom: 0;
}

.viewf939b-block .viewf939b-morelink {
  color: var(--viewf939b-sand-hi);
  border-bottom: 1px dotted rgba(244, 164, 96, 0.65);
}

/* Checklist module */
.viewf939b-check {
  list-style: none;
  margin: 10px 0 12px;
  padding: 0;
  display: grid;
  gap: 7px;
}

.viewf939b-check li {
  position: relative;
  padding: 8px 10px 8px 32px;
  border-radius: var(--viewf939b-r-tight);
  background: rgba(19, 27, 35, 0.45);
  border: 1px solid rgba(70, 97, 122, 0.5);
  font-size: 0.85rem;
  line-height: 1.4;
}

.viewf939b-check li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 12px;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 2px solid var(--viewf939b-sand);
  background: transparent;
}

.viewf939b-check li::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 15px;
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--viewf939b-sand);
  border-bottom: 2px solid var(--viewf939b-sand);
  transform: rotate(-45deg);
}

/* Comparison matrix module */
.viewf939b-matrix {
  margin: 11px 0 0;
  border: 1px solid var(--viewf939b-shade-line);
  border-radius: var(--viewf939b-r-soft);
  overflow: hidden;
}

.viewf939b-matrix-row {
  display: grid;
  grid-template-columns: minmax(86px, 34%) 1fr;
}

.viewf939b-matrix-row + .viewf939b-matrix-row {
  border-top: 1px solid rgba(70, 97, 122, 0.55);
}

.viewf939b-matrix-key {
  padding: 9px 10px;
  font-family: var(--viewf939b-font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--viewf939b-sand);
  background: rgba(19, 27, 35, 0.55);
  border-right: 1px solid rgba(70, 97, 122, 0.55);
  display: flex;
  align-items: center;
}

.viewf939b-matrix-val {
  padding: 9px 10px;
  font-size: 0.84rem;
  line-height: 1.42;
  color: var(--viewf939b-cream);
}

/* Steps module */
.viewf939b-steps {
  list-style: none;
  counter-reset: viewf939b-step;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.viewf939b-steps li {
  counter-increment: viewf939b-step;
  position: relative;
  padding: 9px 10px 9px 40px;
  border-radius: var(--viewf939b-r-tight);
  background: rgba(19, 27, 35, 0.45);
  border-left: 3px solid var(--viewf939b-sand);
  font-size: 0.86rem;
  line-height: 1.42;
}

.viewf939b-steps li::before {
  content: counter(viewf939b-step, decimal-leading-zero);
  position: absolute;
  left: 10px;
  top: 9px;
  font-family: var(--viewf939b-font-head);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--viewf939b-sand);
  letter-spacing: 0.04em;
}

/* Scenario module */
.viewf939b-scene-q {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: var(--viewf939b-r-tight);
  background: rgba(226, 96, 63, 0.12);
  border: 1px solid rgba(226, 96, 63, 0.45);
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffd9c9;
}

.viewf939b-scene-q::before {
  content: "Q";
  display: inline-block;
  font-family: var(--viewf939b-font-head);
  color: var(--viewf939b-ember);
  margin-right: 8px;
}

.viewf939b-scene-a::before {
  content: "A";
  display: inline-block;
  font-family: var(--viewf939b-font-head);
  color: var(--viewf939b-sand);
  margin-right: 8px;
}

.viewf939b-scene-a {
  font-size: 0.89rem;
}

/* CTA group */
.viewf939b-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.viewf939b-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 9px;
  font-family: var(--viewf939b-font-head);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
}

.viewf939b-cta--sand {
  background: linear-gradient(160deg, var(--viewf939b-sand-hi), var(--viewf939b-sand-lo));
  color: var(--viewf939b-sand-ink);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.32);
}

.viewf939b-cta--sand:hover,
.viewf939b-cta--sand:focus-visible {
  filter: brightness(1.07);
  text-decoration: none;
}

.viewf939b-cta--sand:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.32);
}

.viewf939b-cta--ghost {
  background: transparent;
  color: var(--viewf939b-sand);
  border-color: rgba(244, 164, 96, 0.6);
}

.viewf939b-cta--ghost:hover,
.viewf939b-cta--ghost:focus-visible {
  background: rgba(244, 164, 96, 0.13);
  text-decoration: none;
}

.viewf939b-cta svg {
  width: 14px;
  height: 14px;
}

/* --------------------------------------------------------------------------
   9. Extended footer — directory > brand > promotions > disclaimer
   -------------------------------------------------------------------------- */
.viewf939b-xfoot {
  margin: 28px 0 0;
  padding: 16px 14px 16px;
  border-radius: var(--viewf939b-r-wide) var(--viewf939b-r-wide) 4px 4px;
  background: var(--viewf939b-shade-ink);
  border: 1px solid var(--viewf939b-shade-line);
  border-bottom: 3px solid var(--viewf939b-sand);
}

.viewf939b-xfoot-label {
  font-family: var(--viewf939b-font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--viewf939b-sand);
  margin: 0 0 8px;
}

.viewf939b-xfoot-dir {
  display: grid;
  gap: 10px;
  margin-bottom: 15px;
}

.viewf939b-xfoot-dirgroup {
  padding: 9px 10px;
  border-radius: var(--viewf939b-r-tight);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(70, 97, 122, 0.45);
}

.viewf939b-xfoot-dirgroup p {
  font-family: var(--viewf939b-font-head);
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--viewf939b-fog);
  margin: 0 0 7px;
}

.viewf939b-xfoot-dirinks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.viewf939b-xfoot-dirinks a {
  font-size: 0.84rem;
  color: var(--viewf939b-cream);
}

.viewf939b-xfoot-dirinks a:hover,
.viewf939b-xfoot-dirinks a:focus-visible {
  color: var(--viewf939b-sand-hi);
}

.viewf939b-xfoot-brand {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--viewf939b-fog);
  padding: 0 2px 14px;
}

.viewf939b-xfoot-promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.viewf939b-xpromo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 11px;
  border-radius: var(--viewf939b-r-soft);
  background: linear-gradient(165deg, rgba(244, 164, 96, 0.16), rgba(244, 164, 96, 0.05));
  border: 1px solid rgba(244, 164, 96, 0.45);
  color: var(--viewf939b-cream);
  cursor: pointer;
  min-height: 62px;
}

.viewf939b-xpromo:nth-child(5) {
  grid-column: 1 / -1;
}

.viewf939b-xpromo b {
  font-family: var(--viewf939b-font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--viewf939b-sand-hi);
}

.viewf939b-xpromo small {
  font-size: 0.73rem;
  line-height: 1.32;
  color: var(--viewf939b-fog);
}

.viewf939b-xpromo:hover,
.viewf939b-xpromo:focus-visible {
  border-color: var(--viewf939b-sand);
  text-decoration: none;
}

.viewf939b-xpromo:active {
  transform: scale(0.985);
}

.viewf939b-xfoot-note {
  font-size: 0.74rem;
  line-height: 1.5;
  color: #8fa0ad;
  padding-top: 12px;
  border-top: 1px dashed rgba(70, 97, 122, 0.6);
}

/* --------------------------------------------------------------------------
   10. Common footer (copyright)
   -------------------------------------------------------------------------- */
.viewf939b-foot {
  text-align: center;
  padding: 16px var(--viewf939b-gutter) 6px;
  font-size: 0.76rem;
  color: var(--viewf939b-fog);
}

.viewf939b-foot strong {
  color: var(--viewf939b-sand);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   11. Bottom rail — full-width nav rail with containerized icon tiles
   -------------------------------------------------------------------------- */
.viewf939b-rail {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
  min-height: calc(var(--viewf939b-rail-h) + env(safe-area-inset-bottom, 0px));
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
  gap: 2px;
  background: linear-gradient(180deg, rgba(26, 36, 46, 0.97), rgba(19, 27, 35, 0.99));
  border-top: 2px solid var(--viewf939b-sand);
  box-shadow: 0 -10px 26px rgba(0, 0, 0, 0.45);
}

.viewf939b-rail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 50px;
  padding: 4px 2px;
  border-radius: var(--viewf939b-r-soft);
  color: var(--viewf939b-fog);
  background: transparent;
  border: 0;
  font-family: var(--viewf939b-font-body);
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(244, 164, 96, 0.2);
}

.viewf939b-rail-item:hover,
.viewf939b-rail-item:focus-visible {
  color: var(--viewf939b-cream);
  text-decoration: none;
}

.viewf939b-rail-tile {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(70, 97, 122, 0.6);
  transition: background var(--viewf939b-speed) var(--viewf939b-ease),
    border-color var(--viewf939b-speed) var(--viewf939b-ease);
}

.viewf939b-rail-tile svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--viewf939b-speed) var(--viewf939b-ease);
}

.viewf939b-rail-label {
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  opacity: 0.85;
  transition: opacity var(--viewf939b-speed) var(--viewf939b-ease),
    color var(--viewf939b-speed) var(--viewf939b-ease);
}

.viewf939b-rail-item.viewf939b-is-here {
  color: var(--viewf939b-sand-hi);
}

.viewf939b-rail-item.viewf939b-is-here .viewf939b-rail-tile {
  background: var(--viewf939b-sand);
  border-color: var(--viewf939b-sand-hi);
}

.viewf939b-rail-item.viewf939b-is-here .viewf939b-rail-tile svg {
  stroke: var(--viewf939b-sand-ink);
}

.viewf939b-rail-item.viewf939b-is-here .viewf939b-rail-label {
  opacity: 1;
  color: var(--viewf939b-sand-hi);
}

.viewf939b-rail-item:hover .viewf939b-rail-tile svg {
  transform: translateY(-1px);
}

.viewf939b-rail-item--promo .viewf939b-rail-tile {
  border-color: rgba(244, 164, 96, 0.55);
  background: rgba(244, 164, 96, 0.1);
}

.viewf939b-rail-item--promo {
  color: var(--viewf939b-sand);
}

/* --------------------------------------------------------------------------
   12. Responsive refinements
   -------------------------------------------------------------------------- */
@media (min-width: 375px) {
  .viewf939b-grid {
    gap: 9px;
  }

  .viewf939b-tile-bar {
    font-size: 0.68rem;
  }

  .viewf939b-block p,
  .viewf939b-matrix-val {
    font-size: 0.92rem;
  }
}

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

  .viewf939b-lanes {
    grid-template-columns: repeat(3, 1fr);
  }

  .viewf939b-xfoot-promos {
    grid-template-columns: repeat(3, 1fr);
  }

  .viewf939b-xpromo:nth-child(5) {
    grid-column: auto;
  }

  .viewf939b-slide {
    aspect-ratio: 16 / 12;
  }
}

@media (max-width: 359px) {
  .viewf939b-brandname {
    font-size: 1.2rem;
  }

  .viewf939b-btn {
    padding: 7px 9px;
    font-size: 0.74rem;
  }
}

/* --------------------------------------------------------------------------
   13. Motion preferences
   -------------------------------------------------------------------------- */
@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;
  }
}

/* Part-one additions preserve the original phone canvas and navigation. */
html { scroll-padding-top: 140px; }
body { overflow-wrap: break-word; }
button { font: inherit; }
.viewf939b-brand { min-height: 44px; }
.viewf939b-btn, .viewf939b-burger, .viewf939b-tab,
.viewf939b-slide-cta, .viewf939b-cta { min-height: 44px; }
.viewf939b-burger { width: 44px; }
.viewf939b-actions { gap: 5px; }
.viewf939b-brandrow { gap: 6px; }
.viewf939b-btn { padding: 7px 9px; letter-spacing: .035em; }
.viewf939b-tabs { gap: 4px; }
.viewf939b-tab { padding: 8px 11px; }
.viewf939b-routes { max-height: calc(100dvh - 205px); overflow-y: auto; transition: clip-path 240ms var(--viewf939b-ease); }
.viewf939b-routes-caption:not(:first-child) { margin-top: 12px; }
.viewf939b-routes-link { min-width: 0; font-size: .84rem; }
.viewf939b-title { font-size: clamp(1.65rem, 7.6vw, 2.1rem); padding-top: 20px; }
.viewf939b-lead { color: var(--viewf939b-cream); font-size: .96rem; max-width: 43ch; }
.viewf939b-eyebrow { margin-top: 18px; color: var(--viewf939b-sand-hi); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.viewf939b-hero { border-radius: 18px 18px 8px 8px; }
.viewf939b-slide { width: 100%; padding: 0; text-align: left; border: 0; cursor: pointer; color: inherit; font: inherit; aspect-ratio: 10 / 9; background: var(--viewf939b-shade-ink); }
.viewf939b-slide-copy { bottom: 18px; }
.viewf939b-slide-title { display: block; font-size: 1.5rem; }
.viewf939b-slide::after { background: linear-gradient(180deg, transparent 25%, rgba(19,27,35,.94)); }
.viewf939b-carousel-controls { display: flex; justify-content: space-between; align-items: center; gap: 4px; padding: 4px 5px; background: var(--viewf939b-shade-ink); }
.viewf939b-dots { position: static; gap: 0; }
.viewf939b-dot { position: relative; width: 44px; height: 44px; min-height: 44px; border: 0; background: transparent; }
.viewf939b-dot::after { content: ''; position: absolute; width: 21px; height: 7px; top: 18px; left: 11px; border: 1px solid var(--viewf939b-sand); border-radius: 5px; }
.viewf939b-dot.viewf939b-is-on { background: transparent; }
.viewf939b-dot.viewf939b-is-on::after { background: var(--viewf939b-sand); }
.viewf939b-control { min-width: 44px; min-height: 44px; color: var(--viewf939b-cream); background: transparent; border: 1px solid var(--viewf939b-shade-line); border-radius: 5px; cursor: pointer; font-size: .78rem; padding: 6px; }
.viewf939b-tile { padding: 0; font: inherit; text-align: center; min-width: 0; min-height: 44px; }
.viewf939b-tile-bar { width: 100%; height: 38px; min-height: 38px; font-size: .66rem; padding: 5px 3px; overflow-wrap: anywhere; }
.viewf939b-tile-img { height: auto; }
.viewf939b-deck-note { color: #c8d1d8; }
.viewf939b-read a:not(.viewf939b-cta), .viewf939b-deck-note a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }
.viewf939b-read { max-width: 43ch; }
.viewf939b-read p { margin-bottom: 13px; }
.viewf939b-read h2 { margin-top: 0; }
.viewf939b-read h3 { font-family: var(--viewf939b-font-body); font-size: .98rem; text-transform: none; letter-spacing: .01em; margin-top: 17px; }
.viewf939b-xfoot-dirinks a { display: inline-flex; align-items: center; min-height: 44px; }
.viewf939b-xfoot-dirinks { gap: 2px 12px; }
.viewf939b-xfoot-note { color: #b8c4ce; }
.viewf939b-rail-item.viewf939b-is-here .viewf939b-rail-tile svg { fill: rgba(35,24,13,.24); }
.viewf939b-crumb { display: flex; align-items: center; gap: 8px; font-size: .8rem; margin: 10px 0; }
.viewf939b-crumb a { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; }
.viewf939b-route-summary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; padding: 0; list-style: none; margin: 16px 0; }
.viewf939b-route-summary li { min-width: 0; border-top: 3px solid var(--viewf939b-sand); padding: 9px 6px; background: var(--viewf939b-shade-ink); font-size: .78rem; }
.viewf939b-route-summary b { display: block; color: var(--viewf939b-sand-hi); }
.viewf939b-process { border-left: 1px solid var(--viewf939b-shade-line); padding-left: 15px; margin-top: 24px; }
.viewf939b-process h2 { font-size: 1.25rem; }
.viewf939b-process ol { padding-left: 20px; }
.viewf939b-process li { margin-bottom: 13px; }
.viewf939b-callout { padding: 12px; border-left: 3px solid var(--viewf939b-sand); background: var(--viewf939b-shade-ink); border-radius: 0 9px 9px 0; }
.viewf939b-ticket { margin: 24px 0; padding: 16px 13px; border: 1px dashed var(--viewf939b-sand); border-radius: 5px 18px 5px 5px; background: var(--viewf939b-shade-ink); }
.viewf939b-ticket h2 { font-size: 1.25rem; }
.viewf939b-terms { margin: 12px 0; }
.viewf939b-terms dt { font-weight: bold; color: var(--viewf939b-sand-hi); padding-top: 11px; }
.viewf939b-terms dd { margin: 4px 0 13px; padding-bottom: 11px; border-bottom: 1px solid var(--viewf939b-shade-line); }
.viewf939b-balance { margin-top: 24px; }
.viewf939b-balance h2 { font-size: 1.25rem; }
.viewf939b-balance ul { padding-left: 19px; }
.viewf939b-balance li { margin-bottom: 9px; }
.viewf939b-case { padding: 14px 0; border-top: 2px solid var(--viewf939b-sand); margin-top: 24px; }
.viewf939b-case h2 { font-size: 1.25rem; }
@media(max-width:359px) {
  .viewf939b-gutter { padding-left: 10px; padding-right: 10px; }
  .viewf939b-brandrow { padding-left: 10px; padding-right: 10px; }
  .viewf939b-logo { width: 32px; height: 32px; }
  .viewf939b-brand { gap: 5px; }
  .viewf939b-brandname { letter-spacing: .035em; }
  .viewf939b-btn { font-size: .7rem; padding: 7px 7px; }
}
