:root {
  --primary-dark: #162114;
  --primary-light: #f6f9f0;
  --accent-gold: #6a8d3f;
  --accent-gold-hover: #526f30;

  --accent: var(--accent-gold);
  --sale: #789d47;
  --sale-soft: #eef4e4;
  --trust: #3e5622;
  --trust-soft: #dce8cb;
  --star: #8db351;

  --ink: #1e281a;
  --ink-2: #3d4838;
  --muted: #6c7866;
  --line: #dfe6d5;
  --surface: #ffffff;
  --tint: #f7f9f3;
  --backdrop: #f7f9f3;

  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 10px;
  --shadow-card: 0 1px 2px rgba(22, 33, 20, .04), 0 6px 20px rgba(22, 33, 20, .06);
  --shadow-cta: 0 16px 36px color-mix(in srgb, var(--accent-gold-hover) 38%, transparent);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --page-w: 480px;
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--backdrop);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.page {
  max-width: var(--page-w);
  margin: 0 auto;
  background: var(--surface);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}
@media (min-width: 520px) {
  .page { box-shadow: 0 40px 100px rgba(0, 0, 0, .25); }
}

/* ==========================================================
   Announcement + header
   ========================================================== */
.announce {
  background: linear-gradient(90deg, #05070c, #111827, #05070c);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 12px 0;
}
.announce-track { display: inline-flex; animation: marquee 24s linear infinite; }
.announce-track span { display: inline-flex; align-items: center; gap: 8px; padding-right: 28px; }
.announce-track span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

 .topbar { display: flex; justify-content: center; padding: 12px 16px 14px; }
.topbar .lang-selector { position: static; margin: 0; }

/* ==========================================================
   Hero gallery
   ========================================================== */
.gallery { position: relative; background: var(--tint); }
.gallery-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track { align-items: flex-start; }
.gallery-slide { flex: 0 0 100%; scroll-snap-align: center; }
.gallery-slide img { width: 100%; height: auto; display: block; }
.sale-badge {
  position: absolute; top: 14px; right: 14px;
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-hover)); color: #fff;
  font-weight: 900; font-size: 17px; letter-spacing: -.01em;
  border: 3px solid #fff;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent-gold-hover) 40%, transparent);
}
.sale-badge:empty { display: none; }
.gallery-dots {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; background: rgba(20, 22, 26, .35); padding: 5px 8px; border-radius: 999px;
}
.gallery-dots:empty { display: none; }
.gallery-dots button {
  width: 6px; height: 6px; border-radius: 999px; border: 0; padding: 0;
  background: rgba(255, 255, 255, .55); transition: width .25s var(--ease), background .25s;
  cursor: pointer;
}
.gallery-dots button.active { width: 18px; background: #fff; }

/* ==========================================================
   Buy box
   ========================================================== */
.buybox { padding: 18px 16px 24px; }

.rating-line {
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none; font-size: 13px; color: var(--ink-2); font-weight: 600;
}
.rating-line .stars { color: var(--star); letter-spacing: 1px; font-size: 14px; }
.rating-line u { color: var(--muted); font-weight: 500; text-underline-offset: 2px; }

.hero-title {
  font-size: clamp(21px, 5.6vw, 25px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 8px 0 12px;
}

.price-headline { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 10px; margin-bottom: 14px; }
.price-now { font-size: 34px; font-weight: 900; letter-spacing: -.03em; line-height: 1; color: var(--accent-gold); }
.price-now small { font-size: 16px; font-weight: 800; margin-left: 2px; }
.price-was { font-size: 16px; color: var(--muted); text-decoration: line-through; text-decoration-color: var(--sale); }
.price-save {
  font-size: 12px; font-weight: 800; color: var(--trust); background: var(--trust-soft);
  padding: 4px 8px; border-radius: 6px;
}

.trust-chips { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.trust-chips li {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 6px;
  font-size: 11.5px; font-weight: 700; line-height: 1.25; color: var(--ink-2);
}
.trust-chips svg { width: 20px; height: 20px; color: var(--accent-gold); }

/* Timer */
.deal-timer {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; margin-bottom: 18px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .05);
}
.deal-timer-label { font-size: 11.5px; font-weight: 800; line-height: 1.3; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-gold); }
.deal-timer-clock { display: inline-flex; align-items: center; gap: 3px; font-variant-numeric: tabular-nums; }
.deal-timer-clock .count {
  background: var(--primary-light); color: var(--ink); font-weight: 900; font-size: 17px;
  min-width: 36px; text-align: center; padding: 5px 0; border-radius: 10px;
  border: 1px solid #fecdd3;
}
.deal-timer-clock i { font-style: normal; font-weight: 900; color: var(--ink); }

/* Packages */
.pkg-heading { font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 8px; }
.prices-wrapper { display: grid; gap: 10px; margin-bottom: 12px; }
.pricing-card {
  position: relative;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  padding: 14px; border: 2px solid var(--line); border-radius: var(--r-md);
  background: var(--surface); cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.pricing-card:active { transform: scale(.99); }
.pricing-card.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--accent-gold) 14%, transparent);
}
.card-radio {
  width: 22px; height: 22px; border-radius: 50%; border: 2px solid #c9c5bf; position: relative; background: #fff;
}
.pricing-card.active .card-radio { border-color: var(--accent); }
.pricing-card.active .card-radio::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--accent);
}
.card-main { min-width: 0; }
.package-name { display: block; font-weight: 800; font-size: 15px; line-height: 1.25; }
.card-meta { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-top: 4px; font-size: 12px; color: var(--muted); }
.card-meta .save { color: var(--trust); font-weight: 700; }
.card-meta .free { color: var(--trust); font-weight: 700; }
.card-price { text-align: right; white-space: nowrap; }
.card-price .new-price { display: block; font-weight: 900; font-size: 20px; letter-spacing: -.02em; line-height: 1.1; color: var(--accent-gold); }
.card-price .new-price small { font-size: 12px; font-weight: 800; }
.card-price .old-price { font-size: 12.5px; color: var(--muted); text-decoration: line-through; }
.popular-ribbon {
  position: absolute; top: -11px; right: 12px;
  background: var(--accent-gold); color: #fff;
  font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px;
}

