/*
 * 37jili mobile chrome stylesheet
 * Canvas: 320-430px phone frame, centered on wide screens.
 * Palette: deep slate ink / cornsilk cream / cornflower accent.
 * Motion budget: state color transitions only (no transform animation).
 * All component classes carry the viewb9c27- prefix.
 */

:root {
  --viewb9c27-ink: #2C3E50;
  --viewb9c27-ink-deep: #22303F;
  --viewb9c27-ink-panel: #1D2B3A;
  --viewb9c27-ink-night: #16202B;
  --viewb9c27-cream: #FFF8DC;
  --viewb9c27-cream-dim: rgba(255, 248, 220, 0.72);
  --viewb9c27-cream-soft: rgba(255, 248, 220, 0.9);
  --viewb9c27-line: rgba(255, 248, 220, 0.2);
  --viewb9c27-accent: #6495ED;
  --viewb9c27-accent-strong: #8FB3FF;
  --viewb9c27-accent-deep: #4A72C4;
  --viewb9c27-warn: #E8C170;
  --viewb9c27-font-display: Georgia, "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;
  --viewb9c27-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--viewb9c27-ink-night);
  color: var(--viewb9c27-cream);
  font-family: var(--viewb9c27-font-body);
  font-size: 14px;
  line-height: 1.5;
}

img { max-width: 100%; }

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

/* ---------- phone canvas ---------- */

.viewb9c27-canvas {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--viewb9c27-ink);
  overflow-x: hidden;
}

@media (min-width: 431px) {
  .viewb9c27-canvas {
    border-left: 1px solid var(--viewb9c27-line);
    border-right: 1px solid var(--viewb9c27-line);
    box-shadow: 0 0 44px rgba(0, 0, 0, 0.45);
  }
}

.viewb9c27-canvas :focus-visible {
  outline: 2px solid var(--viewb9c27-accent-strong);
  outline-offset: 2px;
}

.viewb9c27-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--viewb9c27-accent);
  color: #1A2634;
  font-weight: 700;
  padding: 10px 14px;
  z-index: 100;
}

.viewb9c27-skip:focus {
  left: 10px;
  top: 10px;
}

.viewb9c27-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- fixed top bar: centered identity + action strip ---------- */

.viewb9c27-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: var(--viewb9c27-ink-deep);
  border-bottom: 1px solid var(--viewb9c27-line);
  padding-top: env(safe-area-inset-top, 0px);
}

.viewb9c27-identity {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 12px 7px;
}

.viewb9c27-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border: 1px solid var(--viewb9c27-line);
  border-radius: 3px;
  background: var(--viewb9c27-ink-panel);
  padding: 3px;
}

.viewb9c27-brandname {
  font-family: var(--viewb9c27-font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--viewb9c27-cream);
  line-height: 1;
}

.viewb9c27-actions {
  display: flex;
  gap: 8px;
  padding: 0 12px 9px;
}

.viewb9c27-btn {
  flex: 1 1 auto;
  min-height: 44px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-align: center;
  border: 1px solid transparent;
  border-radius: 0; /* square, high-contrast CTA */
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.viewb9c27-btn-cta {
  background: var(--viewb9c27-accent);
  border-color: var(--viewb9c27-accent);
  color: #1A2634;
}

.viewb9c27-btn-cta:hover,
.viewb9c27-btn-cta:focus-visible {
  background: var(--viewb9c27-accent-strong);
  border-color: var(--viewb9c27-accent-strong);
}

.viewb9c27-btn-cta:active {
  background: var(--viewb9c27-accent-deep);
  border-color: var(--viewb9c27-accent-deep);
  color: var(--viewb9c27-cream);
}

.viewb9c27-btn-line {
  background: transparent;
  border-color: rgba(255, 248, 220, 0.45);
  color: var(--viewb9c27-cream);
}

.viewb9c27-btn-line:hover,
.viewb9c27-btn-line:focus-visible {
  background: var(--viewb9c27-cream);
  color: var(--viewb9c27-ink);
  border-color: var(--viewb9c27-cream);
}

.viewb9c27-burger {
  flex: 0 0 46px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 248, 220, 0.45);
  color: var(--viewb9c27-cream);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.viewb9c27-burger:hover,
.viewb9c27-burger:focus-visible {
  background: var(--viewb9c27-cream);
  color: var(--viewb9c27-ink);
}

.viewb9c27-burger svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

/* ---------- stacked overlay menu ---------- */

.viewb9c27-menu {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 100%;
  height: 100dvh;
  z-index: 80;
  background: rgba(24, 35, 47, 0.98);
  display: none;
  flex-direction: column;
  padding-top: env(safe-area-inset-top, 0px);
  overflow: hidden;
}

.viewb9c27-menu.viewb9c27-open { display: flex; }

.viewb9c27-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px 11px;
  border-bottom: 1px solid var(--viewb9c27-line);
}

