.hero-cta { position: relative; z-index: 6; display: grid; grid-template-columns: 1fr 28px; align-items: center; gap: 2px 10px; width: 210px; margin-top: 21px; padding: 11px 13px; border: 1px solid #f3c97788; border-radius: 999px; color: #fff8e8; background: #231522df; font-size: 11px; font-weight: 800; text-align: left; box-shadow: 0 8px 20px #08050d66; backdrop-filter: blur(8px); }
.hero-cta b { display: grid; grid-row: span 2; grid-column: 2; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #3a1f30; background: #f3c977; font-size: 19px; line-height: 1; }
.hero-cta small { grid-column: 1; color: #d9cbd0; font-size: 8px; font-weight: 600; white-space: nowrap; }
.step-number { color: #fff; background: #71364f; font-size: 14px; font-weight: 800; }

/* Палитра Mini App: звёздное небо, бирюза орбит, золото Луны и коралловые цветы. */
:root {
  --ink: #162a31;
  --cream: #f7f4ea;
  --gold: #bd9354;
  --line: #d9cba9;
  --wine: #1b6470;
}
body { background: #0a1820; }
.app-shell { background-image: radial-gradient(#bd93542b 1px, transparent 1.2px); }
.avatar { border-color: #bd9354; background: #102c36; color: #efcf82; }
.moon-hero { border-color: #285f68; box-shadow: 0 16px 30px #07131c70; }
.message-card:before, .sun-mark { color: #cc765f; }
.primary-button { background: #102b4a; }
.section-heading span { background: #bd9354; }
.choice-card, .feature-card { border-color: #d9cba9; }
.choice-symbol { color: #1b6470; background: #e3eee8; }
.step-number { color: #fff; background: #1b6470; }
.segmented { background: #e9e3d7; }
.segmented button.selected { background: #102b4a; box-shadow: 0 4px 8px #081a3040; }
.personal-plan { border-color: #315979; background: linear-gradient(135deg, #0a1f38, #102b4a 58%, #1d4162); box-shadow: 0 14px 26px #081a3040; }
.personal-plan:after { border-color: #e0b8669c; }
.plan-orbit { color: #efc96f; }
.plan-details span { background: #08242d66; }
.plan-details { flex-wrap: wrap; }
.done-button { color: #173640; background: #fff0d2; }
.done-button span { background: #cc765f; }
.bottom-nav { border-top-color: #285f68; background: #0a1c25f2; }
.nav-item { color: #b8c8c5; }
.nav-item.active { color: #efc96f; }
.hero-cta { background: #0a2139e8; }
.hero-cta b { color: #102b4a; }

/* Карточки «Ещё для тебя» — одна спокойная система вместо случайных пастелей. */
.feature-card.peach,
.feature-card.blue,
.feature-card.sage,
.feature-card.lavender { background: #fcfaf2; }
.feature-card { border-color: #d9cba9; box-shadow: 0 7px 16px #0a21390d; }
.feature-card .feature-icon { color: #102b4a; background: #e7f0ef; border: 1px solid #c8dbd8; }
.feature-card.peach .feature-icon,
.feature-card.lavender .feature-icon { color: #bd9354; background: #fbf1da; border-color: #e8d4a6; }
.feature-card small { color: #607178; }

.practice-steps { margin: 18px 0 6px; padding: 0; list-style: none; border-top: 1px solid #d9cba9; }
.practice-steps li { position: relative; padding: 13px 0 12px 73px; border-bottom: 1px solid #e8dfcd; }
.practice-steps li > span { position: absolute; left: 0; top: 14px; padding: 4px 7px; border-radius: 999px; color: #102b4a; background: #e7f0ef; font-size: 10px; font-weight: 800; }
.practice-steps strong, .practice-steps p { display: block; }
.practice-steps strong { color: #102b4a; font-size: 13px; }
.practice-steps p { margin: 4px 0 0; color: #607178; font-size: 11px; line-height: 1.45; }

.rhythm-card, .rhythm-summary { width: 100%; border: 1px solid #d9cba9; border-radius: 22px; color: #162a31; background: #fcfaf2; box-shadow: 0 8px 20px #3c2d160d; }
.rhythm-card { padding: 23px 20px; }
.rhythm-card h2 { margin-top: 7px; color: #102b4a; font-size: 34px; line-height: .95; }
.rhythm-summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 16px; }
.rhythm-summary[hidden], .rhythm-card[hidden] { display: none !important; }
.rhythm-summary p:not(.eyebrow) { margin: 5px 0 0; color: #526871; font-size: 11px; line-height: 1.45; }
.rhythm-summary button { flex: none; padding: 8px 10px; border: 1px solid #315979; border-radius: 999px; color: #102b4a; background: #e7f0ef; font-size: 11px; font-weight: 700; }
.rhythm-intro { margin: 13px 0 22px; color: #607178; font-size: 13px; line-height: 1.55; }
.rhythm-fields { display: grid; gap: 12px; }
.rhythm-fields label { display: grid; gap: 6px; color: #102b4a; font-size: 12px; font-weight: 700; }
.rhythm-fields label small { color: #8a948e; font-size: 10px; font-weight: 600; }
.rhythm-fields input { width: 100%; padding: 11px 12px; border: 1px solid #d9cba9; border-radius: 10px; outline: none; color: #162a31; background: #fffdf7; font: inherit; font-size: 13px; }
.rhythm-fields input:focus { border-color: #315979; box-shadow: 0 0 0 3px #dceae8; }
.rhythm-focus { margin-top: 23px; }
.rhythm-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.rhythm-options button { padding: 10px 8px; border: 1px solid #d9cba9; border-radius: 11px; color: #496068; background: #fffdf7; font-size: 11px; font-weight: 700; }
.rhythm-options button.selected { border-color: #102b4a; color: #fff; background: #102b4a; }
.rhythm-save { width: 100%; margin-top: 22px; }
.rhythm-note { margin: 12px 2px 0; color: #1d5b63; font-size: 11px; font-weight: 700; line-height: 1.4; text-align: center; }

.monthly-plan-open { display: flex; align-items: center; justify-content: space-between; width: 100%; margin: 14px 0 21px; padding: 15px 18px; border: 1px solid #b7d3cf; border-radius: 18px; color: #102b4a; background: #edf3f1; text-align: left; }
.monthly-plan-open[hidden] { display: none !important; }
.monthly-plan-open strong, .monthly-plan-open small { display: block; }
.monthly-plan-open strong { font-size: 13px; }
.monthly-plan-open small { margin-top: 4px; color: #526871; font-size: 10px; }
.monthly-plan-open > span:last-child { color: #1b6470; font-size: 23px; }
.monthly-plan-dialog { width: min(520px, calc(100% - 28px)); max-height: calc(100dvh - 28px); overflow: auto; padding: 30px 22px 24px; border: 1px solid #d9cba9; border-radius: 22px; color: #162a31; background: #fcfaf2; }
.monthly-plan-dialog h2 { margin: 8px 0 0; color: #102b4a; font-family: "Cormorant Garamond", Georgia, serif; font-size: 40px; line-height: 1; }
.monthly-plan-intro, .monthly-plan-storage-note { color: #607178; font-size: 11px; line-height: 1.55; }
.monthly-plan-intro { margin: 13px 0 18px; }
.monthly-plan-days { display: grid; gap: 8px; }
.monthly-plan-day { padding: 12px 13px; border: 1px solid #e0d4bd; border-radius: 13px; background: #fffdf7; }
.monthly-plan-day.today { border-color: #1b6470; background: #eaf4ef; }
.monthly-plan-day h3 { margin: 0 0 5px; color: #102b4a; font-size: 13px; }
.monthly-plan-day small { color: #ae8249; font-size: 10px; font-weight: 800; }
.monthly-plan-day p { margin: 6px 0 0; color: #526871; font-size: 11px; line-height: 1.45; }
.monthly-plan-storage-note { margin: 17px 2px 0; }

#practice-results[hidden] { display: none !important; }
.daily-offer-card { position: relative; margin-top: 14px; padding: 20px; border: 1px solid #d9cba9; border-radius: 22px; color: #162a31; background: #fcfaf2; box-shadow: 0 8px 20px #3c2d160d; }
.daily-offer-card.ritual-offer { background: #e9f0ed; border-color: #bdd4d0; }
.daily-offer-card.breathing-offer { background: #edf3f1; border-color: #b7d3cf; }
.daily-offer-icon { position: absolute; top: 17px; right: 19px; color: #bd9354; font-size: 29px; line-height: 1; }
.daily-offer-card h2 { max-width: 85%; margin-top: 8px; color: #102b4a; font-size: 31px; line-height: .94; }
.daily-offer-card > p:not(.eyebrow) { margin: 11px 0 17px; color: #526871; font-size: 12px; line-height: 1.55; }
.daily-offer-card > .meditation-phase-label:not(.eyebrow) { display: inline-block; margin: 8px 0 0; padding: 5px 8px; border: 1px solid #c8dbd8; border-radius: 999px; color: #1b6470; background: #e7f0ef; font-size: 9px; font-weight: 800; line-height: 1.2; letter-spacing: .08em; }
.daily-offer-action { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 11px 14px; border: 0; border-radius: 12px; color: #fff; background: #102b4a; font-size: 12px; font-weight: 800; }
.daily-offer-action span { font-size: 18px; line-height: 1; }
.daily-offer-secondary { display: block; margin: 10px auto 0; padding: 5px 8px; border: 0; color: #315979; background: transparent; font-size: 10px; font-weight: 700; }
.practice-method-note { margin: 17px 5px 0; color: #607178; font-size: 10px; line-height: 1.55; }
.feature-grid > .feature-card:only-child { grid-column: 1 / -1; min-height: 116px; }
.feature-grid > .feature-card:only-child strong { margin-top: 15px; }
#practice-results .feature-card:last-child { grid-column: 1 / -1; min-height: 116px; }
#practice-results .feature-card:last-child strong { margin-top: 10px; }

.meditation-dialog { width: min(460px, calc(100% - 28px)); max-height: calc(100dvh - 28px); overflow: auto; padding: 31px 25px 24px; border: 1px solid #d9cba9; border-radius: 22px; color: #162a31; background: #fcfaf2; }
.meditation-dialog [hidden] { display: none !important; }
.meditation-dialog h2 { margin-top: 7px; color: #102b4a; font-size: 42px; line-height: .95; }
.meditation-intro { margin: 13px 0 20px; color: #607178; font-size: 12px; line-height: 1.6; }
.meditation-list { display: grid; gap: 9px; }
.meditation-choice { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; width: 100%; padding: 15px; border: 1px solid #d9cba9; border-radius: 14px; text-align: left; background: #fffdf7; }
.meditation-choice:hover, .meditation-choice:focus-visible { border-color: #315979; background: #f4f8f4; }
.meditation-choice strong { color: #102b4a; font-size: 13px; }
.meditation-choice span { color: #a37d43; font-size: 11px; font-weight: 800; }
.meditation-choice small { grid-column: 1 / -1; color: #607178; font-size: 11px; line-height: 1.4; }
.meditation-back { margin: 2px 0 20px; padding: 0; border: 0; color: #315979; background: transparent; font-size: 12px; font-weight: 700; }
.meditation-session h3 { margin: 10px 0; color: #102b4a; font-family: "Cormorant Garamond", Georgia, serif; font-size: 33px; line-height: 1; }
.meditation-session > p:not(.eyebrow):not(.meditation-timer):not(.meditation-hint) { min-height: 58px; color: #496068; font-size: 13px; line-height: 1.6; }
.meditation-timer { margin: 17px 0; color: #102b4a; font-size: 40px; font-weight: 700; font-variant-numeric: tabular-nums; }
.meditation-action { min-width: 155px; }
.meditation-hint { margin: 16px 0 0; color: #7d8a85; font-size: 10px; line-height: 1.5; }
#breathing-dialog h3 { margin: 10px 0; color: #102b4a; font-family: "Cormorant Garamond", Georgia, serif; font-size: 33px; line-height: 1; }
#breathing-step-text { min-height: 58px; color: #496068; font-size: 13px; line-height: 1.6; }

.personal-dialog { width: min(500px, calc(100% - 28px)); max-height: calc(100dvh - 28px); overflow: auto; padding: 30px 22px 24px; border: 1px solid #d9cba9; border-radius: 22px; color: #162a31; background: #fcfaf2; }
.personal-dialog h2 { margin-top: 7px; color: #102b4a; font-size: 42px; line-height: .92; }
.personal-intro { margin: 14px 0 16px; color: #526871; font-size: 12px; line-height: 1.6; }
.personal-factors { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.personal-factors span { padding: 6px 9px; border: 1px solid #cbdcd9; border-radius: 999px; color: #174b58; background: #e8f0eb; font-size: 10px; font-weight: 700; }
.personal-advice { display: grid; gap: 8px; }
.personal-advice-card { display: grid; grid-template-columns: 29px 1fr; gap: 10px; padding: 13px; border: 1px solid #e2d6bf; border-radius: 13px; background: #fffdf7; }
.personal-advice-number { color: #bd9354; font-family: Georgia, serif; font-size: 17px; line-height: 1.1; }
.personal-advice-card h3 { margin: 0 0 4px; color: #102b4a; font-size: 12px; }
.personal-advice-card p { margin: 0; color: #526871; font-size: 11px; line-height: 1.55; }
.personal-disclaimer { margin: 17px 2px 0; color: #758487; font-size: 10px; line-height: 1.5; }
.personal-practice { width: 100%; margin-top: 17px; }
.personal-edit { display: block; margin: 11px auto 0; padding: 7px 12px; border: 0; color: #315979; background: transparent; font-size: 11px; font-weight: 700; }
