/* ==========================================================================
   1xbet benin - palette stylesheet (mobile-first canvas 320-430px)
   Class prefix : view1bf55-
   Palette      : #FF7F50 / #E9967A / #CD853F / #1B263B / #A0522D / #C0C0C0
   Tone         : stroke-led corners, horizontal icon-name strips,
                  question-driven rhythm, short-distance transitions
   ========================================================================== */

/* ---------- design tokens ---------- */
:root {
  --view1bf55-ink: #1B263B;          /* deep navy base background */
  --view1bf55-ink-deep: #121A2A;     /* page backdrop behind canvas */
  --view1bf55-panel: #22304C;        /* raised panel surface */
  --view1bf55-panel-2: #1A2540;      /* recessed surface */
  --view1bf55-coral: #FF7F50;        /* primary action */
  --view1bf55-salmon: #E9967A;       /* secondary accent */
  --view1bf55-peru: #CD853F;         /* warm border tone */
  --view1bf55-sienna: #A0522D;       /* deep border tone */
  --view1bf55-silver: #C0C0C0;       /* body text */
  --view1bf55-cream: #F5EDE3;        /* display text on dark */
  --view1bf55-ink-soft: #101827;     /* text on coral */
  --view1bf55-radius: 8px;
  --view1bf55-radius-lg: 12px;
  --view1bf55-stroke: 1px solid rgba(160, 82, 45, 0.55);
  --view1bf55-stroke-soft: 1px solid rgba(205, 133, 63, 0.32);
  --view1bf55-font-display: 'Oswald', 'Arial Narrow', system-ui, sans-serif;
  --view1bf55-font-body: -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(--view1bf55-ink-deep);
  color: var(--view1bf55-silver);
  font-family: var(--view1bf55-font-body);
  font-size: 15px;
  line-height: 1.62;
  -webkit-tap-highlight-color: rgba(255, 127, 80, 0.16);
  overflow-x: hidden;
}

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

a { color: var(--view1bf55-salmon); text-decoration: none; }
a:hover { color: var(--view1bf55-coral); }

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

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

.view1bf55-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--view1bf55-coral);
  color: var(--view1bf55-ink-soft);
  padding: 10px 16px;
  font-weight: 700;
  z-index: 120;
  border-radius: 0 0 var(--view1bf55-radius) 0;
}
.view1bf55-skip:focus { left: 0; }

/* ---------- phone canvas ---------- */
.view1bf55-shell {
  max-width: 430px;
  margin: 0 auto;
  background: var(--view1bf55-ink);
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 44px rgba(0, 0, 0, 0.55);
  overflow-x: clip;
}

/* ==========================================================================
   Fixed top bar : asymmetric brand header + action row + route panel
   ========================================================================== */
.view1bf55-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: rgba(27, 38, 59, 0.97);
  border-bottom: var(--view1bf55-stroke);
  transition: box-shadow 0.25s ease;
}
.view1bf55-topbar.view1bf55-scrolled {
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.42);
}

.view1bf55-brandrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px 6px;
}

/* brand zone : logo image + site name only */
.view1bf55-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  min-width: 0;
}
.view1bf55-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--view1bf55-radius);
  border: var(--view1bf55-stroke);
  flex: 0 0 auto;
  object-fit: cover;
}
.view1bf55-brandname {
  font-family: var(--view1bf55-font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--view1bf55-cream);
  line-height: 1.1;
  white-space: nowrap;
}
.view1bf55-brandname::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-top: 3px;
  background: linear-gradient(90deg, var(--view1bf55-coral), transparent);
}

