/* ==========================================================================
   tongit.homes - mobile chrome stylesheet
   Canvas: 320-430px phone frame, centered on wide screens
   Palette: #1E1E1E base / #00FF7F accent / #9AFF9A text / #8FBC8F support
   Voice: humanist headings, mixed radii, floating image tiles, sliding focus
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --viewb1424-ink: #1e1e1e;
  --viewb1424-ink-deep: #141414;
  --viewb1424-panel: #242424;
  --viewb1424-panel-2: #2a2a2a;
  --viewb1424-accent: #00ff7f;
  --viewb1424-leaf: #9aff9a;
  --viewb1424-sage: #8fbc8f;
  --viewb1424-on-accent: #0d2018;
  --viewb1424-line: rgba(143, 188, 143, 0.22);
  --viewb1424-line-soft: rgba(143, 188, 143, 0.13);
  --viewb1424-line-strong: rgba(0, 255, 127, 0.5);
  --viewb1424-faint: rgba(154, 255, 154, 0.055);
  --viewb1424-faint-2: rgba(154, 255, 154, 0.1);
  --viewb1424-font-head: "Trebuchet MS", "Segoe UI", Verdana, Geneva, sans-serif;
  --viewb1424-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --viewb1424-r-xs: 5px;
  --viewb1424-r-sm: 8px;
  --viewb1424-r-md: 12px;
  --viewb1424-r-lg: 16px;
  --viewb1424-topbar-h: 64px;
  --viewb1424-bnav-h: 64px;
  --viewb1424-max: 480px;
  --viewb1424-pad: 14px;
  --viewb1424-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%;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: clip;
}

body {
  background: var(--viewb1424-ink-deep);
  color: var(--viewb1424-leaf);
  font-family: var(--viewb1424-font-body);
  font-size: 15px;
  line-height: 1.62;
  min-height: 100vh;
}

.viewb1424-shell {
  position: relative;
  width: 100%;
  max-width: var(--viewb1424-max);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--viewb1424-ink);
  box-shadow: 0 0 0 1px rgba(143, 188, 143, 0.08), 0 0 42px rgba(0, 0, 0, 0.55);
}

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

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

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

a {
  color: var(--viewb1424-accent);
  text-decoration: none;
}

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

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

:focus-visible {
  outline: 2px solid var(--viewb1424-accent);
  outline-offset: 2px;
  border-radius: var(--viewb1424-r-xs);
}

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

/* --------------------------------------------------------------------------
   3. Tab-style top bar
   -------------------------------------------------------------------------- */
.viewb1424-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--viewb1424-max);
  height: var(--viewb1424-topbar-h);
  z-index: 70;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 6px;
  padding: 8px 10px 8px 12px;
  background: rgba(30, 30, 30, 0.97);
  border-bottom: 1px solid var(--viewb1424-line-strong);
  backdrop-filter: blur(6px);
}

.viewb1424-brandtab {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding-right: 8px;
}

.viewb1424-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--viewb1424-r-sm);
  border: 1px solid var(--viewb1424-line);
  object-fit: cover;
  flex: 0 0 auto;
}

.viewb1424-brandname {
  font-family: var(--viewb1424-font-head);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--viewb1424-leaf);
  white-space: nowrap;
}

.viewb1424-brandname::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--viewb1424-accent);
  vertical-align: 2px;
}

.viewb1424-actiontab {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}

.viewb1424-cta {
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--viewb1424-r-sm);
  font-family: var(--viewb1424-font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: transform 0.16s var(--viewb1424-ease), box-shadow 0.16s var(--viewb1424-ease);
}

.viewb1424-cta:active {
  transform: translateY(-2px);
}

.viewb1424-cta-primary {
  background: var(--viewb1424-accent);
  color: var(--viewb1424-on-accent);
  box-shadow: 0 3px 0 rgba(0, 255, 127, 0.25);
}

.viewb1424-cta-ghost {
  color: var(--viewb1424-accent);
  border: 1px solid var(--viewb1424-line-strong);
  background: rgba(0, 255, 127, 0.06);
}

