/* ==========================================================================
   1xbet apkpure - mobile-first palette stylesheet
   Canvas: 320-430px phone frame, kept centered on wide screens (430px cap)
   Class prefix .... viewc80f0-
   Variable prefix . --viewc80f0-
   Palette anchors : #1B263B ink / #DEE2E6 mist / #8FBC8F sage
                     #32CD32 lime / #90EE90 light / #FF8C00 amber
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --viewc80f0-ink: #1B263B;
  --viewc80f0-ink-deep: #141E31;
  --viewc80f0-ink-raise: rgba(222, 226, 230, 0.055);
  --viewc80f0-ink-line: rgba(143, 188, 143, 0.26);
  --viewc80f0-mist: #DEE2E6;
  --viewc80f0-mist-dim: rgba(222, 226, 230, 0.74);
  --viewc80f0-mist-faint: rgba(222, 226, 230, 0.55);
  --viewc80f0-sage: #8FBC8F;
  --viewc80f0-lime: #32CD32;
  --viewc80f0-lime-soft: rgba(50, 205, 50, 0.14);
  --viewc80f0-light: #90EE90;
  --viewc80f0-amber: #FF8C00;
  --viewc80f0-amber-soft: rgba(255, 140, 0, 0.16);

  --viewc80f0-font-display: "Roboto Condensed", "Arial Narrow", "Segoe UI",
    system-ui, -apple-system, sans-serif;
  --viewc80f0-font-body: system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  --viewc80f0-radius-s: 6px;
  --viewc80f0-radius-m: 10px;
  --viewc80f0-radius-l: 14px;
  --viewc80f0-radius-xl: 18px;

  --viewc80f0-gap: 12px;
  --viewc80f0-gutter: 14px;
  --viewc80f0-dock-size: 118px;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--viewc80f0-ink);
  color: var(--viewc80f0-mist);
  font-family: var(--viewc80f0-font-body);
  font-size: 14px;
  line-height: 1.62;
  overflow-x: hidden;
}

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

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: var(--viewc80f0-light);
  text-decoration: none;
}

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

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

:focus-visible {
  outline: 2px solid var(--viewc80f0-lime);
  outline-offset: 2px;
  border-radius: var(--viewc80f0-radius-s);
}

.viewc80f0-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--viewc80f0-lime);
  color: #10240F;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 0 0 var(--viewc80f0-radius-m) 0;
}

.viewc80f0-skip:focus {
  left: 0;
}

/* --------------------------------------------------------------------------
   3. Phone canvas shell (430px cap, centered on wide screens)
   -------------------------------------------------------------------------- */
.viewc80f0-shell {
  position: relative;
  max-width: 430px;
  margin-inline: auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 46% at 50% 0%, rgba(143, 188, 143, 0.14), transparent 60%),
    var(--viewc80f0-ink);
  overflow-x: clip;
}

@media (min-width: 431px) {
  body {
    background:
      radial-gradient(90% 40% at 50% 0%, #22314F 0%, #10192B 55%, #0B1322 100%);
    padding-bottom: 34px;
  }

  .viewc80f0-shell {
    border-inline: 1px solid rgba(143, 188, 143, 0.22);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
  }
}

/* --------------------------------------------------------------------------
   4. Header: brand layer + action layer, expandable drawer
   -------------------------------------------------------------------------- */
.viewc80f0-head {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(180deg, rgba(27, 38, 59, 0.99), rgba(27, 38, 59, 0.93));
  backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--viewc80f0-ink-line);
}

.viewc80f0-brandrow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px var(--viewc80f0-gutter) 7px;
}

.viewc80f0-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--viewc80f0-radius-m);
  object-fit: cover;
  border: 1px solid rgba(144, 238, 144, 0.55);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
  flex: none;
}

.viewc80f0-brand {
  font-family: var(--viewc80f0-font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: var(--viewc80f0-mist);
}

.viewc80f0-brand span {
  color: var(--viewc80f0-light);
}

.viewc80f0-livechip {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--viewc80f0-mist-faint);
  border: 1px solid var(--viewc80f0-ink-line);
  border-radius: 999px;
  padding: 5px 10px;
  white-space: nowrap;
}

.viewc80f0-livedot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--viewc80f0-lime);
  box-shadow: 0 0 0 3px rgba(50, 205, 50, 0.18);
  animation: viewc80f0-pulse 2.2s ease-in-out infinite;
}

