/* ==========================================================================
   sunwin sunwinkt - mobile-first stylesheet
   File: css/responsive-3ebfce-visuals.css
   Rules:
   - every class and custom property uses the viewbfce0- prefix
   - canvas: 320-430px phone frame, centered on wider screens
   - palette: #1A1A1A base / #CD5C5C accent / #696969 muted / #FA8072 light
   - type pairing: monospace accents over a regular sans body
   ========================================================================== */

/* ---------- design tokens ---------- */
:root {
  --viewbfce0-bg: #1a1a1a;
  --viewbfce0-bg-deep: #131211;
  --viewbfce0-bg-raise: #242020;
  --viewbfce0-bg-soft: #2c2726;
  --viewbfce0-line: #3b3431;
  --viewbfce0-accent: #cd5c5c;
  --viewbfce0-accent-2: #fa8072;
  --viewbfce0-muted: #696969;
  --viewbfce0-text: #f5edea;
  --viewbfce0-text-dim: #cbbdb8;
  --viewbfce0-on-accent: #191210;
  --viewbfce0-radius: 8px;
  --viewbfce0-radius-lg: 14px;
  --viewbfce0-headh: 96px;
  --viewbfce0-navh: 60px;
  --viewbfce0-gap: 12px;
  --viewbfce0-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --viewbfce0-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--viewbfce0-bg-deep);
  color: var(--viewbfce0-text);
  font-family: var(--viewbfce0-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

:focus-visible {
  outline: 2px solid var(--viewbfce0-accent-2);
  outline-offset: 2px;
  border-radius: 4px;
}

.viewbfce0-no-scroll {
  overflow: hidden;
}

/* ---------- phone canvas ---------- */
.viewbfce0-shell {
  position: relative;
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  background:
    radial-gradient(120% 46% at 50% 0%, rgba(205, 92, 92, 0.16) 0%, rgba(205, 92, 92, 0) 62%),
    var(--viewbfce0-bg);
  overflow-x: hidden;
}

/* ---------- top action band (fixed) ---------- */
.viewbfce0-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  background: rgba(23, 20, 19, 0.96);
  border-bottom: 1px solid var(--viewbfce0-line);
  backdrop-filter: blur(8px);
}

.viewbfce0-brandrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 52px;
  padding: 6px 12px 4px;
}

.viewbfce0-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--viewbfce0-text);
}

.viewbfce0-brand:hover,
.viewbfce0-brand:focus-visible {
  text-decoration: none;
}

.viewbfce0-logo {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  object-fit: cover;
  flex: none;
}

.viewbfce0-brandname {
  font-family: var(--viewbfce0-mono);
  font-size: 14px;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.viewbfce0-brandname b {
  color: var(--viewbfce0-accent-2);
  font-weight: 700;
}

/* hamburger button (borderless symbol) */
.viewbfce0-menubtn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: var(--viewbfce0-radius);
  transition: background 0.25s ease;
}

.viewbfce0-menubtn:hover {
  background: rgba(250, 128, 114, 0.12);
}

.viewbfce0-menuline {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--viewbfce0-text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

.viewbfce0-menubtn.viewbfce0-open .viewbfce0-menuline:nth-child(2) {
  opacity: 0;
}

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

/* action row: segmented register/login + compact promo chip */
.viewbfce0-actionrow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px 8px;
}

.viewbfce0-segment {
  display: flex;
  flex: 1;
  min-height: 40px;
  border: 1px solid var(--viewbfce0-accent);
  border-radius: 10px;
  overflow: hidden;
}

.viewbfce0-segbtn {
  flex: 1;
  min-height: 40px;
  padding: 0 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  background: transparent;
  border: 0;
  color: var(--viewbfce0-accent-2);
  transition: background 0.25s ease, color 0.25s ease;
}

.viewbfce0-segbtn + .viewbfce0-segbtn {
  border-left: 1px solid var(--viewbfce0-accent);
}

.viewbfce0-segbtn:hover {
  background: rgba(205, 92, 92, 0.14);
}

.viewbfce0-segbtn-strong {
  background: linear-gradient(160deg, var(--viewbfce0-accent-2), var(--viewbfce0-accent));
  color: var(--viewbfce0-on-accent);
}