/* menu trigger */
.view1bf55-menubtn {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 12px;
  border: var(--view1bf55-stroke);
  border-radius: var(--view1bf55-radius);
  color: var(--view1bf55-silver);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.view1bf55-menubtn:hover {
  color: var(--view1bf55-cream);
  border-color: var(--view1bf55-coral);
}
.view1bf55-menubtn-bars,
.view1bf55-menubtn-bars::before,
.view1bf55-menubtn-bars::after {
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  display: block;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.view1bf55-menubtn-bars { position: relative; }
.view1bf55-menubtn-bars::before,
.view1bf55-menubtn-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.view1bf55-menubtn-bars::before { top: -5px; }
.view1bf55-menubtn-bars::after { top: 5px; }
.view1bf55-topbar.view1bf55-menuopen .view1bf55-menubtn-bars { background: transparent; }
.view1bf55-topbar.view1bf55-menuopen .view1bf55-menubtn-bars::before {
  transform: translateY(5px) rotate(45deg);
}
.view1bf55-topbar.view1bf55-menuopen .view1bf55-menubtn-bars::after {
  transform: translateY(-5px) rotate(-45deg);
}

/* action zone : register / login */
.view1bf55-actionrow {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 8px;
  padding: 0 12px 10px;
}
.view1bf55-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--view1bf55-radius);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.15s ease;
}
.view1bf55-btn:active { transform: translateY(1px); }
.view1bf55-btn svg { flex: 0 0 auto; }
.view1bf55-btn--register {
  background: var(--view1bf55-coral);
  color: var(--view1bf55-ink-soft);
  border: 1px solid var(--view1bf55-coral);
}
.view1bf55-btn--register:hover {
  background: var(--view1bf55-salmon);
  border-color: var(--view1bf55-salmon);
}
.view1bf55-btn--login {
  background: transparent;
  color: var(--view1bf55-cream);
  border: var(--view1bf55-stroke);
}
.view1bf55-btn--login:hover {
  border-color: var(--view1bf55-salmon);
  color: var(--view1bf55-salmon);
}

/* compact route panel */
.view1bf55-menupanel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--view1bf55-panel-2);
  border-top: 0 solid transparent;
}
.view1bf55-topbar.view1bf55-menuopen .view1bf55-menupanel {
  max-height: 560px;
  border-top: var(--view1bf55-stroke-soft);
}
.view1bf55-mgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 10px;
  padding: 10px 12px 14px;
}
.view1bf55-mgrid--wide { grid-template-columns: 1fr; }
.view1bf55-mlabel {
  grid-column: 1 / -1;
  margin: 8px 0 2px;
  font-family: var(--view1bf55-font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--view1bf55-peru);
}
.view1bf55-mlink {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 10px;
  border-radius: var(--view1bf55-radius);
  color: var(--view1bf55-silver);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.view1bf55-mlink:hover {
  color: var(--view1bf55-cream);
  border-color: var(--view1bf55-stroke-soft);
}
.view1bf55-mlink--on {
  background: var(--view1bf55-coral);
  color: var(--view1bf55-ink-soft);
  font-weight: 700;
}

/* ==========================================================================
   Main canvas flow
   ========================================================================== */
.view1bf55-main {
  padding: 150px 12px calc(96px + env(safe-area-inset-bottom));
}

/* ---------- hero ---------- */
.view1bf55-hero {
  padding: 14px 2px 4px;
}
.view1bf55-h1 {
  margin: 0 0 10px;
  font-family: var(--view1bf55-font-display);
  font-size: 27px;
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--view1bf55-cream);
}
.view1bf55-h1 em {
  font-style: normal;
  color: var(--view1bf55-coral);
}
.view1bf55-lead {
  margin: 0;
  font-size: 14.5px;
  color: var(--view1bf55-silver);
  border-left: 3px solid var(--view1bf55-sienna);
  padding-left: 12px;
}

