/* ==========================================================================
   jiligo.click mobile lobby stylesheet — jiligo-canvas-9b7866.css
   Canvas-first build: core targets are 320-430px phones; wider screens keep
   the same centered 430px canvas. Every class uses the viewb7866- prefix.
   Palette anchors: #00FF7F (action mint) / #6495ED (signal blue) /
   #000080 (canvas navy) / #2C2C2C (surface charcoal).
   Typography: geometric display headings over a neutral system body.
   Radius policy: pill buttons, squared cards, compact square game tiles.
   ========================================================================== */

:root {
  --viewb7866-navy: #000080;
  --viewb7866-navy-deep: #000049;
  --viewb7866-navy-soft: #101c86;
  --viewb7866-ink: #2c2c2c;
  --viewb7866-ink-raise: #3a3a45;
  --viewb7866-mint: #00ff7f;
  --viewb7866-mint-deep: #04c96b;
  --viewb7866-blue: #6495ed;
  --viewb7866-blue-soft: #8fb2f5;
  --viewb7866-text: #edf2ff;
  --viewb7866-muted: #a9b4d9;
  --viewb7866-line: rgba(100, 149, 237, 0.28);
  --viewb7866-top-h: 58px;
  --viewb7866-tab-h: 64px;
  --viewb7866-font-head: "Space Grotesk", "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  --viewb7866-font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --viewb7866-pad-x: 14px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--viewb7866-font-body);
  font-size: 14px;
  line-height: 1.62;
  color: var(--viewb7866-text);
  background: #01042e;
  background-image: radial-gradient(120% 60% at 50% 0%, #030b52 0%, #01042e 70%);
  min-height: 100vh;
}

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

a { color: var(--viewb7866-blue-soft); text-decoration: none; }
a:hover { color: var(--viewb7866-mint); }

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

/* ------------------------------------------------------------------ shell */
.viewb7866-shell {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: linear-gradient(178deg, #000a4d 0%, var(--viewb7866-navy) 46%, #000654 100%);
  overflow-x: hidden;
}

/* ----------------------------------------------------------------- topbar */
.viewb7866-topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--viewb7866-top-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 var(--viewb7866-pad-x);
  background: rgba(0, 3, 46, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--viewb7866-line);
}

.viewb7866-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: var(--viewb7866-text);
}

.viewb7866-brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--viewb7866-line);
  flex: none;
}

.viewb7866-brand-name {
  font-family: var(--viewb7866-font-head);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.04em;
  color: var(--viewb7866-mint);
  white-space: nowrap;
}

.viewb7866-topacts {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: none;
}

.viewb7866-btn {
  font-family: var(--viewb7866-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  min-height: 36px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.12s ease, background 0.12s ease;
}

.viewb7866-btn:active { transform: scale(0.95); }

.viewb7866-btn-solid {
  background: linear-gradient(135deg, var(--viewb7866-mint) 0%, #37ffa8 100%);
  color: #00260f;
  box-shadow: 0 3px 14px rgba(0, 255, 127, 0.35);
}

.viewb7866-btn-ghost {
  background: rgba(0, 255, 127, 0.06);
  color: var(--viewb7866-mint);
  border-color: rgba(0, 255, 127, 0.45);
}

.viewb7866-menubtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--viewb7866-line);
  background: rgba(100, 149, 237, 0.1);
  color: var(--viewb7866-blue-soft);
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease;
}

.viewb7866-menubtn:active { transform: scale(0.92); }
.viewb7866-menubtn svg { transition: transform 0.15s ease; }
.viewb7866-menubtn:hover svg { transform: rotate(90deg); }

/* ------------------------------------------------------------ menu panel */
.viewb7866-menu {
  position: fixed;
  top: var(--viewb7866-top-h);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: min(430px, 100%);
  max-height: calc(100vh - var(--viewb7866-top-h) - var(--viewb7866-tab-h));
  overflow-y: auto;
  z-index: 55;
  padding: 6px var(--viewb7866-pad-x) 18px;
  background: #03064f;
  border-bottom: 2px solid var(--viewb7866-mint);
  box-shadow: 0 26px 40px rgba(0, 0, 0, 0.55);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

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

.viewb7866-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 6px;
  border-bottom: 1px dashed var(--viewb7866-line);
}

