/* Хромовая эмблема BunnyFap: кольца с бегущими бликами, мягкий отсвет, звёздный ореол.
   Используется на лендинге и на страницах входа/регистрации (partials/emblem.html + emb.js). */
.lp-emb { position: relative; aspect-ratio: 880 / 920; --x: 50%; --y: 20%; --x2: 50%; --y2: 80%; }
/* чёрная подложка только под диском колец и мягко растворяется, дальше звёзды лого переходят в звёзды сайта */
.lp-emb::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse closest-side at 51.5% 50.8%, #000 74%, rgba(0, 0, 0, .6) 90%, transparent 106%); }
.lp-emb .halo { position: absolute; inset: -75%; background: url("/static/brand/logo-halo.png") center / 100% 100% no-repeat; mix-blend-mode: screen; pointer-events: none; }
.lp-emb img { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen;
  -webkit-mask: url("/static/brand/logo-emb-mask.png") 0 0 / 100% 100% no-repeat; mask: url("/static/brand/logo-emb-mask.png") 0 0 / 100% 100% no-repeat; }
.lp-emb canvas { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen; display: none;
  -webkit-mask: url("/static/brand/logo-emb-mask.png") 0 0 / 100% 100% no-repeat; mask: url("/static/brand/logo-emb-mask.png") 0 0 / 100% 100% no-repeat; }
.lp-emb[data-fx="relief"] .c-gl, .lp-emb[data-fx="rings"] .c-2d { display: block; }
.lp-emb[data-fx="relief"] img { visibility: hidden; }
.lp-emb[data-fx="relief"] .spec, .lp-emb[data-fx="relief"] .shade, .lp-emb[data-fx="rings"] .shade { display: none; }
/* в режиме колец по хрому идёт мягкий широкий отсвет — ровно по всему кролику и надписи, без резких полос */
.lp-emb[data-fx="rings"] .spec { -webkit-mask-image: url("/static/brand/logo-mask-notext.png"); mask-image: url("/static/brand/logo-mask-notext.png"); background: radial-gradient(circle at var(--x) var(--y), rgba(255, 255, 255, .34) 0, rgba(255, 255, 255, .2) 8%, rgba(235, 255, 242, .08) 20%, transparent 36%); }
.lp-emb .spec, .lp-emb .shade { position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url("/static/brand/logo-mask.png") 0 0 / 100% 100% no-repeat; mask: url("/static/brand/logo-mask.png") 0 0 / 100% 100% no-repeat; }
.lp-emb .spec { mix-blend-mode: screen;
  background: radial-gradient(circle at var(--x) var(--y), rgba(255, 255, 255, .82) 0, rgba(255, 255, 255, .55) 5%, rgba(235, 255, 242, .22) 13%, rgba(235, 255, 242, .06) 23%, transparent 33%); }
.lp-emb .shade { mix-blend-mode: multiply;
  background: radial-gradient(circle at var(--x2) var(--y2), rgba(0, 0, 0, .5) 0, rgba(0, 0, 0, .26) 30%, transparent 60%); }
/* плывущие звёзды фона и контент над мерцающим слоем */
body.bf-drift { animation: bf-drift 110s linear infinite; }
@keyframes bf-drift { to { background-position: -1100px 220px, -768px 154px, -512px 102px; } }
@media (prefers-reduced-motion: reduce) { body.bf-drift { animation: none; } }
html:has(body.bf-drift), body.bf-drift { overflow-x: clip; }
