/* Fresh look of "Бонусы" (rewards.html) and "Вопросы о бонусах" (rewards-faq.html) — approved by the owner 30.11.2026 (variant A of the levels, pictures in the steps).
   Loaded after rewards.css / rewards-faq.css; the pages get the root classes "rw" and "rwq". */

.rewards-main.rw, .rewards-faq-page__main.rwq {
  --rw-ink: #1f2a1c; --rw-text: #333; --rw-muted: #5a6652; --rw-line: #e1e7da; --rw-soft: #eef5e6;
  --rw-green: #458500; --rw-green-dark: #2c7500; --rw-deep: #0d3320; --rw-gold: #f3c64a;
  --rw-dark: radial-gradient(120% 150% at 100% 0%, #1f5f39 0%, #123f27 46%, #0d3320 100%);
  --rw-shadow: 0 1px 2px rgb(13 51 32 / 5%), 0 16px 30px -24px rgb(13 51 32 / 45%);
}

/* Every rule starts with "html …main.rw" / "html …main.rwq": the phone mode of the site (html[data-device="phone"] …,
   shared/mobile-content.css) has rules of its own for these pages, and the fresh look must win over them. */
/* ---------- "Бонусы" ---------- */
html .rewards-main.rw { width: min(1320px, 100%); box-sizing: border-box; padding: 28px 32px 56px; }
html .rewards-main.rw .rewards-layout { display: grid; grid-template-columns: minmax(0, 1fr) 346px; grid-template-areas: "hero hero" "content side"; gap: 32px 40px; align-items: start; }
html .rewards-main.rw .rewards-content { grid-area: content; padding: 0; }
html .rewards-main.rw .rewards-sidebar { grid-area: side; order: 0; padding: 0; gap: 14px; }
.rw-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* The dark panel on top: the mark, one line, four facts. */
.rw-hero { grid-area: hero; position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 468px); gap: 24px 44px; align-items: center; padding: 36px 40px; border-radius: 22px; color: #fff; background: var(--rw-dark); box-shadow: 0 1px 2px rgb(13 51 32 / 10%), 0 22px 40px -24px rgb(13 51 32 / 60%); }
.rw-hero::before { content: ""; position: absolute; top: -150px; right: -90px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgb(243 198 74 / 26%), rgb(243 198 74 / 0%) 66%); pointer-events: none; }
.rw-hero::after { content: ""; position: absolute; left: -120px; bottom: -200px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgb(112 190 110 / 16%), rgb(112 190 110 / 0%) 68%); pointer-events: none; }
.rw-hero > * { position: relative; z-index: 1; min-width: 0; }
.rw-hero-mark { display: block; width: 236px; max-width: 70%; height: auto; }
.rw-hero-title { margin: 22px 0 0; max-width: 24ch; font-size: 38px; line-height: 44px; font-weight: 700; letter-spacing: -.012em; text-wrap: balance; }
.rw-hero-title b { color: var(--rw-gold); white-space: nowrap; }
.rw-hero-note { margin: 12px 0 0; max-width: 44ch; color: #dcebd6; font-size: 17px; line-height: 26px; }
.rw-hero-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.rw-hero-facts div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 2px; min-width: 0; padding: 16px 18px 15px; border: 1px solid rgb(255 255 255 / 14%); border-radius: 16px; background: rgb(255 255 255 / 7%); }
.rw-hero-facts dt { color: #cfe2c8; font-size: 14px; line-height: 20px; }
.rw-hero-facts dd { margin: 0; color: #fff; font-size: 26px; line-height: 34px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rw-hero-facts dd b { color: var(--rw-gold); }

/* Section headings and the four steps. */
html .rewards-main.rw .rw-h { margin: 0 0 16px; color: var(--rw-ink); font-size: 24px; line-height: 30px; font-weight: 700; }
html .rewards-main.rw .rewards-steps { max-width: none; gap: 14px; margin: 0 0 40px; }
html .rewards-main.rw .rewards-steps li { gap: 6px; padding: 20px 22px 20px 78px; border: 1px solid var(--rw-line); border-radius: 18px; box-shadow: var(--rw-shadow); }
html .rewards-main.rw .rewards-steps li::before { left: 20px; top: 20px; width: 42px; height: 42px; background: radial-gradient(90% 90% at 76% 14%, rgb(243 198 74 / 34%) 0%, rgb(243 198 74 / 0%) 60%), radial-gradient(120% 120% at 70% 10%, #2b7a48 0%, #14472b 55%, #0d3320 100%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 12%), 0 8px 14px -10px rgb(13 51 32 / 80%); color: var(--rw-gold); font-size: 18px; font-weight: 700; }
html .rewards-main.rw .rewards-steps strong { color: var(--rw-ink); font-size: 18px; line-height: 24px; }
html .rewards-main.rw .rewards-steps span { color: var(--rw-muted); font-size: 15px; line-height: 23px; }

/* Cards: the club, "Делитесь и получайте", the birthday gift. */
html .rewards-main.rw .rewards-invite { max-width: none; margin: 0 0 16px; padding: 26px 28px; border: 1px solid var(--rw-line); border-radius: 20px; background: #fff; box-shadow: var(--rw-shadow); }
html .rewards-main.rw .rewards-invite h2 { margin: 0; color: var(--rw-ink); font-size: 22px; line-height: 28px; font-weight: 700; }
html .rewards-main.rw .rewards-invite__lede { margin: 10px 0 0; color: var(--rw-text); font-size: 16px; line-height: 25px; }
html .rewards-main.rw .rewards-invite__lede strong { color: var(--rw-green-dark); }
html .rewards-main.rw .rewards-invite__note { margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--rw-line); color: var(--rw-muted); font-size: 14px; line-height: 21px; }
.rw-card-head { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 6px 16px; align-items: center; }
.rw-sign { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: #fff; background: radial-gradient(90% 90% at 76% 14%, rgb(243 198 74 / 34%) 0%, rgb(243 198 74 / 0%) 60%), radial-gradient(120% 120% at 70% 10%, #2b7a48 0%, #14472b 55%, #0d3320 100%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 12%), 0 8px 16px -10px rgb(13 51 32 / 80%); }
.rw-sign svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rw-sign .f { fill: rgb(255 255 255 / 16%); }
.rw-sign .g { fill: #f6c94f; stroke: none; }
.rw-sign .gs { stroke: #f6c94f; }
.rw-gain { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border: 1px solid #ecd18a; border-radius: 17px; background: #fff6d9; color: #5f4300; font-size: 15px; line-height: 20px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }

html .rewards-main.rw .rw-club { border-color: #ecdcae; background: linear-gradient(135deg, #fff8e2 0%, #fffdf6 55%, #f4f9ec 100%); }
.rw-levels { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; align-items: end; margin: 20px 0 20px; padding: 0; }
.rw-levels li { display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; min-width: 0; padding: 14px 14px 12px; border: 1px solid #eadfbf; border-radius: 14px; background: #fff; }
.rw-levels li:nth-child(1) { min-height: 76px; }
.rw-levels li:nth-child(2) { min-height: 94px; }
.rw-levels li:nth-child(3) { min-height: 112px; }
.rw-levels li:nth-child(4) { min-height: 130px; border-color: transparent; background: var(--rw-dark); box-shadow: 0 14px 22px -16px rgb(13 51 32 / 70%); }
.rw-levels li { box-sizing: border-box; }
.rw-levels b { color: var(--rw-green-dark); font-size: 28px; line-height: 32px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rw-levels span { color: var(--rw-muted); font-size: 14px; line-height: 19px; }
.rw-levels li:nth-child(4) b { color: var(--rw-gold); }
.rw-levels li:nth-child(4) span { color: #dcebd6; }
.rw-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 22px; background: var(--rw-green); color: #fff; font-size: 15px; line-height: 20px; font-weight: 700; text-decoration: none; }
.rw-pill svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rw-pill.is-light { border: 1px solid #cfe0bd; background: #fff; color: var(--rw-green-dark); }
@media (hover: hover) { .rw-pill:hover { background: var(--rw-green-dark); } .rw-pill.is-light:hover { background: var(--rw-soft); } }
.rw-club-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.rw-club-foot span { color: var(--rw-muted); font-size: 14px; line-height: 20px; }

html .rewards-main.rw .rewards-invite__steps { list-style: none; counter-reset: rw-share; display: grid; gap: 12px; margin: 18px 0 0; padding: 0; color: var(--rw-text); font-size: 15.5px; line-height: 24px; }
html .rewards-main.rw .rewards-invite__steps li { counter-increment: rw-share; position: relative; min-height: 30px; padding: 3px 0 3px 44px; }
html .rewards-main.rw .rewards-invite__steps li::before { content: counter(rw-share); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--rw-soft); color: var(--rw-green-dark); font-size: 15px; font-weight: 700; }
.rw-gift p { margin: 12px 0 0; color: var(--rw-text); font-size: 15.5px; line-height: 24px; }
.rw-gift p + p { margin-top: 8px; color: var(--rw-muted); font-size: 14px; line-height: 21px; }
.rw-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin: 0 0 16px; }
.rw-more .rewards-invite { margin: 0; }

/* "Коротко о главном". */
html .rewards-main.rw .rewards-faq { max-width: none; margin: 40px 0 0; padding: 0; }
html .rewards-main.rw .rewards-faq header { align-items: center; margin: 0 0 16px; }
html .rewards-main.rw .rewards-faq h2 { color: var(--rw-ink); font-size: 24px; line-height: 30px; }
html .rewards-main.rw .rewards-faq header > a { gap: 4px; color: var(--rw-green-dark); font-size: 15px; line-height: 22px; }
html .rewards-main.rw .rewards-faq header > a svg path { fill: currentColor; }
html .rewards-main.rw .rewards-faq__list { overflow: hidden; border: 1px solid var(--rw-line); border-radius: 18px; background: #fff; box-shadow: var(--rw-shadow); }
html .rewards-main.rw .rewards-faq details { border-bottom: 1px solid var(--rw-line); }
html .rewards-main.rw .rewards-faq details:last-child { border-bottom: 0; }
html .rewards-main.rw .rewards-faq summary { min-height: 0; padding: 18px 68px 18px 22px; color: var(--rw-ink); font-size: 16px; line-height: 24px; font-weight: 500; }
html .rewards-main.rw .rewards-faq summary span { right: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--rw-soft); transition: background 150ms ease; }
html .rewards-main.rw .rewards-faq summary span::before, html .rewards-main.rw .rewards-faq summary span::after { background: var(--rw-green-dark); border-radius: 1px; }
html .rewards-main.rw .rewards-faq summary span::before { top: 14px; left: 9px; width: 12px; height: 2px; }
html .rewards-main.rw .rewards-faq summary span::after { top: 9px; left: 14px; width: 2px; height: 12px; }
html .rewards-main.rw .rewards-faq details[open] summary { color: var(--rw-green-dark); font-weight: 700; }
html .rewards-main.rw .rewards-faq details[open] summary span { background: var(--rw-green); }
html .rewards-main.rw .rewards-faq details[open] summary span::before, html .rewards-main.rw .rewards-faq details[open] summary span::after { background: #fff; }
html .rewards-main.rw .rewards-faq details > div { max-width: none; padding: 0 68px 18px 22px; color: #44503c; font-size: 15.5px; line-height: 24px; }
html .rewards-main.rw .rewards-faq details p { margin: 0 0 10px; }
html .rewards-main.rw .rewards-faq details p:last-child { margin-bottom: 0; }
@media (hover: hover) { html .rewards-main.rw .rewards-faq summary:hover { background: #f8fbf3; } }

/* The side column: the guest card (the member's account card keeps its own look). */
html .rewards-main.rw .rewards-guest { padding: 24px; border: 1px solid #d7e6c8; border-radius: 20px; background: linear-gradient(180deg, #f3f9ea 0%, #fff 72%); box-shadow: var(--rw-shadow); }
html .rewards-main.rw .rewards-guest h2 { margin: 0 0 8px; color: var(--rw-ink); font-size: 20px; line-height: 26px; }
html .rewards-main.rw .rewards-guest p { margin: 0 0 18px; color: var(--rw-muted); font-size: 15px; line-height: 22px; }
html .rewards-main.rw .rewards-guest__actions { display: grid; gap: 10px; }
html .rewards-main.rw .rewards-button { min-height: 46px; padding: 0 24px; border-radius: 23px; font-size: 16px; }
html .rewards-main.rw .rewards-account { border-radius: 20px; box-shadow: var(--rw-shadow); }
html .rewards-main.rw .rewards-about { gap: 6px 16px; padding: 4px 0 0; }
html .rewards-main.rw .rewards-about h2 { color: var(--rw-muted); }
html .rewards-main.rw .rewards-about a { color: var(--rw-green-dark); font-weight: 500; }

@media (max-width: 1023px) {
  html .rewards-main.rw { padding: 20px 24px 44px; }
  html .rewards-main.rw .rewards-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "hero" "side" "content"; gap: 24px; }
  .rw-hero { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 30px 30px 28px; }
  .rw-hero-title { max-width: none; font-size: 32px; line-height: 38px; }
  .rw-hero-facts { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
  .rw-hero-facts div { padding: 14px 14px 13px; }
  .rw-hero-facts dd { font-size: 22px; line-height: 30px; }
  .rw-hero-facts dt { font-size: 13px; line-height: 18px; }
  html .rewards-main.rw .rewards-sidebar { grid-template-columns: minmax(0, 1fr); }
  html .rewards-main.rw .rewards-guest { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; align-items: center; padding: 20px 24px; background: linear-gradient(90deg, #f3f9ea 0%, #fff 70%); }
  html .rewards-main.rw .rewards-guest[hidden] { display: none; }
  html .rewards-main.rw .rewards-guest h2 { margin: 0; }
  html .rewards-main.rw .rewards-guest p { grid-column: 1; margin: 0; }
  html .rewards-main.rw .rewards-guest__actions { grid-column: 2; grid-row: 1 / span 2; grid-template-columns: auto auto; }
}
/* The sign-in card stacks by the width of its own column, not of the window: at the middle width of the site the column is
   narrow and the two buttons beside the words squeezed the heading (live check of 01.12.2026). */
@media (max-width: 1023px) { html .rewards-main.rw .rewards-sidebar { container-type: inline-size; } }
@container (max-width: 559px) {
  html .rewards-main.rw .rewards-guest { grid-template-columns: minmax(0, 1fr); }
  html .rewards-main.rw .rewards-guest p { margin: 0 0 8px; }
  html .rewards-main.rw .rewards-guest__actions { grid-column: 1; grid-row: auto; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
}
@media (max-width: 679px) {
  html .rewards-main.rw { width: 100%; padding: 14px 16px 36px; }
  html .rewards-main.rw .rewards-layout { gap: 18px; }
  .rw-hero { gap: 18px; padding: 24px 20px 20px; border-radius: 18px; }
  .rw-hero-mark { width: 190px; }
  .rw-hero-title { margin-top: 18px; font-size: 27px; line-height: 33px; }
  .rw-hero-note { font-size: 15.5px; line-height: 23px; }
  .rw-hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .rw-hero-facts div { padding: 12px 14px 11px; border-radius: 14px; }
  .rw-hero-facts dd { font-size: 21px; line-height: 28px; }
  html .rewards-main.rw .rewards-guest { grid-template-columns: minmax(0, 1fr); padding: 18px 18px 20px; border-radius: 18px; background: linear-gradient(180deg, #f3f9ea 0%, #fff 72%); }
  html .rewards-main.rw .rewards-guest p { margin: 0 0 8px; }
  html .rewards-main.rw .rewards-guest__actions { grid-column: 1; grid-row: auto; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  html .rewards-main.rw .rewards-button { min-height: 44px; padding: 0 12px; font-size: 15px; white-space: nowrap; }
  html .rewards-main.rw .rw-h, html .rewards-main.rw .rewards-faq h2 { font-size: 21px; line-height: 27px; }
  html .rewards-main.rw .rewards-steps { gap: 10px; margin-bottom: 30px; }
  html .rewards-main.rw .rewards-steps li { padding: 16px 16px 16px 68px; border-radius: 16px; }
  html .rewards-main.rw .rewards-steps li::before { left: 14px; top: 16px; width: 40px; height: 40px; }
  html .rewards-main.rw .rewards-steps strong { font-size: 17px; }
  html .rewards-main.rw .rewards-invite { padding: 20px 18px; border-radius: 18px; }
  html .rewards-main.rw .rewards-invite h2 { font-size: 20px; line-height: 26px; }
  .rw-card-head { grid-template-columns: 48px minmax(0, 1fr); gap: 10px 12px; }
  .rw-card-head .rw-gain { grid-column: 1 / -1; justify-self: start; }
  .rw-sign { width: 48px; height: 48px; }
  .rw-sign svg { width: 28px; height: 28px; }
  .rw-levels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-items: stretch; margin: 16px 0 18px; }
  .rw-levels li:nth-child(n) { min-height: 76px; justify-content: flex-start; }
  .rw-levels b { font-size: 25px; line-height: 30px; }
  .rw-club-foot .rw-pill { width: 100%; justify-content: center; box-sizing: border-box; }
  .rw-more { grid-template-columns: minmax(0, 1fr); }
  html .rewards-main.rw .rewards-faq { margin-top: 30px; }
  html .rewards-main.rw .rewards-faq summary { padding: 16px 58px 16px 16px; font-size: 15.5px; line-height: 23px; }
  html .rewards-main.rw .rewards-faq summary span { right: 14px; }
  html .rewards-main.rw .rewards-faq details > div { padding: 0 16px 16px; font-size: 15px; line-height: 23px; }
}

/* ---------- "Вопросы о бонусах" ---------- */
html .rewards-faq-page__main.rwq { width: min(860px, calc(100% - 64px)); padding: 20px 0 56px; }
html .rewards-faq-page__main.rwq .rewards-faq-page__back { color: var(--rw-green-dark); }
html .rewards-faq-page__main.rwq .rewards-faq-page__back svg { fill: currentColor; }
html .rewards-faq-page__main.rwq .rewards-faq-page__prompt { position: relative; overflow: hidden; gap: 16px 28px; padding: 24px 28px; border: 0; border-radius: 20px; background: var(--rw-dark); box-shadow: 0 1px 2px rgb(13 51 32 / 10%), 0 20px 36px -24px rgb(13 51 32 / 60%); }
html .rewards-faq-page__main.rwq .rewards-faq-page__prompt::before { content: ""; position: absolute; top: -170px; right: -60px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgb(243 198 74 / 24%), rgb(243 198 74 / 0%) 66%); pointer-events: none; }
html .rewards-faq-page__main.rwq .rewards-faq-page__prompt > * { position: relative; z-index: 1; }
html .rewards-faq-page__main.rwq .rewards-faq-page__prompt p { color: #fff; font-size: 17px; line-height: 25px; font-weight: 500; }
html .rewards-faq-page__main.rwq .rewards-faq-page__prompt p b { color: var(--rw-gold); font-weight: 700; }
html .rewards-faq-page__main.rwq .rewards-faq-page__prompt > div a.rewards-faq-page__shop { background: var(--rw-gold); color: #23300f; }
html .rewards-faq-page__main.rwq .rewards-faq-page__prompt > div a.rewards-faq-page__learn { border: 1px solid rgb(255 255 255 / 46%); background: transparent; color: #fff; }
html .rewards-faq-page__main.rwq h1 { margin: 40px 0 6px; color: var(--rw-ink); font-size: 32px; line-height: 38px; font-weight: 700; text-align: center; }
.rwq-lede { margin: 0 0 20px; color: var(--rw-muted); font-size: 16px; line-height: 24px; text-align: center; }
html .rewards-faq-page__main.rwq .rewards-faq-page__nav { gap: 8px; justify-content: center; margin: 0; }
html .rewards-faq-page__main.rwq .rewards-faq-page__nav a { width: auto; min-width: 0; min-height: 40px; margin: 0; padding: 0 18px; border: 1px solid #cfe0bd; border-radius: 20px; background: #fff; color: var(--rw-green-dark); font-size: 15px; line-height: 20px; font-weight: 700; white-space: nowrap; }
@media (hover: hover) { html .rewards-faq-page__main.rwq .rewards-faq-page__nav a:hover { border-color: var(--rw-green); background: var(--rw-soft); } }
html .rewards-faq-page__main.rwq .rewards-faq-page__section { align-items: stretch; margin: 36px 0 0; scroll-margin-top: 24px; }
html .rewards-faq-page__main.rwq .rewards-faq-page__section > h2 { width: auto; min-height: 0; padding: 0 0 12px 2px; color: var(--rw-ink); font-size: 21px; line-height: 28px; }
html .rewards-faq-page__main.rwq .rewards-faq-page__section details { width: auto; margin-top: -1px; border: 1px solid var(--rw-line); background: #fff; }
html .rewards-faq-page__main.rwq .rewards-faq-page__section details:first-of-type { margin-top: 0; border-radius: 18px 18px 0 0; }
html .rewards-faq-page__main.rwq .rewards-faq-page__section details:last-of-type { border-radius: 0 0 18px 18px; box-shadow: var(--rw-shadow); }
html .rewards-faq-page__main.rwq .rewards-faq-page__section details:first-of-type:last-of-type { border-radius: 18px; }
html .rewards-faq-page__main.rwq .rewards-faq-page__section summary { min-height: 0; padding: 18px 68px 18px 22px; border-radius: inherit; color: var(--rw-ink); font-size: 16px; line-height: 24px; font-weight: 500; }
html .rewards-faq-page__main.rwq .rewards-faq-page__section summary span { right: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--rw-soft); transition: background 150ms ease; }
html .rewards-faq-page__main.rwq .rewards-faq-page__section summary span::before, html .rewards-faq-page__main.rwq .rewards-faq-page__section summary span::after { background: var(--rw-green-dark); border-radius: 1px; }
html .rewards-faq-page__main.rwq .rewards-faq-page__section summary span::before { top: 14px; left: 9px; width: 12px; height: 2px; }
html .rewards-faq-page__main.rwq .rewards-faq-page__section summary span::after { top: 9px; left: 14px; width: 2px; height: 12px; }
html .rewards-faq-page__main.rwq .rewards-faq-page__section details[open] summary { color: var(--rw-green-dark); font-weight: 700; }
html .rewards-faq-page__main.rwq .rewards-faq-page__section details[open] summary span { background: var(--rw-green); }
html .rewards-faq-page__main.rwq .rewards-faq-page__section details[open] summary span::before, html .rewards-faq-page__main.rwq .rewards-faq-page__section details[open] summary span::after { background: #fff; }
html .rewards-faq-page__main.rwq .rewards-faq-page__section details > div { padding: 0 68px 18px 22px; color: #44503c; font-size: 15.5px; line-height: 24px; }
html .rewards-faq-page__main.rwq .rewards-faq-page__section details p { margin: 0 0 10px; }
html .rewards-faq-page__main.rwq .rewards-faq-page__section details p:last-child { margin-bottom: 0; }
html .rewards-faq-page__main.rwq .rewards-faq-page__section details a { color: var(--rw-green-dark); }
@media (hover: hover) { html .rewards-faq-page__main.rwq .rewards-faq-page__section summary:hover { background: #f8fbf3; } }
.rwq-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin: 40px 0 0; padding: 22px 26px; border: 1px solid #d7e6c8; border-radius: 20px; background: linear-gradient(90deg, #f3f9ea 0%, #fff 78%); }
.rwq-help h2 { margin: 0; color: var(--rw-ink); font-size: 19px; line-height: 26px; font-weight: 700; }
.rwq-help p { margin: 4px 0 0; color: var(--rw-muted); font-size: 15px; line-height: 22px; }
.rwq-help .rw-pill { flex: none; }

@media (max-width: 760px) {
  html .rewards-faq-page__main.rwq { width: calc(100% - 32px); padding: 14px 0 36px; }
  html .rewards-faq-page__main.rwq .rewards-faq-page__prompt { padding: 20px 18px; border-radius: 18px; }
  html .rewards-faq-page__main.rwq .rewards-faq-page__prompt.rewards-faq-page__prompt > div { width: 100%; margin-left: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  html .rewards-faq-page__main.rwq .rewards-faq-page__prompt > div a { padding: 0 10px; }
  html .rewards-faq-page__main.rwq h1 { margin: 28px 0 4px; font-size: 26px; line-height: 32px; }
  .rwq-lede { margin-bottom: 16px; font-size: 15px; line-height: 22px; }
  html .rewards-faq-page__main.rwq .rewards-faq-page__nav { display: flex; flex-wrap: wrap; justify-content: center; margin: 0; }
  html .rewards-faq-page__main.rwq .rewards-faq-page__nav a { width: auto; min-height: 38px; margin: 0; padding: 0 14px; font-size: 14.5px; }
  html .rewards-faq-page__main.rwq .rewards-faq-page__section { margin-top: 28px; }
  html .rewards-faq-page__main.rwq .rewards-faq-page__section > h2 { padding-bottom: 10px; font-size: 19px; line-height: 26px; }
  html .rewards-faq-page__main.rwq .rewards-faq-page__section summary { padding: 16px 58px 16px 16px; font-size: 15.5px; line-height: 23px; }
  html .rewards-faq-page__main.rwq .rewards-faq-page__section summary span { right: 14px; }
  html .rewards-faq-page__main.rwq .rewards-faq-page__section details > div { padding: 0 16px 16px; font-size: 15px; line-height: 23px; }
  .rwq-help { margin-top: 30px; padding: 20px 18px; border-radius: 18px; background: linear-gradient(180deg, #f3f9ea 0%, #fff 78%); }
  .rwq-help .rw-pill { width: 100%; justify-content: center; box-sizing: border-box; }
}

/* Two cards side by side (the birthday gift and, later, the tasks): the award moves under the title. */
@media (min-width: 680px) {
  .rw-more:has(> .rewards-invite:not([hidden]) ~ .rewards-invite:not([hidden])) .rw-card-head { grid-template-columns: 56px minmax(0, 1fr); }
  .rw-more:has(> .rewards-invite:not([hidden]) ~ .rewards-invite:not([hidden])) .rw-card-head .rw-gain { grid-column: 2; justify-self: start; }
}

/* ---- Owner's edits of 30.11.2026 (after the first look) ---- */
/* 1. Steps: a picture in the round sign instead of the number. */
html .rewards-main.rw .rewards-steps li { flex-direction: row; align-items: flex-start; gap: 16px; padding: 20px 22px; }
html .rewards-main.rw .rewards-steps li::before { content: none; }
html .rewards-main.rw .rewards-steps li > .rw-sign { flex: none; width: 52px; height: 52px; }
html .rewards-main.rw .rewards-steps li > .rw-sign svg { width: 30px; height: 30px; }
html .rewards-main.rw .rewards-steps li > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding-top: 2px; }
/* 2. Club levels: each step in its own colour, from fresh green to gold (the owner: «по радужнее»). */
.rw-levels li:nth-child(n) { border: 0; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 55%), 0 12px 20px -16px rgb(60 70 20 / 60%); }
.rw-levels li:nth-child(1) { background: linear-gradient(155deg, #e9f8d8 0%, #c6ebab 100%); }
.rw-levels li:nth-child(2) { background: linear-gradient(155deg, #d3f0a2 0%, #9fd65c 100%); }
.rw-levels li:nth-child(3) { background: linear-gradient(155deg, #fff0b3 0%, #ffd452 100%); }
.rw-levels li:nth-child(4) { background: linear-gradient(155deg, #ffd27a 0%, #ff9f43 100%); }
.rw-levels li:nth-child(1) b { color: #2c7500; } .rw-levels li:nth-child(1) span { color: #3f5a2c; }
.rw-levels li:nth-child(2) b { color: #1f5a00; } .rw-levels li:nth-child(2) span { color: #2f4a12; }
.rw-levels li:nth-child(3) b { color: #7a4b00; } .rw-levels li:nth-child(3) span { color: #6b4a0a; }
.rw-levels li:nth-child(4) b { color: #5e2700; } .rw-levels li:nth-child(4) span { color: #5e2f08; }
.rw-levels b { font-size: 30px; line-height: 34px; }
.rw-levels span { font-weight: 500; }
/* 3. The sign-in card: rectangular buttons, as before; one under the other on a phone. */
html .rewards-main.rw .rewards-guest .rewards-button { border-radius: 8px; }
@media (max-width: 679px) {
  html .rewards-main.rw .rewards-steps li { gap: 14px; padding: 16px; }
  html .rewards-main.rw .rewards-steps li > .rw-sign { width: 46px; height: 46px; }
  html .rewards-main.rw .rewards-steps li > .rw-sign svg { width: 27px; height: 27px; }
  html .rewards-main.rw .rewards-guest__actions { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  html .rewards-main.rw .rewards-guest .rewards-button { min-height: 46px; font-size: 16px; }
  .rw-levels b { font-size: 26px; line-height: 30px; }
}
html .rewards-main.rw .rewards-steps li > .rw-sign { color: #fff; }
/* 4. The band on the questions page: the mark over the words on the left, the two buttons on the right, centred
   (the owner: three things of which two shared a line and the buttons hung below). */
html .rewards-faq-page__main.rwq .rewards-faq-page__prompt.rewards-faq-page__prompt { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "mark actions" "text actions"; gap: 12px 36px; align-items: center; padding: 26px 30px; }
html .rewards-faq-page__main.rwq .rewards-faq-page__prompt.rewards-faq-page__prompt .rewards-faq-mark { grid-area: mark; width: 220px; }
html .rewards-faq-page__main.rwq .rewards-faq-page__prompt.rewards-faq-page__prompt p { grid-area: text; max-width: 30em; }
html .rewards-faq-page__main.rwq .rewards-faq-page__prompt.rewards-faq-page__prompt > div { grid-area: actions; margin: 0; align-self: center; }
@media (max-width: 760px) {
  html .rewards-faq-page__main.rwq .rewards-faq-page__prompt.rewards-faq-page__prompt { grid-template-columns: minmax(0, 1fr); grid-template-areas: "mark" "text" "actions"; gap: 12px; padding: 20px 18px; }
  html .rewards-faq-page__main.rwq .rewards-faq-page__prompt.rewards-faq-page__prompt .rewards-faq-mark { width: 190px; }
}
html .rewards-faq-page__main.rwq .rewards-faq-page__prompt.rewards-faq-page__prompt p { max-width: 36em; }
html .rewards-faq-page__main.rwq .rewards-faq-page__prompt p b { white-space: nowrap; }


/* Steps, third pass (the owner: «прям вообще выразительные», the round sign keeps its size): a glossy picture on a
   light round sign. */
html .rewards-main.rw .rewards-steps li > .rw-sign.is-photo { background: radial-gradient(100% 100% at 30% 20%, #fffef8 0%, #f3eedb 100%); box-shadow: inset 0 0 0 1px #e7e0c6, 0 8px 14px -10px rgb(60 50 10 / 55%); overflow: visible; }
html .rewards-main.rw .rewards-steps li > .rw-sign.is-photo img { display: block; width: 56px; height: 56px; max-width: none; filter: drop-shadow(0 3px 3px rgb(40 40 10 / 22%)); }
@media (max-width: 679px) { html .rewards-main.rw .rewards-steps li > .rw-sign.is-photo img { width: 50px; height: 50px; } }