.viewb9c27-menu-title {
  font-family: var(--viewb9c27-font-display);
  font-size: 17px;
  color: var(--viewb9c27-cream);
}

.viewb9c27-menu-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--viewb9c27-line);
  color: var(--viewb9c27-cream);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.viewb9c27-menu-close:hover,
.viewb9c27-menu-close:focus-visible {
  color: var(--viewb9c27-accent-strong);
  border-color: var(--viewb9c27-accent);
}

.viewb9c27-menu-close svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.viewb9c27-menu-body {
  overflow-y: auto;
  padding: 4px 14px 96px;
}

.viewb9c27-menu-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--viewb9c27-cream-dim);
  margin: 16px 2px 4px;
}

.viewb9c27-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  padding: 0 2px;
  border-bottom: 1px solid var(--viewb9c27-line);
  color: var(--viewb9c27-cream);
  font-size: 14.5px;
  text-decoration: none;
  transition: color 0.18s ease;
}

.viewb9c27-menu-link:hover,
.viewb9c27-menu-link:focus-visible {
  color: var(--viewb9c27-accent-strong);
}

.viewb9c27-menu-go {
  color: var(--viewb9c27-accent);
  font-family: var(--viewb9c27-font-display);
  font-size: 16px;
}

.viewb9c27-menu-cta {
  margin: 18px 0 6px;
  width: 100%;
}

/* ---------- main column ---------- */

.viewb9c27-main {
  padding: 114px 12px 0;
  padding-top: calc(114px + env(safe-area-inset-top, 0px));
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}

.viewb9c27-main a {
  color: var(--viewb9c27-accent-strong);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.18s ease;
}

.viewb9c27-main a:hover,
.viewb9c27-main a:focus-visible {
  color: var(--viewb9c27-cream);
}

/* ---------- hero carousel ---------- */

.viewb9c27-hero { margin-bottom: 4px; }

.viewb9c27-carousel {
  position: relative;
  border: 1px solid var(--viewb9c27-line);
  border-radius: 3px;
  overflow: hidden;
  background: var(--viewb9c27-ink-panel);
}

.viewb9c27-slide {
  display: none;
  width: 100%;
  padding: 0;
  text-align: left;
}

.viewb9c27-slide.viewb9c27-on { display: block; }

.viewb9c27-slide img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  display: block;
  background: var(--viewb9c27-ink-panel);
}

.viewb9c27-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(22, 32, 43, 0.87);
  border-top: 1px solid var(--viewb9c27-line);
  font-size: 11.5px;
  color: var(--viewb9c27-cream-soft);
}

.viewb9c27-slide-cap b {
  font-family: var(--viewb9c27-font-display);
  font-weight: 700;
  color: var(--viewb9c27-cream);
}

.viewb9c27-slide-cta {
  flex: none;
  color: var(--viewb9c27-accent-strong);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 10.5px;
  border: 1px solid var(--viewb9c27-accent);
  padding: 3px 7px;
}

.viewb9c27-slide:hover .viewb9c27-slide-cta,
.viewb9c27-slide:focus-visible .viewb9c27-slide-cta {
  background: var(--viewb9c27-accent);
  color: #1A2634;
}

.viewb9c27-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  padding: 9px 0 2px;
}

