/* Праздничное оформление: сезонные темы, день рождения школы, поздравление именинника. Разметку отдаёт App\Services\Festive. */
.fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.fx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* зима */
.fx-tree { position: absolute; bottom: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 120'%3E%3Crect x='34' y='96' width='12' height='20' rx='2' fill='%238a5a2b'/%3E%3Cpath d='M40 8l26 34H14z' fill='%23287a4b'/%3E%3Cpath d='M40 30l32 40H8z' fill='%232f8f58'/%3E%3Cpath d='M40 54l38 46H2z' fill='%2336a566'/%3E%3Cpath d='M27 25l13-17 13 17c-4 3-8-1-13 2-5-3-9 1-13-2zM17 52l23-22 23 22c-6 4-11-2-23 3-12-5-17 1-23-3zM8 90l32-34 32 34c-8 5-14-3-32 4-18-7-24 1-32-4z' fill='%23f1f7ff' opacity='.95'/%3E%3Ccircle cx='40' cy='8' r='4.500' fill='%23fbbf24'/%3E%3Ccircle cx='28' cy='64' r='3' fill='%23ef4444'/%3E%3Ccircle cx='52' cy='78' r='3' fill='%2360a5fa'/%3E%3Ccircle cx='34' cy='88' r='3' fill='%23fbbf24'/%3E%3C/svg%3E") center bottom / contain no-repeat; filter: drop-shadow(0 4px 6px rgba(15,23,42,.2)); }
.fx-tree--l { left: 10px; width: 64px; height: 96px; }
.fx-tree--l2 { left: 58px; width: 46px; height: 69px; }
.fx-tree--r { right: 12px; width: 84px; height: 126px; }
/* лето */
.fx-sun { position: absolute; top: 74px; right: 16px; width: 96px; height: 96px; }
.fx-sun::before, .fx-sun::after { content: ""; position: absolute; inset: 0; background-size: contain; background-repeat: no-repeat; }
.fx-sun::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg stroke='%23fbbf24' stroke-width='5' stroke-linecap='round'%3E%3Cline x1='50' y1='4' x2='50' y2='17' transform='rotate(0 50 50)'/%3E%3Cline x1='50' y1='4' x2='50' y2='17' transform='rotate(30 50 50)'/%3E%3Cline x1='50' y1='4' x2='50' y2='17' transform='rotate(60 50 50)'/%3E%3Cline x1='50' y1='4' x2='50' y2='17' transform='rotate(90 50 50)'/%3E%3Cline x1='50' y1='4' x2='50' y2='17' transform='rotate(120 50 50)'/%3E%3Cline x1='50' y1='4' x2='50' y2='17' transform='rotate(150 50 50)'/%3E%3Cline x1='50' y1='4' x2='50' y2='17' transform='rotate(180 50 50)'/%3E%3Cline x1='50' y1='4' x2='50' y2='17' transform='rotate(210 50 50)'/%3E%3Cline x1='50' y1='4' x2='50' y2='17' transform='rotate(240 50 50)'/%3E%3Cline x1='50' y1='4' x2='50' y2='17' transform='rotate(270 50 50)'/%3E%3Cline x1='50' y1='4' x2='50' y2='17' transform='rotate(300 50 50)'/%3E%3Cline x1='50' y1='4' x2='50' y2='17' transform='rotate(330 50 50)'/%3E%3C/g%3E%3C/svg%3E"); animation: fx-spin 48s linear infinite; }
.fx-sun::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3CradialGradient id='g' cx='40%25' cy='35%25'%3E%3Cstop offset='0' stop-color='%23fde68a'/%3E%3Cstop offset='1' stop-color='%23f59e0b'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='50' cy='50' r='24' fill='url(%23g)'/%3E%3C/svg%3E"); filter: drop-shadow(0 0 14px rgba(251,191,36,.7)); }
@keyframes fx-spin { to { transform: rotate(360deg); } }
/* день рождения школы / именинник */
.fx-num { position: absolute; inset: 0; background-repeat: repeat; background-size: 260px 200px; }
.fx-cake { position: absolute; width: 64px; height: 64px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect x='9' y='38' width='46' height='16' rx='5' fill='%23f9a8c9'/%3E%3Crect x='15' y='26' width='34' height='14' rx='5' fill='%23fde68a'/%3E%3Cpath d='M9 43c4 4 8 4 11.500 0s7 4 11.500 0 7 4 11.500 0 8 4 11.500 0' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'/%3E%3Crect x='30' y='15' width='4' height='12' rx='2' fill='%2360a5fa'/%3E%3Cpath d='M32 5c3.500 4 3.500 7 0 9.500-3.500-2.500-3.500-5.500 0-9.500z' fill='%23fb923c'/%3E%3Ccircle cx='20' cy='33' r='2' fill='%23f472b6'/%3E%3Ccircle cx='44' cy='33' r='2' fill='%23f472b6'/%3E%3Ccircle cx='32' cy='33' r='2' fill='%23f472b6'/%3E%3C/svg%3E") center / contain no-repeat; opacity: .6; animation: fx-bob 5s ease-in-out infinite alternate; }
.fx-cake--a { left: 3%; top: 24%; } .fx-cake--b { right: 4%; top: 42%; width: 76px; height: 76px; animation-delay: -2s; }
.fx-cake--c { left: 7%; bottom: 14%; width: 52px; height: 52px; animation-delay: -1s; } .fx-cake--d { right: 9%; bottom: 7%; animation-delay: -3s; }
@keyframes fx-bob { from { transform: translateY(0) rotate(-4deg); } to { transform: translateY(-10px) rotate(4deg); } }
/* приложение: нижняя панель вкладок остаётся доступной, украшения поднимаются над ней */
.fx--app .fx-tree, .fx--app .fx-cake--c, .fx--app .fx-cake--d { bottom: calc(86px + env(safe-area-inset-bottom)); }
.fx--app .fx-cake--c { bottom: calc(100px + env(safe-area-inset-bottom)); }
@media (max-width: 640px) {
    .fx-tree--l2 { display: none; } .fx-tree--r { width: 60px; height: 90px; } .fx-tree--l { width: 48px; height: 72px; }
    .fx-sun { width: 70px; height: 70px; top: 70px; right: 8px; } .fx-cake { width: 46px; height: 46px; opacity: .5; } .fx-cake--b { width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) { .fx-canvas { display: none; } .fx-cake, .fx-sun::before { animation: none; } }
html[data-a11y-scheme]:not([data-a11y-scheme="default"]) .fx, html[data-a11y-size]:not([data-a11y-size="0"]) .fx { display: none; }

/* праздничный колпак на аватарке именинника */
.bday-hat { position: relative; }
.bday-hat::after { content: ""; position: absolute; top: -34%; right: -12%; width: 52%; height: 60%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 48'%3E%3Cpath d='M20 5L36 44H4z' fill='%23f472b6'/%3E%3Cpath d='M11.500 27l16-9 5 11-26 6z' fill='%23fde68a' opacity='.95'/%3E%3Cpath d='M3 44h34' stroke='%2360a5fa' stroke-width='4.500' stroke-linecap='round'/%3E%3Ccircle cx='20' cy='5' r='4.500' fill='%23fbbf24'/%3E%3C/svg%3E") center / contain no-repeat; transform: rotate(18deg); pointer-events: none; z-index: 2; filter: drop-shadow(0 1px 2px rgba(15,23,42,.3)); }

/* поздравление при входе (показывается один раз) */
.bday-banner { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(15,23,42,.5); animation: bday-in .35s ease both; }
.bday-banner__card { position: relative; width: 100%; max-width: 380px; text-align: center; background: #fff; color: #0f172a; border-radius: 26px; padding: 28px 24px 24px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.55); background-image: radial-gradient(circle at 20% 0, #ffe4f0 0, transparent 45%), radial-gradient(circle at 90% 10%, #e0ecff 0, transparent 40%); }
.bday-banner__cake { width: 84px; height: 84px; margin: 0 auto 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect x='9' y='38' width='46' height='16' rx='5' fill='%23f9a8c9'/%3E%3Crect x='15' y='26' width='34' height='14' rx='5' fill='%23fde68a'/%3E%3Cpath d='M9 43c4 4 8 4 11.500 0s7 4 11.500 0 7 4 11.500 0 8 4 11.500 0' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'/%3E%3Crect x='30' y='15' width='4' height='12' rx='2' fill='%2360a5fa'/%3E%3Cpath d='M32 5c3.500 4 3.500 7 0 9.500-3.500-2.500-3.500-5.500 0-9.500z' fill='%23fb923c'/%3E%3Ccircle cx='20' cy='33' r='2' fill='%23f472b6'/%3E%3Ccircle cx='44' cy='33' r='2' fill='%23f472b6'/%3E%3Ccircle cx='32' cy='33' r='2' fill='%23f472b6'/%3E%3C/svg%3E") center / contain no-repeat; animation: fx-bob 2.600s ease-in-out infinite alternate; }
.bday-banner h2 { margin: 0 0 8px; font-size: 22px; line-height: 1.25; }
.bday-banner p { margin: 0 0 18px; color: #475569; font-size: 15px; line-height: 1.5; }
.bday-banner__ok { min-height: 46px; padding: 0 28px; border: 0; border-radius: 999px; background: #1a56db; color: #fff; font: 700 16px/1 inherit; font-family: inherit; cursor: pointer; }
.bday-banner__x { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(15,23,42,.06); color: #475569; font-size: 22px; line-height: 1; cursor: pointer; }
.bday-banner.is-closing { opacity: 0; transition: opacity .25s; }
@keyframes bday-in { from { opacity: 0; } to { opacity: 1; } }
html[data-theme="dark"] .bday-banner__card { background-color: #16213a; color: #e6ebf5; } html[data-theme="dark"] .bday-banner p { color: #b8c4da; }

/* частицы лежат позади контента: холст на z-index 0 выше фонов секций, а содержимое страницы поднято над ним (на нём видны только «пустые» места фона) */
body.has-fx .container, body.has-fx .lk-content, body.has-fx .lk-nav, body.has-fx .lk-topbar, body.has-fx .mp-main, body.has-fx .mp-top { position: relative; z-index: 1; }
body.has-fx .site-header { z-index: 50; }
body.has-fx .mp-tabs { z-index: 5; }
body.has-fx .lk-nav { z-index: 3; }
body.has-fx .lk-topbar { z-index: 4; }

/* ---- зима: ёлка с гирляндой, снегом и подарками (позади контента, по краям) ---- */
.fx-tree { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 150'%3E%3Crect x='43' y='122' width='14' height='18' rx='2' fill='%237a4e24'/%3E%3Cpath d='M50 18 L78 56 H22 Z' fill='%232f8a57'/%3E%3Cpath d='M50 18 L50 56 H22 Z' fill='%2327774a'/%3E%3Cpath d='M50 40 L86 88 H14 Z' fill='%23359a62'/%3E%3Cpath d='M50 40 L50 88 H14 Z' fill='%232c8453'/%3E%3Cpath d='M50 66 L94 124 H6 Z' fill='%233ca96b'/%3E%3Cpath d='M50 66 L50 124 H6 Z' fill='%2332925d'/%3E%3Cpath d='M32 46 q4 -4 9 -2 q5 -5 10 -1 q5 -4 9 1 q5 -2 8 2 L68 56 H32 Z' fill='%23fff' opacity='.95'/%3E%3Cpath d='M22 76 q5 -5 11 -2 q6 -6 12 -1 q6 -5 11 0 q6 -4 11 1 q6 -3 10 3 L78 88 H22 Z' fill='%23fff' opacity='.95'/%3E%3Cpath d='M14 106 q6 -6 13 -2 q7 -7 14 -1 q7 -6 14 0 q7 -5 13 1 q7 -4 12 3 L86 124 H14 Z' fill='%23fff' opacity='.95'/%3E%3Cpath d='M30 62 Q50 72 70 62' stroke='%23f5c542' stroke-width='1.6' fill='none' stroke-dasharray='1 4' stroke-linecap='round'/%3E%3Cpath d='M22 96 Q50 110 78 96' stroke='%23f5c542' stroke-width='1.6' fill='none' stroke-dasharray='1 4' stroke-linecap='round'/%3E%3Ccircle cx='37' cy='67' r='2.6' fill='%23e5484d'/%3E%3Ccircle cx='62' cy='68' r='2.6' fill='%233b82f6'/%3E%3Ccircle cx='50' cy='72' r='2.6' fill='%23f5c542'/%3E%3Ccircle cx='27' cy='101' r='2.8' fill='%233b82f6'/%3E%3Ccircle cx='74' cy='102' r='2.8' fill='%23e5484d'/%3E%3Ccircle cx='50' cy='108' r='2.8' fill='%23f5c542'/%3E%3Ccircle cx='39' cy='105' r='2.4' fill='%23e5484d'/%3E%3Ccircle cx='61' cy='106' r='2.4' fill='%233b82f6'/%3E%3Ccircle cx='41' cy='36' r='2.2' fill='%23e5484d'/%3E%3Ccircle cx='58' cy='38' r='2.2' fill='%233b82f6'/%3E%3Cpolygon points='50.0,3.0 52.5,9.6 59.5,9.9 54.0,14.3 55.9,21.1 50.0,17.2 44.1,21.1 46.0,14.3 40.5,9.9 47.5,9.6' fill='%23ffd23f'/%3E%3Crect x='70' y='128' width='16' height='12' rx='1.5' fill='%23e5484d'/%3E%3Crect x='77' y='128' width='2.4' height='12' fill='%23fde68a'/%3E%3Crect x='70' y='133' width='16' height='2.4' fill='%23fde68a'/%3E%3Crect x='12' y='131' width='14' height='9' rx='1.5' fill='%233b82f6'/%3E%3Crect x='18' y='131' width='2.4' height='9' fill='%23fff'/%3E%3C/svg%3E") no-repeat center bottom / contain; filter: drop-shadow(0 4px 6px rgba(15, 23, 42, .18)); }
/* ---- весна: цветы по нижним углам ---- */
.fx-flowers { position: absolute; bottom: 0; width: 132px; height: 99px; background-repeat: no-repeat; background-position: center bottom; background-size: contain; }
.fx-flowers--l { left: 6px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 90'%3E%3Cpath d='M14 88 q-10 -12 2 -26 q6 14 -2 26z M44 88 q12 -10 8 -26 q-12 10 -8 26z' fill='%234caf50'/%3E%3Cpath d='M24 88 V38' stroke='%233f9b4f' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3Cpath d='M15 38 q0 -16 9 -22 q9 6 9 22 q-9 8 -18 0z' fill='%23f472b6'/%3E%3Cpath d='M20 36 q4 -12 4 -20 q5 8 4 20z' fill='%23fff' opacity='.28'/%3E%3Cpath d='M52 88 V50' stroke='%233f9b4f' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3Cpath d='M43 50 q0 -16 9 -22 q9 6 9 22 q-9 8 -18 0z' fill='%23ef4444'/%3E%3Cpath d='M48 48 q4 -12 4 -20 q5 8 4 20z' fill='%23fff' opacity='.28'/%3E%3Cpath d='M80 88 V42' stroke='%233f9b4f' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3Cpath d='M71 42 q0 -16 9 -22 q9 6 9 22 q-9 8 -18 0z' fill='%23fbbf24'/%3E%3Cpath d='M76 40 q4 -12 4 -20 q5 8 4 20z' fill='%23fff' opacity='.28'/%3E%3Cpath d='M96 88 V66' stroke='%233f9b4f' stroke-width='2.4' fill='none'/%3E%3Cellipse cx='96' cy='51' rx='3.4' ry='7.0' fill='%23fff' stroke='%23e5e7eb' stroke-width='.6' transform='rotate(0 96 60)'/%3E%3Cellipse cx='96' cy='51' rx='3.4' ry='7.0' fill='%23fff' stroke='%23e5e7eb' stroke-width='.6' transform='rotate(45 96 60)'/%3E%3Cellipse cx='96' cy='51' rx='3.4' ry='7.0' fill='%23fff' stroke='%23e5e7eb' stroke-width='.6' transform='rotate(90 96 60)'/%3E%3Cellipse cx='96' cy='51' rx='3.4' ry='7.0' fill='%23fff' stroke='%23e5e7eb' stroke-width='.6' transform='rotate(135 96 60)'/%3E%3Cellipse cx='96' cy='51' rx='3.4' ry='7.0' fill='%23fff' stroke='%23e5e7eb' stroke-width='.6' transform='rotate(180 96 60)'/%3E%3Cellipse cx='96' cy='51' rx='3.4' ry='7.0' fill='%23fff' stroke='%23e5e7eb' stroke-width='.6' transform='rotate(225 96 60)'/%3E%3Cellipse cx='96' cy='51' rx='3.4' ry='7.0' fill='%23fff' stroke='%23e5e7eb' stroke-width='.6' transform='rotate(270 96 60)'/%3E%3Cellipse cx='96' cy='51' rx='3.4' ry='7.0' fill='%23fff' stroke='%23e5e7eb' stroke-width='.6' transform='rotate(315 96 60)'/%3E%3Ccircle cx='96' cy='60' r='3.8' fill='%23facc15'/%3E%3Cpath d='M0 88 H120' stroke='%234caf50' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E"); }
.fx-flowers--r { right: 6px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 90'%3E%3Cpath d='M106 88 q10 -12 -2 -26 q-6 14 2 26z M76 88 q-12 -10 -8 -26 q12 10 8 26z' fill='%234caf50'/%3E%3Cpath d='M96 88 V40' stroke='%233f9b4f' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3Cpath d='M87 40 q0 -16 9 -22 q9 6 9 22 q-9 8 -18 0z' fill='%23a78bfa'/%3E%3Cpath d='M92 38 q4 -12 4 -20 q5 8 4 20z' fill='%23fff' opacity='.28'/%3E%3Cpath d='M68 88 V48' stroke='%233f9b4f' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3Cpath d='M59 48 q0 -16 9 -22 q9 6 9 22 q-9 8 -18 0z' fill='%23f472b6'/%3E%3Cpath d='M64 46 q4 -12 4 -20 q5 8 4 20z' fill='%23fff' opacity='.28'/%3E%3Cpath d='M40 88 V38' stroke='%233f9b4f' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3Cpath d='M31 38 q0 -16 9 -22 q9 6 9 22 q-9 8 -18 0z' fill='%23fb923c'/%3E%3Cpath d='M36 36 q4 -12 4 -20 q5 8 4 20z' fill='%23fff' opacity='.28'/%3E%3Cpath d='M22 88 V68' stroke='%233f9b4f' stroke-width='2.4' fill='none'/%3E%3Cellipse cx='22' cy='53' rx='3.4' ry='7.0' fill='%23fff' stroke='%23e5e7eb' stroke-width='.6' transform='rotate(0 22 62)'/%3E%3Cellipse cx='22' cy='53' rx='3.4' ry='7.0' fill='%23fff' stroke='%23e5e7eb' stroke-width='.6' transform='rotate(45 22 62)'/%3E%3Cellipse cx='22' cy='53' rx='3.4' ry='7.0' fill='%23fff' stroke='%23e5e7eb' stroke-width='.6' transform='rotate(90 22 62)'/%3E%3Cellipse cx='22' cy='53' rx='3.4' ry='7.0' fill='%23fff' stroke='%23e5e7eb' stroke-width='.6' transform='rotate(135 22 62)'/%3E%3Cellipse cx='22' cy='53' rx='3.4' ry='7.0' fill='%23fff' stroke='%23e5e7eb' stroke-width='.6' transform='rotate(180 22 62)'/%3E%3Cellipse cx='22' cy='53' rx='3.4' ry='7.0' fill='%23fff' stroke='%23e5e7eb' stroke-width='.6' transform='rotate(225 22 62)'/%3E%3Cellipse cx='22' cy='53' rx='3.4' ry='7.0' fill='%23fff' stroke='%23e5e7eb' stroke-width='.6' transform='rotate(270 22 62)'/%3E%3Cellipse cx='22' cy='53' rx='3.4' ry='7.0' fill='%23fff' stroke='%23e5e7eb' stroke-width='.6' transform='rotate(315 22 62)'/%3E%3Ccircle cx='22' cy='62' r='3.8' fill='%23facc15'/%3E%3Cpath d='M0 88 H120' stroke='%234caf50' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E"); }
/* ---- лето: облака плывут по небу ---- */
.fx-cloud { position: absolute; left: -200px; width: 160px; height: 70px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 70'%3E%3Cg fill='%23fff'%3E%3Cellipse cx='50' cy='46' rx='38' ry='18'/%3E%3Cellipse cx='88' cy='36' rx='34' ry='24'/%3E%3Cellipse cx='122' cy='48' rx='32' ry='16'/%3E%3Cellipse cx='72' cy='50' rx='54' ry='16'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain; opacity: .85; animation: fx-cloud 70s linear infinite; }
.fx-cloud--a { top: 64px; } .fx-cloud--b { top: 160px; width: 110px; height: 48px; opacity: .6; animation-duration: 95s; animation-delay: -40s; }
.fx-cloud--c { top: 112px; width: 130px; height: 57px; opacity: .7; animation-duration: 120s; animation-delay: -80s; }
@keyframes fx-cloud { from { transform: translateX(0); } to { transform: translateX(calc(100vw + 400px)); } }
/* ---- день рождения: карточки в тортиках, шариках и звёздах ---- */
body.fx-bday .lk-card, body.fx-bday .mp-card, body.fx-bday .card, body.fx-bday .lk-wday, body.fx-bday button.lk-slot { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150' viewBox='0 0 150 150'%3E%3Cg opacity='.16'%3E%3Cg transform='translate(14 18)'%3E%3Crect x='3' y='20' width='34' height='13' rx='4' fill='%23ec4899'/%3E%3Crect x='8' y='11' width='24' height='10' rx='3' fill='%23fbbf24'/%3E%3Crect x='19' y='2' width='3' height='9' fill='%233b82f6'/%3E%3Ccircle cx='20.5' cy='1' r='2.2' fill='%23f97316'/%3E%3C/g%3E%3Cg transform='translate(88 70)'%3E%3Crect x='3' y='20' width='34' height='13' rx='4' fill='%233b82f6'/%3E%3Crect x='8' y='11' width='24' height='10' rx='3' fill='%23f472b6'/%3E%3Crect x='19' y='2' width='3' height='9' fill='%23ec4899'/%3E%3Ccircle cx='20.5' cy='1' r='2.2' fill='%23f97316'/%3E%3C/g%3E%3Cg transform='translate(100 14)'%3E%3Cellipse cx='10' cy='11' rx='9' ry='11' fill='%23a78bfa'/%3E%3Cpath d='M10 22 q-4 8 2 14' stroke='%23a78bfa' fill='none' stroke-width='1.4'/%3E%3C/g%3E%3Cg transform='translate(30 92)'%3E%3Cellipse cx='10' cy='11' rx='9' ry='11' fill='%2334d399'/%3E%3Cpath d='M10 22 q4 8 -2 14' stroke='%2334d399' fill='none' stroke-width='1.4'/%3E%3C/g%3E%3Cpolygon points='70,34 72.5,40 79,40.5 74,44.5 75.8,51 70,47.5 64.2,51 66,44.5 61,40.5 67.5,40' fill='%23fbbf24'/%3E%3Cpolygon points='132,108 133.8,112.5 138.5,112.8 135,115.8 136.2,120.5 132,118 127.8,120.5 129,115.8 125.5,112.8 130.2,112.5' fill='%23f472b6'/%3E%3Ccircle cx='56' cy='128' r='3' fill='%2360a5fa'/%3E%3Ccircle cx='8' cy='66' r='3' fill='%23f97316'/%3E%3Ccircle cx='124' cy='52' r='3' fill='%2334d399'/%3E%3C/g%3E%3C/svg%3E"); background-repeat: repeat; background-size: 150px 150px; }
body.fx-bday .lk-more-card, body.fx-bday .mp-more { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150' viewBox='0 0 150 150'%3E%3Cg opacity='.16'%3E%3Cg transform='translate(14 18)'%3E%3Crect x='3' y='20' width='34' height='13' rx='4' fill='%23ec4899'/%3E%3Crect x='8' y='11' width='24' height='10' rx='3' fill='%23fbbf24'/%3E%3Crect x='19' y='2' width='3' height='9' fill='%233b82f6'/%3E%3Ccircle cx='20.5' cy='1' r='2.2' fill='%23f97316'/%3E%3C/g%3E%3Cg transform='translate(88 70)'%3E%3Crect x='3' y='20' width='34' height='13' rx='4' fill='%233b82f6'/%3E%3Crect x='8' y='11' width='24' height='10' rx='3' fill='%23f472b6'/%3E%3Crect x='19' y='2' width='3' height='9' fill='%23ec4899'/%3E%3Ccircle cx='20.5' cy='1' r='2.2' fill='%23f97316'/%3E%3C/g%3E%3Cg transform='translate(100 14)'%3E%3Cellipse cx='10' cy='11' rx='9' ry='11' fill='%23a78bfa'/%3E%3Cpath d='M10 22 q-4 8 2 14' stroke='%23a78bfa' fill='none' stroke-width='1.4'/%3E%3C/g%3E%3Cg transform='translate(30 92)'%3E%3Cellipse cx='10' cy='11' rx='9' ry='11' fill='%2334d399'/%3E%3Cpath d='M10 22 q4 8 -2 14' stroke='%2334d399' fill='none' stroke-width='1.4'/%3E%3C/g%3E%3Cpolygon points='70,34 72.5,40 79,40.5 74,44.5 75.8,51 70,47.5 64.2,51 66,44.5 61,40.5 67.5,40' fill='%23fbbf24'/%3E%3Cpolygon points='132,108 133.8,112.5 138.5,112.8 135,115.8 136.2,120.5 132,118 127.8,120.5 129,115.8 125.5,112.8 130.2,112.5' fill='%23f472b6'/%3E%3Ccircle cx='56' cy='128' r='3' fill='%2360a5fa'/%3E%3Ccircle cx='8' cy='66' r='3' fill='%23f97316'/%3E%3Ccircle cx='124' cy='52' r='3' fill='%2334d399'/%3E%3C/g%3E%3C/svg%3E"); background-size: 150px 150px; }
body.fx-bday .mp-top, body.fx-bday .lk-topbar { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150' viewBox='0 0 150 150'%3E%3Cg opacity='.12'%3E%3Cg transform='translate(14 18)'%3E%3Crect x='3' y='20' width='34' height='13' rx='4' fill='%23ec4899'/%3E%3Crect x='8' y='11' width='24' height='10' rx='3' fill='%23fbbf24'/%3E%3Crect x='19' y='2' width='3' height='9' fill='%233b82f6'/%3E%3Ccircle cx='20.5' cy='1' r='2.2' fill='%23f97316'/%3E%3C/g%3E%3Cg transform='translate(88 70)'%3E%3Crect x='3' y='20' width='34' height='13' rx='4' fill='%233b82f6'/%3E%3Crect x='8' y='11' width='24' height='10' rx='3' fill='%23f472b6'/%3E%3Crect x='19' y='2' width='3' height='9' fill='%23ec4899'/%3E%3Ccircle cx='20.5' cy='1' r='2.2' fill='%23f97316'/%3E%3C/g%3E%3Cg transform='translate(100 14)'%3E%3Cellipse cx='10' cy='11' rx='9' ry='11' fill='%23a78bfa'/%3E%3Cpath d='M10 22 q-4 8 2 14' stroke='%23a78bfa' fill='none' stroke-width='1.4'/%3E%3C/g%3E%3Cg transform='translate(30 92)'%3E%3Cellipse cx='10' cy='11' rx='9' ry='11' fill='%2334d399'/%3E%3Cpath d='M10 22 q4 8 -2 14' stroke='%2334d399' fill='none' stroke-width='1.4'/%3E%3C/g%3E%3Cpolygon points='70,34 72.5,40 79,40.5 74,44.5 75.8,51 70,47.5 64.2,51 66,44.5 61,40.5 67.5,40' fill='%23fbbf24'/%3E%3Cpolygon points='132,108 133.8,112.5 138.5,112.8 135,115.8 136.2,120.5 132,118 127.8,120.5 129,115.8 125.5,112.8 130.2,112.5' fill='%23f472b6'/%3E%3Ccircle cx='56' cy='128' r='3' fill='%2360a5fa'/%3E%3Ccircle cx='8' cy='66' r='3' fill='%23f97316'/%3E%3Ccircle cx='124' cy='52' r='3' fill='%2334d399'/%3E%3C/g%3E%3C/svg%3E"), linear-gradient(120deg, var(--navy, var(--lk-navy)), var(--navy2, var(--lk-navy-2))); background-size: 150px 150px, auto; }
@media (max-width: 640px) {
    .fx-flowers { width: 92px; height: 69px; }
    .fx-cloud--b { display: none; }
}
.fx--app .fx-flowers { bottom: calc(86px + env(safe-area-inset-bottom)); }
@media (prefers-reduced-motion: reduce) { .fx-cloud { animation: none; left: 12%; } }
.fx-cloud { filter: drop-shadow(0 2px 4px rgba(70, 125, 190, .45)) drop-shadow(0 0 1px rgba(70, 125, 190, .6)); }
/* зима + день рождения: торты не наезжают на ёлки */
body.fx-winter .fx-cake--c { bottom: 30%; } body.fx-winter .fx-cake--d { bottom: 24%; }
body.fx-winter .fx--app .fx-cake--c { bottom: 30%; } body.fx-winter .fx--app .fx-cake--d { bottom: 24%; }

/* машины-уборщики: снегоуборочная (зима) и листоуборочная (осень); едут по верхним краям карточек и убирают снег/листья */
.fxm { position: absolute; left: 0; top: 0; width: 112px; opacity: 0; pointer-events: none; will-change: transform; transition: opacity .3s; }
.fxm__flip { transform-origin: 50% 50%; }
.fxm svg { display: block; width: 100%; height: auto; overflow: visible; }
.fxm__body { animation: fxm-bump .38s ease-in-out infinite; }
.fxm__spin { transform-box: fill-box; transform-origin: 50% 50%; animation: fxm-spin .55s linear infinite; }
.fxm__brush { transform-box: fill-box; transform-origin: 50% 50%; animation: fxm-brush .18s linear infinite; }
.fxm__beacon { animation: fxm-beacon .6s steps(2) infinite; }
@keyframes fxm-spin { to { transform: rotate(360deg); } }
@keyframes fxm-brush { 0% { transform: scaleX(1); } 50% { transform: scaleX(.35); } 100% { transform: scaleX(1); } }
@keyframes fxm-beacon { 0% { opacity: 1; filter: drop-shadow(0 0 4px #ffb020); } 100% { opacity: .35; filter: none; } }
@keyframes fxm-bump { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-.8px); } }
/* робот-«пухосос»: комочки пуха в окошке пылесборника подпрыгивают, «глаза» мигают, у сопла мелькают струйки воздуха */
.fxm--vac { width: 128px; }
.fxm__lint { transform-box: fill-box; transform-origin: 50% 50%; animation: fxm-lint .5s ease-in-out infinite alternate; }
.fxm__lint--b { animation-duration: .38s; animation-delay: -.2s; } .fxm__lint--c { animation-duration: .62s; animation-delay: -.1s; }
.fxm__eye { animation: fxm-blink 3.2s steps(1) infinite; }
.fxm__air { animation: fxm-air .28s steps(2) infinite; }
@keyframes fxm-lint { from { transform: translateY(1.600px); } to { transform: translateY(-1.400px); } }
@keyframes fxm-blink { 0%, 92%, 100% { opacity: 1; } 94%, 98% { opacity: .1; } }
@keyframes fxm-air { 0% { opacity: .9; } 100% { opacity: .25; } }
@media (max-width: 640px) { .fxm { width: 84px; } .fxm--vac { width: 96px; } }
@media (prefers-reduced-motion: reduce) { .fxm { display: none; } }
body.a11y-mode .fxm { display: none; }