.viewb1424-menubtn {
  width: 44px;
  min-height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid var(--viewb1424-line);
  border-radius: var(--viewb1424-r-sm);
  background: var(--viewb1424-faint);
}

.viewb1424-menuline {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--viewb1424-leaf);
  transition: transform 0.2s var(--viewb1424-ease), width 0.2s var(--viewb1424-ease);
}

.viewb1424-menubtn:hover .viewb1424-menuline:nth-child(2) {
  width: 12px;
}

body.viewb1424-menu-open .viewb1424-menuline:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.viewb1424-menu-open .viewb1424-menuline:nth-child(2) {
  opacity: 0;
}

body.viewb1424-menu-open .viewb1424-menuline:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   4. Side drawer menu
   -------------------------------------------------------------------------- */
.viewb1424-scrim {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.66);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s var(--viewb1424-ease);
  z-index: 80;
}

body.viewb1424-menu-open .viewb1424-scrim {
  opacity: 1;
  pointer-events: auto;
}

.viewb1424-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: max(0px, calc(50% - var(--viewb1424-max) / 2));
  width: min(84%, 322px);
  z-index: 90;
  background: #202020;
  border-right: 1px solid var(--viewb1424-line);
  transform: translateX(-102%);
  transition: transform 0.26s var(--viewb1424-ease);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px 14px 26px;
}

body.viewb1424-menu-open .viewb1424-drawer {
  transform: translateX(0);
}

.viewb1424-drawerhead {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 2px 14px;
  border-bottom: 1px solid var(--viewb1424-line-soft);
  margin-bottom: 12px;
}

.viewb1424-drawerhead img {
  width: 34px;
  height: 34px;
  border-radius: var(--viewb1424-r-xs);
  border: 1px solid var(--viewb1424-line);
}

.viewb1424-drawerhead span {
  font-family: var(--viewb1424-font-head);
  font-size: 17px;
  font-weight: 700;
}

.viewb1424-drawergroup {
  margin-bottom: 16px;
}

.viewb1424-drawerlabel {
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--viewb1424-sage);
  padding: 0 4px 6px;
}

.viewb1424-drawerlink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
  padding: 0 12px;
  margin: 3px 0;
  border-radius: var(--viewb1424-r-sm);
  color: var(--viewb1424-leaf);
  font-size: 14.5px;
  border: 1px solid transparent;
  transition: background 0.16s var(--viewb1424-ease), border-color 0.16s var(--viewb1424-ease);
}

.viewb1424-drawerlink::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--viewb1424-sage);
  border-right: 2px solid var(--viewb1424-sage);
  transform: rotate(45deg);
  flex: 0 0 auto;
  transition: border-color 0.16s var(--viewb1424-ease);
}

.viewb1424-drawerlink:hover,
.viewb1424-drawerlink:focus-visible {
  background: var(--viewb1424-faint);
  border-color: var(--viewb1424-line-soft);
  text-decoration: none;
}

.viewb1424-drawerlink.is-here {
  background: var(--viewb1424-accent);
  color: var(--viewb1424-on-accent);
  font-weight: 700;
}

.viewb1424-drawerlink.is-here::after {
  border-color: var(--viewb1424-on-accent);
}

.viewb1424-drawerfoot {
  margin-top: 20px;
  padding: 12px;
  border: 1px dashed var(--viewb1424-line);
  border-radius: var(--viewb1424-r-sm);
  font-size: 12px;
  color: var(--viewb1424-sage);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   5. Main column
   -------------------------------------------------------------------------- */
.viewb1424-main {
  padding: calc(var(--viewb1424-topbar-h) + 12px) var(--viewb1424-pad) 16px;
}

.viewb1424-h1 {
  font-family: var(--viewb1424-font-head);
  font-size: 22px;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--viewb1424-leaf);
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--viewb1424-line-strong);
}

.viewb1424-lede {
  font-size: 15px;
  color: var(--viewb1424-leaf);
  margin-bottom: 12px;
}

.viewb1424-lede strong {
  color: var(--viewb1424-accent);
  font-weight: 700;
}