.viewb9c27-dot {
  width: 24px;
  height: 9px;
  border: 1px solid rgba(255, 248, 220, 0.5);
  background: transparent;
  border-radius: 1px;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.viewb9c27-dot.viewb9c27-on {
  background: var(--viewb9c27-accent);
  border-color: var(--viewb9c27-accent);
}

/* ---------- intro block ---------- */

.viewb9c27-h1 {
  font-family: var(--viewb9c27-font-display);
  font-size: 23px;
  line-height: 1.28;
  letter-spacing: 0.01em;
  color: var(--viewb9c27-cream);
  margin: 14px 0 8px;
}

.viewb9c27-lead {
  font-size: 13px;
  line-height: 1.62;
  color: var(--viewb9c27-cream-soft);
}

.viewb9c27-lead + .viewb9c27-lead { margin-top: 8px; }

.viewb9c27-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 12px 0;
}

.viewb9c27-fact {
  border: 1px solid var(--viewb9c27-line);
  background: var(--viewb9c27-ink-deep);
  padding: 8px 10px;
}

.viewb9c27-fact-n {
  font-family: var(--viewb9c27-font-display);
  font-size: 19px;
  line-height: 1.1;
  color: var(--viewb9c27-accent-strong);
}

.viewb9c27-fact-t {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--viewb9c27-cream-dim);
  margin-top: 3px;
}

.viewb9c27-intro-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 4px 0 2px;
}

.viewb9c27-intro-cta .viewb9c27-btn { flex: 1 1 150px; }

.viewb9c27-intro-note {
  flex: 1 1 150px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--viewb9c27-cream-dim);
}

/* ---------- sections ---------- */

.viewb9c27-section { margin-top: 22px; }

.viewb9c27-sechead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 2px solid var(--viewb9c27-accent);
  padding-bottom: 7px;
  margin-bottom: 9px;
}

.viewb9c27-sechead h2 {
  font-family: var(--viewb9c27-font-display);
  font-size: 17.5px;
  line-height: 1.3;
  color: var(--viewb9c27-cream);
}

.viewb9c27-count {
  flex: none;
  font-family: var(--viewb9c27-font-display);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--viewb9c27-accent-strong);
  border: 1px solid var(--viewb9c27-accent);
  padding: 2px 6px;
  white-space: nowrap;
}

.viewb9c27-secnote {
  font-size: 11px;
  line-height: 1.5;
  color: var(--viewb9c27-cream-dim);
  margin-top: 8px;
}

/* ---------- game grid: image + bottom name bar ---------- */

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

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

.viewb9c27-game {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--viewb9c27-line);
  border-radius: 3px;
  background: var(--viewb9c27-ink-deep);
  overflow: hidden;
  text-align: center;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.viewb9c27-game img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: var(--viewb9c27-ink-panel);
}

.viewb9c27-game-name {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  padding: 4px 3px;
  font-size: 10px;
  line-height: 1.28;
  color: var(--viewb9c27-cream);
  background: var(--viewb9c27-ink-panel);
  border-top: 1px solid var(--viewb9c27-line);
  overflow-wrap: break-word;
  transition: color 0.18s ease;
}

.viewb9c27-game:hover,
.viewb9c27-game:focus-visible { border-color: var(--viewb9c27-accent); }

.viewb9c27-game:hover .viewb9c27-game-name,
.viewb9c27-game:focus-visible .viewb9c27-game-name { color: var(--viewb9c27-accent-strong); }

.viewb9c27-game:active { background: rgba(100, 149, 237, 0.14); }

/* ---------- numbered steps ---------- */

.viewb9c27-steps { list-style: none; }

.viewb9c27-step {
  display: flex;
  gap: 11px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--viewb9c27-line);
}

.viewb9c27-step:last-child { border-bottom: 0; padding-bottom: 2px; }

.viewb9c27-step-n {
  flex: 0 0 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--viewb9c27-accent);
  color: var(--viewb9c27-accent-strong);
  font-family: var(--viewb9c27-font-display);
  font-size: 14px;
}

.viewb9c27-step p {
  font-size: 12.5px;
  line-height: 1.58;
  color: var(--viewb9c27-cream-soft);
  align-self: center;
}

.viewb9c27-step b { color: var(--viewb9c27-cream); }

/* ---------- milestone meters ---------- */

.viewb9c27-miles { display: grid; gap: 10px; }

