/* Loyalty family (/loyalty/, /privileges/, /bonuses/, /partners/) — linked only on those pages.
   Edit here; do not put .pv-/.bn-/.ly- page rules back into landing-v2.css. */
/* Privileges (/privileges/): hero with a status card fan, cashback calculator, status cards, steps */
.pv-top .px-top__wrap { padding-bottom: 40px; }
.pv-hero { display: grid; grid-template-columns: minmax(0, 1fr) 380px; align-items: center; gap: 40px; }
.pv-hero__title { font-size: 40px; line-height: 48px; }
.pv-hero__lead { max-width: 540px; margin-top: 12px; font-size: 18px; line-height: 28px; color: var(--cf-muted); }
.pv-hero > .bn-ref-art {
  width: 100%;
  min-height: 280px;
  height: auto;
}
.pv-stats { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.pv-stats li { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 160px; padding: 14px 18px; background: var(--cf-card-bg); border: 1px solid var(--cf-line); border-radius: var(--cf-r-tile-sm); box-shadow: var(--cf-sh-card); }
.pv-stats b { font-size: 22px; line-height: 30px; font-weight: 700; letter-spacing: -0.02em; color: var(--cf-ink-h1); font-variant-numeric: tabular-nums; }
.pv-coin-eq { display: inline-flex; align-items: center; gap: 6px; }
.pv-coin-eq img { width: 18px; height: 18px; }
.pv-stats__txt { display: flex; flex-direction: column; gap: 2px; }
.pv-stats__txt span { font-size: 13px; line-height: 18px; color: var(--cf-muted); }
.pv-stats__ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: var(--cf-r-ctl); }
.pv-stats__ico img { width: 20px; height: 20px; }
/* Wallet stack: cards sit in slots 0..3 (back to front); the front card shows the full face, the others a name/rate strip. */
.pv-stack { --rx: 0deg; --ry: 0deg; position: relative; height: 304px; transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform 0.3s ease; }
.pv-stack__card { position: absolute; left: 0; right: 0; top: calc(var(--slot) * 44px); z-index: var(--slot); display: flex; flex-direction: column; height: 172px; padding: 13px 20px 18px; overflow: hidden; color: var(--cf-on-dark); border: 1px solid var(--cf-dark-line-mid); border-radius: var(--cf-r-panel); box-shadow: var(--cf-sh-dark); transform: scale(calc(0.88 + var(--slot) * 0.04)); transform-origin: 50% 0; cursor: pointer; transition: top 0.55s cubic-bezier(.2, .8, .2, 1), transform 0.55s cubic-bezier(.2, .8, .2, 1); }
.pv-stack__card--0 { background: var(--cf-g-tier-0); }
.pv-stack__card--1 { background: var(--cf-g-tier-1); }
.pv-stack__card--2 { background: var(--cf-g-tier-2); }
.pv-stack__card--3 { background: var(--cf-g-tier-3); }
@media (hover: hover) and (pointer: fine) { .pv-stack__card:not(.is-front):hover { transform: scale(calc(0.88 + var(--slot) * 0.04)) translateY(-6px); } }
.pv-stack__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, var(--cf-dark-fill-4) 50%, transparent 65%); transform: translateX(-120%); pointer-events: none; }
.pv-stack__card.is-front::after { animation: pv-shine 1.1s ease 0.25s; }
@keyframes pv-shine { to { transform: translateX(120%); } }
.pv-stack__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 18px; }
.pv-stack__name { display: flex; align-items: center; gap: 6px; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--cf-on-dark-strong); }
.pv-stack__rate { font-size: 16px; line-height: 18px; font-weight: 700; font-variant-numeric: tabular-nums; transition: opacity 0.3s ease; }
.pv-stack__card.is-front .pv-stack__rate { opacity: 0; }
.pv-stack__label { margin-top: auto; font-size: 13px; line-height: 18px; color: var(--cf-on-dark-2); }
.pv-stack__big { font-size: 36px; line-height: 42px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.pv-stack__brand { position: absolute; top: 14px; right: 20px; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cf-on-dark-3); }
.pv-stack__brand { transition: opacity 0.3s ease; }
.pv-stack__card:not(.is-front) .pv-stack__brand { opacity: 0; }
.pv-calc { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; overflow: hidden; color: var(--cf-on-dark); background: var(--cf-g-dark); box-shadow: var(--cf-sh-dark); }
.pv-calc::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: var(--cf-arc); -webkit-mask-image: var(--cf-arc-fade); mask-image: var(--cf-arc-fade); }
.pv-calc > * { position: relative; z-index: 1; }
.pv-calc > .pv-glow { z-index: -1; }
.pv-calc[data-pv-level="0"], .pv-scale li[data-pv-tier="0"] { --pv-tone: var(--cf-tier-0-light); --pv-tone-fill: var(--cf-g-tier-0-btn); }
.pv-calc[data-pv-level="1"], .pv-scale li[data-pv-tier="1"] { --pv-tone: var(--cf-tier-1-light); --pv-tone-fill: var(--cf-g-tier-1-btn); }
.pv-calc[data-pv-level="2"], .pv-scale li[data-pv-tier="2"] { --pv-tone: var(--cf-tier-2-light); --pv-tone-fill: var(--cf-g-tier-2-btn); }
.pv-calc[data-pv-level="3"], .pv-scale li[data-pv-tier="3"] { --pv-tone: var(--cf-tier-3-light); --pv-tone-fill: var(--cf-g-tier-3-btn); }
.pv-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.pv-glow i { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s ease; }
.pv-glow i:nth-child(1) { background: var(--cf-g-tier-0); }
.pv-glow i:nth-child(2) { background: var(--cf-g-tier-1); }
.pv-glow i:nth-child(3) { background: var(--cf-g-tier-2); }
.pv-glow i:nth-child(4) { background: var(--cf-g-tier-3); }
.pv-calc[data-pv-level="0"] .pv-glow i:nth-child(1), .pv-calc[data-pv-level="1"] .pv-glow i:nth-child(2), .pv-calc[data-pv-level="2"] .pv-glow i:nth-child(3), .pv-calc[data-pv-level="3"] .pv-glow i:nth-child(4) { opacity: 1; }
.pv-calc__title { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; color: var(--cf-on-dark); }
.pv-calc__title .pv-coin { width: 20px; height: 20px; }
.pv-calc__hint { margin-top: 4px; font-size: 13px; line-height: 20px; color: var(--cf-on-dark-3); }
.pv-calc__label { display: block; margin-top: 24px; font-size: 13px; line-height: 20px; color: var(--cf-on-dark-2); }
.pv-calc__amount { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; padding-bottom: 10px; border-bottom: 1px solid var(--cf-dark-line-mid); transition: border-color var(--cf-ease); }
.pv-calc__amount:focus-within { border-color: var(--cf-on-dark-3); }
.pv-calc__amount input { flex: 1; min-width: 0; max-width: 100%; padding: 0; font: inherit; font-size: 44px; line-height: 52px; font-weight: 700; letter-spacing: -0.03em; color: var(--cf-on-dark); background: transparent; border: 0; outline: none; font-variant-numeric: tabular-nums; }
/* Chrome and Safari size the field to the number so ₽ follows it; elsewhere ₽ stays at the right edge. */
@supports (field-sizing: content) { .pv-calc__amount input { flex: 0 1 auto; min-width: 1ch; field-sizing: content; } }
.pv-calc__amount span { font-size: 26px; line-height: 32px; font-weight: 600; color: var(--cf-on-dark-3); }
.pv-range { --pv-thumb: 22px; display: block; width: 100%; height: var(--pv-thumb); margin: 32px 0 0; padding: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.pv-range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--pv-tone, var(--cf-on-dark)) 0 var(--pv-fill, 0%), var(--cf-dark-fill-4) var(--pv-fill, 0%) 100%); }
.pv-range::-moz-range-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--pv-tone, var(--cf-on-dark)) 0 var(--pv-fill, 0%), var(--cf-dark-fill-4) var(--pv-fill, 0%) 100%); }
.pv-range::-webkit-slider-thumb { width: var(--pv-thumb); height: var(--pv-thumb); margin-top: calc((6px - var(--pv-thumb)) / 2); background: var(--pv-tone, var(--cf-white)); border: 5px solid var(--cf-dark); border-radius: 50%; box-shadow: 0 0 0 1px var(--cf-on-dark-3); transition: box-shadow var(--cf-ease), background-color var(--cf-ease); -webkit-appearance: none; appearance: none; }
.pv-range::-moz-range-thumb { box-sizing: border-box; width: var(--pv-thumb); height: var(--pv-thumb); background: var(--pv-tone, var(--cf-white)); border: 5px solid var(--cf-dark); border-radius: 50%; box-shadow: 0 0 0 1px var(--cf-on-dark-3); }
.pv-range:focus-visible { outline: none; }
.pv-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 1px var(--cf-on-dark-3), var(--cf-ring-dark); }
.pv-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 1px var(--cf-on-dark-3), var(--cf-ring-dark); }
/* Status tiles sit under the thumb's travel (half a thumb in from each end). */
.pv-scale { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 16px calc(var(--pv-thumb, 22px) / 2 - 4px) 0; padding: 0; list-style: none; }
.pv-scale li { min-width: 0; }
.pv-scale__pick { position: relative; display: flex; flex-direction: column; gap: 4px; width: 100%; height: 100%; padding: 12px 12px 12px 14px; overflow: hidden; font: inherit; text-align: left; color: var(--cf-on-dark-3); background: var(--cf-dark-fill-1); border: 1px solid var(--cf-dark-line); border-radius: var(--cf-r-tile-sm); cursor: pointer; transition: color var(--cf-ease), background-color var(--cf-ease), border-color var(--cf-ease), transform var(--cf-ease); }
.pv-scale__pick::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; background: var(--pv-tone); border-radius: 0 2px 2px 0; opacity: 0.35; transition: opacity var(--cf-ease); }
.pv-scale__head { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.pv-scale__name { display: flex; align-items: center; gap: 6px; min-width: 0; }
.pv-calc__main { min-width: 0; container-type: inline-size; }
/* Narrow calculator column: the rate pill drops under the status name. */
@container (max-width: 680px) { .pv-scale__head { flex-wrap: wrap; row-gap: 4px; } .pv-scale__name { flex: 1 0 100%; align-items: flex-start; } .pv-scale__name .pv-ico { margin-top: 3px; } .pv-scale .pv-scale__pick b { white-space: normal; } }
.pv-ico { display: inline-flex; flex: none; }
.pv-ico--0 { color: var(--cf-tier-0-light); }
.pv-ico--1 { color: var(--cf-tier-1-light); }
.pv-ico--2 { color: var(--cf-tier-2-light); }
.pv-ico--3 { color: var(--cf-tier-3-light); }
.pv-scale__pick b { overflow: hidden; font-size: 13px; line-height: 20px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; color: var(--cf-on-dark-2); transition: color var(--cf-ease); }
.pv-scale__pick em { flex: none; padding: 0 6px; font-size: 11px; line-height: 18px; font-style: normal; font-weight: 600; color: var(--cf-on-dark-2); background: var(--cf-dark-fill-3); border-radius: var(--cf-r-pill); font-variant-numeric: tabular-nums; transition: color var(--cf-ease), background-color var(--cf-ease); }
.pv-scale__min { font-size: 12px; line-height: 16px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pv-scale li[aria-current="true"] .pv-scale__pick { color: var(--cf-on-dark-2); background: var(--cf-dark-fill-3); border-color: var(--pv-tone); }
.pv-scale li[aria-current="true"] .pv-scale__pick::before { opacity: 1; }
.pv-scale li[aria-current="true"] .pv-scale__pick b { color: var(--cf-on-dark); }
.pv-scale li[aria-current="true"] .pv-scale__pick em { color: var(--cf-dark); background: var(--pv-tone-fill); }
@media (hover: hover) and (pointer: fine) { .pv-scale__pick:hover { background: var(--cf-dark-fill-2); border-color: var(--cf-dark-line-mid); transform: translateY(-1px); } .pv-scale__pick:hover b { color: var(--cf-on-dark); } }
.pv-scale__pick:focus-visible { outline: none; box-shadow: var(--cf-ring-dark); }
.pv-calc__result { display: flex; flex-direction: column; gap: 18px; padding: 24px; background: color-mix(in srgb, var(--cf-dark-tile) 42%, transparent); border-radius: var(--cf-r-tile-sm); box-shadow: inset 0 0 0 1px var(--cf-dark-line); }
.pv-calc__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; }
.pv-calc__facts dt, .pv-calc__total > span { display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 16px; color: var(--cf-on-dark-2); }
.pv-calc__facts dt svg, .pv-calc__total > span svg { flex: none; color: var(--cf-on-dark-3); }
.pv-calc__facts dd { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; font-size: 20px; line-height: 28px; font-weight: 700; letter-spacing: -0.01em; color: var(--cf-on-dark); font-variant-numeric: tabular-nums; }
.pv-calc__total { padding-top: 18px; border-top: 1px solid var(--cf-dark-line); }
.pv-calc__total b { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 34px; line-height: 42px; font-weight: 700; letter-spacing: -0.03em; color: var(--pv-tone); transition: color var(--cf-ease); font-variant-numeric: tabular-nums; }
.pv-coin { display: block; flex: none; width: 28px; height: 28px; }
.pv-calc__total small { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12px; line-height: 16px; color: var(--cf-on-dark-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pv-calc__total small .pv-year { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--cf-on-dark); }
.pv-calc__total small .pv-coin { width: 14px; height: 14px; }
.pv-calc__progress { display: flex; flex-direction: column; gap: 10px; }
.pv-calc__next { font-size: 13px; line-height: 20px; color: var(--cf-on-dark-2); font-variant-numeric: tabular-nums; }
.pv-bar { display: block; height: 6px; overflow: hidden; background: var(--cf-dark-fill-3); border-radius: 3px; }
.pv-bar i { display: block; width: var(--pv-progress, 0%); height: 100%; background: var(--pv-tone-fill); border-radius: inherit; transition: width var(--cf-ease); }
.pv-calc__cta { align-self: stretch; width: 100%; justify-content: center; margin-top: auto; }
.pv-calc__cta svg { transition: transform var(--cf-ease); }
.pv-calc__ico { display: inline-flex; }
@media (hover: hover) and (pointer: fine) { .pv-calc__cta:hover svg { transform: translateX(3px); } }
.pv-calc[data-pv-level="0"] .pv-calc__cta { background: var(--cf-g-tier-0-btn); }
.pv-calc[data-pv-level="1"] .pv-calc__cta { color: var(--cf-on-dark); background: var(--cf-g-tier-1-cta); }
.pv-calc[data-pv-level="2"] .pv-calc__cta { color: var(--cf-on-dark); background: var(--cf-g-tier-2-cta); }
.pv-calc[data-pv-level="3"] .pv-calc__cta { color: var(--cf-on-dark); background: var(--cf-g-tier-3-cta); }
/* Partners: same calc layout, solid dark (no tier glow). */
.pv-calc.pt-calc,
.pv-calc.pt-calc .pv-scale li {
  --pv-tone: var(--cf-on-dark);
  --pv-tone-fill: var(--cf-white);
}
.pv-calc.pt-calc {
  background: var(--cf-dark);
}
.pv-calc.pt-calc .pv-glow { display: none; }
.pv-calc.pt-calc .pv-calc__cta {
  color: var(--cf-dark);
  background: var(--cf-white);
}
.pv-calc.pt-calc .pv-calc__total b { color: var(--cf-on-dark); }
/* Shared vertical rhythm for loyalty pages (/privileges/, /bonuses/). */
.pv-tiers, .pv-how, .bn-quest, .bn-month, .bn-more, .bn-rules { margin-top: 40px; }
.pv-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 16px 0 0; padding: 0; list-style: none; }
.pv-card { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 2px; padding: 24px; color: var(--cf-on-dark); border: 1px solid var(--cf-dark-line); border-radius: var(--cf-r-card); box-shadow: var(--cf-sh-card); transition: border-color var(--cf-ease), box-shadow var(--cf-ease), transform var(--cf-ease); }
.pv-card[data-pv-card="0"] { background: var(--cf-g-tier-0); }
.pv-card[data-pv-card="1"] { background: var(--cf-g-tier-1); }
.pv-card[data-pv-card="2"] { background: var(--cf-g-tier-2); }
.pv-card[data-pv-card="3"] { background: var(--cf-g-tier-3); }
.pv-card[aria-current="true"] { border-color: var(--cf-on-dark-3); box-shadow: var(--cf-sh-dark); transform: translateY(-4px); }
.pv-card__name { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--cf-on-dark-strong); }
.pv-card__badge { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--cf-dark-fill-3); border-radius: var(--cf-r-tile-sm); box-shadow: inset 0 0 0 1px var(--cf-dark-line-mid); }
.pv-card__rate { margin-top: 10px; font-size: 36px; line-height: 44px; font-weight: 700; letter-spacing: -0.03em; color: var(--cf-on-dark); font-variant-numeric: tabular-nums; }
.pv-card__sub { font-size: 13px; line-height: 20px; color: var(--cf-on-dark-2); }
.pv-card__turnover { margin-top: auto; padding-top: 16px; font-size: 13px; line-height: 20px; font-weight: 600; color: var(--cf-on-dark); border-top: 1px solid var(--cf-dark-line-mid); }
.pv-how__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 16px 0 0; padding: 0; list-style: none; }
.pv-how__steps li { display: flex; flex-direction: column; gap: 6px; padding: 24px; background: var(--cf-card-bg); border: 1px solid var(--cf-line); border-radius: var(--cf-r-card); box-shadow: var(--cf-sh-card); }
.pv-how__num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-bottom: 10px; font-size: 15px; line-height: 20px; font-weight: 700; color: var(--cf-on-dark); background: var(--cf-g-ink); border-radius: 50%; box-shadow: var(--cf-sh-card); }
.pv-how__steps b { font-size: 16px; line-height: 24px; font-weight: 600; color: var(--cf-ink-h1); }
.pv-how__steps p { font-size: 14px; line-height: 22px; color: var(--cf-muted); }
.pv-rules a { background: var(--cf-white); }
@media (prefers-reduced-motion: reduce) { .pv-stack__card.is-front::after { animation: none; } .pv-calc__cta svg, .pv-calc__amount, .pv-range::-webkit-slider-thumb, .pv-scale__pick, .pv-scale__pick::before, .pv-scale__pick b, .pv-scale__pick em, .pv-card, .pv-glow i, .pv-stack, .pv-stack__card, .pv-stack__rate, .pv-stack__brand, .pv-bar i, .pv-stack__card { transition: none; } }
@media (max-width: 1080px) {
  .pv-hero { grid-template-columns: minmax(0, 1fr); }
  .pv-stack { display: none; }
  .pv-hero > .bn-ref-art { max-width: 420px; }
  .pv-calc { grid-template-columns: minmax(0, 1fr); }
  .pv-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .pv-top .px-top__wrap { padding-bottom: 28px; }
  .pv-hero__title { font-size: 30px; line-height: 38px; }
  .pv-hero__lead { font-size: 16px; line-height: 26px; }
  .pv-stats { gap: 8px; margin-top: 20px; }
  .pv-stats li { flex: 1 1 100%; flex-direction: row; align-items: center; gap: 12px; min-width: 0; padding: 10px 14px; }
  .pv-stats b { font-size: 18px; line-height: 26px; }
  .pv-calc__amount input { font-size: 32px; line-height: 40px; }
  .pv-calc__amount span { font-size: 20px; line-height: 28px; }
  .pv-calc__result { padding: 20px 0 0; background: none; border-top: 1px solid var(--cf-dark-line-mid); border-radius: 0; box-shadow: none; }
  .pv-calc__total b { font-size: 28px; line-height: 36px; }
  .pv-coin { width: 22px; height: 22px; }
  .pv-scale { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-left: 0; margin-right: 0; }
  .pv-scale__pick { padding: 10px 10px 10px 12px; }
  .pv-tiers, .pv-how, .bn-quest, .bn-month, .bn-more, .bn-rules { margin-top: 32px; }
  .pv-cards { gap: 12px; }
  .pv-card { padding: 18px; }
  .pv-card__rate { font-size: 30px; line-height: 38px; }
  .pv-how__steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}

