/* ==========================================================================
   okbet online game - mobile canvas stylesheet
   file  : css/okbet-online-game-canvas-b8be31.css
   prefix: viewbe31e- (site-specific vocabulary, never shared across sites)
   canvas: 320px-430px phone frame, wider screens keep the centered canvas
   voice : night-violet lobby, orchid accents, mono chips, compact actions
   ========================================================================== */

:root {
  --viewbe31e-canvas: 430px;
  --viewbe31e-orchid: #DA70D6;
  --viewbe31e-violet: #9400D3;
  --viewbe31e-blueviolet: #8A2BE2;
  --viewbe31e-mist: #A9A9A9;
  --viewbe31e-sand: #CD853F;
  --viewbe31e-slate: #34495E;
  --viewbe31e-ink: #140C27;
  --viewbe31e-ink2: #1B1135;
  --viewbe31e-panel: #241846;
  --viewbe31e-panel2: #2C1E55;
  --viewbe31e-line: rgba(218, 112, 214, 0.22);
  --viewbe31e-line-soft: rgba(169, 169, 169, 0.16);
  --viewbe31e-text: #F1EAF9;
  --viewbe31e-dim: #BCACD9;
  --viewbe31e-mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;
  --viewbe31e-r-card: 12px;
  --viewbe31e-r-btn: 9px;
  --viewbe31e-dock-h: 64px;
  --viewbe31e-top-h: 60px;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #0C0718;
  color: var(--viewbe31e-text);
  font-size: 15px;
  line-height: 1.55;
  min-height: 100vh;
}

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

a { color: var(--viewbe31e-orchid); text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--viewbe31e-orchid);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---- centered phone canvas ------------------------------------------- */
.viewbe31e-shell {
  position: relative;
  width: 100%;
  max-width: var(--viewbe31e-canvas);
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 42% at 50% 0%, rgba(148, 0, 211, 0.28), transparent 62%),
    linear-gradient(180deg, #221543 0%, var(--viewbe31e-ink2) 34%, var(--viewbe31e-ink) 100%);
  overflow-x: hidden;
}

@media (min-width: 430px) {
  .viewbe31e-shell {
    box-shadow: 0 0 0 1px rgba(218, 112, 214, 0.14), 0 18px 60px rgba(0, 0, 0, 0.55);
  }
}

.viewbe31e-page {
  padding-top: calc(var(--viewbe31e-top-h) + 8px);
  padding-bottom: calc(var(--viewbe31e-dock-h) + 34px + env(safe-area-inset-bottom, 0px));
  padding-left: 13px;
  padding-right: 13px;
}

/* ---- fixed top action bar --------------------------------------------- */
.viewbe31e-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--viewbe31e-canvas);
  height: var(--viewbe31e-top-h);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px;
  background: rgba(20, 12, 39, 0.94);
  border-bottom: 1px solid var(--viewbe31e-line);
  backdrop-filter: blur(8px);
}

.viewbe31e-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.viewbe31e-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--viewbe31e-line);
  object-fit: cover;
  flex: 0 0 auto;
}