.viewbfce0-segbtn-strong:hover {
  filter: brightness(1.08);
}

.viewbfce0-quickcta {
  min-height: 40px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 700;
  border: 1px dashed var(--viewbfce0-accent-2);
  border-radius: 10px;
  background: rgba(250, 128, 114, 0.08);
  color: var(--viewbfce0-accent-2);
  white-space: nowrap;
  transition: background 0.25s ease;
}

.viewbfce0-quickcta:hover {
  background: rgba(250, 128, 114, 0.2);
}

/* ---------- zoned slide-down menu ---------- */
.viewbfce0-scrim {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(10, 8, 8, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.viewbfce0-scrim.viewbfce0-show {
  opacity: 1;
  visibility: visible;
}

.viewbfce0-menu {
  position: fixed;
  top: var(--viewbfce0-headh);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: 100%;
  max-width: 430px;
  max-height: calc(100vh - var(--viewbfce0-headh));
  overflow-y: auto;
  z-index: 65;
  background: var(--viewbfce0-bg-raise);
  border-bottom: 1px solid var(--viewbfce0-line);
  padding: 14px 14px 18px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.viewbfce0-menu.viewbfce0-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.viewbfce0-menuzone + .viewbfce0-menuzone {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--viewbfce0-line);
}

.viewbfce0-menuzonelabel {
  margin: 0 0 8px;
  font-family: var(--viewbfce0-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--viewbfce0-muted);
}

.viewbfce0-menulink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: var(--viewbfce0-radius);
  color: var(--viewbfce0-text);
  font-size: 14.5px;
  background: var(--viewbfce0-bg-soft);
  margin-bottom: 6px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.viewbfce0-menulink:hover,
.viewbfce0-menulink:focus-visible {
  background: rgba(205, 92, 92, 0.18);
  text-decoration: none;
  transform: translateY(-1px);
}

.viewbfce0-menulink small {
  font-family: var(--viewbfce0-mono);
  font-size: 10px;
  color: var(--viewbfce0-accent-2);
  white-space: nowrap;
}

.viewbfce0-menucta {
  width: 100%;
  min-height: 46px;
  margin-top: 14px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(160deg, var(--viewbfce0-accent-2), var(--viewbfce0-accent));
  color: var(--viewbfce0-on-accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.3px;
  transition: filter 0.25s ease;
}

.viewbfce0-menucta:hover {
  filter: brightness(1.1);
}

/* ---------- main column ---------- */
.viewbfce0-main {
  padding: calc(var(--viewbfce0-headh) + 10px) 12px calc(var(--viewbfce0-navh) + 26px + env(safe-area-inset-bottom, 0px));
}

.viewbfce0-sec {
  margin: 0 0 22px;
  animation: viewbfce0-fade 0.4s ease both;
}

/* ---------- hero heading block ---------- */
.viewbfce0-hero {
  padding: 2px 2px 0;
}

.viewbfce0-h1 {
  margin: 0 0 6px;
  font-size: 21px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--viewbfce0-text);
}

.viewbfce0-h1 em {
  font-style: normal;
  color: var(--viewbfce0-accent-2);
}

.viewbfce0-lead {
  margin: 0;
  font-size: 13.5px;
  color: var(--viewbfce0-text-dim);
}

/* ---------- promo carousel ---------- */
.viewbfce0-carousel {
  position: relative;
  margin-top: 14px;
  border-radius: var(--viewbfce0-radius-lg);
  overflow: hidden;
  border: 1px solid var(--viewbfce0-line);
  background: var(--viewbfce0-bg-raise);
}

.viewbfce0-slide {
  display: none;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.viewbfce0-slide.viewbfce0-is-on {
  display: block;
  animation: viewbfce0-fade 0.45s ease both;
}

.viewbfce0-slideimg {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.viewbfce0-slidecap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  font-family: var(--viewbfce0-mono);
  font-size: 11px;
  letter-spacing: 0.4px;
  color: var(--viewbfce0-text-dim);
  background: rgba(19, 18, 17, 0.6);
}

.viewbfce0-slidecap b {
  color: var(--viewbfce0-accent-2);
  font-weight: 700;
  white-space: nowrap;
}

.viewbfce0-dots {
  position: absolute;
  right: 10px;
  bottom: 44px;
  display: flex;
  gap: 6px;
}

.viewbfce0-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(245, 237, 234, 0.35);
  transition: background 0.25s ease, transform 0.25s ease;
}

.viewbfce0-dot.viewbfce0-is-on {
  background: var(--viewbfce0-accent-2);
  transform: scale(1.15);
}

/* ---------- compact metric strip ---------- */
.viewbfce0-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0 4px;
}

.viewbfce0-metric {
  padding: 10px 8px 9px;
  border-radius: var(--viewbfce0-radius);
  background: var(--viewbfce0-bg-raise);
  border: 1px solid var(--viewbfce0-line);
  text-align: center;
}

.viewbfce0-metricnum {
  display: block;
  font-family: var(--viewbfce0-mono);
  font-size: 19px;
  font-weight: 700;
  color: var(--viewbfce0-accent-2);
  line-height: 1.15;
}

.viewbfce0-metriclabel {
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  line-height: 1.35;
  color: var(--viewbfce0-text-dim);
}

/* ---------- game directory blocks ---------- */
.viewbfce0-gblock {
  margin: 0 0 20px;
  animation: viewbfce0-fade 0.4s ease both;
}

.viewbfce0-cathead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
  padding-left: 9px;
  border-left: 3px solid var(--viewbfce0-accent);
}