/* Bonuses (/bonuses/): hero scratch card, welcome quest with live sketches, month strip, more programmes. Shares the privileges hero. */
/* Scratch card: the prize sits under a canvas foil; without the script the prize shows as is. */
.bn-scratch { position: relative; height: 240px; overflow: hidden; color: var(--cf-on-dark); background: var(--cf-g-dark); border: 1px solid var(--cf-dark-line-mid); border-radius: 20px; box-shadow: var(--cf-sh-dark); }
.bn-scratch__prize { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 13px 20px 18px; }
.bn-scratch__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 18px; padding-right: 88px; }
.bn-scratch__label { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--cf-on-dark-strong); }
.bn-scratch__label svg { flex: none; width: 16px; height: 16px; }
.bn-scratch__prize .pv-stack__brand { opacity: 1; }
.bn-scratch__total { display: flex; align-items: center; gap: 8px; margin-top: auto; font-size: 48px; line-height: 56px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.bn-coin { display: block; flex: none; }
.bn-scratch__total .bn-coin { width: 32px; height: 32px; }
.bn-scratch__note { margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--cf-on-dark-2); }
.bn-scratch__foil { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; touch-action: none; transition: opacity 0.5s ease; }
.bn-scratch.is-revealed .bn-scratch__foil { opacity: 0; pointer-events: none; }
.bn-scratch__hint { position: absolute; top: 50%; left: 50%; display: none; align-items: center; gap: 8px; padding: 10px 16px; font-size: 14px; line-height: 20px; font-weight: 600; white-space: nowrap; color: var(--cf-ink); background: var(--cf-white); border-radius: var(--cf-r-pill); box-shadow: var(--cf-sh-card); transform: translate(-50%, -50%); pointer-events: none; transition: opacity 0.3s ease; }
.bn-scratch__hint svg { flex: none; animation: bn-wiggle 1.6s ease-in-out infinite; }
@keyframes bn-wiggle { 0%, 100% { transform: translateX(-3px) rotate(-8deg); } 50% { transform: translateX(3px) rotate(8deg); } }
.bn-scratch__open { position: absolute; right: 14px; bottom: 14px; display: none; align-items: center; min-height: 32px; padding: 6px 14px; font: inherit; font-size: 13px; line-height: 20px; font-weight: 600; color: var(--cf-dark); background: var(--cf-white); border: 0; border-radius: var(--cf-r-pill); box-shadow: var(--cf-sh-card); cursor: pointer; }
.bn-scratch__open:focus-visible { outline: 2px solid var(--cf-white); outline-offset: 2px; }
.bn-scratch.is-ready .bn-scratch__hint { display: inline-flex; }
.bn-scratch.is-ready .bn-scratch__open { display: inline-flex; }
.bn-scratch.is-scratching .bn-scratch__hint { opacity: 0; }
.bn-scratch.is-revealed .bn-scratch__hint, .bn-scratch.is-revealed .bn-scratch__open { display: none; }
.bn-spark { position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; background: var(--c); border-radius: 2px; pointer-events: none; animation: bn-spark 0.9s cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes bn-spark { from { opacity: 1; transform: translate(0, 0) rotate(0) scale(1); } to { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--r)) scale(.4); } }
.bn-quest__grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 16px; }
.bn-quest__side { display: flex; flex-direction: column; gap: 4px; height: 100%; min-height: 0; padding: 16px 8px 8px; color: var(--cf-on-dark); background: var(--cf-dark); border: 1px solid var(--cf-dark-line-mid); border-radius: var(--cf-r-card); box-shadow: var(--cf-sh-dark); }
.bn-quest__side-title { display: flex; align-items: center; gap: 10px; margin: 0 8px 8px; font-size: 18px; line-height: 26px; font-weight: 700; letter-spacing: -0.02em; color: var(--cf-on-dark); }
.bn-quest__side-title svg { flex: none; color: var(--cf-on-dark); }
.bn-quest__tabs { display: flex; flex: 1 1 auto; flex-direction: column; gap: 4px; min-height: 0; }
.bn-quest__tab { display: flex; flex: 1 1 0; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 12px 16px 12px 12px; font: inherit; text-align: left; color: var(--cf-on-dark-2); background: transparent; border: 1px solid transparent; border-radius: var(--cf-r-panel); cursor: pointer; transition: background var(--cf-ease), border-color var(--cf-ease), box-shadow var(--cf-ease), color var(--cf-ease); }
.bn-quest__tab[aria-selected="true"] { color: var(--cf-on-dark); background: var(--cf-dark-fill-3); border-color: var(--cf-dark-line-mid); box-shadow: inset 0 0 0 1px var(--cf-dark-line-mid); }
.bn-quest__tab[aria-selected="true"] .bn-quest__name,
.bn-quest__tab[aria-selected="true"] .bn-quest__sum { color: var(--cf-on-dark); }
@media (hover: hover) and (pointer: fine) { .bn-quest__tab:not([aria-selected="true"]):hover { color: var(--cf-on-dark); background: var(--cf-dark-fill-2); } }
.bn-quest__tab:focus-visible { outline: 2px solid var(--cf-on-dark); outline-offset: 2px; }
.bn-quest__ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; color: var(--cf-on-dark); background: var(--cf-dark-fill-2); border-radius: var(--cf-r-ctl); box-shadow: inset 0 0 0 1px var(--cf-dark-line-mid); transition: background var(--cf-ease), color var(--cf-ease), box-shadow var(--cf-ease); }
.bn-quest__tab[aria-selected="true"] .bn-quest__ico { color: var(--cf-on-dark); background: var(--cf-dark-fill-1); box-shadow: inset 0 0 0 1px var(--cf-dark-line); }
.bn-quest__name { font-size: 15px; line-height: 22px; font-weight: 600; }
.bn-quest__sum { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; font-size: 15px; line-height: 22px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--cf-on-dark); }
.bn-quest__sum .bn-coin { width: 14px; height: 14px; filter: brightness(0) invert(1); }
.bn-quest__total { display: flex; flex: none; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; padding: 14px 12px 8px; font-size: 15px; line-height: 22px; color: var(--cf-on-dark-2); border-top: 1px dashed var(--cf-dark-line-mid); }
.bn-quest__total b { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; line-height: 22px; font-weight: 700; color: var(--cf-on-dark); font-variant-numeric: tabular-nums; }
.bn-quest__total .bn-coin { width: 14px; height: 14px; filter: brightness(0) invert(1); }
/* One card: mock + copy share the same surface (no dark/light split). */
.bn-quest__panels { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; align-self: stretch; }
.bn-quest__panel { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: stretch; gap: 8px 28px; min-width: 0; height: 100%; padding: 28px 32px; overflow: hidden; background: var(--cf-card-bg); border: 1px solid var(--cf-line); border-radius: var(--cf-r-card); box-shadow: var(--cf-sh-card); animation: bn-in 0.4s ease; }
.bn-quest__panel[hidden] { display: grid; visibility: hidden; pointer-events: none; z-index: 0; animation: none; }
.bn-quest__panel:not([hidden]) { visibility: visible; z-index: 1; }
@keyframes bn-in { from { opacity: 0; transform: translateY(8px); } }
.bn-quest__art { position: relative; isolation: isolate; display: grid; place-items: center; align-self: stretch; min-height: 280px; height: 100%; padding: 28px 20px; overflow: hidden; background: var(--cf-section-alt); border: 1px solid var(--cf-line); border-radius: 20px; }
.bn-quest__art::before,
.bn-quest__art::after { content: none; }
.bn-quest__ring { display: none; }
.bn-quest__float { display: none; }
.bn-quest__art .bn-mock { position: relative; z-index: 1; }
.bn-quest__body { display: flex; flex-direction: column; align-self: stretch; min-height: 280px; height: 100%; padding: 4px 0 0; }
.bn-quest__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bn-quest__step { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; font-size: 12px; line-height: 18px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--cf-muted); background: var(--cf-section-alt); border-radius: var(--cf-r-pill); }
.bn-quest__dots { display: inline-flex; align-items: center; gap: 6px; }
.bn-quest__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--cf-section-alt); box-shadow: inset 0 0 0 1px var(--cf-line); }
.bn-quest__dots i.is-on { background: var(--cf-g-ink); box-shadow: none; }
.bn-quest__pay { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; padding: 16px 18px; background: linear-gradient(180deg, var(--cf-section-alt) 0%, var(--cf-white) 100%); border: 1px solid var(--cf-line); border-radius: 18px; box-shadow: inset 0 1px 0 var(--cf-white); }
.bn-quest__pay-label { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--cf-muted); }
.bn-quest__reward { display: flex; align-items: center; gap: 8px; font-size: 44px; line-height: 52px; font-weight: 700; letter-spacing: -0.03em; color: var(--cf-ink-h1); font-variant-numeric: tabular-nums; }
.bn-quest__reward .bn-coin { width: 28px; height: 28px; }
.bn-quest__title { margin-top: 18px; font-size: 22px; line-height: 30px; font-weight: 700; letter-spacing: -0.02em; color: var(--cf-ink-h1); }
.bn-quest__cond { margin-top: 6px; padding-bottom: 20px; font-size: 15px; line-height: 24px; color: var(--cf-muted); }
.bn-quest__go { align-self: stretch; width: 100%; justify-content: center; margin-top: auto; box-shadow: 0 12px 28px var(--cf-shade-2); }
.bn-quest__go svg { transition: transform var(--cf-ease); }
@media (hover: hover) and (pointer: fine) {
  .bn-quest__go:hover svg { transform: translateX(3px); }
  .bn-quest__go:hover { box-shadow: 0 16px 32px var(--cf-shade-3); }
}
.bn-quest__note { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 14px 18px; font-size: 14px; line-height: 20px; color: var(--cf-ink); background: var(--cf-card-bg); border: 1px solid var(--cf-line); border-radius: var(--cf-r-card); }
.bn-quest__note .bn-coin { flex: none; width: 16px; height: 16px; }
.bn-quest__note svg { flex: none; color: var(--cf-muted); }
/* Task sketches: cropped UI fragments (no stage/background effects). */
.bn-mock { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 304px; padding: 16px 16px 18px; background: var(--cf-white); border: 1px solid var(--cf-line); border-radius: var(--cf-r-panel); box-shadow: 0 1px 2px var(--cf-shade-1), 0 16px 32px -20px var(--cf-shade-4); }
.bn-mock__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 28px; padding-bottom: 10px; margin: 0 0 2px; border-bottom: 1px solid var(--cf-line); font-size: 13px; line-height: 18px; font-weight: 700; color: var(--cf-ink-h1); }
.bn-mock__toolbar em { display: inline-flex; align-items: center; gap: 2px; font-style: normal; font-weight: 600; color: var(--cf-muted); }
.bn-mock__toolbar em svg { width: 14px; height: 14px; }
.bn-mock__status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--cf-up-text); }
.bn-mock__status svg { flex: none; width: 14px; height: 14px; color: var(--cf-up); }
.bn-mock__brand { display: flex; align-items: center; gap: 8px; }
.bn-mock__brand img { flex: none; width: 22px; height: 22px; }
.bn-mock__brand b { font-size: 14px; line-height: 18px; font-weight: 700; color: var(--cf-ink-h1); }
.bn-mock__brand i { margin-left: auto; font-size: 11px; line-height: 14px; font-style: normal; font-weight: 600; color: var(--cf-muted); text-transform: uppercase; letter-spacing: .04em; }
.bn-mock__lab { display: flex; flex-direction: column; gap: 6px; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--cf-muted); }
.bn-mock__cap { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; line-height: 20px; color: var(--cf-muted); }
.bn-mock__cap > span:not(.bn-mock__tag) { font-weight: 700; color: var(--cf-ink-h1); font-variant-numeric: tabular-nums; }
.bn-mock__tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; font-size: 11px; line-height: 14px; font-weight: 700; color: var(--cf-up-text); background: var(--cf-up-soft); border-radius: var(--cf-r-pill); }
.bn-mock__tag svg { flex: none; width: 12px; height: 12px; color: var(--cf-up); }
.bn-mock__field { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--cf-ink-h1); background: var(--cf-section-alt); border-radius: var(--cf-r-tile-sm); box-shadow: inset 0 0 0 1px var(--cf-line); }
.bn-mock__field--mail { box-shadow: inset 0 0 0 1px var(--cf-ink-h1); background: var(--cf-white); }
.bn-mock__dots { letter-spacing: 0.12em; color: var(--cf-muted); }
/* «Ваша почта»: 10 glyphs; width in ch tracks the caret. */
.bn-mock__type { display: inline-block; width: 10ch; overflow: hidden; white-space: nowrap; border-right: 2px solid var(--cf-ink-h1); animation: bn-type 3.2s steps(10) infinite; }
@keyframes bn-type { 0% { width: 0; } 55%, 100% { width: 10ch; } }
.bn-mock__btn { display: grid; place-items: center; height: 44px; margin-top: 2px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--cf-on-dark); background: var(--cf-g-ink); border-radius: var(--cf-r-tile-sm); }
.bn-mock__ok { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 5px 10px; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--cf-up-text); background: var(--cf-up-soft); border-radius: var(--cf-r-pill); animation: bn-pop 0.55s cubic-bezier(.3, 1.4, .5, 1) 0.9s both; }
.bn-mock__ok svg, .bn-mock__ok .bn-coin { flex: none; width: 14px; height: 14px; }
.bn-mock__ok svg { color: var(--cf-up); }
.bn-mock__big { font-size: 32px; line-height: 40px; font-weight: 700; letter-spacing: -0.03em; color: var(--cf-ink-h1); font-variant-numeric: tabular-nums; animation: bn-pop 0.55s cubic-bezier(.3, 1.4, .5, 1) 0.15s both; }
@keyframes bn-pop { from { opacity: 0; transform: translateY(6px); } }
.bn-mock--balance .bn-mock__big { color: var(--cf-up-text); }
.bn-mock__chart { padding: 12px 10px 10px; background: var(--cf-section-alt); border-radius: var(--cf-r-ctl); box-shadow: inset 0 0 0 1px var(--cf-line); }
.bn-mock__spark { display: flex; align-items: flex-end; gap: 3px; height: 48px; }
.bn-mock__spark i { flex: 1; min-width: 0; border-radius: 3px 3px 1px 1px; background: linear-gradient(180deg, var(--cf-up) 0%, color-mix(in srgb, var(--cf-up) 30%, var(--cf-section-alt)) 100%); transform-origin: 50% 100%; animation: bn-spark-bar 1.8s ease-in-out infinite; }
.bn-mock__spark i:nth-child(1) { height: 28%; animation-delay: 0s; }
.bn-mock__spark i:nth-child(2) { height: 42%; animation-delay: .08s; }
.bn-mock__spark i:nth-child(3) { height: 36%; animation-delay: .16s; }
.bn-mock__spark i:nth-child(4) { height: 58%; animation-delay: .24s; }
.bn-mock__spark i:nth-child(5) { height: 48%; animation-delay: .32s; }
.bn-mock__spark i:nth-child(6) { height: 72%; animation-delay: .4s; }
.bn-mock__spark i:nth-child(7) { height: 64%; animation-delay: .48s; }
.bn-mock__spark i:nth-child(8) { height: 86%; animation-delay: .56s; }
.bn-mock__spark i:nth-child(9) { height: 78%; animation-delay: .64s; }
@keyframes bn-spark-bar { 0%, 100% { transform: scaleY(1); opacity: .88; } 50% { transform: scaleY(1.1); opacity: 1; } }
.bn-mock--swap { gap: 6px; }
.bn-mock__row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--cf-section-alt); border-radius: var(--cf-r-ctl); box-shadow: inset 0 0 0 1px transparent; }
.bn-mock__col { display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; }
.bn-mock__row small { font-size: 12px; line-height: 16px; color: var(--cf-muted); }
.bn-mock__row b { font-size: 16px; line-height: 22px; font-weight: 700; color: var(--cf-ink-h1); font-variant-numeric: tabular-nums; }
.bn-mock__asset { display: grid; place-items: center; flex: none; width: 36px; height: 36px; font-size: 14px; line-height: 1; font-weight: 700; color: var(--cf-on-dark); background: var(--cf-g-ink); border-radius: 50%; }
.bn-mock__asset--u { padding: 0; overflow: hidden; background: transparent; }
.bn-mock__asset--u img { display: block; width: 36px; height: 36px; border-radius: 50%; }
.bn-mock__flip { position: relative; z-index: 1; display: grid; place-items: center; align-self: center; width: 36px; height: 36px; margin: -12px 0; color: var(--cf-on-dark); background: var(--cf-g-ink); border: 1px solid var(--cf-line); border-radius: 50%; box-shadow: 0 0 0 4px var(--cf-white); animation: bn-flip 2.4s ease-in-out infinite; }
@keyframes bn-flip { 0%, 40% { transform: rotate(0); } 60%, 100% { transform: rotate(180deg); } }
.bn-mock--meter { gap: 12px; }
.bn-mock--meter .bn-mock__big { font-size: 30px; line-height: 38px; }
.bn-mock__track { position: relative; display: flex; flex-direction: column; gap: 0; }
.bn-mock__bar { display: block; height: 12px; overflow: hidden; background: var(--cf-section-alt); border-radius: var(--cf-r-pill); box-shadow: inset 0 0 0 1px var(--cf-line); }
.bn-mock__bar i { display: block; width: 72%; height: 100%; background: var(--cf-g-ink); border-radius: inherit; }
.bn-mock__bar--full i { width: 100%; }
.bn-mock__bar--near i { width: 92%; }
.bn-mock__scale { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; line-height: 16px; color: var(--cf-muted); }
.bn-mock__scale span:nth-child(2) { font-weight: 600; color: var(--cf-ink-h1); }
.bn-month__panel { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 32px; padding: 32px; overflow: hidden; color: var(--cf-on-dark); background: var(--cf-g-dark); border-radius: var(--cf-r-card); box-shadow: var(--cf-sh-dark); }
.bn-month__panel > * { position: relative; z-index: 1; }
.bn-month__title { font-size: 28px; line-height: 36px; font-weight: 700; letter-spacing: -0.02em; }
.bn-month__text p { max-width: 520px; margin-top: 8px; font-size: 15px; line-height: 24px; color: var(--cf-on-dark-2); }
/* Same shape/arrow motion as quest «Получить»; keep ab-btn-light white on dark panel. */
.bn-month__go { min-height: 48px; height: 48px; padding: 0 24px; font-size: 16px; line-height: 21px; justify-content: center; }
.bn-month__go svg { width: 20px; height: 20px; transition: transform var(--cf-ease); }
@media (hover: hover) and (pointer: fine) { .bn-month__go:hover svg { transform: translateX(3px); } }
.bn-months { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.bn-months__item { display: flex; flex-direction: column; gap: 2px; padding: 14px; background: var(--cf-dark-fill-1); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--cf-dark-line-mid); }
.bn-months__ico { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 14px; color: var(--cf-on-dark-2); background: var(--cf-dark-fill-2); border-radius: var(--cf-r-tile-sm); }
.bn-months__ico svg { width: 16px; height: 16px; }
.bn-months__item b { font-size: 15px; line-height: 22px; font-weight: 600; }
.bn-months__item small { font-size: 12px; line-height: 16px; color: var(--cf-on-dark-2); }
.bn-months__item.is-now { background: var(--cf-white); box-shadow: 0 12px 28px var(--cf-shade-3); }
.bn-months__item.is-now .bn-months__ico { color: var(--cf-on-dark); background: var(--cf-g-ink); }
.bn-months__item.is-now .bn-months__ico svg { animation: bn-wiggle 1.6s ease-in-out infinite; }
.bn-months__item.is-now b { color: var(--cf-dark); }
.bn-months__item.is-now small { color: var(--cf-muted); }
.bn-more__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; align-items: stretch; }
.bn-more__card { display: grid; grid-template-columns: minmax(0, 1fr); align-content: space-between; gap: 24px; padding: 28px; background: var(--cf-card-bg); border: 1px solid var(--cf-line); border-radius: var(--cf-r-card); box-shadow: var(--cf-sh-card); min-width: 0; }
.bn-more__text { display: flex; flex-direction: column; gap: 8px; }
.bn-more__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bn-more__card h3 { min-width: 0; margin: 0; font-size: 22px; line-height: 30px; font-weight: 700; letter-spacing: -0.02em; color: var(--cf-ink-h1); }
.bn-more__card p { max-width: none; font-size: 15px; line-height: 24px; color: var(--cf-muted); }
.bn-more__link { display: inline-flex; flex: none; align-items: center; gap: 6px; margin-left: auto; font-size: 14px; line-height: 20px; font-weight: 600; white-space: nowrap; color: var(--cf-ink-h1); }
.bn-more__link svg { transition: transform var(--cf-ease); }
@media (hover: hover) and (pointer: fine) { .bn-more__link:hover svg { transform: translateX(3px); } }
.bn-more__card--pv { position: relative; isolation: isolate; overflow: hidden; color: var(--cf-on-dark); background: radial-gradient(60% 90% at 85% 40%, var(--cf-dark-fill-3) 0%, transparent 70%), var(--cf-g-dark); border-color: var(--cf-dark-line-mid); box-shadow: var(--cf-sh-dark); }
.bn-more__card--pv > * { position: relative; z-index: 1; }
.bn-more__card--pv h3, .bn-more__card--pv .bn-more__link { color: var(--cf-on-dark); }
.bn-more__card--pv p { color: var(--cf-on-dark-2); }
.bn-more__card--bn {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: space-between;
  gap: 20px;
  overflow: hidden;
  color: var(--cf-on-dark);
  /* Mirrored darkening vs --pv (right → left). */
  background: radial-gradient(60% 90% at 15% 40%, var(--cf-dark-fill-3) 0%, transparent 70%), var(--cf-g-dark);
  border-color: var(--cf-dark-line-mid);
  box-shadow: var(--cf-sh-dark);
  /* Mirrored arcs: origin bottom-left, stronger on the left. Do not reuse --cf-ring (focus). */
  --cf-arc: repeating-radial-gradient(circle at -15% 130%, transparent 0 13px, var(--cf-dark-fill-1) 13px 14px);
  --cf-arc-fade: linear-gradient(90deg, var(--cf-black) 22%, color-mix(in srgb, var(--cf-black) 20%, transparent) 65%, transparent 100%);
}
.bn-more__card--bn > * { position: relative; z-index: 1; }
.bn-more__card--bn h3, .bn-more__card--bn .bn-more__link { color: var(--cf-on-dark); }
.bn-more__card--bn p { color: var(--cf-on-dark-2); }
/* Concentric arcs: origin bottom-right; fade left → right (--bn card uses mirrored vars above). */
.pv-stack__card,
.pv-calc,
.pv-card,
.bn-scratch,
.bn-month__panel,
.bn-more__card--pv,
.bn-more__prize {
  --cf-arc: repeating-radial-gradient(circle at 115% 130%, transparent 0 13px, var(--cf-dark-fill-1) 13px 14px);
  --cf-arc-fade: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--cf-black) 20%, transparent) 35%, var(--cf-black) 78%);
}
.pv-stack__card::before,
.pv-card::before,
.bn-scratch::before,
.bn-month__panel::before,
.bn-more__card--pv::before,
.bn-more__card--bn::before,
.bn-more__prize::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--cf-arc);
  -webkit-mask-image: var(--cf-arc-fade);
  mask-image: var(--cf-arc-fade);
}
.pv-card::before { z-index: -1; }
.bn-more__quest { display: flex; flex-direction: column; gap: 12px; min-height: 0; }
.bn-more__total { position: relative; display: flex; align-items: center; gap: 16px 20px; padding: 18px 20px; overflow: hidden; background: linear-gradient(115deg, var(--cf-dark-fill-1) 0%, var(--cf-dark-fill-2) 48%, var(--cf-dark-fill-3) 100%); border: 1px solid var(--cf-dark-line-mid); border-radius: 18px; box-shadow: inset 0 1px 0 var(--cf-dark-line-mid); }
.bn-more__total::before { content: ""; position: absolute; inset: auto -20% -40% auto; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, var(--cf-dark-fill-4) 0%, transparent 70%); pointer-events: none; }
.bn-more__total-main { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bn-more__total-label { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cf-on-dark-2); }
.bn-more__total-main > b { display: inline-flex; align-items: center; gap: 8px; font-size: 36px; line-height: 42px; font-weight: 700; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.bn-more__total .bn-coin { width: 26px; height: 26px; }
.bn-more__rate { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; margin-left: auto; }
.bn-more__rate-tile { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--cf-dark-fill-1); border: 1px solid var(--cf-dark-line-mid); border-radius: var(--cf-r-panel); box-shadow: inset 0 0 0 1px var(--cf-dark-line-mid); }
.bn-more__rate-tile em { font-style: normal; font-size: 22px; line-height: 28px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--cf-on-dark); }
.bn-more__rate-tile img { width: 22px; height: 22px; }
.bn-more__rate-tile--rub b { display: grid; place-items: center; width: 28px; height: 28px; font-size: 15px; line-height: 1; font-weight: 700; color: var(--cf-on-dark); background: var(--cf-g-ink); border-radius: 50%; box-shadow: inset 0 0 0 1px var(--cf-dark-line-mid); }
.bn-more__rate-bridge { display: inline-flex; align-items: center; gap: 3px; padding: 0 2px; }
.bn-more__rate-bridge i { width: 5px; height: 5px; border-radius: 50%; background: var(--cf-on-dark-2); opacity: .35; animation: bn-rate 1.1s ease-in-out infinite; }
.bn-more__rate-bridge i:nth-child(2) { animation-delay: .15s; }
.bn-more__rate-bridge i:nth-child(3) { animation-delay: .3s; opacity: .7; }
@keyframes bn-rate { 0%, 100% { opacity: .25; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.15); background: var(--cf-on-dark); } }
.bn-more__steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.bn-more__steps li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 12px 14px; background: var(--cf-dark-fill-1); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--cf-dark-line-mid); animation: bn-in 0.45s ease both; animation-delay: calc(var(--i, 0) * 0.06s); }
.bn-more__step-ico { display: grid; place-items: center; grid-row: 1 / span 2; width: 32px; height: 32px; color: var(--cf-on-dark); background: var(--cf-dark-fill-2); border-radius: var(--cf-r-tile-sm); box-shadow: inset 0 0 0 1px var(--cf-dark-line-mid); }
.bn-more__step-ico svg { width: 16px; height: 16px; }
.bn-more__steps small { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--cf-on-dark); }
.bn-more__steps b { font-size: 15px; line-height: 20px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--cf-on-dark-2); }
/* Legacy prize tile (kept for any leftover markup). */
.bn-more__prize { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 4px; width: 100%; padding: 16px 18px; overflow: hidden; background: var(--cf-dark-fill-2); border: 1px solid var(--cf-dark-line-mid); border-radius: var(--cf-r-panel); box-shadow: inset 0 0 0 1px var(--cf-dark-line-mid); }
.bn-more__prize > * { position: relative; z-index: 1; }
.bn-more__prize-label { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--cf-on-dark-strong); }
.bn-more__prize-label svg { flex: none; width: 14px; height: 14px; }
.bn-more__prize b { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 28px; line-height: 34px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.bn-more__prize .bn-coin { width: 22px; height: 22px; }
.bn-more__prize-note { font-size: 13px; line-height: 18px; color: var(--cf-on-dark-2); }
.bn-more__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 420px; margin: 10px 0 0; padding: 0; list-style: none; }
.bn-more__facts li { display: flex; align-items: center; gap: 8px; padding: 8px 12px; font-size: 13px; line-height: 18px; color: var(--cf-on-dark-2); background: var(--cf-dark-fill-1); border-radius: var(--cf-r-tile-sm); box-shadow: inset 0 0 0 1px var(--cf-dark-line-mid); }
.bn-more__facts b { font-weight: 600; color: var(--cf-on-dark); }
.bn-more__facts span:last-child { margin-left: auto; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bn-more__stack { justify-self: center; width: 100%; max-width: 300px; }
/* Partner invite: multi-ring orbit, pulses, icon floats + coin tokens inbound. */
.bn-more__card--ref {
  overflow: hidden;
  grid-template-rows: auto 1fr;
  align-content: stretch;
  gap: 16px;
}
.bn-more__card--ref .bn-more__text { order: -1; }
.bn-ref-art {
  position: relative;
  display: grid;
  place-items: center;
  align-self: stretch;
  min-height: 280px;
  height: 100%;
  padding: 20px 12px;
  overflow: hidden;
  color: var(--cf-on-dark);
  background: var(--cf-g-dark);
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px var(--cf-dark-line);
}
.bn-ref-art::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  /* Same stroke weight/spacing as .ly__vis arcs (not soft-* fill rings). */
  background: var(--cf-arcs-tl);
  -webkit-mask: radial-gradient(ellipse 70% 110% at 8% 8%, var(--cf-black) 0%, transparent 72%);
  mask: radial-gradient(ellipse 70% 110% at 8% 8%, var(--cf-black) 0%, transparent 72%);
  opacity: .9;
}
.bn-orbit { position: relative; z-index: 1; width: 100%; max-width: 280px; height: 220px; color: var(--cf-dark-line-strong); }
.bn-orbit__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bn-orbit__lines line { stroke-width: 1.5; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; animation: bn-flow 1.2s linear infinite; }
@keyframes bn-flow { to { stroke-dashoffset: 18; } }
.bn-orbit__you {
  position: absolute; z-index: 3; top: 50%; left: 50%; display: grid; place-items: center;
  width: 68px; height: 68px; margin: -34px 0 0 -34px;
  background: var(--cf-dark-raised); border: 1px solid var(--cf-dark-line-strong); border-radius: 50%;
  box-shadow: 0 16px 32px var(--cf-shadow-dark);
}
.bn-orbit__you .bn-coin { width: 28px; height: 28px; }
.bn-orbit__friend {
  position: absolute; z-index: 3; display: grid; place-items: center;
  width: 44px; height: 44px; margin: -22px 0 0 -22px; color: var(--cf-on-dark);
  background: var(--cf-dark-fill-3); border: 2px solid var(--cf-dark); border-radius: 50%;
  box-shadow: 0 10px 22px var(--cf-shadow-dark);
  animation: bn-bob 3s ease-in-out infinite; animation-delay: calc(var(--k) * -0.75s);
}
@keyframes bn-bob { 50% { translate: 0 -5px; } }
.bn-orbit__float {
  position: absolute; z-index: 4; display: grid; place-items: center;
  width: 44px; height: 44px; color: var(--cf-on-dark);
  background: var(--cf-dark-raised); border: 1px solid var(--cf-dark-line-strong); border-radius: 50%;
  box-shadow: 0 12px 28px var(--cf-shadow-dark);
  animation: bn-float 3.4s ease-in-out infinite;
}
.bn-orbit__float--share {
  top: 8%; right: 8%;
  color: var(--cf-ink); background: var(--cf-white); border-color: var(--cf-white);
}
.bn-orbit__float--invite {
  top: 12%; left: 6%; animation-delay: -1.2s;
  color: var(--cf-on-dark); background: var(--cf-dark-fill-3); border-color: var(--cf-dark-line-mid);
}
@keyframes bn-float { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-8px) rotate(3deg); } }
/* Rules file row — layout lives in legal.css on /notices/; loyalty pages don't load it. */
.bn-rules .pv-rules { display: flex; flex-direction: column; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.bn-rules .nt-files a {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) 16px; align-items: center; gap: 14px;
  padding: 12px 16px 12px 12px; background: var(--cf-white);
  border: 1px solid var(--cf-line); border-radius: var(--cf-r-ctl); transition: background var(--cf-ease);
}
.bn-rules .nt-files__ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: var(--cf-r-ctl); }
.bn-rules .nt-files__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bn-rules .nt-files b { font-size: 15px; line-height: 22px; font-weight: 600; color: var(--cf-ink-h1); }
.bn-rules .nt-files small { font-size: 12px; line-height: 16px; color: var(--cf-muted); }
.bn-rules .nt-files a > svg { color: var(--cf-muted); transition: transform var(--cf-ease), color var(--cf-ease); }
@media (hover: hover) and (pointer: fine) {
  .bn-rules .nt-files a:hover { background: var(--cf-board); }
  .bn-rules .nt-files a:hover > svg { color: var(--cf-ink); transform: translateX(3px); }
}
@media (prefers-reduced-motion: reduce) {
  .bn-scratch__hint svg, .bn-months__item.is-now .bn-months__ico svg, .bn-quest__panel, .bn-quest__art::before, .bn-quest__art::after, .bn-quest__ring, .bn-quest__float, .bn-mock__type, .bn-mock__big, .bn-mock__ok, .bn-mock__spark i, .bn-mock__flip, .bn-orbit__lines line, .bn-orbit__friend, .bn-orbit__float { animation: none; }
  .bn-mock__ok { animation: none; opacity: 1; transform: none; }
  .bn-quest__float { transform: none; }
  .bn-scratch__foil, .bn-quest__tab, .bn-quest__ico, .bn-quest__go svg, .bn-month__go svg, .bn-more__link svg { transition: none; }
  .bn-more__steps li { animation: none; }
  .bn-more__rate-bridge i { animation: none; opacity: .55; transform: none; }
}
@media (max-width: 1080px) {
  .bn-scratch { max-width: 420px; }
  .bn-quest__grid { grid-template-columns: minmax(0, 1fr); }
  .bn-quest__side { height: auto; }
  .bn-quest__tabs { display: grid; flex: none; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bn-quest__tab { flex: none; }
  .bn-quest__tab { flex-direction: column; align-items: flex-start; gap: 8px; }
  .bn-quest__sum { margin-left: 0; }
  .bn-quest__total { display: none; }
  .bn-months { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bn-more__grid { grid-template-columns: minmax(0, 1fr); }
  .bn-more__card { gap: 24px; padding: 28px 32px; }
  .bn-more__card--pv .pv-stack { display: block; }
  .bn-more__stack { max-width: 380px; }
}
@media (max-width: 767px) {
  .bn-scratch__total { font-size: 40px; line-height: 48px; }
  .bn-quest__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bn-quest__tab { padding: 12px; }
  .bn-quest__panel { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 24px 20px; }
  .bn-quest__art { padding: 0; }
  .bn-quest__body { min-height: 0; padding: 0; }
  .bn-quest__reward { font-size: 40px; line-height: 48px; }
  .bn-quest__note { align-items: flex-start; }
  .bn-month, .bn-more, .bn-rules { margin-top: 32px; }
  .bn-month__panel { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; }
  .bn-month__title { font-size: 24px; line-height: 32px; }
  .bn-month__go { justify-self: start; }
  .bn-months { gap: 8px; }
  .bn-months__item { padding: 10px; }
  .bn-months__ico { margin-bottom: 10px; }
  .bn-months__item b { font-size: 14px; }
  .bn-more__grid { gap: 12px; }
  .bn-more__card { padding: 20px; }
  .bn-more__card h3 { font-size: 20px; line-height: 28px; }
  .bn-more__total { flex-wrap: wrap; padding: 14px 16px; }
  .bn-more__total-main > b { font-size: 30px; line-height: 36px; }
  .bn-more__rate { margin-left: 0; }
  .bn-more__steps { grid-template-columns: minmax(0, 1fr); }
  .bn-more__prize b { font-size: 26px; line-height: 32px; }
  .bn-more__facts { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Loyalty hub (/loyalty/) ---------- */
/* Rounded arcs on the right instead of the shared px-top square grid. */
.ly-top.px-top::before {
  background: var(--cf-arcs-br);
  -webkit-mask: radial-gradient(ellipse 62% 120% at 92% 88%, var(--cf-black) 0%, transparent 72%);
  mask: radial-gradient(ellipse 62% 120% at 92% 88%, var(--cf-black) 0%, transparent 72%);
  opacity: .9;
}
.ly-top .px-top__wrap { padding-bottom: 56px; }
.ly-hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(300px, 400px); align-items: center; gap: 40px 64px; margin-top: 10px; }
.ly-hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cf-on-dark-3); }
.ly-hero__eyebrow img { width: 18px; height: 18px; opacity: .9; }
.ly-hero__title { margin-top: 12px; font-size: 48px; line-height: 54px; letter-spacing: -0.04em; }
.ly-hero__lead { max-width: 540px; margin-top: 14px; font-size: 18px; line-height: 28px; color: var(--cf-on-dark-2); text-wrap: pretty; }
.ly-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 22px; }
.ly-hero__go { min-height: 48px; padding: 0 22px; }
.ly-hero__go svg { transition: transform var(--cf-ease); }
@media (hover: hover) and (pointer: fine) { .ly-hero__go:hover svg { transform: translateX(3px); } }
.ly-path { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 36px 0 0; padding: 0; list-style: none; }
.ly-path li { position: relative; display: flex; align-items: flex-start; gap: 10px; min-height: 68px; padding: 14px 14px; background: var(--cf-dark-fill-2); border: 1px solid var(--cf-dark-line); border-radius: var(--cf-r-panel); }
.ly-path__n { display: grid; place-items: center; flex: none; width: 28px; height: 28px; font-size: 13px; line-height: 1; font-weight: 700; color: var(--cf-ink); background: var(--cf-white); border-radius: 50%; }
.ly-path b { display: block; font-size: 14px; line-height: 20px; font-weight: 700; color: var(--cf-on-dark); }
.ly-path small { display: block; margin-top: 2px; font-size: 12px; line-height: 16px; color: var(--cf-on-dark-2); }