/* ---------- promo carousel ---------- */
.view1bf55-carousel {
  margin: 16px 0 6px;
}
.view1bf55-cviewport {
  border-radius: var(--view1bf55-radius-lg);
  border: var(--view1bf55-stroke);
  overflow: hidden;
  background: var(--view1bf55-panel-2);
}
.view1bf55-ctrack {
  display: flex;
  transition: transform 0.42s ease;
}
.view1bf55-cslide {
  flex: 0 0 100%;
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
}
.view1bf55-cslide-img {
  width: 100%;
  aspect-ratio: 2.24 / 1;
  object-fit: cover;
}
.view1bf55-ccaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(16, 24, 39, 0) 0%, rgba(16, 24, 39, 0.92) 78%);
}
.view1bf55-ctitle {
  font-family: var(--view1bf55-font-display);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--view1bf55-cream);
  margin: 0;
}
.view1bf55-csub {
  margin: 2px 0 0;
  font-size: 11.5px;
  color: var(--view1bf55-silver);
}
.view1bf55-ccue {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-radius: var(--view1bf55-radius);
  background: var(--view1bf55-coral);
  color: var(--view1bf55-ink-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.view1bf55-cdots {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 8px;
}
.view1bf55-cdot {
  min-width: 44px;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.view1bf55-cdot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--view1bf55-sienna);
  transition: background 0.2s ease, transform 0.2s ease;
}
.view1bf55-cdot.view1bf55-cdot--on::before {
  background: var(--view1bf55-coral);
  transform: scale(1.3);
}

/* ---------- question chips ---------- */
.view1bf55-qchips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 2px 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.view1bf55-qchips::-webkit-scrollbar { display: none; }
.view1bf55-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  border: var(--view1bf55-stroke);
  border-radius: 999px;
  color: var(--view1bf55-silver);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.view1bf55-chip:hover {
  color: var(--view1bf55-cream);
  border-color: var(--view1bf55-coral);
  background: rgba(255, 127, 80, 0.08);
}
.view1bf55-chip svg { color: var(--view1bf55-coral); }

/* ==========================================================================
   Content blocks
   ========================================================================== */
.view1bf55-block {
  margin-top: 26px;
  padding: 16px 13px;
  background: var(--view1bf55-panel-2);
  border: var(--view1bf55-stroke-soft);
  border-radius: var(--view1bf55-radius-lg);
}
.view1bf55-h2 {
  margin: 0 0 8px;
  font-family: var(--view1bf55-font-display);
  font-size: 19.5px;
  line-height: 1.28;
  font-weight: 600;
  color: var(--view1bf55-cream);
  padding-left: 10px;
  border-left: 3px solid var(--view1bf55-coral);
}
.view1bf55-note {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--view1bf55-silver);
}
.view1bf55-note a { font-weight: 600; }
.view1bf55-tip {
  margin: 10px 0 12px;
  padding: 8px 12px;
  border: var(--view1bf55-stroke-soft);
  border-left: 3px solid var(--view1bf55-peru);
  border-radius: 0 var(--view1bf55-radius) var(--view1bf55-radius) 0;
  font-size: 13px;
  color: var(--view1bf55-silver);
}
.view1bf55-tip strong { color: var(--view1bf55-peru); font-weight: 700; }
.view1bf55-h3 {
  margin: 0 0 4px;
  font-family: var(--view1bf55-font-display);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--view1bf55-salmon);
  line-height: 1.3;
}

/* ---------- game grid (4 cols, 5 at >=430px) ---------- */
.view1bf55-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 7px;
}
.view1bf55-gtile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 7px 5px 8px;
  background: var(--view1bf55-panel);
  border: var(--view1bf55-stroke-soft);
  border-radius: var(--view1bf55-radius);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.view1bf55-gtile:hover {
  border-color: var(--view1bf55-coral);
  background: #26365a;
}
.view1bf55-gtile-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  border: 1px solid rgba(160, 82, 45, 0.4);
  object-fit: cover;
  background: var(--view1bf55-ink);
}
.view1bf55-gname {
  font-size: 11px;
  line-height: 1.3;
  text-align: center;
  color: var(--view1bf55-silver);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 29px;
  word-break: break-word;
}
.view1bf55-gtile:hover .view1bf55-gname { color: var(--view1bf55-cream); }