@keyframes viewc80f0-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(50, 205, 50, 0.18);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(50, 205, 50, 0.05);
  }
}

.viewc80f0-actrow {
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding: 0 var(--viewc80f0-gutter) 10px;
}

/* Segmented action pair: filled register segment + quiet login segment */
.viewc80f0-duo {
  display: flex;
  flex: 1;
  min-height: 44px;
  border-radius: var(--viewc80f0-radius-m);
  overflow: hidden;
  border: 1px solid rgba(50, 205, 50, 0.6);
}

.viewc80f0-duo-reg,
.viewc80f0-duo-login {
  flex: 1;
  border: 0;
  font-family: var(--viewc80f0-font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: filter 0.18s ease;
}

.viewc80f0-duo-reg {
  flex: 1.25;
  background: linear-gradient(135deg, #37D437, var(--viewc80f0-lime));
  color: #10240F;
}

.viewc80f0-duo-login {
  background: var(--viewc80f0-lime-soft);
  color: var(--viewc80f0-light);
  border-left: 1px solid rgba(50, 205, 50, 0.5);
}

.viewc80f0-duo-reg:active,
.viewc80f0-duo-login:active {
  filter: brightness(1.14);
}

/* Burger toggle, morphs into an X when the drawer is open */
.viewc80f0-burger {
  width: 46px;
  min-height: 44px;
  border-radius: var(--viewc80f0-radius-m);
  border: 1px solid var(--viewc80f0-ink-line);
  background: var(--viewc80f0-ink-raise);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: none;
}

.viewc80f0-burger i {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--viewc80f0-light);
  transition: transform 0.22s ease, opacity 0.18s ease;
}

.viewc80f0-burger.viewc80f0-burger-x i:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.viewc80f0-burger.viewc80f0-burger-x i:nth-child(2) {
  opacity: 0;
}

.viewc80f0-burger.viewc80f0-burger-x i:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Expandable route drawer */
.viewc80f0-drawer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.26s ease;
  background: rgba(20, 30, 49, 0.97);
  border-bottom: 1px solid transparent;
}

.viewc80f0-drawer-open {
  grid-template-rows: 1fr;
  border-bottom-color: var(--viewc80f0-ink-line);
}

.viewc80f0-drawer-inner {
  overflow: hidden;
}

.viewc80f0-drawer-grid {
  display: grid;
  grid-template-columns: 1fr;
  padding: 6px var(--viewc80f0-gutter) 12px;
}

@media (min-width: 375px) {
  .viewc80f0-drawer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.viewc80f0-drawer-grid a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 4px;
  color: var(--viewc80f0-mist-dim);
  font-size: 13px;
  border-bottom: 1px dashed rgba(222, 226, 230, 0.12);
  position: relative;
}

.viewc80f0-drawer-grid a::after {
  content: "";
  position: absolute;
  left: 4px;
  right: auto;
  bottom: -1px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--viewc80f0-lime);
  transition: width 0.2s ease;
}

.viewc80f0-drawer-grid a[aria-current="page"] {
  color: var(--viewc80f0-light);
}

.viewc80f0-drawer-grid a[aria-current="page"]::after {
  width: 34px;
}

.viewc80f0-drawer-grid em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--viewc80f0-sage);
  margin-left: auto;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   5. Main column rhythm
   -------------------------------------------------------------------------- */
.viewc80f0-main {
  padding-bottom: calc(var(--viewc80f0-dock-size) + env(safe-area-inset-bottom, 0px));
}

.viewc80f0-block {
  padding: 20px var(--viewc80f0-gutter) 6px;
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.viewc80f0-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--viewc80f0-sage);
  padding: 4px 0 8px;
}

.viewc80f0-eyebrow::before {
  content: "";
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--viewc80f0-amber);
}

.viewc80f0-hero h1 {
  font-family: var(--viewc80f0-font-display);
  font-size: clamp(25px, 6.6vw, 31px);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -0.01em;
  color: var(--viewc80f0-mist);
}

.viewc80f0-hero-lead {
  margin-top: 10px;
  color: var(--viewc80f0-mist-dim);
  font-size: 13.5px;
}

.viewc80f0-hero-lead strong {
  color: var(--viewc80f0-light);
}