.ly-wallet { position: relative; width: min(100%, 380px); margin: 0 auto; padding: 20px 10px 18px; }
.ly-wallet__plate { display: none; }
.ly-wallet__card {
  position: relative; z-index: 1; padding: 20px; color: var(--cf-on-dark);
  background: var(--cf-g-dark); border: 1px solid var(--cf-dark-line-mid); border-radius: 28px;
  box-shadow: var(--cf-sh-dark), 0 28px 56px var(--cf-shade-3);
}
.ly-wallet__top { display: flex; align-items: center; gap: 12px; }
.ly-wallet__label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--cf-on-dark-strong); }
.ly-wallet__label img { width: 18px; height: 18px; }
.ly-wallet__vault {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  margin-top: 16px; padding: 18px 16px; overflow: hidden;
  background: linear-gradient(180deg, var(--cf-dark-fill-3) 0%, var(--cf-dark-fill-1) 100%);
  border: 1px solid var(--cf-dark-line-strong); border-radius: 20px;
}
.ly-wallet__bal-row { display: inline-flex; align-items: center; gap: 12px; }
.ly-wallet__bal { display: block; font-size: 40px; line-height: 44px; font-weight: 700; letter-spacing: .22em; padding-left: .08em; }
.ly-wallet__eye {
  display: grid; place-items: center; flex: none; width: 36px; height: 36px; color: var(--cf-on-dark-2);
  background: var(--cf-dark-raised); border: 1px solid var(--cf-dark-line-mid); border-radius: var(--cf-r-ctl);
  box-shadow: inset 0 1px 0 var(--cf-dark-line);
}
.ly-wallet__eye svg { display: block; }
.ly-wallet__ways {
  margin: 16px 0 0; padding: 0 2px;
  font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--cf-on-dark-2);
}
.ly-wallet__xchg { display: grid; gap: 0; margin: 8px 0 0; }
.ly-wallet__row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 56px; padding: 12px 14px;
  background: var(--cf-dark-fill-2); border: 1px solid var(--cf-dark-line); border-radius: 14px;
}
.ly-wallet__from, .ly-wallet__to {
  display: inline-flex; align-items: center; gap: 8px; min-width: 0;
  font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -0.02em; color: var(--cf-on-dark);
  font-variant-numeric: tabular-nums;
}
.ly-wallet__from .bn-coin { width: 22px; height: 22px; }
.ly-wallet__flip {
  display: grid; place-items: center; flex: none; width: 32px; height: 32px;
  color: var(--cf-on-dark); background: var(--cf-dark-raised);
  border: 1px solid var(--cf-dark-line-strong); border-radius: 50%;
  animation: ly-flip 3.6s ease-in-out infinite;
}
.ly-wallet__flip svg { width: 16px; height: 16px; }
@keyframes ly-flip {
  0%, 70%, 100% { transform: none; }
  78%, 88% { transform: translateX(2px); }
}
@keyframes ly-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.ly-body { position: relative; }
.ly-sec { display: grid; gap: 22px; }
.ly-sec__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 24px; }
.ly-sec__head p { max-width: 420px; font-size: 15px; line-height: 24px; color: var(--cf-muted); }