.viewb1424-zone,
.viewb1424-module {
  margin-top: 26px;
}

.viewb1424-zonehead {
  position: relative;
  padding-bottom: 9px;
  margin-bottom: 4px;
}

.viewb1424-zonehead::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 34px;
  background: var(--viewb1424-accent);
  border-radius: 2px;
  transition: width 0.45s var(--viewb1424-ease);
}

.viewb1424-zone.is-seen .viewb1424-zonehead::after,
.viewb1424-module.is-seen .viewb1424-zonehead::after {
  width: 88px;
}

.viewb1424-zonetitle {
  font-family: var(--viewb1424-font-head);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--viewb1424-leaf);
}

.viewb1424-zonecount {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.6px;
  color: var(--viewb1424-on-accent);
  background: var(--viewb1424-accent);
  border-radius: 999px;
  vertical-align: 2px;
}

.viewb1424-zonetext {
  font-size: 14px;
  color: var(--viewb1424-sage);
  margin: 8px 0 12px;
}

.viewb1424-zonetext a {
  color: var(--viewb1424-accent);
  text-decoration: underline;
  text-decoration-color: rgba(0, 255, 127, 0.45);
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   6. Hero carousel
   -------------------------------------------------------------------------- */
.viewb1424-hero {
  position: relative;
  margin: 16px 0 4px;
  border-radius: var(--viewb1424-r-lg);
  overflow: hidden;
  border: 1px solid var(--viewb1424-line);
  background: var(--viewb1424-panel);
}

.viewb1424-slides {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 168px;
}

.viewb1424-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(6%) scale(1.01);
  transition: opacity 0.5s var(--viewb1424-ease), transform 0.5s var(--viewb1424-ease);
  pointer-events: none;
}

.viewb1424-slide.is-on {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.viewb1424-slideimg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.viewb1424-slidecap {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  padding: 5px 11px;
  font-family: var(--viewb1424-font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--viewb1424-on-accent);
  background: rgba(0, 255, 127, 0.92);
  border-radius: var(--viewb1424-r-sm);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.viewb1424-dots {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 6px;
}

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

.viewb1424-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(154, 255, 154, 0.4);
  border: 1px solid rgba(20, 20, 20, 0.5);
  transition: width 0.3s var(--viewb1424-ease), background 0.3s var(--viewb1424-ease);
}

.viewb1424-dot.is-on::before {
  width: 22px;
  background: var(--viewb1424-accent);
}

/* --------------------------------------------------------------------------
   7. Scenario branches
   -------------------------------------------------------------------------- */
.viewb1424-branches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 16px 0 2px;
}

.viewb1424-branch {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-height: 88px;
  padding: 11px 12px;
  border-radius: var(--viewb1424-r-md);
  border: 1px solid var(--viewb1424-line);
  background: linear-gradient(160deg, var(--viewb1424-faint-2), transparent 62%), var(--viewb1424-panel);
  color: var(--viewb1424-leaf);
  text-align: left;
  transition: transform 0.16s var(--viewb1424-ease), border-color 0.16s var(--viewb1424-ease);
}

.viewb1424-branch:hover,
.viewb1424-branch:focus-visible {
  border-color: var(--viewb1424-line-strong);
  text-decoration: none;
  transform: translateY(-2px);
}

.viewb1424-branch:active {
  transform: translateY(0);
}

.viewb1424-branchtag {
  display: block;
  font-size: 10.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--viewb1424-sage);
  margin-bottom: 5px;
}