.viewbe31e-brand-name {
  font-family: var(--viewbe31e-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--viewbe31e-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.viewbe31e-topacts {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

/* segmented action pair: one pill, two deeds, hard divider */
.viewbe31e-seg {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--viewbe31e-line);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(36, 24, 70, 0.85);
}

.viewbe31e-seg-btn {
  appearance: none;
  border: 0;
  min-height: 36px;
  padding: 0 13px;
  font-size: 13px;
  font-weight: 700;
  color: var(--viewbe31e-text);
  background: transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.viewbe31e-seg-btn--hot {
  background: linear-gradient(135deg, var(--viewbe31e-violet), var(--viewbe31e-blueviolet));
  color: #FFFFFF;
}

.viewbe31e-seg-btn + .viewbe31e-seg-btn {
  border-left: 1px solid var(--viewbe31e-line);
}

.viewbe31e-seg-btn:active { filter: brightness(1.25); }

/* hamburger */
.viewbe31e-menubtn {
  appearance: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--viewbe31e-line);
  border-radius: var(--viewbe31e-r-btn);
  background: rgba(36, 24, 70, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.viewbe31e-menubtn-bar {
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: var(--viewbe31e-orchid);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.viewbe31e-menubtn[aria-expanded="true"] .viewbe31e-menubtn-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.viewbe31e-menubtn[aria-expanded="true"] .viewbe31e-menubtn-bar:nth-child(2) { opacity: 0; }
.viewbe31e-menubtn[aria-expanded="true"] .viewbe31e-menubtn-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---- layered dropdown menu -------------------------------------------- */
.viewbe31e-menu {
  position: fixed;
  top: var(--viewbe31e-top-h);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: calc(100% - 20px);
  max-width: calc(var(--viewbe31e-canvas) - 20px);
  z-index: 55;
  background: linear-gradient(180deg, var(--viewbe31e-panel2), var(--viewbe31e-panel));
  border: 1px solid var(--viewbe31e-line);
  border-radius: 14px;
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.55);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

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

.viewbe31e-menu-layer + .viewbe31e-menu-layer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--viewbe31e-line-soft);
}

.viewbe31e-menu-cap {
  font-family: var(--viewbe31e-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--viewbe31e-sand);
  margin-bottom: 6px;
}

.viewbe31e-menu-layer ul { list-style: none; }

.viewbe31e-menu-link {
  position: relative;
  display: block;
  min-height: 44px;
  padding: 11px 12px 11px 14px;
  border-radius: var(--viewbe31e-r-btn);
  color: var(--viewbe31e-text);
  font-size: 14px;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.viewbe31e-menu-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  border-radius: 2px;
  background: var(--viewbe31e-orchid);
  transform: translateY(-50%);
  transition: height 0.2s ease;
}

.viewbe31e-menu-link:active { background: rgba(218, 112, 214, 0.14); }

.viewbe31e-menu-link.viewbe31e-navon {
  color: var(--viewbe31e-orchid);
  background: rgba(218, 112, 214, 0.10);
}

.viewbe31e-menu-link.viewbe31e-navon::before { height: 20px; }

/* ---- hero / page head --------------------------------------------------- */
.viewbe31e-hero { padding: 4px 2px 10px; }

.viewbe31e-kicker {
  font-family: var(--viewbe31e-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--viewbe31e-sand);
  margin-bottom: 6px;
}

.viewbe31e-hero h1 {
  font-size: 24px;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.viewbe31e-hero h1 em {
  font-style: normal;
  color: var(--viewbe31e-orchid);
}

.viewbe31e-hero p {
  color: var(--viewbe31e-dim);
  font-size: 14px;
  margin-bottom: 9px;
}

.viewbe31e-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.viewbe31e-chip {
  font-family: var(--viewbe31e-mono);
  font-size: 11px;
  color: var(--viewbe31e-text);
  border: 1px solid var(--viewbe31e-line);
  background: rgba(44, 30, 85, 0.55);
  border-radius: 999px;
  padding: 5px 10px;
  white-space: nowrap;
}

/* ---- quick answers strip ------------------------------------------------ */
.viewbe31e-qa {
  border: 1px solid var(--viewbe31e-line-soft);
  border-left: 3px solid var(--viewbe31e-blueviolet);
  border-radius: var(--viewbe31e-r-card);
  background: rgba(27, 17, 53, 0.7);
  padding: 12px;
  margin: 14px 0;
}

.viewbe31e-qa-item + .viewbe31e-qa-item {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--viewbe31e-line-soft);
}

.viewbe31e-qa-q {
  font-family: var(--viewbe31e-mono);
  font-size: 12px;
  color: var(--viewbe31e-orchid);
  margin-bottom: 3px;
}

.viewbe31e-qa-a { font-size: 13.5px; color: var(--viewbe31e-text); }

/* ---- promo carousel ------------------------------------------------------ */
.viewbe31e-caro-view {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--viewbe31e-line);
  aspect-ratio: 2.3 / 1;
  background: var(--viewbe31e-panel);
}

.viewbe31e-caro-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.33, 0.9, 0.3, 1);
}

.viewbe31e-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: var(--viewbe31e-panel);
  text-align: left;
  overflow: hidden;
}