.ly { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.ly__card { min-width: 0; animation: ly-in .55s ease both; animation-delay: calc(var(--ly-i, 0) * .08s); }
.ly__hit { display: flex; flex-direction: column; height: 100%; padding: 10px; background: var(--cf-card-bg); border: 1px solid transparent; border-radius: var(--cf-r-card); box-shadow: var(--cf-sh-card); transition: box-shadow var(--cf-ease), translate var(--cf-ease), border-color var(--cf-ease); }
.ly__vis { position: relative; display: grid; place-items: center; height: 220px; overflow: hidden; border-radius: var(--cf-r-panel); color: var(--cf-on-dark); background: var(--cf-g-dark); }
/* Same concentric arcs as .ly-top hero, scaled to the card panel. */
.ly__vis::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: var(--cf-arcs-tr);
  -webkit-mask: radial-gradient(ellipse 70% 110% at 94% 12%, var(--cf-black) 0%, transparent 72%);
  mask: radial-gradient(ellipse 70% 110% at 94% 12%, var(--cf-black) 0%, transparent 72%);
  opacity: .9;
}
.ly__card--bn .ly__vis::before {
  background: var(--cf-arcs-bl);
  -webkit-mask: radial-gradient(ellipse 75% 110% at 8% 88%, var(--cf-black) 0%, transparent 72%);
  mask: radial-gradient(ellipse 75% 110% at 8% 88%, var(--cf-black) 0%, transparent 72%);
}
/* Referral card: arcs come from shared .bn-ref-art (top-left), not a second layer. */
.ly__card--pt .ly__vis {
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.ly__card--pt .ly__vis::before { display: none; }
.ly__card--pt .bn-ref-art {
  width: 100%;
  height: 100%;
  min-height: 220px;
  border-radius: inherit;
}
.ly__card--pt .bn-orbit { max-width: 220px; height: 168px; }
.ly__card--pt .bn-orbit__you { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.ly__card--pt .bn-orbit__you .bn-coin { width: 24px; height: 24px; }
.ly__card--pt .bn-orbit__friend { width: 38px; height: 38px; margin: -19px 0 0 -19px; }
.ly__card--pt .bn-orbit__float { width: 36px; height: 36px; }
.ly__bloom { position: absolute; inset: -20%; z-index: 0; background: radial-gradient(circle at 50% 20%, var(--cf-dark-fill-4) 0%, transparent 55%); pointer-events: none; }
.ly__body { display: flex; flex: 1; flex-direction: column; padding: 18px 14px 12px; }
.ly__tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--cf-muted); }
.ly__tag svg { width: 14px; height: 14px; }
.ly__kpi { margin-top: 8px; font-size: 34px; line-height: 40px; font-weight: 700; letter-spacing: -0.04em; color: var(--cf-ink-h1); font-variant-numeric: tabular-nums; }
.ly__title { margin-top: 6px; font-size: 18px; line-height: 26px; font-weight: 700; letter-spacing: -0.02em; color: var(--cf-ink-h1); }
.ly__text { margin-top: 6px; font-size: 14px; line-height: 22px; color: var(--cf-muted); text-wrap: pretty; }
.ly__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.ly__meta:has(> :only-child) { grid-template-columns: 1fr; }
.ly__meta li { display: flex; flex-direction: column; gap: 2px; min-height: 52px; padding: 10px 12px; background: var(--cf-board); border-radius: 14px; }
.ly__meta span { font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--cf-muted); }
.ly__meta b { font-size: 14px; line-height: 20px; font-weight: 700; color: var(--cf-ink-h1); font-variant-numeric: tabular-nums; }
.ly__go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; font-size: 14px; line-height: 20px; font-weight: 700; color: var(--cf-ink-h1); }
.ly__go svg { flex: none; transition: transform var(--cf-ease); }
.ly__hit:focus-visible { outline: none; box-shadow: var(--cf-ring), var(--cf-sh-lift); }
@media (hover: hover) and (pointer: fine) {
  .ly__hit:hover { translate: 0 -4px; box-shadow: var(--cf-sh-lift); }
  .ly__hit:hover .ly__go svg { transform: translateX(3px); }
  .ly__card--pv .ly__hit:hover .ly-rise__bar i { transform: scaleY(1.06); }
  .ly__card--pv .ly__hit:hover .ly-rise__bar:last-child { translate: 0 -3px; }
  .ly__card--bn .ly__hit:hover .ly-cycle__card--month { border-color: var(--cf-dark-line-strong); }
  .ly__card--pt .ly__hit:hover .bn-orbit__friend { transform: scale(1.08); }
  .ly__card--pt .ly__hit:hover .bn-orbit__float { transform: translateY(-3px); }
}