.stock-line {
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-2); font-weight: 600; text-align: center; margin: 4px 0 12px;
}
.stock-line:empty { display: none; }
.stock-line::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sale);
  box-shadow: 0 0 0 0 rgba(229, 23, 63, .6); animation: pulse 1.6s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(229, 23, 63, 0); } 100% { box-shadow: 0 0 0 0 rgba(229, 23, 63, 0); } }
.outlined-badge {
  display: inline-block; padding: 1px 7px; font-weight: 800; color: var(--sale);
  border: 1.5px solid var(--sale); border-radius: 6px;
}

/* CTA */
.btn-cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 60px; padding: 18px 22px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%);
  color: #fff; border: 0; border-radius: 20px;
  font: inherit; font-size: 15px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; text-align: center;
  box-shadow: var(--shadow-cta);
  cursor: pointer; position: relative; overflow: hidden;
  transition: background .28s, transform .28s var(--ease), box-shadow .28s;
}
.btn-cta svg { width: 20px; height: 20px; flex: none; stroke-width: 2.5; }
.btn-cta:hover { background: linear-gradient(135deg, var(--accent-gold-hover), var(--accent-gold-hover)); transform: translateY(-2px); }
.btn-cta:active { transform: translateY(1px) scale(.995); }
.btn-cta::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  animation: shine 3.2s infinite;
}
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.btn-cta[disabled] { opacity: .75; cursor: progress; }
.btn-cta[disabled]::after { display: none; }