/* Segmented CTA: main move + bonus side segment */
.viewc80f0-ctaseg {
  margin-top: 14px;
  display: flex;
  min-height: 46px;
  border-radius: var(--viewc80f0-radius-l);
  overflow: hidden;
  border: 1px solid rgba(50, 205, 50, 0.6);
  box-shadow: 0 8px 20px rgba(50, 205, 50, 0.14);
}

.viewc80f0-ctaseg-main {
  flex: 1.5;
  border: 0;
  background: linear-gradient(135deg, #37D437, var(--viewc80f0-lime));
  color: #10240F;
  font-family: var(--viewc80f0-font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.viewc80f0-ctaseg-side {
  flex: 1;
  border: 0;
  border-left: 1px solid rgba(27, 38, 59, 0.45);
  background: var(--viewc80f0-amber);
  color: #241300;
  font-family: var(--viewc80f0-font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.viewc80f0-ctaseg-main:active,
.viewc80f0-ctaseg-side:active {
  filter: brightness(1.12);
}

/* Compact metric tiles with one-line explainers */
.viewc80f0-metrics {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.viewc80f0-metrics li {
  background: var(--viewc80f0-ink-raise);
  border: 1px solid var(--viewc80f0-ink-line);
  border-radius: var(--viewc80f0-radius-m);
  padding: 9px 8px;
}

.viewc80f0-metrics strong {
  display: block;
  font-family: var(--viewc80f0-font-display);
  font-size: 19px;
  font-weight: 800;
  color: var(--viewc80f0-amber);
  line-height: 1.1;
}

.viewc80f0-metrics span {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  line-height: 1.4;
  color: var(--viewc80f0-mist-faint);
}

/* --------------------------------------------------------------------------
   7. Banner carousel
   -------------------------------------------------------------------------- */
.viewc80f0-carousel {
  margin-top: 14px;
}

.viewc80f0-rail {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 var(--viewc80f0-gutter);
  border-radius: var(--viewc80f0-radius-l);
  border: 1px solid var(--viewc80f0-ink-line);
  scrollbar-width: none;
}

.viewc80f0-rail::-webkit-scrollbar {
  display: none;
}

.viewc80f0-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  padding: 0;
  border: 0;
  background: var(--viewc80f0-ink-deep);
}

.viewc80f0-slide {
  position: relative;
}

.viewc80f0-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.viewc80f0-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 12px 9px;
  background: linear-gradient(180deg, transparent, rgba(20, 30, 49, 0.94));
  font-family: var(--viewc80f0-font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--viewc80f0-mist);
  text-align: left;
}

.viewc80f0-slide-cap b {
  color: var(--viewc80f0-light);
}

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

.viewc80f0-dots button {
  width: 26px;
  height: 22px;
  border: 0;
  background: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.viewc80f0-dots button::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(222, 226, 230, 0.28);
  transition: width 0.2s ease, background 0.2s ease;
}

.viewc80f0-dots button[aria-current="true"]::after {
  width: 20px;
  border-radius: 4px;
  background: var(--viewc80f0-lime);
}

/* --------------------------------------------------------------------------
   8. Game shelves: large spotlight card + dense small-card grid
   -------------------------------------------------------------------------- */
.viewc80f0-shelf {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(143, 188, 143, 0.18);
}

.viewc80f0-shelf-head {
  padding: 0 var(--viewc80f0-gutter);
}

.viewc80f0-shelf-head h2 {
  font-family: var(--viewc80f0-font-display);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.22;
  color: var(--viewc80f0-mist);
}

.viewc80f0-count {
  display: inline-block;
  margin-top: 7px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--viewc80f0-amber);
  border: 1px solid rgba(255, 140, 0, 0.4);
  background: var(--viewc80f0-amber-soft);
  border-radius: 999px;
  padding: 3px 10px;
}

.viewc80f0-shelf-note {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--viewc80f0-mist-dim);
}

/* Spotlight: the one large card per shelf */
.viewc80f0-spotlight {
  margin: 12px var(--viewc80f0-gutter) 12px;
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: var(--viewc80f0-radius-l);
  background: linear-gradient(135deg, rgba(143, 188, 143, 0.16), rgba(255, 140, 0, 0.08)),
    var(--viewc80f0-ink-deep);
  border: 1px solid rgba(144, 238, 144, 0.34);
}

.viewc80f0-spot-thumb {
  width: 96px;
  height: 96px;
  flex: none;
  border-radius: var(--viewc80f0-radius-m);
  object-fit: cover;
  border: 1px solid rgba(144, 238, 144, 0.4);
}

.viewc80f0-spot-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.viewc80f0-spot-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--viewc80f0-amber);
}