.viewb1424-branchtitle {
  display: block;
  font-family: var(--viewb1424-font-head);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.viewb1424-branchtext {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  color: var(--viewb1424-sage);
}

.viewb1424-branchgo {
  display: inline-block;
  margin-top: 8px;
  padding: 5px 12px;
  border-radius: var(--viewb1424-r-sm);
  font-size: 12px;
  font-weight: 700;
  color: var(--viewb1424-on-accent);
  background: var(--viewb1424-accent);
}

.viewb1424-branch--link .viewb1424-branchgo {
  background: transparent;
  border: 1px solid var(--viewb1424-line-strong);
  color: var(--viewb1424-accent);
}

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

.viewb1424-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 6px 5px 8px;
  border-radius: var(--viewb1424-r-md);
  border: 1px solid var(--viewb1424-line-soft);
  background: linear-gradient(180deg, var(--viewb1424-faint), rgba(154, 255, 154, 0.015) 46%), rgba(36, 36, 36, 0.9);
  box-shadow: 0 6px 14px -10px rgba(0, 0, 0, 0.9);
  text-align: center;
  transition: transform 0.16s var(--viewb1424-ease), border-color 0.16s var(--viewb1424-ease), box-shadow 0.16s var(--viewb1424-ease);
}

.viewb1424-tile:hover,
.viewb1424-tile:focus-visible {
  transform: translateY(-3px);
  border-color: var(--viewb1424-line-strong);
  box-shadow: 0 12px 18px -12px rgba(0, 255, 127, 0.25);
}

.viewb1424-tileimg {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--viewb1424-r-sm);
  border: 1px solid rgba(143, 188, 143, 0.16);
  background: #191919;
}

.viewb1424-tilename {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0.1px;
  color: var(--viewb1424-leaf);
  overflow-wrap: anywhere;
}

.viewb1424-zonesplit + .viewb1424-zonesplit {
  margin-top: 24px;
  padding-top: 6px;
  border-top: 1px dashed var(--viewb1424-line-soft);
}

.viewb1424-cathead {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 2px 0 2px;
}

.viewb1424-cathead h3 {
  font-family: var(--viewb1424-font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--viewb1424-accent);
}

.viewb1424-cathead p {
  font-size: 11.5px;
  color: var(--viewb1424-sage);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   9. Content modules
   -------------------------------------------------------------------------- */
.viewb1424-track {
  border: 1px solid var(--viewb1424-line);
  border-radius: var(--viewb1424-r-md);
  background: var(--viewb1424-panel);
  padding: 6px 12px;
}

.viewb1424-step {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 11px 0;
}

.viewb1424-step + .viewb1424-step {
  border-top: 1px solid var(--viewb1424-line-soft);
}

.viewb1424-stepnum {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--viewb1424-line-strong);
  color: var(--viewb1424-accent);
  font-family: var(--viewb1424-font-head);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 255, 127, 0.07);
}

.viewb1424-steptitle {
  font-family: var(--viewb1424-font-head);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--viewb1424-leaf);
}

.viewb1424-steptext {
  font-size: 12.5px;
  color: var(--viewb1424-sage);
  line-height: 1.55;
  margin: 2px 0 7px;
}

.viewb1424-meter {
  height: 5px;
  border-radius: 999px;
  background: rgba(143, 188, 143, 0.16);
  overflow: hidden;
}

.viewb1424-meterbar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--viewb1424-sage), var(--viewb1424-accent));
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.7s var(--viewb1424-ease);
}

.viewb1424-module.is-seen .viewb1424-meterbar {
  transform: scaleX(1);
}

/* Quotes */
.viewb1424-quotes {
  display: grid;
  gap: 10px;
}

.viewb1424-quote {
  position: relative;
  padding: 13px 14px 12px 16px;
  border-radius: var(--viewb1424-r-md);
  border: 1px solid var(--viewb1424-line);
  border-left: 3px solid var(--viewb1424-accent);
  background: var(--viewb1424-panel);
}

.viewb1424-quotetext {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--viewb1424-leaf);
}

.viewb1424-quotetext::before {
  content: "\201C";
  font-family: var(--viewb1424-font-head);
  font-size: 20px;
  color: var(--viewb1424-accent);
  margin-right: 2px;
}

.viewb1424-quotewho {
  margin-top: 8px;
  font-size: 12px;
  color: var(--viewb1424-sage);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.viewb1424-quotetag {
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid var(--viewb1424-line);
  font-size: 10.5px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--viewb1424-sage);
}

