/* «Сказочный» слой: орнаменты и мелкая магия поверх компонентов.
   Основа остаётся белой и спокойной; волшебство — в деталях: звёздная пыль сверху,
   золотые звёздочки у заголовков, рамка-вензель у личного предложения, мерцание при наведении.
   Всё рисуется CSS и встроенными SVG, без картинок. */
:root {
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.8 6.2 5.8 11.2 12 12-6.2.8-11.2 5.8-12 12-.8-6.2-5.8-11.2-12-12C6.2 11.2 11.2 6.2 12 0z' fill='%23F2B51C'/%3E%3C/svg%3E");
  --dust: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='160' viewBox='0 0 220 160'%3E%3Cg fill='%23E9B23A'%3E%3Cpath d='M30 20c.4 3 2.8 5.4 5.8 5.8-3 .4-5.4 2.8-5.8 5.8-.4-3-2.8-5.4-5.8-5.8 3-.4 5.4-2.8 5.8-5.8z' opacity='.55'/%3E%3Cpath d='M160 60c.3 2 1.9 3.6 3.9 3.9-2 .3-3.6 1.9-3.9 3.9-.3-2-1.9-3.6-3.9-3.9 2-.3 3.6-1.9 3.9-3.9z' opacity='.45'/%3E%3Ccircle cx='95' cy='40' r='1.6' opacity='.5'/%3E%3Ccircle cx='200' cy='18' r='1.2' opacity='.45'/%3E%3Ccircle cx='60' cy='110' r='1.3' opacity='.4'/%3E%3Ccircle cx='130' cy='130' r='1.8' opacity='.35'/%3E%3Cpath d='M100 95c.3 1.8 1.7 3.2 3.5 3.5-1.8.3-3.2 1.7-3.5 3.5-.3-1.8-1.7-3.2-3.5-3.5 1.8-.3 3.2-1.7 3.5-3.5z' opacity='.4'/%3E%3C/g%3E%3C/svg%3E");
  --c-ink: #4a2318;              /* сказочные заголовки: тёмный шоколад с бордо */
  --c-cream: #fff8ea;
  --c-dusk-1: #fff6e3;
  --c-dusk-2: #fdeef2;
}