.ly-ill { position: relative; z-index: 1; width: min(210px, 78%); }
.ly-ill__mark { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 10px; }
.ly-ill__mark svg { width: 14px; height: 14px; }

/* Privileges: ascending status bars — growth of % with turnover */
.ly-rise { display: grid; gap: 12px; width: 100%; }
.ly-rise__badge {
  display: inline-flex; align-items: center; gap: 8px; justify-self: start;
  padding: 6px 10px 6px 6px;
  background: var(--cf-dark-fill-3); border: 1px solid var(--cf-dark-line-mid); border-radius: 999px;
}
.ly-rise__badge svg { width: 16px; height: 16px; }
.ly-rise__badge b { font-size: 11px; line-height: 14px; font-weight: 700; color: var(--cf-on-dark-2); }
.ly-rise__chart {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: 8px;
  height: 132px; padding: 8px 6px 0;
  background: var(--cf-dark-fill-2); border: 1px solid var(--cf-dark-line); border-radius: 16px;
}
.ly-rise__bar {
  display: grid; grid-template-rows: auto 1fr auto; justify-items: center; gap: 6px; height: 100%;
  transition: translate .35s cubic-bezier(.2,.8,.2,1);
}
.ly-rise__bar em {
  font-style: normal; font-size: 11px; line-height: 12px; font-weight: 700; font-variant-numeric: tabular-nums;
  color: var(--cf-on-dark-2);
}
.ly-rise__bar i {
  align-self: end; display: block; width: 100%; max-width: 36px;
  height: calc(28% + var(--ly-t, 0) * 22%);
  background: linear-gradient(180deg, var(--cf-dark-line-strong), var(--cf-dark-fill-1));
  border: 1px solid var(--cf-dark-line); border-radius: 10px 10px 6px 6px;
  transform-origin: 50% 100%;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), background .3s ease, border-color .3s ease;
}
.ly-rise__bar b {
  font-size: 10px; line-height: 12px; font-weight: 600; color: var(--cf-on-dark-3);
}
.ly-rise__bar:last-child em { color: var(--cf-on-dark); }
.ly-rise__bar:last-child i {
  background: linear-gradient(180deg, var(--cf-on-dark) 0%, var(--cf-on-dark-2) 100%);
  border-color: var(--cf-on-dark);
  box-shadow: 0 8px 18px var(--cf-shadow-dark);
}
.ly-rise__bar:last-child b { color: var(--cf-on-dark-strong); }