/* Winners board */
.viewb1424-board {
  border: 1px solid var(--viewb1424-line);
  border-radius: var(--viewb1424-r-md);
  background: var(--viewb1424-panel);
  overflow: hidden;
}

.viewb1424-boardrow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 10px;
  align-items: center;
  padding: 10px 13px;
}

.viewb1424-boardrow + .viewb1424-boardrow {
  border-top: 1px solid var(--viewb1424-line-soft);
}

.viewb1424-boardgame {
  font-family: var(--viewb1424-font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--viewb1424-leaf);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.viewb1424-boardamt {
  font-family: var(--viewb1424-font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--viewb1424-on-accent);
  background: var(--viewb1424-accent);
  padding: 3px 10px;
  border-radius: 999px;
  justify-self: end;
  grid-row: span 2;
}

.viewb1424-boardmeta {
  font-size: 11.5px;
  color: var(--viewb1424-sage);
}

.viewb1424-boardnote {
  padding: 11px 13px;
  border-top: 1px dashed var(--viewb1424-line);
  font-size: 12px;
  line-height: 1.55;
  color: var(--viewb1424-sage);
  background: rgba(0, 255, 127, 0.03);
}

/* Pros vs limits */
.viewb1424-versus {
  display: grid;
  gap: 10px;
}

.viewb1424-panel {
  border-radius: var(--viewb1424-r-md);
  border: 1px solid var(--viewb1424-line);
  background: var(--viewb1424-panel);
  padding: 13px 14px;
}

.viewb1424-panel-good {
  border-color: rgba(0, 255, 127, 0.4);
  background: linear-gradient(180deg, rgba(0, 255, 127, 0.06), transparent 60%), var(--viewb1424-panel);
}

.viewb1424-panel-warn {
  border-color: rgba(143, 188, 143, 0.35);
}

.viewb1424-paneltitle {
  font-family: var(--viewb1424-font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--viewb1424-leaf);
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.viewb1424-paneltitle .viewb1424-svg {
  color: var(--viewb1424-accent);
}

.viewb1424-panel-warn .viewb1424-paneltitle .viewb1424-svg {
  color: var(--viewb1424-sage);
}

.viewb1424-panellist li {
  position: relative;
  padding: 5px 0 5px 20px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--viewb1424-sage);
}

.viewb1424-panellist li + li {
  border-top: 1px solid var(--viewb1424-line-soft);
}

.viewb1424-panel-good .viewb1424-panellist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--viewb1424-accent);
  border-bottom: 2px solid var(--viewb1424-accent);
  transform: rotate(-45deg);
}

.viewb1424-panel-warn .viewb1424-panellist li::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 2px solid var(--viewb1424-sage);
}

.viewb1424-panellist strong {
  color: var(--viewb1424-leaf);
}

/* --------------------------------------------------------------------------
   10. Extended footer (home only)
   -------------------------------------------------------------------------- */
.viewb1424-xfooter {
  margin-top: 30px;
  padding: 18px var(--viewb1424-pad) 6px;
  border-top: 1px solid var(--viewb1424-line);
  background: linear-gradient(180deg, rgba(154, 255, 154, 0.035), transparent 40%), #1a1a1a;
}

.viewb1424-xfblock + .viewb1424-xfblock {
  margin-top: 20px;
}

.viewb1424-xflabel {
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--viewb1424-sage);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.viewb1424-xflabel::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--viewb1424-line-soft);
}

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

.viewb1424-promoitem {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 50px;
  padding: 8px 11px;
  border-radius: var(--viewb1424-r-sm);
  border: 1px solid var(--viewb1424-line-strong);
  background: rgba(0, 255, 127, 0.07);
  color: var(--viewb1424-leaf);
  text-align: left;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  transition: transform 0.16s var(--viewb1424-ease), background 0.16s var(--viewb1424-ease);
}

.viewb1424-promoitem .viewb1424-svg {
  flex: 0 0 auto;
  color: var(--viewb1424-accent);
}

.viewb1424-promoitem:hover,
.viewb1424-promoitem:focus-visible {
  background: rgba(0, 255, 127, 0.13);
  transform: translateY(-2px);
}