.viewb7866-menu-head span {
  font-family: var(--viewb7866-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--viewb7866-blue-soft);
}

.viewb7866-menu-close {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--viewb7866-line);
  background: transparent;
  color: var(--viewb7866-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.12s ease, color 0.12s ease;
}

.viewb7866-menu-close:active { transform: scale(0.9); color: var(--viewb7866-mint); }

.viewb7866-menu-groups { display: grid; gap: 4px; padding-top: 8px; }

.viewb7866-menu-title {
  margin: 12px 0 2px;
  font-family: var(--viewb7866-font-head);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--viewb7866-mint);
}

.viewb7866-menu-groups a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  color: var(--viewb7866-text);
  font-size: 14.5px;
}

.viewb7866-menu-groups a::after {
  content: "\203A";
  color: var(--viewb7866-blue);
  font-weight: 700;
  transition: transform 0.12s ease;
}

.viewb7866-menu-groups a:active { background: rgba(100, 149, 237, 0.14); border-color: var(--viewb7866-line); }
.viewb7866-menu-groups a:active::after { transform: translateX(3px); }

.viewb7866-menu-groups .viewb7866-is-active {
  background: rgba(0, 255, 127, 0.08);
  border-color: rgba(0, 255, 127, 0.4);
  color: var(--viewb7866-mint);
}

/* ------------------------------------------------------------------ main */
.viewb7866-main {
  padding: 18px var(--viewb7866-pad-x) calc(var(--viewb7866-tab-h) + 30px + env(safe-area-inset-bottom));
}

/* ------------------------------------------------------------------ hero */
.viewb7866-hero {
  padding: 14px 0 4px;
  border-left: 3px solid var(--viewb7866-mint);
  padding-left: 12px;
}

.viewb7866-kicker {
  display: inline-block;
  font-family: var(--viewb7866-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--viewb7866-blue-soft);
  margin: 0 0 8px;
}

.viewb7866-hero-title {
  font-family: var(--viewb7866-font-head);
  font-size: 25px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0 0 10px;
  color: #ffffff;
}

.viewb7866-hero-lead {
  margin: 0 0 14px;
  color: var(--viewb7866-muted);
  font-size: 13.5px;
}

/* segmented action buttons */
.viewb7866-segcta {
  display: flex;
  padding: 4px;
  gap: 4px;
  border-radius: 999px;
  background: rgba(44, 44, 44, 0.85);
  border: 1px solid var(--viewb7866-line);
}

.viewb7866-segcta > * {
  flex: 1 1 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 6px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: var(--viewb7866-font-head);
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.viewb7866-segcta > *:active { transform: scale(0.96); }

.viewb7866-segcta-hot {
  background: linear-gradient(135deg, var(--viewb7866-mint) 0%, #46ffb0 100%);
  color: #002411;
}

.viewb7866-segcta-cool {
  background: transparent;
  color: var(--viewb7866-text);
  border: 1px solid var(--viewb7866-line);
}

/* -------------------------------------------------------------- carousel */
.viewb7866-carousel { margin: 20px 0 6px; }

.viewb7866-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-radius: 10px;
  border: 1px solid var(--viewb7866-line);
  background: var(--viewb7866-ink);
}

.viewb7866-track::-webkit-scrollbar { display: none; }

.viewb7866-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.viewb7866-slide-img {
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  background: var(--viewb7866-ink);
  cursor: pointer;
}

.viewb7866-slide-img img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

.viewb7866-slide-cap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  background: var(--viewb7866-ink);
  border-top: 1px solid var(--viewb7866-line);
}

.viewb7866-slide-cap span { min-width: 0; }

.viewb7866-slide-cap strong {
  display: block;
  font-family: var(--viewb7866-font-head);
  font-size: 13px;
  color: #ffffff;
}

.viewb7866-slide-cap small {
  display: block;
  font-size: 11px;
  line-height: 1.4;
  color: var(--viewb7866-muted);
}

.viewb7866-slide-cta {
  flex: none;
  min-height: 36px;
  padding: 6px 16px;
  border-radius: 999px;
  border: none;
  background: var(--viewb7866-blue);
  color: #06122e;
  font-family: var(--viewb7866-font-head);
  font-weight: 700;
  font-size: 12.5px;
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.viewb7866-slide-cta:active { transform: scale(0.94); filter: brightness(1.15); }

.viewb7866-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 0 2px;
}