/* Bonuses: welcome start + monthly cycle (not a one-time 3 000 cap) */
.ly-cycle { display: grid; width: 100%; }
.ly-cycle__split {
  display: grid; gap: 8px; padding: 10px;
  background: var(--cf-dark-fill-2); border: 1px solid var(--cf-dark-line); border-radius: 18px;
}
.ly-cycle__card {
  display: grid; gap: 6px; padding: 12px 12px 11px;
  background: var(--cf-dark-fill-3); border: 1px solid var(--cf-dark-line); border-radius: 14px;
  transition: border-color .3s ease;
}
.ly-cycle__card small {
  font-size: 10px; line-height: 12px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--cf-on-dark-3);
}
.ly-cycle__card b {
  font-size: 13px; line-height: 18px; font-weight: 700; color: var(--cf-on-dark-strong);
  text-wrap: pretty;
}
.ly-cycle__sum {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 18px; line-height: 22px; font-weight: 800; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.ly-cycle__sum .bn-coin {
  width: 14px; height: 14px; flex: none;
  translate: 0 .5px;
}
.ly-cycle__card--month {
  background: linear-gradient(180deg, var(--cf-dark-fill-3) 0%, var(--cf-dark-fill-1) 100%);
  border-color: var(--cf-dark-line-mid);
}
.ly-cycle__steps { display: flex; gap: 5px; margin-top: 2px; }
.ly-cycle__steps i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cf-dark-line-strong); box-shadow: 0 0 0 2px var(--cf-dark-fill-1);
}
.ly-cycle__steps i.is-on { background: var(--cf-on-dark); }