.viewbe31e-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.viewbe31e-slide:active img { filter: brightness(1.12); }

.viewbe31e-slide-tag {
  position: absolute;
  top: 9px;
  left: 9px;
  font-family: var(--viewbe31e-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #1B1135;
  background: var(--viewbe31e-sand);
  border-radius: 999px;
  padding: 3px 9px;
}

.viewbe31e-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 10px;
  font-size: 12.5px;
  line-height: 1.35;
  color: #FFFFFF;
  background: linear-gradient(180deg, transparent, rgba(12, 7, 24, 0.92));
}

.viewbe31e-slide-cap strong { display: block; font-size: 14px; margin-bottom: 1px; }

.viewbe31e-caro-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 9px;
}

.viewbe31e-dot {
  width: 22px;
  height: 6px;
  border-radius: 999px;
  border: 0;
  background: rgba(169, 169, 169, 0.35);
  cursor: pointer;
  transition: background-color 0.22s ease, width 0.22s ease;
}

.viewbe31e-dot--on { background: var(--viewbe31e-orchid); width: 30px; }

/* ---- generic section frame ---------------------------------------------- */
.viewbe31e-mod {
  margin: 22px 0;
}

.viewbe31e-mod h2 {
  font-size: 19px;
  line-height: 1.3;
  font-weight: 800;
  margin-bottom: 8px;
}

.viewbe31e-mod h2 span { color: var(--viewbe31e-orchid); }

.viewbe31e-lede {
  color: var(--viewbe31e-dim);
  font-size: 14px;
  margin-bottom: 12px;
}

.viewbe31e-mod p { color: var(--viewbe31e-dim); font-size: 13.5px; }

.viewbe31e-mod p + p { margin-top: 9px; }

.viewbe31e-mod strong { color: var(--viewbe31e-text); font-weight: 700; }

/* ---- game lobby ----------------------------------------------------------- */
.viewbe31e-cat {
  margin-top: 20px;
  padding: 12px;
  border: 1px solid var(--viewbe31e-line-soft);
  border-radius: var(--viewbe31e-r-card);
  background: rgba(36, 24, 70, 0.42);
}

.viewbe31e-cat-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.viewbe31e-cat-head h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--viewbe31e-text);
}

.viewbe31e-count {
  font-family: var(--viewbe31e-mono);
  font-size: 10.5px;
  color: var(--viewbe31e-sand);
  border: 1px solid rgba(205, 133, 63, 0.45);
  border-radius: 999px;
  padding: 2px 8px;
}

.viewbe31e-cat p {
  font-size: 12.5px;
  color: var(--viewbe31e-dim);
  margin: 2px 0 11px;
}

.viewbe31e-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px 7px;
}

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

.viewbe31e-card {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: var(--viewbe31e-text);
  transition: transform 0.15s ease;
}

.viewbe31e-card:active { transform: scale(0.93); }

.viewbe31e-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--viewbe31e-line-soft);
  background: var(--viewbe31e-panel);
}

.viewbe31e-card-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 10.5px;
  line-height: 1.3;
  color: var(--viewbe31e-dim);
  text-align: center;
  margin-top: 4px;
  min-height: 27px;
}

.viewbe31e-card:hover .viewbe31e-card-name,
.viewbe31e-card:active .viewbe31e-card-name { color: var(--viewbe31e-orchid); }

/* ---- module: selection guide (question rows) ------------------------------- */
.viewbe31e-pick { list-style: none; }

.viewbe31e-pick li {
  padding: 10px 2px;
  border-bottom: 1px solid var(--viewbe31e-line-soft);
}

.viewbe31e-pick li:last-child { border-bottom: 0; }

.viewbe31e-pick-q {
  font-family: var(--viewbe31e-mono);
  font-size: 12.5px;
  color: var(--viewbe31e-orchid);
  margin-bottom: 3px;
}

.viewbe31e-pick-a { font-size: 13.5px; color: var(--viewbe31e-dim); }

/* ---- module: play styles (compare rows) ------------------------------------ */
.viewbe31e-style {
  border: 1px solid var(--viewbe31e-line-soft);
  border-radius: var(--viewbe31e-r-card);
  background: rgba(27, 17, 53, 0.62);
  padding: 11px 12px;
  margin-bottom: 9px;
}

