/* CBG1+CBG2 22.11.2026 — фоны переписок «как в Telegram»: тематический узор + мягкий цветной свет; при каждом сообщении свет плавно перетекает (CBG2). Узор свой, не Telegram. */
html body[data-cbg="song"],html.c1-wz body[data-cbg="song"],html .page[data-cbg="song"]{background-color:#3a1650!important;background-image:url(/bg/song.svg?v=2),radial-gradient(45% 35% at 75% 25%,#ff5a9e38,transparent 70%),radial-gradient(40% 32% at 25% 75%,#ff5a9e26,transparent 70%),linear-gradient(160deg,#2a1640,#3a1650 50%,#24124a)!important;background-size:420px 420px,200% 200%,200% 200%,200% 200%!important;background-repeat:repeat,no-repeat,no-repeat,no-repeat!important;background-attachment:scroll!important;background-position:0 0,100% 0%,0% 100%,0% 0%!important;transition:background-position 1.4s cubic-bezier(.3,.8,.3,1)}
html body[data-cbg="santa"],html.c1-wz body[data-cbg="santa"],html .page[data-cbg="santa"]{background-color:#2a1640!important;background-image:url(/bg/santa.svg?v=2),radial-gradient(45% 35% at 75% 25%,#6fc6ff38,transparent 70%),radial-gradient(40% 32% at 25% 75%,#6fc6ff26,transparent 70%),linear-gradient(160deg,#1f1a46,#2a1640 50%,#1c2350)!important;background-size:420px 420px,200% 200%,200% 200%,200% 200%!important;background-repeat:repeat,no-repeat,no-repeat,no-repeat!important;background-attachment:scroll!important;background-position:0 0,100% 0%,0% 100%,0% 0%!important;transition:background-position 1.4s cubic-bezier(.3,.8,.3,1)}
html body[data-cbg="book"],html.c1-wz body[data-cbg="book"],html .page[data-cbg="book"]{background-color:#2a1640!important;background-image:url(/bg/book.svg?v=2),radial-gradient(45% 35% at 75% 25%,#3ddc9738,transparent 70%),radial-gradient(40% 32% at 25% 75%,#3ddc9726,transparent 70%),linear-gradient(160deg,#221545,#2a1640 50%,#173040)!important;background-size:420px 420px,200% 200%,200% 200%,200% 200%!important;background-repeat:repeat,no-repeat,no-repeat,no-repeat!important;background-attachment:scroll!important;background-position:0 0,100% 0%,0% 100%,0% 0%!important;transition:background-position 1.4s cubic-bezier(.3,.8,.3,1)}
html body[data-cbg="mira"],html.c1-wz body[data-cbg="mira"],html .page[data-cbg="mira"]{background-color:#33173f!important;background-image:url(/bg/mira.svg?v=2),radial-gradient(45% 35% at 75% 25%,#ffd34e38,transparent 70%),radial-gradient(40% 32% at 25% 75%,#ffd34e26,transparent 70%),linear-gradient(160deg,#2a1640,#33173f 50%,#2a1640)!important;background-size:420px 420px,200% 200%,200% 200%,200% 200%!important;background-repeat:repeat,no-repeat,no-repeat,no-repeat!important;background-attachment:scroll!important;background-position:0 0,100% 0%,0% 100%,0% 0%!important;transition:background-position 1.4s cubic-bezier(.3,.8,.3,1)}
html body[data-cbg="winter"],html.c1-wz body[data-cbg="winter"],html .page[data-cbg="winter"]{background-color:#2a1640!important;background-image:url(/bg/winter.svg?v=2),radial-gradient(45% 35% at 75% 25%,#8fd3ff38,transparent 70%),radial-gradient(40% 32% at 25% 75%,#8fd3ff26,transparent 70%),linear-gradient(160deg,#1f1a46,#2a1640 50%,#1c2350)!important;background-size:420px 420px,200% 200%,200% 200%,200% 200%!important;background-repeat:repeat,no-repeat,no-repeat,no-repeat!important;background-attachment:scroll!important;background-position:0 0,100% 0%,0% 100%,0% 0%!important;transition:background-position 1.4s cubic-bezier(.3,.8,.3,1)}
html body[data-cbg="birthday"],html.c1-wz body[data-cbg="birthday"],html .page[data-cbg="birthday"]{background-color:#38173e!important;background-image:url(/bg/birthday.svg?v=2),radial-gradient(45% 35% at 75% 25%,#ff9f4338,transparent 70%),radial-gradient(40% 32% at 25% 75%,#ff9f4326,transparent 70%),linear-gradient(160deg,#2a1640,#38173e 50%,#2a1640)!important;background-size:420px 420px,200% 200%,200% 200%,200% 200%!important;background-repeat:repeat,no-repeat,no-repeat,no-repeat!important;background-attachment:scroll!important;background-position:0 0,100% 0%,0% 100%,0% 0%!important;transition:background-position 1.4s cubic-bezier(.3,.8,.3,1)}
html body[data-cbg="mama"],html.c1-wz body[data-cbg="mama"],html .page[data-cbg="mama"]{background-color:#3a1648!important;background-image:url(/bg/mama.svg?v=2),radial-gradient(45% 35% at 75% 25%,#ff7eb638,transparent 70%),radial-gradient(40% 32% at 25% 75%,#ff7eb626,transparent 70%),linear-gradient(160deg,#2a1640,#3a1648 50%,#2a1640)!important;background-size:420px 420px,200% 200%,200% 200%,200% 200%!important;background-repeat:repeat,no-repeat,no-repeat,no-repeat!important;background-attachment:scroll!important;background-position:0 0,100% 0%,0% 100%,0% 0%!important;transition:background-position 1.4s cubic-bezier(.3,.8,.3,1)}
html body[data-cbg="grad"],html.c1-wz body[data-cbg="grad"],html .page[data-cbg="grad"]{background-color:#2a1640!important;background-image:url(/bg/grad.svg?v=2),radial-gradient(45% 35% at 75% 25%,#ffd34e38,transparent 70%),radial-gradient(40% 32% at 25% 75%,#ffd34e26,transparent 70%),linear-gradient(160deg,#1f1a46,#2a1640 50%,#1c2350)!important;background-size:420px 420px,200% 200%,200% 200%,200% 200%!important;background-repeat:repeat,no-repeat,no-repeat,no-repeat!important;background-attachment:scroll!important;background-position:0 0,100% 0%,0% 100%,0% 0%!important;transition:background-position 1.4s cubic-bezier(.3,.8,.3,1)}
html body[data-cbg="games"],html.c1-wz body[data-cbg="games"],html .page[data-cbg="games"]{background-color:#2a1640!important;background-image:url(/bg/games.svg?v=2),radial-gradient(45% 35% at 75% 25%,#2bd2ff38,transparent 70%),radial-gradient(40% 32% at 25% 75%,#2bd2ff26,transparent 70%),linear-gradient(160deg,#221545,#2a1640 50%,#173040)!important;background-size:420px 420px,200% 200%,200% 200%,200% 200%!important;background-repeat:repeat,no-repeat,no-repeat,no-repeat!important;background-attachment:scroll!important;background-position:0 0,100% 0%,0% 100%,0% 0%!important;transition:background-position 1.4s cubic-bezier(.3,.8,.3,1)}
html [data-cbg][data-cbs="1"],html.c1-wz body[data-cbg][data-cbs="1"]{background-position:0 0,55% 35%,35% 75%,50% 50%!important}
html [data-cbg][data-cbs="2"],html.c1-wz body[data-cbg][data-cbs="2"]{background-position:0 0,15% 15%,85% 65%,100% 100%!important}
html [data-cbg][data-cbs="3"],html.c1-wz body[data-cbg][data-cbs="3"]{background-position:0 0,75% 85%,10% 25%,30% 70%!important}
@media (prefers-reduced-motion:reduce){html [data-cbg]{transition:none!important}}
