/* «Песня маме» ко Дню матери: плашка над формой на главной и значок на посадочной /pesnya-mame (static/mama.js).
   Цвет — тёплые ноты кольца (до и си: #e5484d, #d6409f), остальное — токены вида; в прежнем виде (?skin=classic) — те же
   переменные style.css. */
.mama {
  position: relative; box-sizing: border-box; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center; gap: 14px 16px; width: 100%; max-width: 720px; margin: 0 auto 16px; padding: 16px 44px 16px 16px;
  border-radius: 22px; text-align: left; color: var(--text);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(229, 72, 77, .20), rgba(214, 64, 159, .10) 45%, transparent 75%),
    var(--surface, #16161B);
  border: 1px solid rgba(229, 72, 77, .28);
}
.mama-ic {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, #e5484d, #d6409f); color: #fff;
}
.mama-ic svg { width: 22px; height: 22px; }
.mama-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mama-when { font-size: 12px; font-weight: 600; letter-spacing: .02em; color: #F1A7B4; }
.mama-title { font-family: var(--display, inherit); font-weight: 500; font-size: 18px; line-height: 1.25; letter-spacing: -.02em; }
.mama-sub { font-size: 14px; line-height: 1.4; color: var(--muted); }
.mama-go { white-space: nowrap; }
.mama-x {
  position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border: 0; border-radius: 50%;
  background: transparent; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer;
}
.mama-x:hover { background: var(--glass, rgba(255, 255, 255, .06)); color: var(--text); }
.mama-x:focus-visible, .mama-go:focus-visible { outline: 2px solid #e5484d; outline-offset: 2px; }

/* в шапке с колонкой «Продолжить / Занятия» плашка стоит в левой колонке, как форма */
.hero:has(> .sp-aside) > .mama { margin-left: 0; max-width: none; }

/* значок над заголовком посадочной */
.mama-chip {
  display: inline-flex; align-items: center; gap: 7px; height: 30px; margin: 0 0 14px 8px; padding: 0 12px 0 10px;
  border-radius: 999px; background: rgba(229, 72, 77, .14); color: #F1A7B4; font-size: 13px; font-weight: 600;
  vertical-align: middle;
}
.mama-chip svg { width: 15px; height: 15px; color: #e5484d; }

/* телефон: плашка не отодвигает форму — без пояснения (шапка над ней уже про минус), кнопка во всю ширину */
@media (max-width: 700px) {
  .mama { grid-template-columns: 36px minmax(0, 1fr); align-items: start; padding: 14px; gap: 10px 12px; }
  .mama-text { padding-right: 22px; }
  .mama-ic { width: 36px; height: 36px; }
  .mama-ic svg { width: 18px; height: 18px; }
  .mama-sub { display: none; }
  .mama-go { grid-column: 1 / -1; width: 100%; }
  .mama-title { font-size: 16px; }
  .mama-chip { margin-left: 0; }
}