.guarantee {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 14px; padding: 12px 14px;
  background: var(--trust-soft); border-radius: var(--r-md);
}
.guarantee-icon { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--trust); color: #fff; display: grid; place-items: center; }
.guarantee-icon svg { width: 20px; height: 20px; }
.guarantee-title { font-weight: 800; font-size: 14px; }
.guarantee-desc { font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.guarantee:has(.guarantee-title:empty) { display: none; }

/* ==========================================================
   Story (narrative grid)
   ========================================================== */
.story { border-top: 8px solid var(--tint); }
.story-image-card img { width: 100%; height: auto; }
.narrative-text { padding: 22px 18px; font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }
.narrative-text b { color: var(--ink); font-weight: 700; }
.story-cta { padding: 8px 16px 24px; }

/* ==========================================================
   Generic blocks
   ========================================================== */
.block { padding: 30px 16px; border-top: 8px solid var(--tint); }
.block-tint { background: var(--tint); border-top-color: var(--tint); }
.block-title { font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; margin-bottom: 16px; }

/* Specs */
.specs { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.specs-row { display: grid; grid-template-columns: 42% 1fr; gap: 12px; padding: 12px 14px; font-size: 13.5px; }
.specs-row + .specs-row { border-top: 1px solid var(--line); }
.specs-row:nth-child(odd) { background: var(--tint); }
.spec-label { color: var(--muted); font-weight: 600; }
.spec-val { font-weight: 600; color: var(--ink); }

/* Reviews (original vertical layout) */
.reviews-section { padding: 40px 20px; background: var(--surface); border-top: 8px solid var(--tint); }
.reviews-inner { max-width: 550px; margin: 0 auto; }
.reviews-title { font-size: 22px; text-align: center; margin-bottom: 20px; color: var(--ink); font-weight: 700; line-height: 1.3; }
.reviews_slider { display: flex; flex-direction: column; gap: 20px; }
.review_card {
  width: 100%; background: #f8fafc; border: 1px solid #e2e8f0; padding: 16px; border-radius: 12px;
  display: flex; flex-direction: column; gap: 8px;
}
.review-photo { width: 100%; height: 280px; margin-bottom: 12px; border-radius: 8px; overflow: hidden; background: #e2e8f0; }
.review-photo img { width: 100%; height: 100%; object-fit: cover; }
.review-stars { color: var(--star); letter-spacing: 1px; margin-bottom: 5px; }
.review-author { margin: 4px 0 8px; color: var(--ink); font-weight: 600; font-size: 15px; }
.review-text { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }

/* Steps */
.steps { list-style: none; position: relative; display: grid; gap: 18px; }
.steps::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: var(--line); }
.step { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; position: relative; }
.step-num {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-hover)); border: 0; color: #fff; font-weight: 900; font-size: 15px;
}
.step-title { font-weight: 800; font-size: 15px; line-height: 1.3; padding-top: 6px; }
.step-desc { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* ==========================================================
   Checkout
   ========================================================== */
.checkout { padding: 28px 12px; background: linear-gradient(180deg, var(--tint), var(--surface)); scroll-margin-top: 8px; }
.checkout-card {
  background: var(--surface); border-radius: var(--r-lg); padding: 22px 16px;
  box-shadow: var(--shadow-card); border: 1px solid var(--line);
}
.checkout-title { font-size: 22px; font-weight: 900; letter-spacing: -.02em; text-align: center; line-height: 1.2; }
.checkout-sub { font-size: 13.5px; color: var(--muted); text-align: center; margin: 6px 0 16px; line-height: 1.45; }
.deal-timer-inline { margin-bottom: 16px; }

.summary {
  background: var(--tint); border-radius: var(--r-md); padding: 12px 14px; margin-bottom: 16px;
  font-size: 13.5px; display: grid; gap: 6px;
}
.summary-row { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-2); }
.summary-row .free { color: var(--trust); font-weight: 700; }
.summary-row.discount span:last-child { color: var(--trust); font-weight: 700; }
.summary-row.total { border-top: 1px dashed #d5d0c9; padding-top: 8px; margin-top: 2px; color: var(--ink); font-weight: 800; font-size: 16px; }
.summary-row.total small { font-weight: 600; color: var(--muted); font-size: 12px; display: block; text-align: right; }

.order-form { display: grid; gap: 12px; }
.field { position: relative; }
.field input {
  width: 100%; height: 58px; padding: 22px 16px 6px;
  border: 1.5px solid #d9d5cf; border-radius: var(--r-md); background: #fff;
  font: inherit; font-size: 16px; font-weight: 600; color: var(--ink);
  transition: border-color .2s, box-shadow .2s; outline: none;
}
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent); }
.field label {
  position: absolute; left: 17px; top: 50%; transform: translateY(-50%);
  font-size: 15px; color: var(--muted); pointer-events: none; transition: all .18s var(--ease);
}
.field input:focus ~ label, .field input:not(:placeholder-shown) ~ label { top: 15px; font-size: 11.5px; font-weight: 600; }
.field.invalid input { border-color: var(--sale); box-shadow: 0 0 0 4px var(--sale-soft); }
.form-error {
  font-size: 13px; font-weight: 600; color: var(--sale);
  background: var(--sale-soft); padding: 8px 12px; border-radius: var(--r-sm);
}
.submit-btn { margin-top: 2px; }
.btn-spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-trust { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; }
.form-trust li { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.form-trust svg { width: 15px; height: 15px; color: var(--trust); }
.security-text { font-size: 12px; color: var(--muted); text-align: center; margin-top: 8px; }

/* ==========================================================
   FAQ
   ========================================================== */
.faq { display: grid; gap: 8px; }
.faq_item { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff; }
.faq_trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px; background: none; border: 0; font: inherit; font-size: 14.5px; font-weight: 700; text-align: left; color: var(--ink); cursor: pointer;
}
.faq_icon {
  flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--tint);
  display: grid; place-items: center; font-size: 18px; font-weight: 600; transition: transform .25s var(--ease);
}
.faq_answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.faq_answer > div { overflow: hidden; }
.faq_answer p { padding: 0 14px 14px; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.faq_item.open .faq_answer { grid-template-rows: 1fr; }
.faq_item.open .faq_icon { transform: rotate(45deg); background: var(--accent-soft); color: var(--accent); }

/* ==========================================================
   Footer
   ========================================================== */
.footer {
  background: var(--primary-dark); color: rgba(255, 255, 255, .55);
  padding: 16px 16px 18px; text-align: center; font-size: 11.5px; line-height: 1.5;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px 12px;
}
.footer p { margin: 0; }
.footer-company { font-weight: 800; color: #fff; }
.footer a { color: rgba(255, 255, 255, .4); }

/* ==========================================================
   Sticky buy bar
   ========================================================== */
.sticky-bar {
  position: fixed; left: 50%; bottom: 0; z-index: 50;
  width: 100%; max-width: var(--page-w);
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(20, 22, 26, .08);
  transform: translate(-50%, 110%); transition: transform .35s var(--ease);
}
.sticky-bar.show { transform: translate(-50%, 0); }
.sticky-price { display: grid; line-height: 1.15; flex: none; }
.sticky-pkg { font-size: 11.5px; color: var(--muted); font-weight: 600; max-width: 120px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-amount { font-size: 19px; font-weight: 900; letter-spacing: -.02em; color: var(--accent-gold); }
.sticky-amount s { font-size: 12px; color: var(--muted); font-weight: 600; margin-left: 4px; }
.btn-cta-sm { min-height: 50px; font-size: 13px; letter-spacing: .06em; padding: 10px 12px; flex: 1; border-radius: 16px; }

/* ==========================================================
   Small screens / motion
   ========================================================== */
@media (max-width: 359px) {
  .trust-chips li { font-size: 10.5px; }
  .card-price .new-price { font-size: 17px; }
  .deal-timer-label { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================
   GROWTH MODULE
   ========================================================== */

/* Delivery date urgency */
.delivery-eta {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--trust-soft); color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--trust) 18%, transparent);
  border-radius: 14px; padding: 11px 13px; margin-bottom: 16px;
  font-size: 13.5px; line-height: 1.4;
}
.delivery-eta[hidden] { display: none; }
.delivery-eta svg { flex: none; width: 22px; height: 22px; color: var(--trust); margin-top: 1px; }
.delivery-eta b { font-weight: 800; color: var(--trust); }
.eta-text { display: grid; gap: 2px; }
.eta-left { font-size: 12px; font-weight: 700; color: var(--sale); }
.delivery-eta-inline { margin-bottom: 14px; }
.deal-timer[hidden] { display: none; }

/* Hero video */
.gallery-video video { width: 100%; height: auto; display: block; background: var(--tint); }

/* Checkout inside the hero */
.hero-checkout { scroll-margin-top: 8px; }
.hero-checkout .prices-wrapper { margin-bottom: 10px; }
.hero-checkout .stock-line { margin: 2px 0 12px; }
.hero-checkout .summary { margin: 14px 0 0; }
.hero-checkout .order-form { margin-top: 2px; }
.buybox > .trust-chips { margin: 16px 0 0; }
.buybox > .deal-timer { margin-bottom: 16px; }

/* What's in the box */
.box-section[hidden] { display: none; }
.box-img { width: 100%; border-radius: var(--r-md); margin-bottom: 14px; }
.box-img[hidden] { display: none; }
.box-list { list-style: none; display: grid; gap: 8px; }
.box-list li {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--tint); border-radius: 12px; padding: 10px 12px;
  font-size: 14px; font-weight: 600; color: var(--ink);
}
.box-list svg { flex: none; width: 18px; height: 18px; color: var(--trust); margin-top: 2px; stroke-width: 2.6; }

/* Reviews: meta + partial stars */
.review-meta { margin: -6px 0 2px; font-size: 12px; color: var(--muted); }
.star-off { color: #e2e8f0; }

/* WhatsApp */
.wa-order {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 12px; padding: 12px; border-radius: 14px;
  border: 1.5px solid #25d366; color: #128c4a; background: #f0fdf4;
  font-weight: 700; font-size: 14px; text-decoration: none;
}
.wa-order[hidden] { display: none; }
.wa-order svg { width: 20px; height: 20px; color: #25d366; }
.wa-float {
  position: fixed; z-index: 49;
  right: max(14px, calc(50% - var(--page-w) / 2 + 14px));
  bottom: calc(16px + env(safe-area-inset-bottom));
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 8px 22px rgba(37, 211, 102, .45);
  transition: transform .2s var(--ease), bottom .35s var(--ease);
}
.sticky-on .wa-float { bottom: calc(84px + env(safe-area-inset-bottom)); }
.wa-float[hidden] { display: none; }
.wa-float:active { transform: scale(.94); }
.wa-float svg { width: 30px; height: 30px; }

/* Config checker (?check=1) */
.config-check {
  position: fixed; z-index: 999; top: 12px; left: 50%; transform: translateX(-50%);
  width: min(460px, calc(100% - 24px)); max-height: 70vh; overflow: auto;
  background: #fff; border-radius: 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
  font-size: 12.5px; line-height: 1.45; color: #111;
}
.cc-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid #eee; position: sticky; top: 0; background: #fff; }
.cc-head span { margin-left: auto; color: #555; }
.cc-head button { border: 0; background: #f1f1f1; width: 26px; height: 26px; border-radius: 50%; font-size: 16px; cursor: pointer; }
.config-check ul { list-style: none; padding: 6px 12px 10px; display: grid; gap: 4px; }
.cc-bad { color: #b91c1c; font-weight: 600; }
.cc-warn { color: #92400e; }
.cc-ok { color: #166534; }

/* Speed: avoid layout shift on story images */
.story-image-card img { aspect-ratio: auto 3 / 4; background: var(--tint); }