.viewbfce0-cattitle {
  margin: 0;
  font-family: var(--viewbfce0-mono);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--viewbfce0-text);
}

.viewbfce0-catmeta {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  white-space: nowrap;
}

.viewbfce0-catcount {
  font-family: var(--viewbfce0-mono);
  font-size: 10px;
  color: var(--viewbfce0-muted);
}

.viewbfce0-catmore {
  font-family: var(--viewbfce0-mono);
  font-size: 10.5px;
  color: var(--viewbfce0-accent-2);
}

.viewbfce0-catmore::after {
  content: " >";
}

/* compact square tile grid: 4 columns at 320px, 5 from 375px */
.viewbfce0-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 6px;
}

.viewbfce0-tile {
  display: flex;
  flex-direction: column;
  padding: 5px 4px 6px;
  border: 1px solid var(--viewbfce0-line);
  border-radius: var(--viewbfce0-radius);
  background: var(--viewbfce0-bg-raise);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.viewbfce0-tile:hover {
  transform: translateY(-2px);
  border-color: var(--viewbfce0-accent);
}

.viewbfce0-tileimg {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  object-fit: cover;
  background: var(--viewbfce0-bg-soft);
}

.viewbfce0-tilename {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  margin-top: 5px;
  font-family: var(--viewbfce0-mono);
  font-size: 10px;
  line-height: 1.35;
  color: var(--viewbfce0-text-dim);
  text-align: center;
  overflow-wrap: anywhere;
}

/* ---------- prose sections ---------- */
.viewbfce0-h2 {
  margin: 0 0 9px;
  font-size: 17.5px;
  line-height: 1.4;
  font-weight: 800;
  color: var(--viewbfce0-text);
}

.viewbfce0-h2 span {
  color: var(--viewbfce0-accent-2);
}

.viewbfce0-p {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--viewbfce0-text-dim);
}

.viewbfce0-p b,
.viewbfce0-p strong {
  color: var(--viewbfce0-text);
}

.viewbfce0-kicker {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(205, 92, 92, 0.16);
  font-family: var(--viewbfce0-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--viewbfce0-accent-2);
}

/* category highlight cards: lead term + short explanation */
.viewbfce0-hl {
  display: grid;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.viewbfce0-hlitem {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--viewbfce0-line);
  border-radius: var(--viewbfce0-radius);
  background: var(--viewbfce0-bg-raise);
}

.viewbfce0-hlkey {
  font-family: var(--viewbfce0-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--viewbfce0-accent-2);
  text-transform: uppercase;
  line-height: 1.4;
  align-self: start;
}

.viewbfce0-hltext {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--viewbfce0-text-dim);
}

/* step summary: numbered compact rows */
.viewbfce0-steps {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.viewbfce0-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px;
  border-radius: var(--viewbfce0-radius);
  background: var(--viewbfce0-bg-raise);
  border: 1px solid var(--viewbfce0-line);
}