/* ---------- horizontal icon-name strips (fishing / live lists) ---------- */
.view1bf55-strips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.view1bf55-strip {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 56px;
  padding: 7px 9px;
  background: var(--view1bf55-panel);
  border: var(--view1bf55-stroke-soft);
  border-radius: var(--view1bf55-radius);
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.view1bf55-strip:hover { border-color: var(--view1bf55-coral); background: #26365a; }
.view1bf55-strip-img {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 6px;
  border: 1px solid rgba(160, 82, 45, 0.4);
  object-fit: cover;
  background: var(--view1bf55-ink);
}
.view1bf55-strip-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--view1bf55-silver);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.view1bf55-strip:hover .view1bf55-strip-name { color: var(--view1bf55-cream); }
.view1bf55-strip-arrow {
  flex: 0 0 auto;
  color: var(--view1bf55-sienna);
  transition: color 0.2s ease, transform 0.2s ease;
}
.view1bf55-strip:hover .view1bf55-strip-arrow {
  color: var(--view1bf55-coral);
  transform: translateX(2px);
}

/* section top strip : heading + count badge */
.view1bf55-secrow {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.view1bf55-count {
  flex: 0 0 auto;
  font-family: var(--view1bf55-font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--view1bf55-peru);
  border: var(--view1bf55-stroke-soft);
  border-radius: 999px;
  padding: 2px 9px;
}

/* ---------- milestone ladder ---------- */
.view1bf55-ladder {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  counter-reset: view1bf55step;
}
.view1bf55-lstep {
  counter-increment: view1bf55step;
  position: relative;
  padding: 10px 0 10px 44px;
  border-bottom: var(--view1bf55-stroke-soft);
}
.view1bf55-lstep:last-child { border-bottom: none; }
.view1bf55-lstep::before {
  content: counter(view1bf55step);
  position: absolute;
  left: 0;
  top: 12px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--view1bf55-coral);
  border-radius: 50%;
  color: var(--view1bf55-coral);
  font-family: var(--view1bf55-font-display);
  font-size: 14px;
  font-weight: 600;
}
.view1bf55-lstep p { margin: 0; font-size: 13.5px; }
.view1bf55-verify {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--view1bf55-silver);
}
.view1bf55-verify strong { color: var(--view1bf55-peru); font-weight: 700; }

/* ---------- decision / CTA panel ---------- */
.view1bf55-ctapanel {
  border: 1px solid rgba(255, 127, 80, 0.5);
  background: linear-gradient(180deg, rgba(255, 127, 80, 0.09), rgba(34, 48, 76, 0.4));
  border-radius: var(--view1bf55-radius-lg);
  padding: 14px 13px;
}
.view1bf55-checklist {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}
.view1bf55-checklist li {
  position: relative;
  padding: 6px 0 6px 30px;
  font-size: 14px;
}
.view1bf55-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--view1bf55-salmon);
  border-radius: 4px;
  background:
    linear-gradient(var(--view1bf55-salmon), var(--view1bf55-salmon)) center / 8px 8px
    no-repeat;
}
.view1bf55-btncol {
  display: grid;
  gap: 8px;
}
.view1bf55-btncol .view1bf55-btn--register { width: 100%; }
.view1bf55-aftercta {
  margin: 12px 0 0;
  font-size: 13px;
}

/* ---------- steps (app) ---------- */
.view1bf55-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.view1bf55-steps li {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-bottom: var(--view1bf55-stroke-soft);
  font-size: 13.5px;
}
.view1bf55-steps li:last-child { border-bottom: none; }
.view1bf55-stepn {
  flex: 0 0 auto;
  font-family: var(--view1bf55-font-display);
  font-weight: 600;
  color: var(--view1bf55-ink-soft);
  background: var(--view1bf55-peru);
  border-radius: 6px;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  margin-top: 1px;
}

/* ---------- feature rows ---------- */
.view1bf55-featlist {
  margin: 4px 0 0;
  border-top: var(--view1bf55-stroke-soft);
}
.view1bf55-frow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 10px 0;
  border-bottom: var(--view1bf55-stroke-soft);
}
.view1bf55-fdt {
  font-family: var(--view1bf55-font-display);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--view1bf55-cream);
}
.view1bf55-fdd {
  margin: 0;
  font-size: 13.5px;
  color: var(--view1bf55-silver);
}

/* ---------- question / answer pairs ---------- */
.view1bf55-qa {
  padding: 11px 0;
  border-bottom: var(--view1bf55-stroke-soft);
}
.view1bf55-qa:last-child { border-bottom: none; padding-bottom: 2px; }
.view1bf55-qa p { margin: 0; font-size: 13.5px; }