.viewb9c27-mile {
  border: 1px solid var(--viewb9c27-line);
  background: var(--viewb9c27-ink-deep);
  padding: 10px 11px;
}

.viewb9c27-mile-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.viewb9c27-mile-tag {
  flex: none;
  border: 1px solid var(--viewb9c27-accent);
  color: var(--viewb9c27-accent-strong);
  font-family: var(--viewb9c27-font-display);
  font-size: 10.5px;
  letter-spacing: 0.07em;
  padding: 2px 5px;
}

.viewb9c27-mile-name {
  font-family: var(--viewb9c27-font-display);
  font-size: 13.5px;
  color: var(--viewb9c27-cream);
}

.viewb9c27-mile p {
  font-size: 11.8px;
  line-height: 1.52;
  color: var(--viewb9c27-cream-dim);
}

.viewb9c27-meter {
  height: 6px;
  border: 1px solid var(--viewb9c27-line);
  background: var(--viewb9c27-ink-panel);
  margin-top: 8px;
}

.viewb9c27-meter i {
  display: block;
  height: 100%;
  background: var(--viewb9c27-accent);
}

/* ---------- category rows ---------- */

.viewb9c27-catrows { display: grid; gap: 8px; }

.viewb9c27-catrow {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  align-items: start;
  border: 1px solid var(--viewb9c27-line);
  border-left: 3px solid var(--viewb9c27-accent);
  background: var(--viewb9c27-ink-deep);
  padding: 9px 10px;
}

@media (max-width: 359px) {
  .viewb9c27-catrow { grid-template-columns: 1fr; }
}

.viewb9c27-cat-k {
  font-family: var(--viewb9c27-font-display);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--viewb9c27-accent-strong);
}

.viewb9c27-catrow p {
  font-size: 12px;
  line-height: 1.52;
  color: var(--viewb9c27-cream-soft);
}

/* ---------- checklist ---------- */

.viewb9c27-check { list-style: none; }

.viewb9c27-check li {
  position: relative;
  padding-left: 24px;
  margin: 9px 0;
  font-size: 12.5px;
  line-height: 1.56;
  color: var(--viewb9c27-cream-soft);
}

.viewb9c27-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 13px;
  height: 13px;
  border: 1px solid var(--viewb9c27-accent);
  background: var(--viewb9c27-ink-panel);
}

.viewb9c27-check li::after {
  content: "\2713";
  position: absolute;
  left: 3px;
  top: 2px;
  font-size: 10px;
  color: var(--viewb9c27-accent-strong);
}

/* ---------- pros / limits panels ---------- */

.viewb9c27-duo { display: grid; gap: 10px; }

.viewb9c27-panel {
  border: 1px solid var(--viewb9c27-line);
  background: var(--viewb9c27-ink-deep);
  padding: 11px 12px;
}

.viewb9c27-panel-pro { border-left: 3px solid var(--viewb9c27-accent); }
.viewb9c27-panel-lim { border-left: 3px solid var(--viewb9c27-warn); }

.viewb9c27-panel h3 {
  font-family: var(--viewb9c27-font-display);
  font-size: 13.5px;
  color: var(--viewb9c27-cream);
  margin-bottom: 7px;
}

.viewb9c27-panel-pro h3 { color: var(--viewb9c27-accent-strong); }
.viewb9c27-panel-lim h3 { color: var(--viewb9c27-warn); }

.viewb9c27-panel ul { list-style: none; }

.viewb9c27-panel li {
  position: relative;
  padding-left: 14px;
  margin: 6px 0;
  font-size: 12.3px;
  line-height: 1.52;
  color: var(--viewb9c27-cream-soft);
}

.viewb9c27-panel-pro li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: var(--viewb9c27-accent);
}

.viewb9c27-panel-lim li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: var(--viewb9c27-warn);
}

/* ---------- FAQ accordion ---------- */

.viewb9c27-faqs { display: grid; gap: 8px; }

.viewb9c27-faq {
  border: 1px solid var(--viewb9c27-line);
  border-radius: 3px;
  background: var(--viewb9c27-ink-deep);
}

.viewb9c27-faq summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--viewb9c27-cream);
  cursor: pointer;
  list-style: none;
  transition: color 0.18s ease;
}