.viewbfce0-stepnum {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(205, 92, 92, 0.2);
  font-family: var(--viewbfce0-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--viewbfce0-accent-2);
}

.viewbfce0-steptext {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--viewbfce0-text-dim);
}

.viewbfce0-steptext b {
  color: var(--viewbfce0-text);
}

/* FAQ accordion */
.viewbfce0-faq {
  display: grid;
  gap: 8px;
}

.viewbfce0-qa {
  border: 1px solid var(--viewbfce0-line);
  border-radius: var(--viewbfce0-radius);
  background: var(--viewbfce0-bg-raise);
  overflow: hidden;
}

.viewbfce0-q {
  display: block;
  padding: 12px 12px 12px 14px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--viewbfce0-text);
  background: transparent;
  border: 0;
  width: 100%;
  text-align: left;
  position: relative;
}

.viewbfce0-q::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 12px;
  font-family: var(--viewbfce0-mono);
  color: var(--viewbfce0-accent-2);
  font-weight: 700;
}

.viewbfce0-qa[open] .viewbfce0-q::before {
  content: "-";
}

.viewbfce0-a {
  margin: 0;
  padding: 0 12px 12px 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--viewbfce0-text-dim);
}

.viewbfce0-a + .viewbfce0-a {
  margin-top: 6px;
}

/* inline promo link inside prose */
.viewbfce0-textpromo {
  display: inline;
  padding: 1px 4px;
  border-radius: 5px;
  background: rgba(250, 128, 114, 0.14);
  font-family: var(--viewbfce0-mono);
  font-size: 12.5px;
  color: var(--viewbfce0-accent-2);
  font-weight: 700;
  border: 0;
  transition: background 0.25s ease;
}

.viewbfce0-textpromo:hover {
  background: rgba(250, 128, 114, 0.3);
  text-decoration: none;
}

/* ---------- extended footer (homepage only) ---------- */
.viewbfce0-xfoot {
  margin-top: 26px;
  padding: 16px 13px 14px;
  border: 1px solid var(--viewbfce0-line);
  border-radius: var(--viewbfce0-radius-lg);
  background: var(--viewbfce0-bg-raise);
}

.viewbfce0-xfootzone + .viewbfce0-xfootzone {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--viewbfce0-line);
}

.viewbfce0-xfootlabel {
  margin: 0 0 8px;
  font-family: var(--viewbfce0-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--viewbfce0-muted);
}

.viewbfce0-xfootbrand {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--viewbfce0-text-dim);
}

.viewbfce0-xfootbrand b {
  color: var(--viewbfce0-text);
}

/* five promo action rows */
.viewbfce0-promos {
  display: grid;
  gap: 7px;
}

.viewbfce0-promoitem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid rgba(205, 92, 92, 0.55);
  border-radius: var(--viewbfce0-radius);
  background: rgba(205, 92, 92, 0.1);
  font-size: 13px;
  font-weight: 600;
  color: var(--viewbfce0-text);
  text-align: left;
  transition: background 0.25s ease, transform 0.2s ease;
}

.viewbfce0-promoitem:hover {
  background: rgba(205, 92, 92, 0.22);
  transform: translateY(-1px);
}

.viewbfce0-promoitem small {
  font-family: var(--viewbfce0-mono);
  font-size: 10px;
  color: var(--viewbfce0-accent-2);
  white-space: nowrap;
}

/* two-column page directory */
.viewbfce0-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.viewbfce0-dirlink {
  display: block;
  padding: 8px 9px;
  border-radius: var(--viewbfce0-radius);
  background: var(--viewbfce0-bg-soft);
  font-size: 12px;
  line-height: 1.4;
  color: var(--viewbfce0-text-dim);
  transition: background 0.25s ease, color 0.25s ease;
}

.viewbfce0-dirlink:hover,
.viewbfce0-dirlink:focus-visible {
  background: rgba(250, 128, 114, 0.16);
  color: var(--viewbfce0-text);
  text-decoration: none;
}

.viewbfce0-dirlink b {
  display: block;
  font-size: 12.5px;
  color: var(--viewbfce0-text);
}