.viewb7866-dot {
  width: 26px;
  height: 6px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(100, 149, 237, 0.32);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.viewb7866-dot-on { background: var(--viewb7866-mint); transform: translateY(-1px); }

/* ---------------------------------------------------------- quick strip */
.viewb7866-quickrow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 16px 0 6px;
}

.viewb7866-quickcard {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 11px 9px;
  border-radius: 8px;
  background: rgba(44, 44, 44, 0.72);
  border: 1px solid var(--viewb7866-line);
  color: var(--viewb7866-text);
  font-size: 11.5px;
  line-height: 1.45;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.viewb7866-quickcard:active { transform: translateY(-2px); border-color: var(--viewb7866-mint); }

.viewb7866-quickcard strong {
  font-family: var(--viewb7866-font-head);
  font-size: 12px;
  color: var(--viewb7866-mint);
}

.viewb7866-quickcard em {
  font-style: normal;
  color: var(--viewb7866-muted);
  flex: 1;
}

.viewb7866-quickcard span { color: var(--viewb7866-blue-soft); font-weight: 700; }

/* -------------------------------------------------------- game sections */
.viewb7866-gamesection { padding: 26px 0 4px; }

.viewb7866-sec-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 4px;
}

.viewb7866-sec-head h2 {
  font-family: var(--viewb7866-font-head);
  font-size: 18px;
  line-height: 1.28;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
}

.viewb7866-sec-count {
  flex: none;
  font-family: var(--viewb7866-font-head);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--viewb7866-navy);
  background: var(--viewb7866-mint);
  border-radius: 6px;
  padding: 2px 7px;
}

.viewb7866-sec-lead {
  margin: 0 0 14px;
  font-size: 12.8px;
  color: var(--viewb7866-muted);
}

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

.viewb7866-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: center;
  transition: transform 0.12s ease;
}

.viewb7866-tile:active { transform: scale(0.94); }

.viewb7866-tile-frame {
  border-radius: 8px;
  border: 1px solid var(--viewb7866-line);
  background: var(--viewb7866-ink);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.viewb7866-tile:hover .viewb7866-tile-frame,
.viewb7866-tile:focus-visible .viewb7866-tile-frame {
  border-color: var(--viewb7866-mint);
  box-shadow: 0 0 0 2px rgba(0, 255, 127, 0.25);
}

.viewb7866-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.viewb7866-tile-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.3;
  min-height: 29px;
  color: var(--viewb7866-text);
  word-break: break-word;
}

/* --------------------------------------------------------- mile ladder */
.viewb7866-module { padding: 28px 0 4px; border-top: 1px dashed var(--viewb7866-line); }

.viewb7866-module > h2 {
  font-family: var(--viewb7866-font-head);
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 6px;
  color: #ffffff;
}

.viewb7866-mod-lead { margin: 0 0 14px; font-size: 12.8px; color: var(--viewb7866-muted); }