/* ---------- readiness checklist ---------- */
.view1bf55-readylist {
  list-style: none;
  counter-reset: view1bf55ready;
  margin: 4px 0 0;
  padding: 0;
}
.view1bf55-readylist li {
  counter-increment: view1bf55ready;
  position: relative;
  padding: 8px 0 8px 36px;
  font-size: 13.5px;
  border-bottom: var(--view1bf55-stroke-soft);
}
.view1bf55-readylist li:last-child { border-bottom: none; }
.view1bf55-readylist li::before {
  content: counter(view1bf55ready, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 10px;
  font-family: var(--view1bf55-font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--view1bf55-coral);
  border-bottom: 2px solid var(--view1bf55-sienna);
  padding-bottom: 1px;
}

/* ==========================================================================
   Extended footer (home only) + common footer + dock
   ========================================================================== */
.view1bf55-xfoot {
  margin-top: 28px;
  padding: 16px 13px;
  border: var(--view1bf55-stroke);
  border-radius: var(--view1bf55-radius-lg);
  background: var(--view1bf55-panel);
}
.view1bf55-xbrand {
  margin: 0 0 6px;
  font-size: 13.5px;
}
.view1bf55-xlabel {
  margin: 16px 0 8px;
  font-family: var(--view1bf55-font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--view1bf55-peru);
}
.view1bf55-xpromos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.view1bf55-xbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 46px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 127, 80, 0.55);
  border-radius: var(--view1bf55-radius);
  background: rgba(255, 127, 80, 0.07);
  color: var(--view1bf55-cream);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.view1bf55-xbtn:hover {
  background: var(--view1bf55-coral);
  color: var(--view1bf55-ink-soft);
  border-color: var(--view1bf55-coral);
}
.view1bf55-xbtn--full { grid-column: 1 / -1; }
.view1bf55-xbtn svg { flex: 0 0 auto; }

.view1bf55-xdirgroup { margin-top: 10px; }
.view1bf55-xdlabel {
  margin: 0 0 4px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--view1bf55-sienna);
  font-weight: 700;
}
.view1bf55-xdirlinks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 10px;
}
.view1bf55-xdlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 2px;
  font-size: 13px;
  color: var(--view1bf55-silver);
  border-bottom: 1px dotted rgba(160, 82, 45, 0.4);
  transition: color 0.2s ease;
}
.view1bf55-xdlink:hover { color: var(--view1bf55-coral); }

.view1bf55-xdisc {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: var(--view1bf55-stroke-soft);
  font-size: 12px;
  line-height: 1.6;
  color: #9aa4b5;
}

/* common page footer */
.view1bf55-pagefoot {
  margin-top: 18px;
  padding: 14px 12px 10px;
  border-top: var(--view1bf55-stroke-soft);
  text-align: center;
}
.view1bf55-pagefoot p {
  margin: 0;
  font-size: 12.5px;
  color: #9aa4b5;
}

/* ==========================================================================
   Fixed segmented action dock (5 roles)
   ========================================================================== */
.view1bf55-dock {
  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);
  gap: 2px;
  padding: 5px 6px calc(5px + env(safe-area-inset-bottom));
  background: rgba(18, 26, 42, 0.98);
  border-top: var(--view1bf55-stroke);
}
.view1bf55-dockitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  padding: 2px 2px;
  border-radius: 10px;
  color: var(--view1bf55-silver);
  transition: color 0.2s ease, background 0.2s ease;
}
.view1bf55-dockitem svg { display: block; }
.view1bf55-docklabel {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
}
.view1bf55-dockitem:hover { color: var(--view1bf55-cream); }
.view1bf55-dockitem--on {
  background: var(--view1bf55-coral);
  color: var(--view1bf55-ink-soft);
}
.view1bf55-dockitem--on:hover { color: var(--view1bf55-ink-soft); }

/* ==========================================================================
   Short-distance reveal transitions (JS-applied)
   ========================================================================== */
.view1bf55-rv-hide {
  opacity: 0;
  transform: translateY(10px);
}
.view1bf55-rv-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.38s ease, transform 0.38s ease;
}

/* ==========================================================================
   Wide-phone breakpoint (stable 5th column, larger display text)
   ========================================================================== */
@media (min-width: 430px) {
  .view1bf55-grid { grid-template-columns: repeat(5, 1fr); }
  .view1bf55-h1 { font-size: 29px; }
  .view1bf55-h2 { font-size: 21px; }
  .view1bf55-gname { font-size: 11.5px; }
  .view1bf55-strip { min-height: 58px; }
}