@media (prefers-reduced-motion: reduce) {
  .ly-wallet__flip, .ly__card { animation: none; }
  .ly__hit, .ly__go svg, .ly-hero__go svg, .ly-rise__bar, .ly-rise__bar i, .ly-cycle__card, .bn-orbit__friend, .bn-orbit__float { transition: none; }
}
@media (max-width: 1080px) {
  .ly-hero { grid-template-columns: minmax(0, 1fr); }
  .ly-wallet { max-width: 400px; }
  .ly { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ly__hit { flex-direction: row; align-items: stretch; }
  .ly__vis { flex: none; width: 280px; height: auto; min-height: 220px; }
  .ly__body { padding: 16px 16px 16px 22px; }
}
@media (max-width: 720px) {
  .ly-top .px-top__wrap { padding-bottom: 36px; }
  .ly-hero__title { font-size: 34px; line-height: 40px; }
  .ly-hero__lead { font-size: 16px; line-height: 26px; }
  .ly-path { grid-template-columns: minmax(0, 1fr); }
  .ly-wallet { padding: 8px 0 12px; }
  .ly-wallet__bal { font-size: 34px; line-height: 38px; }
  .ly__hit { flex-direction: column; }
  .ly__vis { width: auto; min-height: 200px; height: 200px; }
  .ly__body { padding: 16px 8px 8px; }
  .ly__kpi { font-size: 30px; line-height: 36px; }
  .ly__title { font-size: 18px; line-height: 26px; }
}
