/* =====================================================================
   Aburasheed Help — по бренд-буку (D:\Claude Code\Aburasheed Projects\AB Help Branding\бренд-бук)
   Знак — половина сердца: левая чёрная, правая — оранжевая штриховка маркером.
   Удобства как в iPhone (сегменты, окна снизу, переключатели) оставлены.
   ===================================================================== */

/* Палитра бренд-бука:
   бумага #F2F0EB (главный фон, ~55%) · чёрный #141414 (знак, слова, текст, ~25%)
   оранжевый #FF5A1F (маркер, акценты, кнопки, ~12%) · белый #FFFFFF (карточки)
   остальные — только в мелочах (уровни, медали, значки):
   синий #1F3FD1 · зелёный #0E6B3A · жёлтый #FFD21F · красный #E3241B
   Шрифты: Inter Tight (Black — заголовки и логотип, Medium — текст), IBM Plex Mono Bold — подписи, номера, суммы,
   Neucha — надписи «от руки». Старые имена переменных (--olive, --camel, --heart, --sage) оставлены,
   чтобы не переписывать всю вёрстку, — теперь в них цвета бренд-бука. */
:root {
  color-scheme: light;
  --ink: #141414;
  --orange: #FF5A1F;
  --paper: #F2F0EB;
  --blue: #1F3FD1;
  --green: #0E6B3A;
  --yellow: #FFD21F;
  --red: #E3241B;
  --grey: #8A867C;           /* подписи-«кикеры» из бренд-бука */

  --olive: #141414;
  --olive2: #2B2B2B;
  --camel: #FF5A1F;
  --camel-d: #141414;        /* ссылки — чёрные с оранжевым подчёркиванием */
  --cream: #F2F0EB;
  --heart: #FF5A1F;
  --heart-d: #E04A12;
  --heart-tint: rgba(255, 90, 31, .12);
  --on-heart: #141414;       /* текст на оранжевом — тёмный (контраст 5.9:1 по бренд-буку) */
  --sage: #0E6B3A;
  --sage-tint: rgba(14, 107, 58, .12);

  --bg: #F2F0EB;
  --bg2: #E7E4DC;            /* второй цвет карточек из бренд-бука */
  --card: #FFFFFF;
  --text: #141414;
  --text2: rgba(20, 20, 20, .66);
  --text3: rgba(20, 20, 20, .42);
  --sep: rgba(20, 20, 20, .10);
  --fill: rgba(20, 20, 20, .055);
  --fill2: rgba(20, 20, 20, .11);

  --glass: rgba(242, 240, 235, .86);
  --glass-border: rgba(20, 20, 20, .06);
  --blur: blur(18px) saturate(140%);
  --shadow: 0 0 0 1px rgba(20, 20, 20, .05);          /* бренд плоский: без теней, тонкий контур */
  --shadow-lg: 0 24px 60px rgba(20, 20, 20, .22);

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 14px;
  --font: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --display: 'Inter Tight', var(--font);
  --mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
  --hand: 'Neucha', 'Comic Sans MS', cursive;
  --ease: cubic-bezier(.3, 1.4, .5, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #141414;
    --bg2: #1C1C1C;
    --card: #1F1F1F;
    --text: #FFFFFF;
    --text2: rgba(255, 255, 255, .66);
    --text3: rgba(255, 255, 255, .38);
    --sep: rgba(255, 255, 255, .10);
    --fill: rgba(255, 255, 255, .07);
    --fill2: rgba(255, 255, 255, .13);
    --glass: rgba(20, 20, 20, .86);
    --glass-border: rgba(255, 255, 255, .08);
    --shadow: 0 0 0 1px rgba(255, 255, 255, .06);
    --heart-tint: rgba(255, 90, 31, .16);
    --sage: #3FA36B;
    --sage-tint: rgba(63, 163, 107, .16);
    --camel-d: #FFFFFF;
    --olive: #FFFFFF;
    --olive2: #3A3A3A;
    --grey: #A39F95;
  }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  font-family: var(--font); color: var(--text); background: var(--bg);
  font-size: 16px; line-height: 1.5; letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased; min-height: 100vh;
}
/* лёгкий узор из шестиугольников, как у магазина — только сверху страницы */
body::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 720px; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='78' height='135' viewBox='0 0 52 90'%3E%3Cpath d='M26 0L52 15V45L26 60L0 45V15ZM26 60V90M26 30L0 15M26 30L52 15M26 30V60' fill='none' stroke='%23a07e52' stroke-opacity='.13' stroke-width='.6'/%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent);
}
a { color: var(--camel-d); text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0 0 .35em; line-height: 1.12; letter-spacing: -.028em; font-weight: 700; }
h1 { font-size: clamp(32px, 5.6vw, 52px); font-weight: 800; }
h2 { font-size: clamp(24px, 3.4vw, 32px); }
h3 { font-size: 19px; letter-spacing: -.018em; }
p { margin: 0 0 1em; }
.muted { color: var(--text2); }
.small { font-size: 13.5px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 18px; }
.hidden { display: none !important; }
::selection { background: var(--heart-tint); }
.num { font-variant-numeric: tabular-nums; }