.viewc80f0-spot-body h3 {
  font-family: var(--viewc80f0-font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--viewc80f0-mist);
  line-height: 1.2;
}

.viewc80f0-spot-note {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--viewc80f0-mist-dim);
}

.viewc80f0-spot-cta {
  margin-top: auto;
  align-self: flex-start;
  display: flex;
  min-height: 38px;
  border-radius: var(--viewc80f0-radius-m);
  overflow: hidden;
  border: 1px solid rgba(50, 205, 50, 0.6);
}

.viewc80f0-spot-cta-main {
  border: 0;
  padding: 0 14px;
  background: linear-gradient(135deg, #37D437, var(--viewc80f0-lime));
  color: #10240F;
  font-family: var(--viewc80f0-font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.viewc80f0-spot-cta-side {
  border: 0;
  border-left: 1px solid rgba(27, 38, 59, 0.45);
  padding: 0 11px;
  background: var(--viewc80f0-amber);
  color: #241300;
  font-family: var(--viewc80f0-font-display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Dense small-card grid: 4 columns at 320px, 5 from 375px up */
.viewc80f0-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px 6px;
  padding: 0 var(--viewc80f0-gutter);
}

@media (min-width: 375px) {
  .viewc80f0-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.viewc80f0-gcard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 4px 9px;
  min-height: 44px;
  background: var(--viewc80f0-ink-raise);
  border: 1px solid rgba(143, 188, 143, 0.2);
  border-radius: var(--viewc80f0-radius-m);
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.viewc80f0-gcard:active {
  transform: translateY(2px) scale(0.97);
  border-color: rgba(144, 238, 144, 0.6);
}

.viewc80f0-gcard img {
  width: 100%;
  max-width: 68px;
  aspect-ratio: 1 / 1;
  border-radius: var(--viewc80f0-radius-s);
  object-fit: cover;
}

.viewc80f0-gcard-name {
  font-size: 10.5px;
  line-height: 1.25;
  text-align: center;
  color: var(--viewc80f0-mist-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 26px;
  word-break: break-word;
}

/* --------------------------------------------------------------------------
   9. Content modules
   -------------------------------------------------------------------------- */
.viewc80f0-module {
  margin-top: 26px;
  padding: 16px var(--viewc80f0-gutter) 4px;
  border-top: 1px solid rgba(143, 188, 143, 0.18);
}

.viewc80f0-module > h2 {
  font-family: var(--viewc80f0-font-display);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.24;
  color: var(--viewc80f0-mist);
}

.viewc80f0-module-intro {
  margin-top: 9px;
  font-size: 13px;
  color: var(--viewc80f0-mist-dim);
}

/* Numbered step tiles */
.viewc80f0-steps {
  margin-top: 12px;
  display: grid;
  gap: 9px;
}

.viewc80f0-step {
  display: flex;
  gap: 11px;
  padding: 11px;
  background: var(--viewc80f0-ink-raise);
  border: 1px solid var(--viewc80f0-ink-line);
  border-radius: var(--viewc80f0-radius-m);
}

.viewc80f0-step-n {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--viewc80f0-font-display);
  font-weight: 800;
  font-size: 14px;
  color: #10240F;
  background: linear-gradient(135deg, #37D437, var(--viewc80f0-lime));
}

.viewc80f0-step h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--viewc80f0-light);
}

.viewc80f0-step p {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--viewc80f0-mist-dim);
}

/* Winner activity chips */
.viewc80f0-winners {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.viewc80f0-winner {
  padding: 10px 11px;
  border-radius: var(--viewc80f0-radius-m);
  background: var(--viewc80f0-ink-deep);
  border: 1px solid var(--viewc80f0-ink-line);
}

.viewc80f0-winner-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.viewc80f0-winner-name {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--viewc80f0-mist);
}

.viewc80f0-winner-amt {
  font-family: var(--viewc80f0-font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--viewc80f0-amber);
  white-space: nowrap;
}

.viewc80f0-winner-meta {
  margin-top: 4px;
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--viewc80f0-mist-faint);
}

/* Trust checklist rows */
.viewc80f0-trust {
  margin-top: 12px;
  display: grid;
  gap: 9px;
}

.viewc80f0-trust-row {
  display: flex;
  gap: 10px;
  padding: 11px;
  border-radius: var(--viewc80f0-radius-m);
  background: rgba(143, 188, 143, 0.09);
  border: 1px solid rgba(143, 188, 143, 0.28);
}

.viewc80f0-trust-row svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--viewc80f0-light);
}