.viewb1424-brandnote {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--viewb1424-sage);
}

.viewb1424-brandnote a {
  color: var(--viewb1424-accent);
}

.viewb1424-dirgroup {
  margin-bottom: 12px;
}

.viewb1424-dirgroup h4 {
  font-family: var(--viewb1424-font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--viewb1424-leaf);
  margin-bottom: 6px;
}

.viewb1424-dirgroup ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 12px;
}

.viewb1424-dirlink {
  font-size: 12.5px;
  color: var(--viewb1424-sage);
  text-decoration: underline;
  text-decoration-color: rgba(143, 188, 143, 0.35);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.viewb1424-dirlink:hover,
.viewb1424-dirlink:focus-visible {
  color: var(--viewb1424-accent);
}

.viewb1424-disclaim {
  padding: 11px 12px;
  border: 1px dashed var(--viewb1424-line);
  border-radius: var(--viewb1424-r-sm);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--viewb1424-sage);
}

/* Common copyright bar */
.viewb1424-cfooter {
  padding: 14px var(--viewb1424-pad) 10px;
  text-align: center;
  font-size: 12px;
  color: var(--viewb1424-sage);
  border-top: 1px solid var(--viewb1424-line-soft);
}

/* --------------------------------------------------------------------------
   11. Outlined bottom function bar
   -------------------------------------------------------------------------- */
.viewb1424-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--viewb1424-max);
  height: calc(var(--viewb1424-bnav-h) + env(safe-area-inset-bottom, 0px));
  padding: 7px 8px calc(7px + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
  background: rgba(24, 24, 24, 0.97);
  border-top: 1px solid var(--viewb1424-line-strong);
  backdrop-filter: blur(6px);
  z-index: 70;
}

/* Keep body copy clear of the fixed bottom bar */
.viewb1424-shell > .viewb1424-main {
  padding-bottom: calc(var(--viewb1424-bnav-h) + env(safe-area-inset-bottom, 0px) + 22px);
}

.viewb1424-cfooter {
  margin-bottom: calc(var(--viewb1424-bnav-h) + env(safe-area-inset-bottom, 0px));
}

.viewb1424-bnavitem {
  position: relative;
  min-width: 44px;
  min-height: 46px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: var(--viewb1424-r-md);
  border: 1px solid transparent;
  color: var(--viewb1424-sage);
  transition: transform 0.18s var(--viewb1424-ease), background 0.18s var(--viewb1424-ease), color 0.18s var(--viewb1424-ease);
}

.viewb1424-bnavitem .viewb1424-svg {
  opacity: 0.82;
}

.viewb1424-bnavlabel {
  font-size: 10.5px;
  letter-spacing: 0.3px;
  font-weight: 600;
}

.viewb1424-bnavitem:active {
  transform: translateY(-3px);
}

.viewb1424-bnavitem:hover {
  color: var(--viewb1424-leaf);
}

.viewb1424-bnavitem.is-active {
  background: var(--viewb1424-accent);
  border-color: var(--viewb1424-accent);
  color: var(--viewb1424-on-accent);
  box-shadow: 0 -4px 16px -6px rgba(0, 255, 127, 0.55);
}

.viewb1424-bnavitem.is-active .viewb1424-svg {
  opacity: 1;
}

.viewb1424-bnavitem.is-active .viewb1424-bnavlabel {
  font-weight: 700;
}

.viewb1424-svg {
  width: 22px;
  height: 22px;
  display: inline-block;
  vertical-align: middle;
}

/* --------------------------------------------------------------------------
   12. Inline icons sizing helpers
   -------------------------------------------------------------------------- */
.viewb1424-svg--sm {
  width: 16px;
  height: 16px;
}

.viewb1424-svg--lg {
  width: 26px;
  height: 26px;
}

/* --------------------------------------------------------------------------
   13. Breakpoints
   -------------------------------------------------------------------------- */