/* =============== ПОЛОСКА «ПРОЕКТЫ АБУ РАШИДА» =============== */
.projects {
  background: var(--olive2); color: rgba(255, 255, 255, .78); font-size: 12.5px;
}
@media (prefers-color-scheme: dark) { .projects { background: #0d0c0a; } }
.projects .wrap { display: flex; align-items: center; gap: 4px; min-height: 34px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.projects .wrap::-webkit-scrollbar { display: none; }
.projects .lbl { margin-right: 8px; opacity: .8; }
.projects a { color: rgba(255, 255, 255, .82); padding: 4px 10px; border-radius: 999px; font-weight: 600; transition: background .2s; }
.projects a:hover { background: rgba(255, 255, 255, .1); }
.projects a.on { background: rgba(255, 90, 31, .25); color: #F2F0EB; }
.projects a .soon { opacity: .55; font-weight: 500; }

/* =============== ШАПКА (стекло, как у магазина) =============== */
.topbar { position: sticky; top: 0; z-index: 50; padding: 10px 0 0; }
.topbar .bar {
  display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 8px 8px 14px; border-radius: 22px;
  background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border); box-shadow: var(--shadow);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand img { width: 36px; height: 36px; }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 15.5px; letter-spacing: .02em; line-height: 1.05; text-transform: uppercase; }
.wordmark small { display: block; font-family: 'Open Sans', var(--font); font-weight: 600; font-size: 10px; letter-spacing: .48em; color: var(--camel); margin-top: 3px; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { color: var(--text); padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 14.5px; white-space: nowrap; transition: background .2s; }
.nav a:hover { background: var(--fill); }
.nav a.active { background: var(--fill2); }
@media (max-width: 720px) { .nav { display: none; } .topbar .btn { margin-left: auto; } }
/* планшет: «Кому помогаем» длиннее — ужимаем отступы, чтобы шапка влезла */
@media (min-width: 721px) and (max-width: 900px) { .nav { gap: 0; } .nav a { padding: 8px 9px; font-size: 14px; } }
.topbar .brand { flex-shrink: 0; }
@media (min-width: 721px) and (max-width: 800px) { .brand .wm { font-size: 21px !important; } }

/* =============== КНОПКИ =============== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: none; border-radius: 999px;
  min-height: 46px; padding: 11px 22px; cursor: pointer; white-space: nowrap; text-decoration: none;
  font: 600 16px var(--font); letter-spacing: -.012em; color: #fff; background: var(--heart);
  box-shadow: 0 6px 18px rgba(255, 90, 31, .28), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .18s var(--ease), filter .2s, background .2s;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: scale(.96); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.sm { min-height: 38px; padding: 7px 16px; font-size: 14.5px; }
.btn.block { width: 100%; }
.btn.lg { min-height: 54px; font-size: 17px; border-radius: 18px; }
.btn.dark { background: var(--olive2); box-shadow: 0 6px 18px rgba(20, 20, 20, .22), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn.ghost { background: var(--fill); color: var(--text); box-shadow: none; }
.btn.ghost:hover { background: var(--fill2); filter: none; }
.btn.kaspi { background: #f14635; box-shadow: 0 6px 18px rgba(241, 70, 53, .25); }
.btn[disabled] { opacity: .4; cursor: not-allowed; transform: none; }
.link { font-weight: 600; color: var(--camel-d); display: inline-flex; align-items: center; gap: 4px; }

/* =============== КАРТОЧКИ =============== */
.card { background: var(--card); border-radius: var(--r-xl); box-shadow: var(--shadow); padding: 24px; }
.card + .card { margin-top: 16px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text3); margin: 0 0 8px; }
.section { padding-top: 36px; padding-bottom: 36px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-head h2 { margin: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  background: var(--fill); color: var(--text2); font-size: 13.5px; font-weight: 600;
}
.chip.heart { background: var(--heart-tint); color: var(--heart); }
.chip.sage { background: var(--sage-tint); color: var(--sage); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* =============== СЕГМЕНТЫ (как в iOS) =============== */
.seg { display: inline-flex; padding: 2px; border-radius: 10px; background: var(--fill2); position: relative; }
.seg button {
  border: none; background: none; font: 600 13.5px var(--font); color: var(--text); padding: 6px 16px; border-radius: 8px;
  cursor: pointer; position: relative; z-index: 1; min-width: 52px; transition: color .2s;
}
.seg .thumb {
  position: absolute; top: 2px; bottom: 2px; left: 2px; border-radius: 8px; background: var(--card);
  box-shadow: 0 3px 8px rgba(0, 0, 0, .12), 0 0 0 .5px rgba(0, 0, 0, .04); transition: transform .3s var(--ease), width .3s;
}
@media (prefers-color-scheme: dark) { .seg .thumb { background: #4a463d; } }

/* =============== ПЕРЕКЛЮЧАТЕЛЬ (как в iOS, и как «O» в логотипе School) =============== */
.switch { position: relative; width: 51px; height: 31px; flex: none; }
.switch input { opacity: 0; position: absolute; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--fill2); transition: background .25s; }
.switch span::after {
  content: ''; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .15), 0 1px 1px rgba(0, 0, 0, .16); transition: transform .3s var(--ease);
}
.switch input:checked + span { background: var(--sage); }
.switch input:checked + span::after { transform: translateX(20px); }

/* =============== СПИСОК-ГРУППА (как в Настройках iPhone) =============== */
.list { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.list .row {
  display: flex; align-items: center; gap: 14px; padding: 13px 16px; color: var(--text); position: relative; min-height: 56px;
  background: none; border: none; width: 100%; text-align: left; font: inherit; cursor: default;
}
a.row, button.row { cursor: pointer; transition: background .15s; }
a.row:hover, button.row:hover { background: var(--fill); }
.list .row + .row::before { content: ''; position: absolute; top: 0; right: 0; left: 62px; height: .5px; background: var(--sep); }
.list.plain .row + .row::before { left: 16px; }
.row .ico {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none; color: #fff; background: var(--olive2);
}
.row .ico svg { width: 18px; height: 18px; }
.row .ico.heart { background: var(--heart); }
.row .ico.camel { background: var(--camel); }
.row .ico.sage { background: var(--sage); }
.row .ico.kaspi { background: #f14635; }
.row .txt { flex: 1; min-width: 0; }
.row .txt b { display: block; font-weight: 600; font-size: 15.5px; }
.row .txt span { display: block; font-size: 13.5px; color: var(--text2); }
.row .end { color: var(--text3); font-size: 14.5px; display: flex; align-items: center; gap: 6px; flex: none; }
.row .end svg { width: 16px; height: 16px; }
.list-title { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--text2); margin: 22px 16px 8px; font-weight: 500; }
.list-note { font-size: 13px; color: var(--text2); margin: 8px 16px 0; }

/* =============== ШКАЛА СБОРА =============== */
.progress { position: relative; height: 14px; border-radius: 999px; background: var(--fill2); overflow: visible; }
.progress .fill {
  position: absolute; inset: 0 auto 0 0; border-radius: 999px; min-width: 14px;
  background: linear-gradient(90deg, var(--camel), var(--heart)); transition: width 1.2s cubic-bezier(.2, .8, .2, 1);
}
.progress .tick { position: absolute; top: -4px; bottom: -4px; width: 2px; border-radius: 2px; background: var(--card); box-shadow: 0 0 0 .5px var(--sep); transform: translateX(-1px); }
.progress.thin { height: 8px; }
.ticks-lbl { position: relative; height: 18px; margin-top: 8px; font-size: 12px; color: var(--text3); font-weight: 600; }
.ticks-lbl span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.ticks-lbl span:last-child { transform: translateX(-100%); }
.ticks-lbl span.done { color: var(--sage); }

/* =============== ПОДВАЛ =============== */
.footer { padding: 40px 0 60px; color: var(--text2); font-size: 14px; border-top: .5px solid var(--sep); margin-top: 40px; }
.footer .cols { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; }
.footer a { color: var(--text2); }
.footer a:hover { color: var(--text); }
.footer .links { display: flex; flex-direction: column; gap: 6px; }

/* =============== НИЖНЯЯ ПАНЕЛЬ (bottom sheet, как в iOS) =============== */
.sheet-bg {
  position: fixed; inset: 0; z-index: 90; background: rgba(20, 18, 14, .36); opacity: 0; pointer-events: none; transition: opacity .3s;
}
.sheet-bg.open { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed; z-index: 91; left: 50%; bottom: 0; width: min(100%, 520px); max-height: 92vh; overflow-y: auto;
  background: var(--bg2); border-radius: 28px 28px 0 0; padding: 8px 18px calc(24px + env(safe-area-inset-bottom));
  transform: translate(-50%, 105%); transition: transform .42s cubic-bezier(.2, .9, .25, 1); box-shadow: var(--shadow-lg);
}
.sheet.open { transform: translate(-50%, 0); }
@media (min-width: 640px) {
  .sheet { bottom: auto; top: 50%; border-radius: 28px; transform: translate(-50%, -40%) scale(.96); opacity: 0; pointer-events: none; transition: transform .35s var(--ease), opacity .25s; }
  .sheet.open { transform: translate(-50%, -50%); opacity: 1; pointer-events: auto; }
}
.sheet .grab { width: 36px; height: 5px; border-radius: 3px; background: var(--fill2); margin: 0 auto 10px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 14px; }
.sheet-head h3 { margin: 0; font-size: 20px; }
.x-btn { width: 30px; height: 30px; border-radius: 50%; border: none; background: var(--fill2); color: var(--text2); display: grid; place-items: center; cursor: pointer; }
.x-btn svg { width: 14px; height: 14px; }

/* =============== ВСПЛЫВАШКА =============== */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 100; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: rgba(20, 20, 20, .92); color: #F2F0EB; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 14.5px;
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); transition: all .35s var(--ease); white-space: nowrap;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* =============== ГЛАВНАЯ =============== */
.hero { text-align: center; padding-top: 64px; padding-bottom: 28px; }
.hero .mark { width: 92px; height: 92px; margin: 0 auto 20px; }
.hero h1 { max-width: 760px; margin: 0 auto 14px; }
.hero p.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--text2); max-width: 620px; margin: 0 auto 26px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.kids { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.kid { background: var(--card); border-radius: var(--r-xl); box-shadow: var(--shadow); overflow: hidden; color: var(--text); display: flex; flex-direction: column; transition: transform .3s var(--ease); }
a.kid:hover { transform: translateY(-3px); }
.kid .ph { aspect-ratio: 4 / 3; background: var(--bg2) center/cover no-repeat; position: relative; }
.kid .ph .chip { position: absolute; left: 14px; top: 14px; background: rgba(255, 255, 255, .86); color: var(--olive); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.kid .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.kid h3 { margin: 0; }
.kid .sum { display: flex; justify-content: space-between; font-size: 14px; color: var(--text2); }
.kid .sum b { color: var(--text); font-size: 16px; }
.kid.soon { align-items: center; justify-content: center; text-align: center; padding: 40px 24px; background: transparent; box-shadow: none; border: 1.5px dashed var(--fill2); min-height: 300px; }
.kid.soon img { width: 56px; opacity: .35; margin-bottom: 14px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.step { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 22px; }
.step .n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--heart-tint); color: var(--heart); font-weight: 700; margin-bottom: 12px; }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--text2); font-size: 14.5px; }

.banner {
  border-radius: var(--r-xl); padding: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; justify-content: space-between;
  background: linear-gradient(135deg, #141414, #2B2B2B); color: #F2F0EB; position: relative; overflow: hidden;
}
.banner::after {
  content: ''; position: absolute; right: -40px; top: -30px; width: 240px; height: 240px; opacity: .1;
  background: url("../logo/ab-heart-dark.svg") center/contain no-repeat;
}
.banner h3 { color: #fff; font-size: 22px; }
.banner p { color: rgba(255, 255, 255, .74); margin: 0; max-width: 520px; }
.banner .btn { background: var(--camel); color: #1e1b16; box-shadow: none; position: relative; z-index: 1; }

/* =============== СТРАНИЦА РЕБЁНКА =============== */
.child-top { display: grid; grid-template-columns: 1fr 1.05fr; gap: 20px; padding-top: 22px; align-items: start; }
@media (max-width: 860px) { .child-top { grid-template-columns: 1fr; } }
.photo { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg2) center/cover no-repeat; box-shadow: var(--shadow); position: relative; }
@media (max-width: 860px) { .photo { aspect-ratio: 4 / 3.4; } }
.photo .chip { position: absolute; left: 16px; bottom: 16px; background: rgba(255, 255, 255, .88); color: var(--olive); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
@media (prefers-color-scheme: dark) { .photo .chip, .kid .ph .chip { background: rgba(20, 20, 20, .8); color: #F2F0EB; } }
.intro h1 { font-size: clamp(30px, 4.6vw, 44px); }
.intro .who { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }

.raised { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.raised .big { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4.4vw, 40px); letter-spacing: -.02em; line-height: 1.05; }
.raised .of { color: var(--text2); font-size: 15px; margin-top: 4px; }
.pct-row { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-size: 14px; color: var(--text2); }
.pct-row b { color: var(--heart); font-size: 15px; }

.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 12px; }
.amounts button {
  border: 1.5px solid transparent; background: var(--fill); color: var(--text); border-radius: 14px; min-height: 52px;
  font: 700 16px var(--font); cursor: pointer; transition: all .2s var(--ease); font-variant-numeric: tabular-nums;
}
.amounts button:hover { background: var(--fill2); }
.amounts button.on { background: var(--heart-tint); color: var(--heart); border-color: var(--heart); transform: scale(1.02); }
.other { display: none; margin-bottom: 12px; position: relative; }
.other.show { display: block; }
.other input {
  width: 100%; font: 700 22px var(--font); color: var(--text); border: none; background: var(--fill); border-radius: 14px;
  padding: 14px 44px 14px 16px; outline: none; font-variant-numeric: tabular-nums;
}
.other input:focus { box-shadow: 0 0 0 2px var(--heart); }
.other .cur { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-weight: 700; font-size: 20px; color: var(--text3); }
.pay-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.trust { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; font-size: 13.5px; color: var(--text2); }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 15px; height: 15px; color: var(--sage); }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .grid2 { grid-template-columns: 1fr; } }

.stage-row .ico { background: var(--fill2); color: var(--text3); }
.stage-row.done .ico { background: var(--sage); color: #fff; }
.stage-row.now .ico { background: var(--heart); color: #fff; }
.stage-row .bar-mini { height: 4px; border-radius: 4px; background: var(--fill2); margin-top: 6px; overflow: hidden; }
.stage-row .bar-mini i { display: block; height: 100%; background: var(--heart); border-radius: 4px; }

.story-wrap { display: grid; grid-template-columns: 180px 1fr; gap: 22px; align-items: center; }
@media (max-width: 520px) { .story-wrap { grid-template-columns: 120px 1fr; gap: 16px; } }
.story-wrap canvas { width: 100%; height: auto; border-radius: 16px; box-shadow: var(--shadow); background: var(--bg2); display: block; }
.story-wrap .btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.timeline .row .txt span.date { font-size: 12.5px; color: var(--text3); text-transform: uppercase; letter-spacing: .03em; }

/* нижняя закреплённая кнопка на телефоне */
.sticky-help {
  display: none; position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  padding: 8px; border-radius: 24px; background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border); box-shadow: var(--shadow-lg); align-items: center; gap: 12px;
  transform: translateY(140%); transition: transform .4s var(--ease);
}
.sticky-help.show { transform: none; }
.sticky-help .mini { flex: 1; padding-left: 8px; min-width: 0; }
.sticky-help .mini b { display: block; font-size: 14.5px; }
.sticky-help .mini .progress { margin-top: 5px; }
@media (max-width: 720px) { .sticky-help { display: flex; } body.has-sticky { padding-bottom: 90px; } }

/* =============== ДЛЯ КОМПАНИЙ =============== */
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.offer { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 22px; }
.offer .ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: #fff; margin-bottom: 14px; }
.offer .ico svg { width: 22px; height: 22px; }
.offer h3 { font-size: 18px; }
.offer p { color: var(--text2); font-size: 14.5px; margin: 0; }
.field { display: block; padding: 10px 16px; position: relative; }
.list .field + .field::before, .list .field + .row::before, .list .row + .field::before { content: ''; position: absolute; top: 0; right: 0; left: 16px; height: .5px; background: var(--sep); }
.field span { display: block; font-size: 12.5px; color: var(--text2); margin-bottom: 2px; }
.field input, .field textarea { width: 100%; border: none; background: none; font: 16px var(--font); color: var(--text); padding: 2px 0; outline: none; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text3); }
.copy-btn { border: none; background: var(--fill); color: var(--camel-d); font: 600 13px var(--font); padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.copy-btn:hover { background: var(--fill2); }

/* плавное появление при прокрутке */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .45s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } * { transition: none !important; } }
picture { display: contents; }

/* =============== ЛЕНТА «ТОЛЬКО ЧТО ПОМОГЛИ» =============== */
.ticker { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 14px 0 16px; overflow: hidden; }
.tk-head { display: flex; align-items: center; gap: 8px; padding: 0 18px 10px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text2); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--heart); box-shadow: 0 0 0 0 var(--heart-tint); animation: live 1.8s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(255, 90, 31, .45); } 70% { box-shadow: 0 0 0 8px rgba(255, 90, 31, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0); } }
.tk-track, .sp-track { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tk-row, .sp-track.moving .sp-row { display: flex; width: max-content; animation: marquee linear infinite; }
.tk-track:hover .tk-row, .sp-track:hover .sp-row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tk-item {
  display: inline-flex; align-items: center; gap: 7px; margin-right: 10px; padding: 8px 14px; border-radius: 999px;
  background: var(--fill); font-size: 14.5px; white-space: nowrap;
}
.tk-item svg { width: 14px; height: 14px; color: var(--heart); flex: none; }
.tk-item b { font-weight: 600; }
.tk-item .num { color: var(--heart); font-weight: 700; }
.tk-item i { font-style: normal; color: var(--text2); }

/* =============== СПОНСОРЫ: ЛОГОТИПЫ ПО КРУГУ =============== */
.sp-track { padding: 6px 0 10px; margin: -6px 0 -10px; }
.sp-track:not(.moving) { -webkit-mask-image: none; mask-image: none; }
.sp-row { display: flex; flex-wrap: wrap; gap: 0; }
.sp-track.moving .sp-row { flex-wrap: nowrap; }
.sp-tile, .sp-cta {
  width: 200px; height: 112px; margin: 0 12px 12px 0; flex: none; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 16px 22px; color: var(--olive);
  transition: transform .3s var(--ease);
}
a.sp-tile:hover { transform: translateY(-2px); }
.sp-tile img { max-width: 100%; max-height: 56px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .85; transition: filter .3s, opacity .3s; }
.sp-tile:hover img { filter: none; opacity: 1; }
.sp-word { font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: -.01em; text-align: center; line-height: 1.15; color: #141414; }
.sp-tile small { font-size: 12px; color: #8A867C; font-weight: 600; }
.sp-cta { background: transparent; box-shadow: none; border: 1.5px dashed var(--fill2); text-align: center; color: var(--text); width: 240px; }
.sp-cta b { font-size: 14px; line-height: 1.25; }
.sp-cta span { font-size: 12.5px; color: var(--text2); }
.sp-cta:hover { border-color: var(--camel); }
.sp-empty { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--r-lg); border: 1.5px dashed var(--fill2); }
.sp-empty > svg { width: 30px; height: 30px; color: var(--camel); flex: none; }
.sp-empty div { flex: 1; }
.sp-empty b { display: block; }
.sp-empty span { font-size: 14px; }
@media (max-width: 560px) { .sp-empty { flex-wrap: wrap; } .sp-tile { width: 160px; height: 96px; } }
@media (prefers-reduced-motion: reduce) { .tk-row, .sp-track.moving .sp-row { animation: none; } .tk-track, .sp-track { overflow-x: auto; } }

/* =============== ТОП-10 ДОНАТЕРОВ =============== */
.top-list .rank {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--fill); color: var(--text2); font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums;
}
.top-list .rank.r1 { background: linear-gradient(150deg, #FF8A5C, #FF5A1F); color: #fff; box-shadow: 0 3px 10px rgba(255, 90, 31, .35); }
.top-list .rank.r2 { background: linear-gradient(150deg, #c9b9a0, #a08c70); color: #fff; }
.top-list .rank.r3 { background: linear-gradient(150deg, #c99a80, #a8705a); color: #fff; }
.top-list .r1 ~ .txt b { font-weight: 700; }
.top-list .top-sum { color: var(--text); font-weight: 700; font-size: 15.5px; }
@media (min-width: 760px) {
  .top-list.two { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(5, auto); grid-auto-flow: column; }
  .top-list.two .row:nth-child(n+6) { border-left: .5px solid var(--sep); }
  .top-list.two .row:nth-child(6)::before { display: none; }
}
.section-head .seg button { font-size: 13px; padding: 6px 12px; }

/* очень узкие экраны (iPhone SE и уже) */
@media (max-width: 360px) {
  .wrap { padding: 0 12px; }
  .wordmark { font-size: 13px; }
  .wordmark small { letter-spacing: .36em; }
  .topbar .btn.sm { padding: 7px 12px; }
  .amounts { grid-template-columns: repeat(2, 1fr); }
}

/* колонки не растягиваются шире экрана из-за длинного содержимого */
.child-top > *, .grid2 > * { min-width: 0; }
@media (max-width: 860px) { .child-top, .grid2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 360px) {
  .raised { flex-wrap: wrap; }
  .pay-btns .btn { padding-left: 10px; padding-right: 10px; }
}

/* =============== ОФИЦИАЛЬНЫЕ РЕКВИЗИТЫ СЕМЬИ =============== */
.family { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 16px; margin-bottom: 12px; }
.fam-who { display: flex; align-items: center; gap: 12px; }
.fam-who .ava {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; font-weight: 700; font-size: 16px;
  background: linear-gradient(150deg, #FF8A5C, #FF5A1F); color: #fff;
}
.fam-who .txt { flex: 1; min-width: 0; }
.fam-who .txt b { display: block; font-size: 16.5px; }
.fam-who .txt span { display: block; font-size: 13.5px; color: var(--text2); }
.fam-who .chip { flex: none; }
.fam-trust { list-style: none; margin: 12px 0 0; padding: 12px 0 0; border-top: .5px solid var(--sep); display: grid; gap: 6px; }
.fam-trust li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--text2); }
.fam-trust svg { width: 16px; height: 16px; color: var(--sage); flex: none; margin-top: 2px; }

details.req { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 10px; }
details.req summary { list-style: none; cursor: pointer; }
details.req summary::-webkit-details-marker { display: none; }
details.req summary .end svg { transition: transform .25s var(--ease); }
details.req[open] summary .end svg { transform: rotate(90deg); }
details.req .list { box-shadow: none; border-radius: 0; border-top: .5px solid var(--sep); }
.req-row .txt b { font-size: 16.5px; letter-spacing: .01em; word-break: break-all; }
.copy-btn.done { background: var(--sage-tint); color: var(--sage); }
.list-note.warn { display: flex; gap: 8px; align-items: flex-start; color: var(--text2); }
.list-note.warn svg { width: 15px; height: 15px; color: var(--heart); flex: none; margin-top: 1px; }

/* окно «Помочь»: сумма и карта Kaspi */
.pay-steps { margin: 0 0 14px; padding: 0 4px; display: grid; gap: 4px; font-size: 14px; color: var(--text2); counter-reset: s; list-style: none; }
.pay-steps li { display: flex; gap: 8px; }
.pay-steps li::before { counter-increment: s; content: counter(s); width: 20px; height: 20px; border-radius: 50%; background: var(--heart-tint); color: var(--heart); font-weight: 700; font-size: 12px; display: grid; place-items: center; flex: none; }
.cards-wrap { max-width: 760px; }
details.req > summary.row { display: flex; align-items: center; gap: 14px; padding: 13px 16px; min-height: 60px; color: var(--text); }
details.req > summary.row:hover { background: var(--fill); }

/* =============== СТРОКА КУРСА (в блоке ₸ / $) =============== */
.rate-line {
  width: 100%; display: flex; align-items: center; flex-wrap: wrap; gap: 2px 10px; margin: 0 0 16px; padding: 9px 40px 9px 12px;
  border: none; border-radius: 12px; background: var(--fill); color: var(--text2); font: 13.5px var(--font); text-align: left;
  cursor: pointer; position: relative; transition: background .2s;
}
.rate-line:hover { background: var(--fill2); }
.rate-line .rl-main { display: inline-flex; align-items: center; gap: 6px; color: var(--text); }
.rate-line .rl-main svg { width: 15px; height: 15px; color: var(--sage); flex: none; }
.rate-line .rl-main b { font-weight: 700; }
.rate-line .rl-sub { color: var(--text3); }
.rate-line > svg { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--camel-d); }

/* =============== ЛЕНТА: «НИК ИЛИ АНОНИМНО?» И ФОРМА «Я ПЕРЕВЁЛ» =============== */
.tk-how {
  margin-left: auto; border: none; background: var(--fill); color: var(--camel-d); font: 600 12.5px var(--font);
  text-transform: none; letter-spacing: 0; padding: 5px 11px; border-radius: 999px; cursor: pointer;
}
.tk-head .chip + .tk-how { margin-left: 6px; }
.tk-how:hover { background: var(--fill2); }
.tk-note { margin: 10px 18px 0; font-size: 12.5px; color: var(--text3); }
.link-btn { border: none; background: none; padding: 0; font: inherit; color: var(--camel-d); font-weight: 600; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.field select { width: 100%; border: none; background: none; font: 16px var(--font); color: var(--text); padding: 2px 0; outline: none; -webkit-appearance: none; appearance: none; }
.field.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field.two label { display: block; }
.field input[type=date], .field input[type=time] { min-height: 24px; }
.claim-preview { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 14px; overflow: hidden; }
.claim-preview .tk-item { margin: 0; white-space: normal; flex-wrap: wrap; }

/* =============== ЗНАЧОК ПРОФИЛЯ В ШАПКЕ =============== */
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; color: var(--text);
  background: var(--fill); transition: background .2s;
}
.icon-btn:hover, .icon-btn.on { background: var(--fill2); }
.icon-btn svg { width: 20px; height: 20px; }
@media (max-width: 720px) { .topbar .icon-btn { margin-left: auto; } .topbar .icon-btn + .btn { margin-left: 0; } }

/* =============== ЛИЧНЫЙ КАБИНЕТ =============== */
.demo-bar { display: flex; gap: 8px; align-items: center; margin-top: 16px; padding: 10px 14px; border-radius: 14px; background: var(--heart-tint); color: var(--heart); font-size: 14px; font-weight: 500; }
.demo-bar svg { width: 17px; height: 17px; flex: none; }
.pf-top { display: grid; grid-template-columns: 1fr 1.1fr; gap: 16px; padding-top: 20px; align-items: stretch; }
@media (max-width: 860px) { .pf-top { grid-template-columns: minmax(0, 1fr); } }
.pf-card { text-align: center; display: flex; flex-direction: column; align-items: center; }
.pf-ava { position: relative; width: 120px; height: 120px; margin-bottom: 12px; }
.pf-ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.pf-ring circle { fill: none; stroke-width: 7; }
.pf-ring .bg { stroke: var(--fill2); }
.pf-ring .fg { stroke-linecap: round; transition: stroke-dashoffset 1.4s cubic-bezier(.2, .8, .2, 1); }
.pf-ini { position: absolute; inset: 14px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 800 32px var(--display); letter-spacing: .02em; }
.pf-name { font-size: clamp(24px, 3.4vw, 30px); margin: 0 0 8px; }
.pf-lvl { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; margin-bottom: 18px; }
.pf-pts { display: flex; justify-content: space-between; align-items: baseline; width: 100%; margin-bottom: 8px; font-size: 14px; color: var(--text2); gap: 10px; }
.pf-pts b { font: 800 22px var(--display); color: var(--text); }
.pf-card .progress { width: 100%; }
.pf-next { display: flex; gap: 6px; align-items: flex-start; text-align: left; width: 100%; margin: 12px 0 0; font-size: 13.5px; color: var(--text2); }
.pf-next svg { width: 15px; height: 15px; color: var(--camel); flex: none; margin-top: 2px; }

.pf-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 16px; display: flex; flex-direction: column; gap: 4px; min-height: 120px; justify-content: space-between; }
.tile .t-lbl { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text2); }
.tile .t-lbl svg { width: 15px; height: 15px; color: var(--camel); }
.tile b { font: 800 clamp(20px, 2.6vw, 26px) var(--display); letter-spacing: -.02em; line-height: 1.1; }
.tile .t-sub { font-size: 12.5px; color: var(--text3); }
.tile.hl { background: linear-gradient(150deg, #FF7A45, #E04A12); color: #fff; }
.tile.hl .t-lbl, .tile.hl .t-sub, .tile.hl .t-lbl svg { color: rgba(255, 255, 255, .85); }

.ref-card { padding: 18px; }
.ref-link { display: flex; align-items: center; gap: 10px; background: var(--fill); border-radius: 14px; padding: 10px 10px 10px 14px; }
.ref-link span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.ref-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ava-s { width: 32px; height: 32px; border-radius: 50%; background: var(--fill2); display: grid; place-items: center; font-weight: 700; color: var(--text2); flex: none; }

.lv-list .row { min-height: 64px; }
.lv-n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--fill2); color: var(--text3); font-weight: 700; }
.lv-n svg { width: 16px; height: 16px; }
.lv.lock .txt b, .lv.lock .txt span { opacity: .55; }
.lv.now { background: var(--heart-tint); }
.lv .txt small { font-weight: 500; margin-left: 4px; }

.reward { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; padding: 18px; }
.reward .rw-ico { width: 44px; height: 44px; border-radius: 13px; background: var(--camel); color: #fff; display: grid; place-items: center; grid-row: span 2; }
.reward .rw-ico svg { width: 22px; height: 22px; }
.reward .rw-txt b { display: block; font-size: 16px; }
.reward .rw-txt span { font-size: 13.5px; color: var(--text2); }
.reward .rw-code { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; padding: 12px 14px; border-radius: 14px; border: 1.5px dashed var(--camel); font-weight: 800; letter-spacing: .06em; }
.reward .link { grid-column: 1 / -1; margin-top: 4px; }
.reward.locked { opacity: .6; }
.reward.locked .rw-ico { background: var(--fill2); color: var(--text3); }

.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.badge { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 14px 8px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow); font-size: 12.5px; color: var(--text3); line-height: 1.25; }
.badge .b-ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--fill); color: var(--text3); }
.badge .b-ico svg { width: 22px; height: 22px; }
.badge.got { color: var(--text); font-weight: 600; }
.badge.got .b-ico { background: linear-gradient(150deg, #FF8A5C, #FF5A1F); color: #fff; box-shadow: 0 4px 12px rgba(255, 90, 31, .35); }
.pts-b { width: 52px; height: 30px; padding: 0; border-radius: 10px; background: var(--sage-tint); color: var(--sage); font-weight: 800; font-size: 14px; display: grid; place-items: center; flex: none; }
.lv-badge { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--heart); color: #fff; font-size: 10px; vertical-align: 1px; }
.seg.block { display: flex; width: 100%; }
.seg.block button { flex: 1; }

/* =============== ВХОД =============== */
.auth { padding-top: 40px; }
.auth-card { max-width: 440px; margin: 0 auto; text-align: center; padding: 28px 24px; }
.auth-mark { width: 64px; height: 64px; margin: 0 auto 14px; }
.auth-card h1 { font-size: 28px; }
.auth-card .list { text-align: left; box-shadow: none; background: var(--fill); }
.google-btn { background: #fff; color: #1f1f1f; box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 0 0 1px rgba(0, 0, 0, .1); margin-top: 6px; }
.google-btn:hover { filter: none; background: #f7f7f7; }
.or { display: flex; align-items: center; gap: 10px; margin: 18px 0 12px; color: var(--text3); font-size: 13px; }
.or::before, .or::after { content: ''; flex: 1; height: .5px; background: var(--sep); }
.auth-soon { max-width: 440px; margin: 14px auto 0; padding: 16px 18px; border-radius: var(--r-lg); border: 1.5px dashed var(--fill2); display: grid; gap: 6px; justify-items: start; }
.auth-soon span { font-size: 14px; color: var(--text2); }
.auth-soon .btn { margin-top: 6px; }

/* скрытое скрываем всегда, даже если у элемента свой display */
[hidden] { display: none !important; }
.list .row .pts-b ~ .txt { min-width: 0; }
.list:has(.pts-b) .row + .row::before { left: 82px; }

/* =====================================================================
   ОФОРМЛЕНИЕ ПРОФИЛЯ ПО УРОВНЯМ («Мой стиль»)
   ===================================================================== */
/* --- значок у имени (в ленте, топе и профиле) --- */
.nb { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; margin-left: 5px; vertical-align: -3px;
  font-size: 11px; line-height: 1; color: #fff; background: var(--camel); font-weight: 700; }
.nb-heart { background: var(--heart); }
.nb-moon { background: #141414; color: #FFE873; font-size: 12px; }
.nb-spark { background: #0E6B3A; }
.nb-diamond { background: linear-gradient(150deg, #8fb0c4, #5d7f95); font-size: 9px; }
.nb-flower { background: #FF7A45; font-size: 12px; }
.nb-star { background: linear-gradient(150deg, #f0d08f, #c4914a); box-shadow: 0 0 8px rgba(255, 210, 31, .6); }
.nb-mark { background: #141414; }
.nb-mark img { width: 12px; height: 12px; }
.pf-name .nb { width: 24px; height: 24px; font-size: 14px; vertical-align: 2px; margin-left: 8px; }
.pf-name .nb-mark img { width: 16px; height: 16px; }

/* --- как имя выглядит в бегущей ленте --- */
.tk-item.chip-heart { background: var(--heart-tint); }
.tk-item.chip-heart b { color: var(--heart); }
.tk-item.chip-sage { background: var(--sage-tint); }
.tk-item.chip-sage b { color: var(--sage); }
.tk-item.chip-gold, .tk-item.chip-glow, .tk-item.chip-shine { background: linear-gradient(135deg, #FFE873, #FFD21F); color: #141414; }
.tk-item.chip-gold .num, .tk-item.chip-glow .num, .tk-item.chip-shine .num { color: #141414; }
.tk-item.chip-gold i, .tk-item.chip-glow i, .tk-item.chip-shine i { color: rgba(59, 47, 30, .7); }
.tk-item.chip-gold svg, .tk-item.chip-glow svg, .tk-item.chip-shine svg { color: #141414; }
.tk-item.chip-glow { box-shadow: 0 0 0 1px rgba(255, 230, 180, .9), 0 0 14px rgba(255, 210, 31, .55); }
.tk-item.chip-shine { position: relative; overflow: hidden; }
.tk-item.chip-shine::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .65) 50%, transparent 70%); background-size: 250% 100%; animation: shine 2.6s linear infinite; }
@keyframes shine { from { background-position: 150% 0; } to { background-position: -100% 0; } }

/* --- обложка профиля (полоса сверху карточки, как в «Контактах» iPhone) --- */
.pf-card { overflow: hidden; padding-top: 0; }
.pf-cover { height: 104px; margin: 0 -24px; align-self: stretch; position: relative; background: linear-gradient(135deg, #F2F0EB, #E7E4DC); }
.pf-card .pf-ava { margin-top: -62px; }
.cv-cream { background: linear-gradient(135deg, #F2F0EB, #E7E4DC); }
.cv-hex { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='90' viewBox='0 0 52 90'%3E%3Cpath d='M26 0L52 15V45L26 60L0 45V15ZM26 60V90M26 30L0 15M26 30L52 15M26 30V60' fill='none' stroke='%23a07e52' stroke-opacity='.35' stroke-width='1'/%3E%3C/svg%3E"), linear-gradient(135deg, #F2F0EB, #E7E4DC); }
.cv-dawn { background: linear-gradient(135deg, #f8e2c4 0%, #f0b98f 45%, #d47f63 100%); }
.cv-geo { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%23c09a6b' stroke-opacity='.55' stroke-width='1.2'%3E%3Cpath d='M24 6l5 13 13 5-13 5-5 13-5-13-13-5 13-5z'/%3E%3Crect x='14' y='14' width='20' height='20' transform='rotate(45 24 24)'/%3E%3C/g%3E%3C/svg%3E"), linear-gradient(135deg, #141414, #2B2B2B); }
.cv-night { background: radial-gradient(1.5px 1.5px at 20% 30%, #f2e3c4 99%, transparent), radial-gradient(1px 1px at 70% 20%, #fff 99%, transparent), radial-gradient(1.5px 1.5px at 85% 65%, #f2e3c4 99%, transparent), radial-gradient(1px 1px at 40% 70%, #fff 99%, transparent), radial-gradient(1px 1px at 55% 40%, #f2e3c4 99%, transparent), radial-gradient(18px 18px at 88% 28%, #f2e3c4 45%, transparent 48%), linear-gradient(160deg, #141414, #262626 60%, #141414); }
.cv-dust { background: radial-gradient(2px 2px at 15% 35%, #fff8e6 99%, transparent), radial-gradient(1.5px 1.5px at 45% 20%, #fff8e6 99%, transparent), radial-gradient(2px 2px at 75% 55%, #fff8e6 99%, transparent), radial-gradient(1.5px 1.5px at 90% 25%, #fff 99%, transparent), radial-gradient(1px 1px at 30% 75%, #fff 99%, transparent), linear-gradient(135deg, #e7c992, #b8864d 60%, #9c6f3c); }
.cv-desert { background: radial-gradient(120% 60% at 30% 110%, #b98457 60%, transparent 61%), radial-gradient(120% 70% at 85% 115%, #a8724a 60%, transparent 61%), radial-gradient(28px 28px at 78% 30%, #fff1d2 45%, transparent 48%), linear-gradient(180deg, #f6dfb0, #e8b57e); }
.cv-aurora { background: linear-gradient(120deg, #141414, #0E6B3A, #FF5A1F, #FF5A1F, #0E6B3A, #141414); background-size: 300% 100%; animation: aurora 9s ease-in-out infinite alternate; }
@keyframes aurora { from { background-position: 0 50%; } to { background-position: 100% 50%; } }

/* --- рамка аватара --- */
.pf-frame { position: absolute; inset: 10px; border-radius: 50%; background: #141414; }
.pf-ini { inset: 15px; z-index: 1; }
.fr-olive { background: #141414; }
.fr-camel { background: #FF5A1F; }
.fr-sage { background: #0E6B3A; }
.fr-double { background: #FF5A1F; box-shadow: 0 0 0 2px var(--card), 0 0 0 4px #141414; }
.fr-gold { background: linear-gradient(145deg, #f3dca6, #c4914a 45%, #f0d08f 70%, #E0A800); }
.fr-sunset { background: linear-gradient(145deg, #f0b98f, #FF7A45 50%, #D9480F); }
.fr-spin { background: conic-gradient(from 0deg, #c4914a, #f6e3b4, #FF7A45, #c4914a, #f6e3b4, #c4914a); animation: spin 5s linear infinite; }
.fr-amb { background: conic-gradient(from 0deg, #141414, #FF5A1F, #f6e3b4, #FF5A1F, #141414, #FF5A1F, #f6e3b4, #141414); animation: spin 8s linear infinite; box-shadow: 0 0 18px rgba(255, 90, 31, .55); }
@keyframes spin { to { transform: rotate(360deg); } }
.pf-amb-mark { position: absolute; right: 8px; bottom: 8px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; background: #141414; display: grid; place-items: center; box-shadow: 0 0 0 3px var(--card); }
.pf-amb-mark img { width: 18px; height: 18px; }
.pf-title { margin: -2px 0 10px; font-size: 14px; font-style: italic; color: var(--text2); }

/* --- раздел «Мой стиль» --- */
.st-tabs { margin-bottom: 12px; }
.st-tabs button { font-size: 13px; padding: 6px 4px; min-width: 0; }
.st-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 560px) { .st-grid { grid-template-columns: repeat(3, 1fr); } }
.st-opt { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 12px 6px 10px; border-radius: 16px; border: 2px solid transparent;
  background: var(--card); box-shadow: var(--shadow); cursor: pointer; font: 600 12px var(--font); color: var(--text); text-align: center; transition: transform .2s var(--ease), border-color .2s; }
.st-opt:hover { transform: translateY(-2px); }
.st-opt.on { border-color: var(--heart); }
.st-opt.on::after { content: "✓"; position: absolute; top: 6px; right: 8px; width: 18px; height: 18px; border-radius: 50%; background: var(--heart); color: #fff; font-size: 11px; display: grid; place-items: center; }
.st-opt.lock { cursor: not-allowed; color: var(--text3); }
.st-opt.lock .sw { filter: grayscale(.85); opacity: .45; }
.st-opt .lv-req { font-size: 11px; font-weight: 600; color: var(--text3); display: inline-flex; align-items: center; gap: 3px; }
.st-opt .lv-req svg { width: 11px; height: 11px; }
.sw { width: 54px; height: 54px; border-radius: 50%; position: relative; display: grid; place-items: center; }
.sw.cover { width: 100%; height: 44px; border-radius: 10px; }
.sw.frame .pf-frame { inset: 0; }
.sw.frame::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--fill2); }
.sw.badge { background: var(--fill); }
.sw.badge .nb { width: 30px; height: 30px; font-size: 16px; margin: 0; vertical-align: 0; }
.sw.badge .nb-mark img { width: 18px; height: 18px; }
.sw.chip { width: auto; height: auto; border-radius: 999px; }
.sw.chip .tk-item { margin: 0; font-size: 12px; padding: 6px 10px; }
.st-title-list { display: flex; flex-wrap: wrap; gap: 8px; }
.st-title-list button { border: 2px solid transparent; background: var(--card); box-shadow: var(--shadow); border-radius: 999px; padding: 8px 14px; font: 600 13.5px var(--font); color: var(--text); cursor: pointer; font-style: italic; }
.st-title-list button.on { border-color: var(--heart); }
.st-title-list button[disabled] { opacity: .45; cursor: not-allowed; font-style: normal; }

/* --- примерка уровня (только в примере) --- */
.try-lvl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 10px; padding: 12px 14px; border-radius: 14px; background: var(--card); box-shadow: var(--shadow); font-size: 14px; }
.try-lvl input[type=range] { flex: 1; min-width: 160px; accent-color: var(--heart); }
.try-lvl b { min-width: 150px; }
.lv-more { width: 100%; margin-top: 8px; }
@media (prefers-reduced-motion: reduce) { .fr-spin, .fr-amb, .cv-aurora, .tk-item.chip-shine::after { animation: none; } }
.pf-ava .pf-frame { inset: 13px; }
.pf-ava .pf-ini { inset: 18px; font-size: 28px; }
.sw.frame::after { background: var(--card); inset: 6px; }
.st-grid { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); }
.st-opt { min-width: 0; overflow: hidden; }
.sw.chip { max-width: 100%; }
.sw.chip .tk-item { max-width: 100%; overflow: hidden; }
/* шапка на узких телефонах: логотип, значок профиля и «Помочь» помещаются в одну строку */
@media (max-width: 420px) {
  .topbar .bar { gap: 8px; padding-left: 12px; }
  .brand { gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .wordmark { font-size: 13.5px; }
  .wordmark small { letter-spacing: .4em; }
  .topbar .icon-btn { width: 36px; height: 36px; }
  .topbar .btn.sm { padding: 7px 12px; }
}

/* =============== ДОСТИЖЕНИЯ (50 медалей) =============== */
.medal { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; position: relative; flex: none;
  background: var(--fill2); color: var(--text3); overflow: hidden; }
.medal b { font: 800 17px var(--display); letter-spacing: -.02em; position: relative; z-index: 1; }
.medal::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 1.5px dashed currentColor; opacity: .35; }
.medal.got { color: #fff; box-shadow: 0 6px 16px rgba(20, 20, 20, .22), inset 0 2px 0 rgba(255, 255, 255, .35), inset 0 -3px 6px rgba(0, 0, 0, .12); }
.medal.got::before { border: 2px solid rgba(255, 255, 255, .5); opacity: 1; }
.medal.m-common.got { background: linear-gradient(150deg, #FF8A5C, #FF5A1F); }
.medal.m-rare.got { background: linear-gradient(150deg, #3FA36B, #0E6B3A); }
.medal.m-legend.got { background: linear-gradient(150deg, #FFE873, #FFD21F 45%, #E0A800); color: #4a2f10; }
.medal.m-legend.got::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .7) 50%, transparent 65%); background-size: 250% 100%; animation: shine 3.2s linear infinite; }
.medal.big { width: 104px; height: 104px; margin: 0 auto 12px; }
.medal.big b { font-size: 30px; }
.medal.big::before { inset: 7px; }

.ach-sum { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: -4px 0 12px; }
.ach-r { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text2); }
.ach-r i { width: 10px; height: 10px; border-radius: 50%; }
.r-common i { background: linear-gradient(150deg, #FF8A5C, #FF5A1F); }
.r-rare i { background: linear-gradient(150deg, #3FA36B, #0E6B3A); }
.r-legend i { background: linear-gradient(150deg, #FFE873, #FFD21F); }
.ach-filter { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -18px 14px; padding: 2px 18px; }
.ach-filter::-webkit-scrollbar { display: none; }
.ach-filter button { flex: none; border: none; background: var(--fill); color: var(--text); font: 600 13.5px var(--font); padding: 8px 14px; border-radius: 999px; cursor: pointer; transition: background .2s; }
.ach-filter button:hover { background: var(--fill2); }
.ach-filter button.on { background: var(--olive2); color: #fff; }
.ach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.ach { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 14px 6px 12px; border: none; border-radius: 18px; background: var(--card);
  box-shadow: var(--shadow); cursor: pointer; font: inherit; color: var(--text); text-align: center; transition: transform .2s var(--ease); min-width: 0; }
.ach:hover { transform: translateY(-2px); }
.ach-t { font-size: 12.5px; font-weight: 600; line-height: 1.25; }
.ach:has(.medal:not(.got)) .ach-t { color: var(--text3); }
.ach-s { font-size: 11.5px; color: var(--text3); display: inline-flex; }
.ach-s svg { width: 13px; height: 13px; }
.ach-p { width: 70%; height: 4px; border-radius: 4px; background: var(--fill2); overflow: hidden; margin-top: 3px; }
.ach-p i { display: block; height: 100%; background: var(--camel); border-radius: 4px; }
.ach-card { text-align: center; padding: 24px 20px; }
.ach-card h3 { font-size: 21px; margin-bottom: 8px; }
.ach-tags { display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 12px; }
.ach-done { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 0; color: var(--sage); font-weight: 600; }
.ach-done svg { width: 16px; height: 16px; }
.ach-prog { display: grid; gap: 6px; margin-top: 6px; font-size: 13.5px; color: var(--text2); }
.ach-prog .fill { background: var(--camel); }
@media (prefers-reduced-motion: reduce) { .medal.m-legend.got::after { animation: none; } }
/* незакрытые медали слегка подсказывают редкость */
.medal.m-rare:not(.got) { color: #3FA36B; background: rgba(14, 107, 58, .12); }
.medal.m-legend:not(.got) { color: #C99A00; background: rgba(255, 210, 31, .14); }

/* =============== САДАКА ДЖАРИЯ: КОРАН, ФИНИКИ, ЕДА =============== */
.gifts { display: grid; gap: 8px; }
.gift { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: var(--fill); border: 1.5px solid transparent;
  cursor: pointer; transition: background .2s, border-color .2s, transform .2s var(--ease); outline: none; }
.gift:hover { background: var(--fill2); }
.gift:focus-visible { box-shadow: 0 0 0 3px var(--heart-tint); }
.gift.on { background: var(--heart-tint); border-color: var(--heart); }
.g-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--card); color: var(--camel-d); box-shadow: var(--shadow); }
.g-ico svg { width: 22px; height: 22px; }
.gift.on .g-ico { background: var(--heart); color: #fff; }
.g-ico.big { width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 10px; background: var(--heart); color: #fff; }
.g-ico.big svg { width: 30px; height: 30px; }
.g-txt { flex: 1; min-width: 0; }
.g-txt b { display: block; font-size: 15px; font-weight: 600; }
.g-txt span { display: block; font-size: 13px; color: var(--text2); font-variant-numeric: tabular-nums; }
.g-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--fill2); flex: none; transition: all .2s; }
.gift.on .g-dot { border-color: var(--heart); background: var(--heart) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat; }
.gift .stepper:not([hidden]) + .g-dot { display: none; }
/* «− 1 +» как в iOS */
.stepper { display: inline-flex; align-items: center; background: var(--card); border-radius: 10px; box-shadow: var(--shadow); flex: none; overflow: hidden; }
.stepper button { width: 34px; height: 32px; border: none; background: none; font: 600 20px/1 var(--font); color: var(--heart); cursor: pointer; }
.stepper button:disabled { color: var(--text3); cursor: default; }
.stepper button:not(:disabled):active { background: var(--fill); }
.stepper b { min-width: 24px; text-align: center; font-size: 15px; }
.tk-item .gift-tag { font-style: normal; color: var(--text2); }
.gifts { grid-template-columns: minmax(0, 1fr); }
.gift { min-width: 0; }
.g-txt b { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 360px) {
  .card { padding: 18px; }
  .gift { gap: 10px; padding: 9px 10px; }
  .g-ico { width: 34px; height: 34px; }
  .stepper button { width: 28px; }
  .stepper b { min-width: 18px; }
  #payBtn { white-space: normal; line-height: 1.25; }
}

/* =====================================================================
   ВИД ПО БРЕНД-БУКУ — этот блок последний и главный: он переопределяет всё выше
   ===================================================================== */
/* --- основа: бумага с лёгким зерном, Inter Tight --- */
body { font-weight: 500; letter-spacing: -.012em; }
body::before { display: none; }                         /* узор магазина убран */
body::after {                                            /* лёгкое зерно бумаги, как в бренд-буке */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.08 0 0 0 0 0.08 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) { body::after { opacity: .25; } }
h1, h2, h3 { font-family: var(--display); font-weight: 900; letter-spacing: -.048em; line-height: 1; }
h1 { font-size: clamp(38px, 6.6vw, 76px); }
h2 { font-size: clamp(28px, 4.2vw, 46px); }
h3 { font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.intro h1 { font-size: clamp(32px, 4.8vw, 52px); }
::selection { background: rgba(255, 90, 31, .25); }

/* --- цифры и подписи: IBM Plex Mono, как «СОБРАНО 1 250 000 ИЗ 2 000 000 ₸» в бренд-буке --- */
.num { font-family: var(--mono); font-weight: 700; letter-spacing: -.02em; }
.eyebrow, .list-title, .tk-head, .ticks-lbl, .t-lbl, .ach-sum, .st-opt .lv-req, .projects, .date,
.timeline .row .txt span.date, .demo-bar, .chip, .tk-how {
  font-family: var(--mono); font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
}
.eyebrow, .list-title, .tk-head, .t-lbl { font-size: 12px; color: var(--grey); }
.ticks-lbl { font-size: 11px; letter-spacing: .06em; }
.chip { font-size: 11.5px; letter-spacing: .06em; padding: 6px 12px; }
.chip.heart { background: var(--orange); color: var(--on-heart); }
.chip.sage { background: var(--sage-tint); color: var(--sage); }
.tk-how { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.raised .big { font-family: var(--mono); font-weight: 700; letter-spacing: -.04em; font-size: clamp(30px, 4.4vw, 44px); }
.raised .of, .pct-row { font-family: var(--mono); font-size: 13px; letter-spacing: .02em; text-transform: uppercase; }
.pct-row b { color: var(--orange); font-size: 16px; }

/* --- ссылки: чёрные с оранжевым подчёркиванием --- */
a.link, .link-btn, .list-note a, .footer a:hover {
  color: var(--text); text-decoration: underline; text-decoration-color: var(--orange);
  text-decoration-thickness: 2px; text-underline-offset: 3px;
}

/* --- полоска «Проекты Абу Рашида» --- */
.projects { background: var(--ink); font-size: 11.5px; }
@media (prefers-color-scheme: dark) { .projects { background: #000; } }
.projects a { font-weight: 700; letter-spacing: .1em; }
.projects a.on { background: var(--orange); color: var(--ink); }

/* --- шапка: «aburasheed ♥ help» --- */
.topbar .bar { border-radius: 999px; box-shadow: var(--shadow); border: 0; padding: 8px 8px 8px 22px; }
.brand { gap: .22em; color: var(--text); text-decoration: none; }
.brand .wm { font-family: var(--display); font-weight: 900; font-size: 25px; letter-spacing: -.06em; line-height: 1; }
.brand picture { display: block; }
.brand img { width: 30px; height: 29px; margin: 0 .05em; transform: translateY(-1px); }
.footer .brand .wm { font-size: 28px; }
.footer .brand img { width: 34px; height: 33px; }
.nav a { font-weight: 600; }
.nav a.active { background: var(--ink); color: #fff; }
@media (prefers-color-scheme: dark) { .nav a.active { background: #fff; color: var(--ink); } }
@media (max-width: 420px) {
  .topbar .bar { padding-left: 14px; }
  .brand .wm { font-size: 19px; }
  .brand img { width: 23px; height: 22px; }
}
@media (max-width: 345px) { .brand .wm { font-size: 17px; } }

/* --- кнопки: оранжевые с тёмным текстом, чёрные, светлые --- */
.btn { background: var(--orange); color: var(--on-heart); font-weight: 700; box-shadow: none; letter-spacing: -.01em; }
.btn:hover { filter: none; background: var(--heart-d); }
.btn.dark { background: var(--ink); color: #fff; box-shadow: none; }
.btn.dark:hover { background: #000; }
.btn.ghost { background: var(--fill); color: var(--text); }
.btn.ghost:hover { background: var(--fill2); }
@media (prefers-color-scheme: dark) { .btn.dark { background: #fff; color: var(--ink); } }
.icon-btn { background: var(--fill); }
.copy-btn { color: var(--text); font-family: var(--mono); font-weight: 700; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; }
.copy-btn.done { background: var(--sage-tint); color: var(--sage); }

/* --- сегменты и переключатели --- */
@media (prefers-color-scheme: dark) { .seg .thumb { background: #3A3A3A; } }
.switch input:checked + span { background: var(--orange); }

/* --- шкала сбора: чёрная полоса, как на макете сайта в бренд-буке --- */
.progress { background: var(--fill2); }
.progress .fill { background: var(--ink); }
@media (prefers-color-scheme: dark) { .progress .fill { background: #fff; } }
.progress .tick { background: var(--card); box-shadow: none; }
.ticks-lbl span.done { color: var(--orange); }
.stage-row.now .ico { background: var(--orange); color: var(--ink); }
.stage-row .bar-mini i { background: var(--orange); }

/* --- главная: «Бірге — толық жүрек.» и большое сердце --- */
.hero-brand { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center; padding-top: 56px; padding-bottom: 32px; }
.hero-brand .eyebrow { color: var(--orange); margin-bottom: 18px; }
.hero-brand h1 { margin: 0 0 18px; }
.hero-brand .lead { font-size: clamp(17px, 2vw, 20px); color: var(--text2); max-width: 540px; margin: 0 0 26px; }
.hero-brand .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-heart { width: 100%; max-width: 420px; justify-self: center; }
.hero-sum { margin-top: 26px; max-width: 520px; }
.hero-sum .progress { height: 12px; }
.hero-sum .t { font-family: var(--mono); font-weight: 700; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); margin-top: 10px; }
@media (max-width: 760px) {
  .hero-brand { grid-template-columns: minmax(0, 1fr); padding-top: 28px; gap: 8px; }
  .hero-heart { max-width: 220px; order: -1; justify-self: start; }
}

/* --- карточки детей, шаги, баннер --- */
.kid.soon { border: 2.5px dashed rgba(20, 20, 20, .25); }
.kid.soon img { width: 92px; opacity: 1; }
.step .n { background: var(--ink); color: #fff; font-family: var(--mono); }
@media (prefers-color-scheme: dark) { .step .n { background: #fff; color: var(--ink); } .kid.soon { border-color: rgba(255, 255, 255, .25); } }
.banner { background: var(--ink); }
.banner::after { opacity: .18; }
.banner .btn { background: var(--orange); color: var(--ink); }
.photo .chip, .kid .ph .chip { background: rgba(255, 255, 255, .92); color: var(--ink); }

/* --- лента и топ --- */
.live-dot { background: var(--orange); }
.tk-item .num { color: var(--orange); }
.tk-item svg { color: var(--orange); }
.top-list .rank.r1 { background: var(--orange); color: var(--ink); box-shadow: none; }
.top-list .rank.r2 { background: var(--ink); color: #fff; }
.top-list .rank.r3 { background: var(--green); color: #fff; }
@media (prefers-color-scheme: dark) { .top-list .rank.r2 { background: #fff; color: var(--ink); } }

/* --- садака, реквизиты, плитки кабинета --- */
.gift.on { background: var(--heart-tint); border-color: var(--orange); }
.gift.on .g-ico, .g-ico.big { background: var(--orange); color: var(--ink); }
.g-ico { color: var(--text); }
.gift.on .g-dot { border-color: var(--orange); }
.fam-who .ava { background: var(--ink); color: #fff; font-family: var(--mono); }
.fam-trust svg, .trust svg { color: var(--orange); }
.tile.hl { background: var(--orange); color: var(--ink); }
.tile.hl .t-lbl, .tile.hl .t-sub, .tile.hl .t-lbl svg { color: rgba(20, 20, 20, .72); }
.tile b { font-family: var(--mono); font-weight: 700; letter-spacing: -.04em; }
.pf-pts b { font-family: var(--mono); }
.pf-ini { font-family: var(--display); font-weight: 900; letter-spacing: -.04em; }
.rate-line .rl-main svg { color: var(--orange); }
.rate-line > svg { color: var(--text); }
.pts-b { background: var(--ink); color: #fff; font-family: var(--mono); }
@media (prefers-color-scheme: dark) { .pts-b { background: #fff; color: var(--ink); } }
.lv.now { background: var(--heart-tint); }
.reward .rw-ico { background: var(--orange); color: var(--ink); }
.reward .rw-code { border-color: var(--orange); font-family: var(--mono); }
.st-opt.on, .st-title-list button.on { border-color: var(--orange); }
.st-opt.on::after { background: var(--orange); color: var(--ink); }
.ach-filter button.on { background: var(--ink); color: #fff; }
@media (prefers-color-scheme: dark) { .ach-filter button.on { background: #fff; color: var(--ink); } }
.ach-p i { background: var(--orange); }
.ach-prog .fill { background: var(--orange); }
.medal b { font-family: var(--mono); }
.medal.m-legend.got { color: var(--ink); }
.r-common i { background: var(--orange); }
.r-rare i { background: var(--green); }
.r-legend i { background: var(--yellow); }

/* --- оформление профиля в цветах бренд-бука --- */
.fr-olive { background: #141414; }
.fr-camel { background: #FF5A1F; }
.fr-sage { background: #0E6B3A; }
.fr-double { background: #FF5A1F; box-shadow: 0 0 0 2px var(--card), 0 0 0 4px #141414; }
.fr-gold { background: linear-gradient(145deg, #FFE873, #FFD21F 50%, #E0A800); }
.fr-sunset { background: linear-gradient(145deg, #FF8A5C, #FF5A1F 50%, #E3241B); }
.fr-spin { background: conic-gradient(from 0deg, #FF5A1F, #FFD21F, #E3241B, #FF5A1F, #FFD21F, #FF5A1F); }
.fr-amb { background: conic-gradient(from 0deg, #141414, #FF5A1F, #F2F0EB, #FF5A1F, #141414, #FF5A1F, #F2F0EB, #141414); box-shadow: 0 0 18px rgba(255, 90, 31, .45); }
.cv-cream { background: #E7E4DC; }
.cv-hex { background: repeating-linear-gradient(-62deg, transparent 0 16px, #FF5A1F 16px 26px), #F2F0EB; }
.cv-dawn { background: linear-gradient(135deg, #FFE873 0%, #FFB547 45%, #FF5A1F 100%); }
.cv-geo { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%23FF5A1F' stroke-opacity='.7' stroke-width='1.2'%3E%3Cpath d='M24 6l5 13 13 5-13 5-5 13-5-13-13-5 13-5z'/%3E%3Crect x='14' y='14' width='20' height='20' transform='rotate(45 24 24)'/%3E%3C/g%3E%3C/svg%3E"), #141414; }
.cv-night { background: radial-gradient(1.5px 1.5px at 20% 30%, #fff 99%, transparent), radial-gradient(1px 1px at 70% 20%, #fff 99%, transparent), radial-gradient(1.5px 1.5px at 85% 65%, #fff 99%, transparent), radial-gradient(1px 1px at 40% 70%, #fff 99%, transparent), radial-gradient(18px 18px at 88% 28%, #FFD21F 45%, transparent 48%), linear-gradient(160deg, #141414, #1F3FD1); }
.cv-dust { background: radial-gradient(2px 2px at 15% 35%, #fff 99%, transparent), radial-gradient(1.5px 1.5px at 45% 20%, #fff 99%, transparent), radial-gradient(2px 2px at 75% 55%, #fff 99%, transparent), radial-gradient(1.5px 1.5px at 90% 25%, #fff 99%, transparent), linear-gradient(135deg, #FFE873, #FFD21F 55%, #E0A800); }
.cv-desert { background: radial-gradient(120% 60% at 30% 110%, #FF5A1F 60%, transparent 61%), radial-gradient(120% 70% at 85% 115%, #E04A12 60%, transparent 61%), radial-gradient(28px 28px at 78% 30%, #fff 45%, transparent 48%), linear-gradient(180deg, #FFE873, #FFB547); }
.cv-aurora { background: linear-gradient(120deg, #141414, #1F3FD1, #0E6B3A, #FFD21F, #FF5A1F, #E3241B, #141414); background-size: 300% 100%; }
.nb { background: var(--orange); color: var(--ink); }
.nb-heart { background: #FF5A1F; color: #141414; }
.nb-moon { background: #141414; color: #FFD21F; }
.nb-spark { background: #0E6B3A; color: #fff; }
.nb-diamond { background: #1F3FD1; color: #fff; }
.nb-flower { background: #E3241B; color: #fff; }
.nb-star { background: #FFD21F; color: #141414; box-shadow: 0 0 8px rgba(255, 210, 31, .7); }
.nb-mark { background: #141414; }
.tk-item.chip-heart { background: var(--heart-tint); }
.tk-item.chip-heart b { color: var(--text); }
.tk-item.chip-sage { background: var(--sage-tint); }
.tk-item.chip-gold, .tk-item.chip-glow, .tk-item.chip-shine { background: #FFD21F; color: #141414; }
.tk-item.chip-gold .num, .tk-item.chip-glow .num, .tk-item.chip-shine .num,
.tk-item.chip-gold svg, .tk-item.chip-glow svg, .tk-item.chip-shine svg { color: #141414; }
.tk-item.chip-glow { box-shadow: 0 0 0 1px #fff, 0 0 16px rgba(255, 210, 31, .8); }
.pf-amb-mark { background: #141414; }

/* --- надписи «от руки» (Neucha) --- */
.hand { font-family: var(--hand); color: var(--red); font-weight: 400; letter-spacing: 0; }
.footer .hand { font-size: 22px; display: inline-block; transform: rotate(-4deg); }
/* большое сердце на главной — явное место во второй колонке */
.hero-brand > picture { display: block; width: 100%; max-width: 420px; justify-self: center; }
.hero-brand > picture .hero-heart { max-width: none; }
@media (max-width: 760px) { .hero-brand > picture { order: -1; justify-self: start; max-width: 200px; } }
/* значок у имени в списках — в одной строке с именем */
.row .txt .nb { display: inline-grid; }
/* длинные пояснения читаются легче обычным шрифтом */
.demo-bar { font-family: var(--font); text-transform: none; letter-spacing: 0; font-weight: 600; }

/* =============== «МЕНЯЮЩИЙСЯ ЛОГОТИП» на главной (js/heart-cycle.js) =============== */
.heart-cycle { width: 100%; max-width: 420px; justify-self: center; color: var(--text); }
.hc-svg { width: 100%; height: auto; display: block; overflow: visible; }
/* новая половинка «дорисовывается»: въезжает от середины сердца */
.hc-half { opacity: 0; transform: translateX(-70px); transition: opacity .45s ease, transform .85s cubic-bezier(.2, .8, .2, 1); }
.hc-half.on { opacity: 1; transform: none; }
.hc-half.was { opacity: 0; transform: none; transition: opacity .6s ease .25s; }
.hc-outline { opacity: 0; transition: opacity .4s ease; }
.hc-outline.on { opacity: 1; }
.hc-cap { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 14px; text-align: center;
  font-family: var(--mono); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.hc-cap span { font-size: 11px; color: var(--grey); }
.hc-cap b { font-size: 13px; color: var(--orange); min-height: 1.3em; }
@media (max-width: 760px) {
  .hero-brand > .heart-cycle { order: -1; justify-self: start; max-width: 210px; }
  .hc-cap { align-items: flex-start; text-align: left; margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) { .hc-half, .hc-outline { transition: none; } }
/* на телефоне подпись под сердцем не показываем — она сливается с первой строкой текста */
@media (max-width: 760px) { .hc-cap { display: none; } .hero-brand > .heart-cycle { margin-bottom: 14px; } }

/* «Aburasheed Help — не фонд» на главной: главная мысль проекта, должна быть заметна */
.notfund { margin-top: 18px; padding: 18px 22px; font-size: 16px; line-height: 1.5; border-left: 6px solid var(--orange); }
.notfund b { font-weight: 800; }

/* ---------- страница-документ (политика конфиденциальности) ---------- */
.doc { max-width: 760px; padding-top: 40px; padding-bottom: 64px; }
.doc h1 { margin: 6px 0 14px; }
.doc h2 { font-size: 22px; margin: 34px 0 10px; }
.doc p, .doc li { font-size: 16px; line-height: 1.6; }
.doc ul { padding-left: 20px; margin: 8px 0; }
.doc li { margin: 6px 0; }
.doc .list { margin-top: 10px; }

/* ---------- отчёты: крупная сумма ---------- */
.rep-big { font-size: clamp(30px, 6vw, 44px); font-weight: 700; margin: 6px 0 4px; letter-spacing: -.02em; }

/* ---------- вопросы и ответы на главной ---------- */
.faq details { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); margin-bottom: 10px; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; font-weight: 700; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 700 22px/1 var(--mono); color: var(--orange); transition: transform .25s var(--ease); flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 20px 18px; color: var(--text2); line-height: 1.6; }
.faq details > div p { margin: 0 0 8px; }

/* подпись под заголовком колонки в подвале */
.footer .links-note { max-width: 240px; font-size: 13px; line-height: 1.45; color: var(--text2); margin: -2px 0 4px; }

/* пустая лента донатеров — приглашение «станьте одним из первых» */
.tk-empty { padding-bottom: 14px; }
.tk-empty-body { display: flex; align-items: center; gap: 14px; padding: 4px 18px 0; }
.tk-empty-body > svg { width: 26px; height: 26px; color: var(--orange); flex-shrink: 0; }
.tk-empty-body b { display: block; font-size: 16px; margin-bottom: 2px; }
.tk-empty-body span { display: block; font-size: 14px; color: var(--text2); line-height: 1.45; }
.tk-empty-body .btn { margin-left: auto; flex-shrink: 0; }
@media (max-width: 560px) { .tk-empty-body { flex-wrap: wrap; } .tk-empty-body .btn { margin-left: 40px; } }