.viewb9c27-faq summary::-webkit-details-marker { display: none; }

.viewb9c27-faq summary::after {
  content: "+";
  flex: none;
  margin-left: auto;
  font-family: var(--viewb9c27-font-display);
  font-size: 17px;
  color: var(--viewb9c27-accent-strong);
}

.viewb9c27-faq[open] summary::after { content: "\2212"; }

.viewb9c27-faq[open] summary {
  color: var(--viewb9c27-accent-strong);
  border-bottom: 1px solid var(--viewb9c27-line);
}

.viewb9c27-faq-body {
  padding: 10px 12px 12px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--viewb9c27-cream-soft);
}

/* ---------- extended footer: promotions > brand > directory > disclaimer ---------- */

.viewb9c27-xfoot {
  margin-top: 26px;
  border-top: 2px solid var(--viewb9c27-accent);
  padding-top: 14px;
}

.viewb9c27-xfoot h2 {
  font-family: var(--viewb9c27-font-display);
  font-size: 16px;
  color: var(--viewb9c27-cream);
  margin-bottom: 10px;
}

.viewb9c27-xp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.viewb9c27-xp {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 9px;
  border: 1px solid var(--viewb9c27-accent);
  background: var(--viewb9c27-ink-deep);
  color: var(--viewb9c27-cream);
  font-size: 11.8px;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.viewb9c27-xp svg {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--viewb9c27-accent-strong);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.18s ease;
}

.viewb9c27-xp:hover,
.viewb9c27-xp:focus-visible {
  background: var(--viewb9c27-accent);
  color: #1A2634;
}

.viewb9c27-xp:hover svg,
.viewb9c27-xp:focus-visible svg { stroke: #1A2634; }

.viewb9c27-xbrand {
  margin-top: 12px;
  font-size: 11.8px;
  line-height: 1.56;
  color: var(--viewb9c27-cream-dim);
}

.viewb9c27-xdir { margin-top: 14px; }

.viewb9c27-xdir-h {
  font-family: var(--viewb9c27-font-display);
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--viewb9c27-accent-strong);
  margin-bottom: 7px;
}

.viewb9c27-xdir-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 12px;
}

.viewb9c27-xdir-links a {
  font-size: 12px;
  color: rgba(255, 248, 220, 0.88);
  text-decoration: none;
  border-bottom: 1px dotted var(--viewb9c27-line);
  padding: 3px 0;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.viewb9c27-xdir-links a:hover,
.viewb9c27-xdir-links a:focus-visible {
  color: var(--viewb9c27-accent-strong);
  border-bottom-color: var(--viewb9c27-accent);
}

.viewb9c27-xnote {
  margin-top: 12px;
  border: 1px dashed var(--viewb9c27-line);
  padding: 8px 10px;
  font-size: 10.8px;
  line-height: 1.52;
  color: var(--viewb9c27-cream-dim);
}

/* ---------- common footer ---------- */

.viewb9c27-footer {
  margin-top: 16px;
  border-top: 1px solid var(--viewb9c27-line);
  padding: 10px 0 4px;
  text-align: center;
  font-size: 10.8px;
  line-height: 1.6;
  color: var(--viewb9c27-cream-dim);
}

.viewb9c27-footer b {
  font-weight: 400;
  color: rgba(255, 248, 220, 0.82);
}

/* ---------- fixed bottom nav: compact icon rack ---------- */

.viewb9c27-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--viewb9c27-ink-deep);
  border-top: 1px solid var(--viewb9c27-accent);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.viewb9c27-bn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 54px;
  padding: 5px 2px 6px;
  margin-top: -1px;
  font-size: 9.8px;
  letter-spacing: 0.02em;
  color: var(--viewb9c27-cream-dim);
  text-decoration: none;
  text-align: center;
  border-top: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.viewb9c27-bn svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: fill 0.18s ease;
}

.viewb9c27-bn:hover,
.viewb9c27-bn:focus-visible { color: var(--viewb9c27-cream); }

.viewb9c27-bn:active { background: rgba(100, 149, 237, 0.16); }

.viewb9c27-bn-on {
  color: var(--viewb9c27-accent-strong);
  border-top-color: var(--viewb9c27-accent);
}