/* Small phones: keep 4 columns but tighten type */
@media (max-width: 359px) {
  .viewb1424-brandname {
    font-size: 18px;
  }

  .viewb1424-cta {
    padding: 0 10px;
    font-size: 13px;
  }

  .viewb1424-grid {
    gap: 7px 5px;
  }

  .viewb1424-tilename {
    font-size: 10.5px;
  }
}

/* From 320px up: guarantee no clipped labels */
@media (min-width: 320px) {
  .viewb1424-tilename {
    min-height: 2.7em;
  }
}

/* Phablet: room for a 5th game column */
@media (min-width: 400px) {
  .viewb1424-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px 8px;
  }

  .viewb1424-promorow,
  .viewb1424-dirgroup ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Upper phone band: breathe, still one canvas */
@media (min-width: 430px) {
  .viewb1424-main {
    padding-left: 18px;
    padding-right: 18px;
  }

  .viewb1424-xfooter {
    padding-left: 18px;
    padding-right: 18px;
  }

  .viewb1424-h1 {
    font-size: 24px;
  }

  .viewb1424-zonetitle {
    font-size: 20px;
  }

  .viewb1424-slides {
    aspect-ratio: 21 / 9;
    min-height: 186px;
  }

  .viewb1424-quotes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .viewb1424-slide {
    transform: none;
  }
}

/* Help-page reading patterns */
.viewb1424-answergrid,
.viewb1424-choicegrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.viewb1424-answeritem,
.viewb1424-choiceitem {
  display: block;
  width: 100%;
  min-height: 76px;
  padding: 10px;
  border: 1px solid var(--viewb1424-line-strong);
  border-radius: var(--viewb1424-r-md);
  background: var(--viewb1424-panel);
  color: var(--viewb1424-leaf);
  text-align: left;
  text-decoration: none;
}

.viewb1424-answeritem strong,
.viewb1424-choiceitem strong {
  display: block;
  color: var(--viewb1424-accent);
  font-family: var(--viewb1424-font-head);
  font-size: 13px;
  line-height: 1.3;
}

.viewb1424-answeritem span,
.viewb1424-choiceitem span {
  display: block;
  margin-top: 6px;
  color: var(--viewb1424-sage);
  font-size: 11.5px;
  line-height: 1.4;
}

.viewb1424-answeritem:hover,
.viewb1424-answeritem:focus-visible,
.viewb1424-choiceitem:hover,
.viewb1424-choiceitem:focus-visible {
  transform: translateY(-2px);
  background: var(--viewb1424-faint-2);
  text-decoration: none;
}

.viewb1424-prep,
.viewb1424-safetylist,
.viewb1424-pathlist {
  display: grid;
  gap: 9px;
}

.viewb1424-prepitem,
.viewb1424-safetylist > div,
.viewb1424-pathlist > div {
  padding: 12px 13px;
  border-left: 3px solid var(--viewb1424-accent);
  border-top: 1px solid var(--viewb1424-line-soft);
  border-right: 1px solid var(--viewb1424-line-soft);
  border-bottom: 1px solid var(--viewb1424-line-soft);
  border-radius: 4px var(--viewb1424-r-md) var(--viewb1424-r-md) 4px;
  background: var(--viewb1424-panel);
}

.viewb1424-prepitem {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
}

.viewb1424-prepitem h3,
.viewb1424-safetylist h3,
.viewb1424-pathlist h3,
.viewb1424-troubles h3,
.viewb1424-choicegrid h3 {
  color: var(--viewb1424-leaf);
  font-family: var(--viewb1424-font-head);
  font-size: 15px;
  line-height: 1.35;
  margin-bottom: 4px;
}

.viewb1424-prepitem p,
.viewb1424-safetylist p,
.viewb1424-pathlist p,
.viewb1424-troubles p,
.viewb1424-choicegrid p {
  color: var(--viewb1424-sage);
  font-size: 13px;
  line-height: 1.58;
}

.viewb1424-callout {
  margin-top: 10px;
  padding: 11px 12px;
  border: 1px dashed var(--viewb1424-line-strong);
  border-radius: var(--viewb1424-r-sm);
  color: var(--viewb1424-leaf);
  font-size: 13px;
}