/* звёздная пыль под шапкой — тает к середине первого экрана */
body { background: var(--c-bg); }
.app { position: relative; isolation: isolate; }
.app::before {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: 620px; pointer-events: none;
  background: var(--dust) repeat, linear-gradient(180deg, var(--c-cream) 0%, #fff 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%); mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}

/* приветствие — как разворот книги: полукруг луны, звёзды, лёгкий закат */
.hello.storybook {
  position: relative; overflow: hidden; margin-top: var(--s-3); padding: var(--s-5) var(--s-5) var(--s-5);
  border-radius: var(--r-panel);
  background: radial-gradient(120% 140% at 100% 0%, #ffe7b8 0%, rgba(255,231,184,0) 55%), linear-gradient(135deg, var(--c-dusk-1), var(--c-dusk-2));
  box-shadow: inset 0 0 0 1px rgba(201, 138, 0, .22), inset 0 0 0 6px rgba(255,255,255,.55), inset 0 0 0 7px rgba(201, 138, 0, .16);
}
.hello.storybook .h1 { color: var(--c-ink); max-width: 15ch; position: relative; z-index: 1; }
.hello.storybook p { position: relative; z-index: 1; color: var(--c-text-2); }
.hello .moon { position: absolute; right: -6px; top: -4px; width: 132px; height: 132px; pointer-events: none; }
.hello .moon .tw { animation: twinkle 3.2s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.hello .moon .tw:nth-child(3) { animation-delay: 1.1s; } .hello .moon .tw:nth-child(4) { animation-delay: 2s; }
@media (min-width: 600px) { .hello .moon { width: 170px; height: 170px; right: 12px; } }

/* заголовки блоков: золотая звёздочка и чернильный цвет */
.sec-head .h2 { display: flex; align-items: center; gap: 10px; color: var(--c-ink); }
.sec-head .h2::before { content: ""; flex: none; width: 20px; height: 20px; background: var(--star) center / contain no-repeat; filter: drop-shadow(0 1px 2px rgba(201, 138, 0, .35)); }
.shelf .sec-head .h2::before, .brand-head .h2::before { display: none; }

/* завиток-разделитель перед большим каталогом */
.flourish { display: flex; align-items: center; justify-content: center; gap: 12px; margin: var(--section-gap) 0 calc(-1 * var(--s-3)); color: var(--c-gold-deep); }
.flourish::before, .flourish::after { content: ""; height: 2px; flex: 1; max-width: 160px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(201,138,0,.55)); }
.flourish::after { transform: scaleX(-1); }
.flourish i { width: 26px; height: 26px; background: var(--star) center / contain no-repeat; }
.flourish i:nth-child(2) { width: 14px; height: 14px; opacity: .7; }

/* личное предложение — золотая рамка с вензелями по углам и лента-закладка */
.offer-hero { box-shadow: var(--sh-2), inset 0 0 0 2px rgba(201, 138, 0, .45); }
.offer-hero::after {
  content: ""; position: absolute; inset: 10px; border-radius: calc(var(--r-panel) - 8px); pointer-events: none; z-index: 3;
  border: 1px dashed rgba(201, 138, 0, .45);
  background: var(--star) left 6px top 6px / 16px no-repeat, var(--star) right 6px bottom 6px / 16px no-repeat;
}
.offer-hero.night::after { border-color: rgba(255, 224, 138, .5); }
.offer-chip { position: relative; padding-left: 14px; padding-right: 18px; border-radius: 6px 999px 999px 6px; box-shadow: 0 2px 8px rgba(138, 43, 31, .12); }

/* карточки: мерцающая звёздочка при наведении, «живая» метка — золотая звезда */
.card::after {
  content: ""; position: absolute; z-index: 4; top: -8px; right: -8px; width: 26px; height: 26px; pointer-events: none;
  background: var(--star) center / contain no-repeat; opacity: 0; transform: scale(.4) rotate(-30deg);
  transition: opacity var(--t-mid) var(--ease), transform var(--t-mid) var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .card:hover::after { opacity: 1; transform: scale(1) rotate(0); animation: twinkle 1.6s ease-in-out infinite .3s; }
}
.live-mark { background: linear-gradient(135deg, #fff8e1, #ffe7a6); color: var(--c-accent); box-shadow: 0 2px 8px rgba(201, 138, 0, .35), inset 0 0 0 1px rgba(201, 138, 0, .35); }
.card-title { color: var(--c-ink); }

/* кнопки — как в книжке: тёплый бордовый с мягким бликом */
.btn-main { background: linear-gradient(180deg, color-mix(in srgb, var(--c-accent) 88%, #fff) 0%, var(--c-accent) 55%, var(--c-accent-hover) 100%);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--c-accent) 30%, transparent), inset 0 1px 0 rgba(255, 255, 255, .25); }

/* кружки разделов: золотое кольцо с бликом */
.circle-pic { background: conic-gradient(from 210deg, #ffd56b, var(--c-gold-deep), var(--c-accent), #ffd56b); box-shadow: 0 4px 12px rgba(201, 138, 0, .22); }

/* полки брендов — бумага с лёгкой звёздной пылью */
.shelf { background: var(--dust) repeat, var(--b-soft, var(--c-surface)); box-shadow: inset 0 0 0 1px rgba(201, 138, 0, .14); }

/* нижние вкладки: под выбранной — золотая звёздочка */
.tabs .tab.on { position: relative; }
.tabs .tab.on::before { content: ""; position: absolute; top: 4px; width: 10px; height: 10px; background: var(--star) center / contain no-repeat; }

/* знак в шапке */
.brand-mark { width: 52px; height: 52px; filter: drop-shadow(0 2px 3px rgba(74, 35, 24, .18)); transition: transform var(--t-mid) var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-name { font-family: var(--f-ui); font-weight: 900; font-size: 24px; letter-spacing: -.01em; color: #8a2b1f; text-shadow: 0 2px 0 #ffd56b; }

/* страница сервиса: заголовок шага с маленькой звездой */
.step-title { color: var(--c-ink); }
.svc-hero h1 { text-shadow: 0 1px 0 #fff; }

@keyframes twinkle { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.72); } }
@media (prefers-reduced-motion: reduce) { .hello .moon .tw, .card:hover::after { animation: none; } }
html[data-perf="low"] .app::before, html[data-perf="low"] .shelf { background-image: none; }
.offer-media img, .offer-media video { object-position: center 25%; }
.next-bar .btn-line { padding: 0 var(--s-4); }

/* заголовки — крупный округлый шрифт без тонких линий: читается легко */
.h1, .h2, .display, .offer-title, .bnr h3, .svc-hero h1, .step-title, .brand-logo.txt { font-family: var(--f-ui); font-weight: 900; letter-spacing: -.01em; }
.h2 { font-size: var(--fs-h2); }

/* ---------- первый экран: плитки брендов ---------- */
.tiles { display: grid; gap: var(--gap); grid-template-columns: 1fr 1fr; margin-top: var(--s-3); }
.tile { position: relative; overflow: hidden; border: 0; padding: 0; cursor: pointer; text-align: left; font: inherit; color: #fff;
  border-radius: var(--r-panel); height: clamp(200px, 29dvh, 300px); background: #2b1d17; box-shadow: var(--sh-1), inset 0 0 0 2px rgba(255,213,107,.0);
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease); isolation: isolate; }
.tile.big { grid-column: 1 / -1; height: clamp(230px, 34dvh, 360px); }
.tile > img:first-child, .tile > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; z-index: -2; }
.tile > video { opacity: 0; transition: opacity .4s; }
.tile.is-playing > video { opacity: 1; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,12,8,0) 35%, rgba(20,12,8,.78) 100%); }
.tile::after { content: ""; position: absolute; inset: 6px; border-radius: calc(var(--r-panel) - 5px); border: 1.5px dashed rgba(255, 224, 138, .55); pointer-events: none; }
.tile-text { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--s-4); display: grid; gap: 4px; }
.tile-text b { font-size: 26px; font-weight: 900; line-height: 1.05; text-shadow: 0 2px 8px rgba(0,0,0,.45); }
.tile:not(.big) .tile-text b { font-size: 22px; }
.tile-text > span:not(.tile-go) { font-size: var(--fs-body); font-weight: 700; line-height: 1.25; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.tile:not(.big) .tile-text > span:not(.tile-go) { font-size: var(--fs-small); }
.tile-go { justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill);
  background: #fff; color: var(--c-accent); font-weight: 900; font-size: var(--fs-body); box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.tile-logo { position: absolute; top: 10px; left: 10px; width: 96px; height: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.tile-badge { position: absolute; top: 12px; right: 12px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--c-sale); color: #fff; font-weight: 900; font-size: var(--fs-small); box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.tile-badge.gold { background: var(--c-gold); color: var(--c-text); }
.tile:active { transform: scale(.985); }
@media (hover: hover) and (pointer: fine) { .tile:hover { transform: translateY(-4px); box-shadow: var(--sh-2); } }
@media (min-width: 720px) {
  .tiles { grid-template-columns: 1.4fr 1fr 1fr; }
  .tile, .tile.big { grid-column: auto; height: clamp(300px, 46vh, 440px); }
  .tile-logo { width: 130px; }
}
.bnr .count.gift { display: inline-flex; align-items: center; gap: 6px; background: var(--c-gold); color: var(--c-text); }
.bnr .left { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; }
.tiles + * { margin-top: 0; }
.bnr { padding-top: 76px; min-height: 260px; }
.tile::before { background: linear-gradient(180deg, rgba(20,12,8,0) 25%, rgba(20,12,8,.55) 55%, rgba(20,12,8,.88) 100%); }

/* =========================================================================
   «Вкусная» палитра: крем, персик, клубника, мёд, мята.
   Тёплые сладкие цвета вызывают аппетит и доверие; красный — только для скидки,
   мёд — для цены и «Хита», мята — для «Новинки». На одной карточке — одна наклейка.
   ========================================================================= */
:root {
  --c-bg: #fffdf8;
  --c-surface: #fff5e8;          /* сливочный */
  --c-surface-2: #ffeedd;        /* персик */
  --c-line: #f3e3cf;
  --c-honey: #ffd46b;
  --c-honey-deep: #f2a81d;
  --c-strawberry: #e8434f;
  --c-mint: #2a9d8f;
  --c-sale: var(--c-strawberry);
  --c-teal: var(--c-mint);
  --sh-1: 0 1px 2px rgba(120, 60, 20, .05), 0 6px 18px rgba(120, 60, 20, .07);
  --sh-2: 0 10px 24px rgba(120, 60, 20, .12), 0 24px 48px rgba(120, 60, 20, .12);
}
body { background: var(--c-bg); }

/* карточка: белая, мягкая тёплая тень, название целиком (до 3 строк) */
.card { border-radius: 22px; box-shadow: var(--sh-1), inset 0 0 0 1px var(--c-line); }
.cover { border-radius: 22px 22px 0 0; }
.card-title { -webkit-line-clamp: 3; min-height: calc(2 * 1.22em); font-size: 18px; }
@media (min-width: 600px) { .card-title { font-size: var(--fs-card); } }
.card-body { gap: 10px; padding: 12px 12px 14px; }
.price { align-items: center; row-gap: 4px; }
.price b.tag { display: inline-block; padding: 4px 12px; border-radius: 12px; background: var(--c-honey); color: #4a2318; font-size: 19px;
  box-shadow: inset 0 -2px 0 rgba(242, 168, 29, .55); }
.card.has-offer .price b.tag { background: var(--c-strawberry); color: #fff; box-shadow: inset 0 -2px 0 rgba(0,0,0,.15); }
.price s { font-size: 16px; }
.card.has-offer { box-shadow: var(--sh-1), inset 0 0 0 2px rgba(232, 67, 79, .35); }

/* наклейки */
.badge { padding: 5px 12px; font-size: 16px; border-radius: 12px; }
.badge-sale { background: var(--c-strawberry); transform: rotate(-3deg); }
.badge-hit { background: var(--c-honey); color: #4a2318; }
.badge-new { background: var(--c-mint); }
.badge-season { background: #fff; color: #b0283a; }
.live-mark { width: 30px; height: 30px; }

/* картинка-заглушка: пастель одной семьи вместо ярких разных цветов */
.art { color: color-mix(in srgb, var(--tint) 75%, #3a1a10);
  background: radial-gradient(90% 70% at 70% 15%, #fff 0%, rgba(255,255,255,0) 60%),
              linear-gradient(160deg, color-mix(in srgb, var(--tint) 14%, #fff8ee) 0%, color-mix(in srgb, var(--tint) 34%, #ffe8d4) 100%); }
.art::before { background: rgba(255, 255, 255, .45); }
.art::after { background: rgba(255, 255, 255, .35); }
.art .icon { filter: none; opacity: .85; }
.art .spark { color: var(--c-honey-deep); }

/* разделы плитками */
.cat-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 600px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cat-card { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; text-align: left;
  padding: 12px; min-height: 88px; border: 0; border-radius: 20px; cursor: pointer; font: inherit; color: var(--c-text);
  background: linear-gradient(135deg, color-mix(in srgb, var(--tint) 10%, #fffaf3), color-mix(in srgb, var(--tint) 22%, #ffefe0));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tint) 18%, transparent);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.cat-pic { grid-row: 1 / 3; width: 64px; height: 64px; border-radius: 18px; overflow: hidden; display: grid; place-items: center;
  background: #fff; color: color-mix(in srgb, var(--tint) 80%, #3a1a10); box-shadow: 0 3px 10px rgba(120, 60, 20, .14); }
.cat-pic img { width: 100%; height: 100%; object-fit: cover; }
.cat-name { font-weight: 900; font-size: 18px; line-height: 1.15; align-self: end; }
.cat-count { font-size: 16px; color: var(--c-text-2); font-weight: 700; align-self: start; }
.cat-card:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .cat-card:hover { transform: translateY(-2px); box-shadow: var(--sh-1), inset 0 0 0 1px color-mix(in srgb, var(--tint) 30%, transparent); } }

/* полка бренда и плашка «подруга» — спокойнее */
.shelf { background: var(--dust) repeat, linear-gradient(160deg, #fff7ea, #ffeedd); }
.wide-banner { background: linear-gradient(135deg, #e7f6f2, #d3efe8); }
.more-btn { margin-top: var(--s-4); }
.chip { background: var(--c-surface); }
.chip.on { background: #4a2318; }

/* ровные поля между блоками: ничего не слипается */
.section { margin-top: 40px; }
.tiles + .section, .section:first-child { margin-top: var(--s-3); }

/* плитки разделов: картинка сверху, название целиком снизу */
.cat-card { grid-template-columns: 1fr; grid-template-rows: auto; padding: 8px 8px 12px; min-height: 0; row-gap: 2px; align-items: start; }
.cat-pic { grid-row: auto; width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 14px; margin-bottom: 6px; }
.cat-name { font-size: 18px; padding: 0 4px; hyphens: auto; overflow-wrap: anywhere; }
.cat-count { padding: 0 4px; }
@media (min-width: 600px) { .cat-name { font-size: 20px; } }

/* красный — только наклейка скидки; ценник всегда медовый */
.card.has-offer .price b.tag { background: var(--c-honey); color: #4a2318; box-shadow: inset 0 -2px 0 rgba(242, 168, 29, .55); }
.card.has-offer { box-shadow: var(--sh-1), inset 0 0 0 1px var(--c-line); }
.cat-pic.noimg { background: radial-gradient(80% 80% at 70% 20%, #fff 0%, rgba(255,255,255,0) 70%), linear-gradient(150deg, color-mix(in srgb, var(--tint) 20%, #fff6ea), color-mix(in srgb, var(--tint) 42%, #ffe3cc)); }
.cat-pic.noimg .icon { width: 46%; height: auto; max-width: 64px; aspect-ratio: 1; }

/* ---------- профиль ---------- */
.profile { padding-top: var(--s-4); }
.me-card { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-4); border-radius: var(--r-panel);
  background: linear-gradient(135deg, #fff6e6, #ffe9d6); box-shadow: inset 0 0 0 1px var(--c-line); }
.me-ava { width: 68px; height: 68px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 32px; font-weight: 900; color: #fff;
  background: linear-gradient(135deg, #e2533f, #8a2b1f); box-shadow: 0 4px 12px rgba(138, 43, 31, .3), inset 0 0 0 3px #ffd56b; }
.me-card .grow { min-width: 0; }
.prof-h { margin: var(--s-6) 0 var(--s-3); color: var(--c-ink); }
.order-row img { width: 56px; height: 70px; border-radius: 12px; object-fit: cover; flex: none; }
.order-ico { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--c-surface-2); color: var(--c-accent); }
.st { font-weight: 900; }
.st.done { color: var(--c-mint); } .st.work { color: var(--c-honey-deep); } .st.fail { color: var(--c-strawberry); } .st.wait { color: var(--c-text-2); }
.empty.small { padding: var(--s-5) var(--s-3); background: var(--c-surface); border-radius: var(--r-card); }
.choice .btn-sm { flex: none; }

/* ---------- крупный текст (Профиль → Удобство) ---------- */
html.big-text { --fs-small: 18px; --fs-body: 20px; --fs-card: 21px; --fs-price: 22px; --fs-button: 21px; --fs-h3: 24px; --fs-h2: 30px; --fs-h1: 34px; }
html.big-text .card-title { font-size: 20px; }
html.big-text .tile-text b { font-size: 30px; }
html.big-text .tab { font-size: 16px; }
.order-row .grow, .choice .grow { min-width: 0; }
.order-row b { overflow-wrap: anywhere; }
.watch { gap: 6px; padding: 0 14px; }
@media (max-width: 420px) { .watch span { display: none; } .watch { width: 48px; padding: 0; } }
/* самые узкие телефоны: вкладки помещаются все четыре */
@media (max-width: 350px) {
  .tab { font-size: 14px; letter-spacing: -.01em; }
  .tabs-in { padding: 0 2px; }
  .brand-name { font-size: 20px; }
  .tiles .tile-text b { font-size: 20px; }
}
/* узкие телефоны: маленькие плитки — короче и мельче, чтобы всё помещалось */
@media (max-width: 419px) {
  .tile:not(.big) .tile-text { padding: 12px; }
  .tile:not(.big) .tile-text b { font-size: 19px; overflow-wrap: anywhere; hyphens: auto; }
  .tile:not(.big) .tile-text > span:not(.tile-go) { display: none; }
  .tile:not(.big) .tile-go { padding: 0 12px; font-size: 17px; white-space: nowrap; }
  .tile:not(.big) .tile-badge .for-you { display: none; }
  .tile-badge { top: 10px; right: 10px; padding: 5px 10px; }
  .tile-logo { width: 80px; }
}
@media (max-width: 350px) {
  .tile:not(.big) .tile-go svg { display: none; }
  .tile.big .tile-text > span:not(.tile-go) { font-size: 16px; }
  .tile-logo { width: 64px; }
}
@media (max-width: 350px) { .tile:not(.big) .tile-text b { font-size: 17px; overflow-wrap: normal; hyphens: manual; letter-spacing: -.02em; } .tile:not(.big) .tile-text { padding: 10px; } }
.kid-ph { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 3px #fff, 0 2px 8px rgba(0,0,0,.15); }
img.me-ava { object-fit: cover; }
.credit-card { display: flex; align-items: center; gap: var(--s-4); width: 100%; margin-top: var(--s-4); padding: var(--s-4); border: 0; border-radius: var(--r-card);
  background: linear-gradient(135deg, #fff3cf, #ffe2a0); color: var(--c-text); font: inherit; text-align: left; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(201,138,0,.3); }
.credit-n { width: 56px; height: 56px; flex: none; border-radius: 16px; display: grid; place-items: center; font-size: 28px; font-weight: 900; background: #fff; color: var(--c-accent); }
.credit-card b { display: block; font-size: var(--fs-h3); } .credit-card small { color: var(--c-text-2); font-size: var(--fs-small); }
.kids { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: var(--gap); }
.kid { display: grid; justify-items: center; gap: 4px; padding: var(--s-4) var(--s-2) var(--s-2); border-radius: var(--r-card); background: #fff; box-shadow: var(--sh-1), inset 0 0 0 1px var(--c-line); text-align: center; border: 0; font: inherit; color: inherit; }
.kid img, .kid .me-ava { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; }
.kid b { font-size: var(--fs-body); }
.kid.add { cursor: pointer; background: var(--c-surface); }
.me-ava.plus { background: #fff; color: var(--c-accent); box-shadow: inset 0 0 0 2px var(--c-line); }