/* short factual disclaimer */
.viewbfce0-note {
  margin: 0;
  padding: 10px 11px;
  border-left: 3px solid var(--viewbfce0-muted);
  border-radius: 6px;
  background: rgba(105, 105, 105, 0.14);
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--viewbfce0-text-dim);
}

/* ---------- copyright band ---------- */
.viewbfce0-copy {
  margin-top: 16px;
  padding: 12px 4px 4px;
  border-top: 1px solid var(--viewbfce0-line);
  text-align: center;
  font-family: var(--viewbfce0-mono);
  font-size: 10.5px;
  letter-spacing: 0.6px;
  color: var(--viewbfce0-muted);
}

/* ---------- fixed segmented bottom bar (5 roles) ---------- */
.viewbfce0-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 75;
  display: flex;
  align-items: stretch;
  min-height: var(--viewbfce0-navh);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(21, 18, 17, 0.97);
  border-top: 1px solid var(--viewbfce0-line);
  backdrop-filter: blur(8px);
}

.viewbfce0-bnavitem {
  flex: 1;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 7px 2px 6px;
  border: 0;
  background: transparent;
  color: var(--viewbfce0-muted);
  text-decoration: none;
  position: relative;
  transition: color 0.25s ease;
}

.viewbfce0-bnavitem + .viewbfce0-bnavitem::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--viewbfce0-line);
}

.viewbfce0-bnavitem:hover {
  color: var(--viewbfce0-text-dim);
  text-decoration: none;
}

.viewbfce0-bnavicon {
  width: 21px;
  height: 21px;
  flex: none;
}

.viewbfce0-bnavicon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.viewbfce0-bnavlabel {
  font-family: var(--viewbfce0-mono);
  font-size: 9.5px;
  letter-spacing: 0.4px;
  line-height: 1;
}

.viewbfce0-bnavitem.viewbfce0-is-active {
  color: var(--viewbfce0-accent-2);
  transform: translateY(-2px);
}

.viewbfce0-bnavitem.viewbfce0-is-active::after {
  content: "";
  position: absolute;
  top: 0;
  left: 26%;
  right: 26%;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: var(--viewbfce0-accent-2);
}

/* ---------- restrained motion ---------- */
@keyframes viewbfce0-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* ---------- breakpoints ---------- */
/* 5-column game grid once the canvas has room */
@media (min-width: 375px) {
  .viewbfce0-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .viewbfce0-h1 {
    font-size: 22.5px;
  }
}

/* full-width phone canvas at the 430px boundary */
@media (min-width: 430px) {
  .viewbfce0-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .viewbfce0-grid {
    gap: 10px 8px;
  }

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

  .viewbfce0-dir {
    gap: 8px;
  }

  .viewbfce0-h2 {
    font-size: 18.5px;
  }
}

/* desktop frame: keep the centered phone canvas visible */
@media (min-width: 480px) {
  body {
    background: #0d0c0b;
  }

  .viewbfce0-shell {
    box-shadow: 0 0 0 1px #2b2624, 0 18px 60px rgba(0, 0, 0, 0.55);
  }
}

/* ---------- help-page patterns ---------- */
.viewbfce0-helpintro {
  padding: 14px 13px 15px;
  border-left: 4px solid var(--viewbfce0-accent-2);
  border-radius: 0 var(--viewbfce0-radius-lg) var(--viewbfce0-radius-lg) 0;
  background: linear-gradient(135deg, rgba(205, 92, 92, 0.2), var(--viewbfce0-bg-raise));
}

.viewbfce0-helpintro .viewbfce0-p:last-child {
  margin-bottom: 0;
}

.viewbfce0-tiprail {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0 0 0 13px;
  list-style: none;
  border-left: 1px solid var(--viewbfce0-accent);
}

.viewbfce0-tipnode {
  position: relative;
  padding: 11px 12px 12px;
  border: 1px solid var(--viewbfce0-line);
  border-radius: var(--viewbfce0-radius);
  background: var(--viewbfce0-bg-raise);
}

.viewbfce0-tipnode::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  left: -18px;
  top: 17px;
  border: 2px solid var(--viewbfce0-accent-2);
  border-radius: 50%;
  background: var(--viewbfce0-bg);
}