.viewc80f0-trust-row h3 {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--viewc80f0-mist);
}

.viewc80f0-trust-row p {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--viewc80f0-mist-dim);
}

/* Partner strip */
.viewc80f0-partners {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  align-items: center;
}

.viewc80f0-partners img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: var(--viewc80f0-radius-s);
  background: rgba(222, 226, 230, 0.06);
  padding: 3px;
}

.viewc80f0-partners-cap {
  margin-top: 7px;
  font-size: 10.5px;
  color: var(--viewc80f0-mist-faint);
  text-align: center;
}

/* Feature tiles: compact metric + explainer */
.viewc80f0-feats {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.viewc80f0-feat {
  padding: 11px 10px;
  border-radius: var(--viewc80f0-radius-m);
  background: var(--viewc80f0-ink-raise);
  border: 1px solid var(--viewc80f0-ink-line);
}

.viewc80f0-feat b {
  display: block;
  font-family: var(--viewc80f0-font-display);
  font-size: 14.5px;
  font-weight: 800;
  color: var(--viewc80f0-light);
}

.viewc80f0-feat span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--viewc80f0-mist-dim);
}

/* Direct answer card */
.viewc80f0-answer {
  margin-top: 12px;
  padding: 14px 13px;
  border-radius: var(--viewc80f0-radius-l);
  border: 1px solid rgba(255, 140, 0, 0.38);
  border-left: 4px solid var(--viewc80f0-amber);
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.1), rgba(27, 38, 59, 0.2));
}

.viewc80f0-answer-q {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--viewc80f0-amber);
}

.viewc80f0-answer p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--viewc80f0-mist);
}

.viewc80f0-followups {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.viewc80f0-followup {
  padding: 10px 12px;
  border-radius: var(--viewc80f0-radius-m);
  background: var(--viewc80f0-ink-deep);
  border: 1px dashed rgba(143, 188, 143, 0.3);
}

.viewc80f0-followup h3 {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--viewc80f0-light);
}

.viewc80f0-followup p {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--viewc80f0-mist-dim);
}

/* --------------------------------------------------------------------------
   10. Extended footer: brand > page directory > promotions > disclaimer
   -------------------------------------------------------------------------- */
.viewc80f0-xfoot {
  margin-top: 28px;
  background: var(--viewc80f0-ink-deep);
  border-top: 1px solid var(--viewc80f0-ink-line);
  padding: 18px var(--viewc80f0-gutter) 6px;
}

.viewc80f0-xfoot-brand {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}

.viewc80f0-xfoot-brand img {
  width: 44px;
  height: 44px;
  border-radius: var(--viewc80f0-radius-m);
  object-fit: cover;
  border: 1px solid rgba(144, 238, 144, 0.4);
  flex: none;
}

.viewc80f0-xfoot-brand h3 {
  font-family: var(--viewc80f0-font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--viewc80f0-mist);
}

.viewc80f0-xfoot-brand p {
  margin-top: 4px;
  font-size: 11.5px;
  line-height: 1.58;
  color: var(--viewc80f0-mist-dim);
}

.viewc80f0-xfoot h3 {
  font-family: var(--viewc80f0-font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--viewc80f0-sage);
  margin: 20px 0 6px;
}

.viewc80f0-dir a {
  display: block;
  padding: 9px 2px;
  min-height: 44px;
  border-bottom: 1px dashed rgba(222, 226, 230, 0.13);
  color: var(--viewc80f0-mist);
  font-size: 12.5px;
  font-weight: 600;
}

.viewc80f0-dir a small {
  display: block;
  font-weight: 400;
  font-size: 10.5px;
  color: var(--viewc80f0-mist-faint);
  margin-top: 2px;
}

.viewc80f0-dir a::before {
  content: "\2192";
  color: var(--viewc80f0-amber);
  margin-right: 7px;
}