.viewbe31e-style-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 3px;
}

.viewbe31e-style-head h3 { font-size: 14.5px; color: var(--viewbe31e-text); }

.viewbe31e-style-fit {
  font-family: var(--viewbe31e-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--viewbe31e-sand);
  white-space: nowrap;
}

.viewbe31e-style p { font-size: 13px; }

/* ---- module: rtp ------------------------------------------------------------- */
.viewbe31e-verdict {
  border-left: 3px solid var(--viewbe31e-sand);
  padding: 8px 12px;
  border-radius: 0 var(--viewbe31e-r-card) var(--viewbe31e-r-card) 0;
  background: rgba(205, 133, 63, 0.10);
  color: var(--viewbe31e-text);
  font-size: 14px;
  margin-bottom: 11px;
}

.viewbe31e-mythfact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 11px;
}

.viewbe31e-mf {
  border: 1px solid var(--viewbe31e-line-soft);
  border-radius: var(--viewbe31e-r-card);
  padding: 9px 10px;
  background: rgba(36, 24, 70, 0.4);
}

.viewbe31e-mf b {
  display: block;
  font-family: var(--viewbe31e-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.viewbe31e-mf--myth b { color: var(--viewbe31e-mist); }
.viewbe31e-mf--fact b { color: var(--viewbe31e-orchid); }
.viewbe31e-mf span { font-size: 12px; color: var(--viewbe31e-dim); }

/* ---- module: winners ledger ----------------------------------------------------- */
.viewbe31e-ledger {
  border: 1px solid var(--viewbe31e-line-soft);
  border-radius: var(--viewbe31e-r-card);
  overflow: hidden;
  margin-bottom: 10px;
}

.viewbe31e-ledger-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  font-family: var(--viewbe31e-mono);
  font-size: 11.5px;
  color: var(--viewbe31e-dim);
  background: rgba(27, 17, 53, 0.6);
}

.viewbe31e-ledger-row:nth-child(even) { background: rgba(36, 24, 70, 0.5); }

.viewbe31e-ledger-who { color: var(--viewbe31e-mist); flex: 0 0 52px; }
.viewbe31e-ledger-game { color: var(--viewbe31e-text); flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viewbe31e-ledger-amt { color: var(--viewbe31e-sand); font-weight: 700; }
.viewbe31e-ledger-city { color: var(--viewbe31e-blueviolet); flex: 0 0 auto; font-size: 10.5px; }

/* ---- module: app steps ---------------------------------------------------------- */
.viewbe31e-steps {
  list-style: none;
  counter-reset: viewbe31e-step;
  margin-bottom: 12px;
}

.viewbe31e-steps li {
  counter-increment: viewbe31e-step;
  position: relative;
  padding: 0 0 11px 34px;
  font-size: 13.5px;
  color: var(--viewbe31e-dim);
}

.viewbe31e-steps li::before {
  content: counter(viewbe31e-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  border: 1px solid var(--viewbe31e-line);
  background: rgba(44, 30, 85, 0.7);
  font-family: var(--viewbe31e-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--viewbe31e-orchid);
  display: flex;
  align-items: center;
  justify-content: center;
}

.viewbe31e-ctarow {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.viewbe31e-cta {
  appearance: none;
  flex: 1 1 50%;
  min-height: 44px;
  border-radius: var(--viewbe31e-r-btn);
  border: 1px solid var(--viewbe31e-line);
  background: rgba(36, 24, 70, 0.6);
  color: var(--viewbe31e-text);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.15s ease;
}

.viewbe31e-cta--hot {
  background: linear-gradient(135deg, var(--viewbe31e-violet) 0%, var(--viewbe31e-blueviolet) 60%, var(--viewbe31e-orchid) 130%);
  border-color: transparent;
  color: #FFFFFF;
}

.viewbe31e-cta:active { transform: scale(0.97); }

/* ---- module: scenario cards -------------------------------------------------------- */
.viewbe31e-scenes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.viewbe31e-scene {
  border: 1px solid var(--viewbe31e-line-soft);
  border-radius: var(--viewbe31e-r-card);
  padding: 11px 11px 12px;
  background: linear-gradient(180deg, rgba(44, 30, 85, 0.55), rgba(27, 17, 53, 0.55));
}

.viewbe31e-scene h3 {
  font-size: 13.5px;
  color: var(--viewbe31e-orchid);
  margin-bottom: 4px;
  line-height: 1.3;
}

.viewbe31e-scene p { font-size: 12px; line-height: 1.5; }

/* ---- extended footer ------------------------------------------------------------------- */
.viewbe31e-xfoot {
  margin-top: 26px;
  border-top: 1px solid var(--viewbe31e-line);
  padding-top: 18px;
}

.viewbe31e-xfoot h2 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
}

.viewbe31e-xfoot-group + .viewbe31e-xfoot-group {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--viewbe31e-line-soft);
}

.viewbe31e-xfoot-cap {
  font-family: var(--viewbe31e-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--viewbe31e-sand);
  margin-bottom: 8px;
}

.viewbe31e-dir {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.viewbe31e-dir a {
  font-size: 12px;
  color: var(--viewbe31e-text);
  border: 1px solid var(--viewbe31e-line);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(36, 24, 70, 0.5);
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.viewbe31e-dir a:active { color: var(--viewbe31e-orchid); border-color: var(--viewbe31e-orchid); }

.viewbe31e-xfoot-brand { font-size: 12.5px; }

.viewbe31e-xfoot-brand p + p { margin-top: 7px; }

.viewbe31e-promos {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.viewbe31e-promos::-webkit-scrollbar { display: none; }

.viewbe31e-promo {
  appearance: none;
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(205, 133, 63, 0.5);
  background: linear-gradient(135deg, rgba(148, 0, 211, 0.35), rgba(138, 43, 226, 0.35));
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.18s ease;
}

.viewbe31e-promo:active { transform: scale(0.95); filter: brightness(1.3); }

.viewbe31e-note {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--viewbe31e-mist);
  border: 1px dashed var(--viewbe31e-line-soft);
  border-radius: var(--viewbe31e-r-card);
  padding: 9px 11px;
}

/* ---- common footer ------------------------------------------------------------------------ */
.viewbe31e-foot {
  margin-top: 18px;
  padding: 12px 2px 4px;
  border-top: 1px solid var(--viewbe31e-line-soft);
  text-align: center;
}

.viewbe31e-foot p {
  font-family: var(--viewbe31e-mono);
  font-size: 11px;
  color: var(--viewbe31e-mist);
  line-height: 1.6;
}

/* ---- floating bottom dock ------------------------------------------------------------------- */
.viewbe31e-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--viewbe31e-canvas);
  z-index: 70;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(16, 10, 32, 0.96);
  border-top: 1px solid var(--viewbe31e-line);
  backdrop-filter: blur(10px);
}

.viewbe31e-dock-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 2px;
}

.viewbe31e-dock-item {
  position: relative;
  flex: 1 1 20%;
  min-height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 10.5px;
  color: var(--viewbe31e-mist);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.viewbe31e-dock-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 20px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--viewbe31e-orchid);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.24s ease;
}

.viewbe31e-dock-item:active { color: var(--viewbe31e-text); }

.viewbe31e-dock-item--promo { color: var(--viewbe31e-sand); }

.viewbe31e-dock-item--promo::after { background: var(--viewbe31e-sand); }

.viewbe31e-dock-item.viewbe31e-navon { color: var(--viewbe31e-orchid); }

.viewbe31e-dock-item.viewbe31e-navon::after,
.viewbe31e-dock-item:active::after { transform: translateX(-50%) scaleX(1); }

.viewbe31e-dock-item svg { width: 22px; height: 22px; display: block; }

.viewbe31e-dock-item span { line-height: 1; }

/* ---- small screens ----------------------------------------------------------------------------- */
@media (max-width: 359px) {
  .viewbe31e-hero h1 { font-size: 21px; }
  .viewbe31e-brand-name { max-width: 110px; }
  .viewbe31e-seg-btn { padding: 0 10px; font-size: 12px; }
  .viewbe31e-scenes { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .viewbe31e-caro-track { transition: none; }
}