.viewbfce0-tipnode h3,
.viewbfce0-safeband h3 {
  margin: 0 0 5px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--viewbfce0-text);
}

.viewbfce0-tipnode p,
.viewbfce0-safeband p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--viewbfce0-text-dim);
}

.viewbfce0-tipnode b,
.viewbfce0-safeband b {
  color: var(--viewbfce0-accent-2);
}

.viewbfce0-signalrow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.viewbfce0-signal {
  padding: 4px 7px;
  border-radius: 5px;
  background: rgba(250, 128, 114, 0.12);
  font-family: var(--viewbfce0-mono);
  font-size: 10px;
  color: var(--viewbfce0-accent-2);
}

.viewbfce0-safeband {
  padding: 12px;
  border: 1px solid var(--viewbfce0-line);
  border-radius: var(--viewbfce0-radius-lg);
  background: var(--viewbfce0-bg-raise);
}

.viewbfce0-safeband + .viewbfce0-safeband {
  margin-top: 9px;
}

.viewbfce0-safeband-critical {
  border-color: rgba(250, 128, 114, 0.68);
  background: rgba(205, 92, 92, 0.12);
}

.viewbfce0-verifygrid {
  display: grid;
  gap: 7px;
  margin-top: 9px;
}

.viewbfce0-verifyitem {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 9px;
  align-items: start;
  padding: 9px;
  border-bottom: 1px solid var(--viewbfce0-line);
}

.viewbfce0-verifyitem:last-child {
  border-bottom: 0;
}

.viewbfce0-verifybadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--viewbfce0-accent);
  font-family: var(--viewbfce0-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--viewbfce0-on-accent);
}

.viewbfce0-verifyitem p {
  margin: 0;
  font-size: 12.8px;
  line-height: 1.55;
  color: var(--viewbfce0-text-dim);
}

.viewbfce0-verifyitem b {
  color: var(--viewbfce0-text);
}

.viewbfce0-safetytable {
  display: grid;
  gap: 7px;
}

.viewbfce0-safetyrow {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 9px;
  padding: 10px;
  border-radius: var(--viewbfce0-radius);
  background: var(--viewbfce0-bg-raise);
  border: 1px solid var(--viewbfce0-line);
}

.viewbfce0-safetyrow strong {
  font-family: var(--viewbfce0-mono);
  font-size: 11px;
  line-height: 1.45;
  color: var(--viewbfce0-accent-2);
}

.viewbfce0-safetyrow span {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--viewbfce0-text-dim);
}

.viewbfce0-checklist {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.viewbfce0-checkitem {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px;
  border-radius: var(--viewbfce0-radius);
  background: var(--viewbfce0-bg-raise);
  border: 1px solid var(--viewbfce0-line);
  font-size: 13px;
  line-height: 1.5;
  color: var(--viewbfce0-text-dim);
}

.viewbfce0-checkitem::before {
  content: "✓";
  flex: none;
  color: var(--viewbfce0-accent-2);
  font-family: var(--viewbfce0-mono);
  font-weight: 700;
}

.viewbfce0-checkitem b {
  color: var(--viewbfce0-text);
}

.viewbfce0-alertline {
  padding: 10px 11px;
  border-left: 3px solid var(--viewbfce0-accent-2);
  border-radius: 5px;
  background: rgba(250, 128, 114, 0.11);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--viewbfce0-text-dim);
}

.viewbfce0-alertline b {
  color: var(--viewbfce0-text);
}

.viewbfce0-helpcta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--viewbfce0-accent);
  border-radius: 10px;
  background: rgba(205, 92, 92, 0.14);
  color: var(--viewbfce0-text);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
}

.viewbfce0-helpcta:hover {
  background: rgba(250, 128, 114, 0.22);
  text-decoration: none;
}

.viewbfce0-helpcta small {
  color: var(--viewbfce0-accent-2);
  font-family: var(--viewbfce0-mono);
  font-size: 10px;
  white-space: nowrap;
}

@media (max-width: 340px) {
  .viewbfce0-safetyrow {
    grid-template-columns: 76px 1fr;
  }

  .viewbfce0-tipnode {
    padding-left: 10px;
    padding-right: 10px;
  }
}