/* Promotion action rows */
.viewc80f0-promos {
  display: grid;
  gap: 8px;
}

.viewc80f0-promo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--viewc80f0-radius-m);
  background: rgba(255, 140, 0, 0.07);
  border: 1px solid rgba(255, 140, 0, 0.3);
}

.viewc80f0-promo-act {
  flex: none;
  min-height: 40px;
  padding: 0 13px;
  border-radius: var(--viewc80f0-radius-s);
  border: 0;
  background: linear-gradient(135deg, #FF9E1F, var(--viewc80f0-amber));
  color: #241300;
  font-family: var(--viewc80f0-font-display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.viewc80f0-promo span {
  font-size: 11px;
  line-height: 1.45;
  color: var(--viewc80f0-mist-dim);
}

.viewc80f0-disclaimer {
  margin: 18px 0 4px;
  padding: 11px 12px;
  border-radius: var(--viewc80f0-radius-m);
  background: rgba(143, 188, 143, 0.08);
  border: 1px dashed rgba(143, 188, 143, 0.32);
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--viewc80f0-mist-faint);
}

/* Common compact footer */
.viewc80f0-foot {
  padding: 12px var(--viewc80f0-gutter) 10px;
  text-align: center;
  font-size: 10.5px;
  color: var(--viewc80f0-mist-faint);
  border-top: 1px solid rgba(143, 188, 143, 0.16);
}

/* --------------------------------------------------------------------------
   11. Layered bottom dock with raised promo deck
   -------------------------------------------------------------------------- */
.viewc80f0-dock {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 90;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  gap: 2px;
  padding: 16px 6px calc(7px + env(safe-area-inset-bottom, 0px));
  border-radius: var(--viewc80f0-radius-xl) var(--viewc80f0-radius-xl) 0 0;
  border-top: 1px solid rgba(144, 238, 144, 0.34);
  background:
    linear-gradient(180deg, rgba(34, 49, 79, 0.99), rgba(20, 30, 49, 0.99));
  box-shadow: 0 -10px 26px rgba(0, 0, 0, 0.4);
}

.viewc80f0-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  min-height: 50px;
  padding: 4px 2px;
  border: 0;
  background: none;
  border-radius: var(--viewc80f0-radius-m);
  color: var(--viewc80f0-mist-dim);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  position: relative;
}

.viewc80f0-tab svg {
  width: 22px;
  height: 22px;
  transition: transform 0.18s ease;
}

.viewc80f0-tab::after {
  content: "";
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--viewc80f0-lime);
  transition: width 0.2s ease;
}

.viewc80f0-tab[aria-current="page"] {
  color: var(--viewc80f0-light);
}

.viewc80f0-tab[aria-current="page"]::after {
  width: 24px;
}

.viewc80f0-tab.viewc80f0-tab-morph svg {
  transform: translateY(-2px) scale(1.12);
}

/* Raised promo deck in the middle of the dock */
.viewc80f0-tab-promo {
  transform: translateY(-16px);
  justify-content: center;
  gap: 2px;
  min-height: 62px;
  border-radius: var(--viewc80f0-radius-l);
  border: 1px solid rgba(255, 140, 0, 0.5);
  background: linear-gradient(180deg, rgba(255, 140, 0, 0.2), rgba(50, 205, 50, 0.12));
  color: var(--viewc80f0-mist);
}

.viewc80f0-tab-promo.viewc80f0-tab-deal {
  border-color: rgba(50, 205, 50, 0.55);
  background: linear-gradient(180deg, rgba(50, 205, 50, 0.24), rgba(255, 140, 0, 0.12));
}

.viewc80f0-tab-promo b {
  font-family: var(--viewc80f0-font-display);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--viewc80f0-amber);
}

.viewc80f0-tab-promo.viewc80f0-tab-deal b {
  color: var(--viewc80f0-light);
}

.viewc80f0-tab-promo:active {
  filter: brightness(1.2);
}

/* --------------------------------------------------------------------------
   12. Short-distance reveal transitions
   -------------------------------------------------------------------------- */
.viewc80f0-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.42s ease, transform 0.42s ease;
}

.viewc80f0-reveal.viewc80f0-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .viewc80f0-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .viewc80f0-livedot {
    animation: none;
  }

  .viewc80f0-tab svg,
  .viewc80f0-gcard {
    transition: none;
  }
}