.viewb7866-ladder {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.viewb7866-mile {
  display: flex;
  gap: 9px;
  padding: 11px 10px;
  border-radius: 8px;
  background: var(--viewb7866-ink);
  border: 1px solid var(--viewb7866-line);
}

.viewb7866-mile-no {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(100, 149, 237, 0.18);
  color: var(--viewb7866-blue-soft);
  font-family: var(--viewb7866-font-head);
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.12s ease, background 0.12s ease;
}

.viewb7866-mile:hover .viewb7866-mile-no {
  transform: translateY(-2px);
  background: rgba(0, 255, 127, 0.2);
  color: var(--viewb7866-mint);
}

.viewb7866-mile b {
  display: block;
  font-family: var(--viewb7866-font-head);
  font-size: 12.5px;
  color: #ffffff;
}

.viewb7866-mile p { margin: 2px 0 0; font-size: 11px; line-height: 1.45; color: var(--viewb7866-muted); }

/* -------------------------------------------------------- category match */
.viewb7866-matchrow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  margin: 0 0 8px;
  border-radius: 8px;
  background: rgba(44, 44, 44, 0.72);
  border: 1px solid var(--viewb7866-line);
  color: var(--viewb7866-text);
  font-size: 12.5px;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.viewb7866-matchrow:active { transform: translateX(3px); border-color: var(--viewb7866-mint); }

.viewb7866-matchrow b { font-family: var(--viewb7866-font-head); color: #fff; display: block; }

.viewb7866-matchrow span { color: var(--viewb7866-muted); }

.viewb7866-matchrow i {
  flex: none;
  font-style: normal;
  margin-left: auto;
  color: var(--viewb7866-mint);
  font-family: var(--viewb7866-font-head);
  font-weight: 700;
  font-size: 15px;
}

/* ---------------------------------------------------------------- steps */
.viewb7866-steps {
  margin: 0;
  padding: 0 0 0 4px;
  list-style: none;
  counter-reset: viewb7866step;
}

.viewb7866-steps li {
  counter-increment: viewb7866step;
  position: relative;
  padding: 0 0 16px 40px;
  font-size: 12.8px;
  color: var(--viewb7866-muted);
}

.viewb7866-steps li::before {
  content: counter(viewb7866step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--viewb7866-navy-soft);
  border: 1px solid var(--viewb7866-line);
  color: var(--viewb7866-mint);
  font-family: var(--viewb7866-font-head);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.viewb7866-steps li b { color: #ffffff; font-weight: 600; }

/* -------------------------------------------------------------- reviews */
.viewb7866-reviews { display: grid; gap: 10px; }

.viewb7866-review {
  padding: 13px 14px;
  border-radius: 8px;
  background: var(--viewb7866-ink);
  border: 1px solid var(--viewb7866-line);
  border-left: 3px solid var(--viewb7866-blue);
}

.viewb7866-review q {
  display: block;
  quotes: none;
  font-size: 12.8px;
  color: var(--viewb7866-text);
  margin: 0 0 8px;
}

.viewb7866-review footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--viewb7866-muted);
}

.viewb7866-review-tag {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(100, 149, 237, 0.16);
  border: 1px solid var(--viewb7866-line);
  color: var(--viewb7866-blue-soft);
  font-size: 10.5px;
  font-weight: 700;
}

.viewb7866-stars { color: var(--viewb7866-mint); letter-spacing: 2px; font-size: 11px; }

.viewb7866-note { margin: 10px 0 0; font-size: 10.8px; color: #7d88b3; }

/* ------------------------------------------------------------- app card */
.viewb7866-appcard {
  border-radius: 10px;
  overflow: hidden;
  background: var(--viewb7866-ink);
  border: 1px solid var(--viewb7866-line);
}

.viewb7866-appcard img { width: 100%; aspect-ratio: 5 / 2; object-fit: cover; }

.viewb7866-appbody { padding: 14px; }

.viewb7866-appbody ul { margin: 0 0 12px; padding-left: 18px; font-size: 12.3px; color: var(--viewb7866-muted); }
.viewb7866-appbody li { margin: 3px 0; }
.viewb7866-appbody li b { color: var(--viewb7866-text); }

/* ------------------------------------------------------------ checklist */
.viewb7866-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.viewb7866-checklist li {
  position: relative;
  padding: 9px 10px 9px 36px;
  margin: 0 0 7px;
  border-radius: 8px;
  background: rgba(44, 44, 44, 0.72);
  border: 1px solid var(--viewb7866-line);
  font-size: 12.5px;
  color: var(--viewb7866-text);
}

.viewb7866-checklist li::before {
  content: "\2713";
  position: absolute;
  left: 9px;
  top: 8px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 255, 127, 0.14);
  border: 1px solid rgba(0, 255, 127, 0.4);
  color: var(--viewb7866-mint);
  font-size: 12px;
  font-weight: 700;
}

/* ------------------------------------------------------------------ faq */
.viewb7866-faq { display: grid; gap: 8px; }

.viewb7866-faq details {
  border-radius: 8px;
  background: rgba(44, 44, 44, 0.72);
  border: 1px solid var(--viewb7866-line);
  overflow: hidden;
}

.viewb7866-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 38px 12px 13px;
  position: relative;
  font-family: var(--viewb7866-font-head);
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  min-height: 44px;
  display: flex;
  align-items: center;
}

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

.viewb7866-faq summary::after {
  content: "+";
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--viewb7866-line);
  color: var(--viewb7866-mint);
  font-size: 14px;
  transition: transform 0.15s ease;
}