/* desktop : keep the phone canvas centered, dim the sides */
@media (min-width: 700px) {
  body {
    background:
      radial-gradient(1200px 600px at 50% -10%, #22304c33, transparent),
      var(--view1bf55-ink-deep);
  }
}

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

/* ---------- help-page reading tools ---------- */
.view1bf55-helpintro {
  margin-top: 18px;
  padding: 14px 13px;
  border-left: 3px solid var(--view1bf55-coral);
  background: linear-gradient(105deg, rgba(255, 127, 80, 0.11), rgba(34, 48, 76, 0.46));
  border-top: var(--view1bf55-stroke-soft);
  border-right: var(--view1bf55-stroke-soft);
  border-bottom: var(--view1bf55-stroke-soft);
  border-radius: 0 var(--view1bf55-radius-lg) var(--view1bf55-radius-lg) 0;
}
.view1bf55-helpintro p { margin: 0; font-size: 14px; }
.view1bf55-helpintro p + p { margin-top: 10px; }
.view1bf55-calloutrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.view1bf55-callout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 127, 80, 0.58);
  border-radius: var(--view1bf55-radius);
  background: rgba(255, 127, 80, 0.08);
  color: var(--view1bf55-cream);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.view1bf55-callout:hover { background: var(--view1bf55-coral); color: var(--view1bf55-ink-soft); }
.view1bf55-callout--wide { grid-column: 1 / -1; }
.view1bf55-compare {
  display: grid;
  gap: 8px;
  margin: 0;
}
.view1bf55-compare-row {
  display: grid;
  grid-template-columns: minmax(88px, 0.7fr) 1.3fr;
  gap: 10px;
  padding: 10px;
  border: var(--view1bf55-stroke-soft);
  border-radius: var(--view1bf55-radius);
  background: var(--view1bf55-panel);
}
.view1bf55-compare-row dt {
  font-family: var(--view1bf55-font-display);
  color: var(--view1bf55-salmon);
  font-size: 14px;
  line-height: 1.25;
}
.view1bf55-compare-row dd { margin: 0; font-size: 13px; line-height: 1.5; }
.view1bf55-branch {
  margin-top: 9px;
  padding: 10px 11px;
  border: var(--view1bf55-stroke-soft);
  border-radius: var(--view1bf55-radius);
  background: rgba(27, 38, 59, 0.72);
}
.view1bf55-branch strong { color: var(--view1bf55-peru); }
.view1bf55-branch p { margin: 3px 0 0; font-size: 13px; }
.view1bf55-timeline {
  position: relative;
  margin: 0;
  padding: 0 0 0 30px;
  list-style: none;
}
.view1bf55-timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: var(--view1bf55-sienna);
}
.view1bf55-timeline li {
  position: relative;
  padding: 0 0 15px;
}
.view1bf55-timeline li:last-child { padding-bottom: 0; }
.view1bf55-timeline li::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 3px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--view1bf55-coral);
  border-radius: 50%;
  background: var(--view1bf55-panel-2);
}
.view1bf55-timeline h3 { margin: 0 0 3px; }
.view1bf55-timeline p { margin: 0; font-size: 13.5px; }
.view1bf55-termgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.view1bf55-term {
  padding: 10px;
  border-top: 2px solid var(--view1bf55-peru);
  background: var(--view1bf55-panel);
  border-radius: 0 var(--view1bf55-radius) var(--view1bf55-radius) var(--view1bf55-radius);
}
.view1bf55-term h3 { margin-bottom: 4px; font-size: 14px; }
.view1bf55-term p { margin: 0; font-size: 12.5px; line-height: 1.5; }
.view1bf55-answerlist { margin: 0; padding: 0; list-style: none; }
.view1bf55-answerlist li { padding: 10px 0; border-bottom: var(--view1bf55-stroke-soft); font-size: 13.5px; }
.view1bf55-answerlist li:last-child { border-bottom: none; padding-bottom: 0; }
.view1bf55-answerlist strong { color: var(--view1bf55-cream); }
@media (max-width: 350px) {
  .view1bf55-calloutrow,
  .view1bf55-termgrid { grid-template-columns: 1fr; }
  .view1bf55-compare-row { grid-template-columns: 1fr; gap: 4px; }
}