.viewb9c27-bn-on svg { fill: rgba(100, 149, 237, 0.28); }

/* Part-one reading surfaces, compatible with the existing phone chrome. */
.viewb9c27-main { font-size: 15px; line-height: 1.65; }
.viewb9c27-main p + p { margin-top: 10px; }
.viewb9c27-lead, .viewb9c27-step p, .viewb9c27-check li,
.viewb9c27-catrow p, .viewb9c27-faq-body, .viewb9c27-panel li {
  font-size: 15px; line-height: 1.65;
}
.viewb9c27-main h2 { font-family: var(--viewb9c27-font-display); font-size: 21px; line-height: 1.3; margin-bottom: 12px; }
.viewb9c27-main h3 { font-family: var(--viewb9c27-font-display); font-size: 18px; line-height: 1.4; margin: 14px 0 7px; }
.viewb9c27-main li { margin-bottom: 10px; }
.viewb9c27-main ul:not([class]), .viewb9c27-main ol:not([class]) { padding-left: 22px; }
.viewb9c27-grid { margin-top: 12px; }
.viewb9c27-game { min-width: 0; }
.viewb9c27-game-name { font-size: 11px; overflow-wrap: anywhere; flex: 1; min-height: 44px; }
.viewb9c27-count { white-space: normal; text-align: right; }
.viewb9c27-dot { width: 44px; height: 44px; position: relative; border: 0; background: transparent !important; }
.viewb9c27-dot::after { content: ''; position: absolute; width: 24px; height: 7px; left: 10px; top: 18px; border: 1px solid var(--viewb9c27-cream); }
.viewb9c27-dot.viewb9c27-on::after { background: var(--viewb9c27-accent); border-color: var(--viewb9c27-accent); }
.viewb9c27-slide img { aspect-ratio: 2 / 1; object-fit: contain; height: auto; }
.viewb9c27-slide-cap { position: static; min-height: 44px; font-size: 13px; }
.viewb9c27-slide-cta { font-size: 11px; }
.viewb9c27-xdir-links a { min-height: 44px; display: flex; align-items: center; }
.viewb9c27-record { margin: 14px 0; border-top: 1px solid var(--viewb9c27-line); border-bottom: 1px solid var(--viewb9c27-line); padding: 10px 0; }
.viewb9c27-record dt { color: var(--viewb9c27-accent-strong); font-weight: 700; }
.viewb9c27-record dd { margin-bottom: 10px; }
.viewb9c27-disclosure { margin: 14px 0; border-left: 3px solid var(--viewb9c27-accent); padding: 10px 12px; background: var(--viewb9c27-ink-deep); }
.viewb9c27-disclosure summary { min-height: 44px; cursor: pointer; font-weight: 700; }
.viewb9c27-disclosure p { margin-top: 10px; }
.viewb9c27-brief { padding: 12px; border: 1px solid var(--viewb9c27-line); background: var(--viewb9c27-ink-deep); margin: 14px 0; }
.viewb9c27-notebook { border-left: 2px solid var(--viewb9c27-accent); padding-left: 13px; margin: 18px 0; }
.viewb9c27-case { margin-top: 20px; border-top: 1px dashed var(--viewb9c27-line); padding-top: 12px; }
.viewb9c27-route { list-style: none; counter-reset: viewb9c27-route; }
.viewb9c27-route > li { counter-increment: viewb9c27-route; border-top: 1px solid var(--viewb9c27-line); padding: 12px 0; }
.viewb9c27-route > li::before { content: counter(viewb9c27-route, decimal-leading-zero); display: block; color: var(--viewb9c27-accent-strong); font-family: var(--viewb9c27-font-display); font-size: 22px; }
.viewb9c27-prompt { width: 100%; min-height: 48px; padding: 10px; margin-top: 14px; }
.viewb9c27-check li::before, .viewb9c27-check li::after { display: none; }
.viewb9c27-check li { padding-left: 12px; border-left: 1px solid var(--viewb9c27-accent); }
.viewb9c27-menu-link[aria-current='page'] { color: var(--viewb9c27-accent-strong); border-left: 3px solid var(--viewb9c27-accent); padding-left: 8px; }
.viewb9c27-main section { scroll-margin-top: 118px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