.viewb1424-troubles {
  display: grid;
  gap: 10px;
}

.viewb1424-troubles article {
  padding: 13px;
  border-radius: var(--viewb1424-r-md) 5px var(--viewb1424-r-md) var(--viewb1424-r-md);
  background: linear-gradient(135deg, var(--viewb1424-faint-2), transparent 58%), var(--viewb1424-panel);
  border: 1px solid var(--viewb1424-line);
}

.viewb1424-inlineaction,
.viewb1424-wideaction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 10px;
  padding: 8px 13px;
  border: 1px solid var(--viewb1424-line-strong);
  border-radius: var(--viewb1424-r-sm);
  background: rgba(0, 255, 127, 0.08);
  color: var(--viewb1424-accent);
  font-size: 12.5px;
  font-weight: 700;
}

.viewb1424-inlineaction:hover,
.viewb1424-inlineaction:focus-visible,
.viewb1424-wideaction:hover,
.viewb1424-wideaction:focus-visible {
  background: var(--viewb1424-accent);
  color: var(--viewb1424-on-accent);
  text-decoration: none;
}

.viewb1424-wideaction {
  width: 100%;
}

.viewb1424-faqstack {
  display: grid;
  gap: 7px;
}

.viewb1424-faqstack details {
  border: 1px solid var(--viewb1424-line);
  border-radius: var(--viewb1424-r-sm);
  background: var(--viewb1424-panel);
  padding: 0 12px;
}

.viewb1424-faqstack summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  cursor: pointer;
  color: var(--viewb1424-leaf);
  font-family: var(--viewb1424-font-head);
  font-size: 14px;
  font-weight: 700;
}

.viewb1424-faqstack p {
  padding: 0 0 12px;
  color: var(--viewb1424-sage);
  font-size: 13px;
  line-height: 1.6;
}

.viewb1424-checkrow {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.viewb1424-checkrow span {
  padding: 7px 9px;
  border: 1px solid var(--viewb1424-line);
  border-radius: 999px;
  color: var(--viewb1424-leaf);
  font-size: 11.5px;
}

.viewb1424-definition {
  display: grid;
  grid-template-columns: minmax(88px, 0.55fr) minmax(0, 1.45fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--viewb1424-line);
  border-radius: var(--viewb1424-r-md);
  background: var(--viewb1424-line);
}

.viewb1424-definition dt,
.viewb1424-definition dd {
  padding: 11px 12px;
  background: var(--viewb1424-panel);
}

.viewb1424-definition dt {
  color: var(--viewb1424-accent);
  font-family: var(--viewb1424-font-head);
  font-size: 12.5px;
  font-weight: 700;
}

.viewb1424-definition dd {
  color: var(--viewb1424-sage);
  font-size: 12.5px;
  line-height: 1.55;
}

.viewb1424-route {
  position: relative;
  display: grid;
  gap: 10px;
  padding-left: 14px;
}

.viewb1424-route::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  bottom: 9px;
  width: 1px;
  background: var(--viewb1424-line-strong);
}

.viewb1424-routeitem {
  position: relative;
  padding: 11px 12px;
  border-radius: var(--viewb1424-r-sm);
  border: 1px solid var(--viewb1424-line);
  background: var(--viewb1424-panel);
}

.viewb1424-routeitem::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 16px;
  width: 7px;
  height: 7px;
  border: 2px solid var(--viewb1424-accent);
  border-radius: 50%;
  background: var(--viewb1424-ink);
}

.viewb1424-routeitem h3 {
  color: var(--viewb1424-leaf);
  font-family: var(--viewb1424-font-head);
  font-size: 14.5px;
  margin-bottom: 4px;
}

.viewb1424-routeitem p {
  color: var(--viewb1424-sage);
  font-size: 12.5px;
  line-height: 1.55;
}

@media (max-width: 359px) {
  .viewb1424-answergrid,
  .viewb1424-choicegrid {
    grid-template-columns: 1fr;
  }

  .viewb1424-answeritem,
  .viewb1424-choiceitem {
    min-height: 58px;
  }
}