.viewb7866-faq details[open] summary::after { content: "\2212"; transform: translateY(-50%) rotate(180deg); }

.viewb7866-faq p { margin: 0; padding: 0 13px 13px; font-size: 12.5px; color: var(--viewb7866-muted); }

/* ------------------------------------------------------- extended footer */
.viewb7866-xfoot {
  margin: 30px calc(-1 * var(--viewb7866-pad-x)) 0;
  padding: 24px var(--viewb7866-pad-x) 8px;
  background: #02052f;
  border-top: 2px solid var(--viewb7866-mint);
}

.viewb7866-xfoot > h2 {
  font-family: var(--viewb7866-font-head);
  font-size: 16px;
  margin: 0 0 8px;
  color: #ffffff;
}

.viewb7866-xfoot-intro { margin: 0 0 16px; font-size: 12.3px; color: var(--viewb7866-muted); }

.viewb7866-promos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 0 0 20px;
}

.viewb7866-promoact {
  min-height: 48px;
  padding: 9px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 127, 0.4);
  background: rgba(0, 255, 127, 0.07);
  color: var(--viewb7866-mint);
  font-family: var(--viewb7866-font-head);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: transform 0.12s ease, background 0.12s ease;
}

.viewb7866-promoact:active { transform: scale(0.95); background: rgba(0, 255, 127, 0.16); }

.viewb7866-dir-label {
  margin: 14px 0 6px;
  font-family: var(--viewb7866-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--viewb7866-blue-soft);
}

.viewb7866-dirgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 14px; }

.viewb7866-dirgrid a {
  font-size: 12.3px;
  color: var(--viewb7866-text);
  min-height: 32px;
  display: flex;
  align-items: center;
}

.viewb7866-dirgrid a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 2px;
  background: var(--viewb7866-blue);
  margin-right: 8px;
  flex: none;
}

.viewb7866-disclaimer {
  margin: 18px 0 0;
  padding: 11px 12px;
  border-radius: 8px;
  border: 1px dashed var(--viewb7866-line);
  font-size: 10.8px;
  line-height: 1.55;
  color: #8792bb;
}

/* --------------------------------------------------------- common footer */
.viewb7866-footer {
  padding: 18px var(--viewb7866-pad-x) 16px;
  text-align: center;
  font-size: 11px;
  color: #7d88b3;
}

.viewb7866-footer b { color: var(--viewb7866-blue-soft); font-weight: 600; }

/* ------------------------------------------------------------ bottom nav */
.viewb7866-tabbar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: min(430px, 100%);
  height: calc(var(--viewb7866-tab-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  display: flex;
  z-index: 70;
  background: rgba(2, 4, 38, 0.97);
  backdrop-filter: blur(10px);
  border-top: 2px solid var(--viewb7866-mint);
  box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.45);
}

.viewb7866-tab {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  padding: 6px 2px 4px;
  border: none;
  background: transparent;
  color: var(--viewb7866-muted);
  font-family: var(--viewb7866-font-body);
  font-size: 10px;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s ease;
}

.viewb7866-tab svg { transition: transform 0.16s ease; }

.viewb7866-tab:active svg { transform: translateY(-2px) scale(0.9); }

.viewb7866-tab:active,
.viewb7866-tab.viewb7866-is-active {
  color: var(--viewb7866-mint);
}

.viewb7866-tab.viewb7866-is-active svg { transform: translateY(-2px); }

/* ------------------------------------------------------------ breakpoints */
@media (min-width: 375px) {
  .viewb7866-hero-title { font-size: 28px; }
  .viewb7866-tile-name { font-size: 11.5px; }
  .viewb7866-grid { gap: 14px 10px; }
}

/* 430px canvas edge: widen the grid to five tracks and frame the canvas */
@media (min-width: 430px) {
  .viewb7866-grid { grid-template-columns: repeat(5, 1fr); }
  .viewb7866-shell {
    box-shadow: 0 0 0 1px rgba(100, 149, 237, 0.25), 0 30px 70px rgba(0, 0, 0, 0.55);
  }
  .viewb7866-hero-title { font-size: 30px; }
  .viewb7866-promos { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 359px) {
  .viewb7866-btn { padding: 7px 11px; font-size: 12px; }
  .viewb7866-brand-name { font-size: 17px; }
  .viewb7866-quickrow { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
