/* Bravobet desktop layout fixes — loaded last by DesktopShell so it wins over
   the Digitain base sheets and customWeb.css. */

/* The fixed gold ribbons on the left edge (.floating-links-wrapper, 58px wide)
   covered the first column of every page: the account menu, promotion filters,
   the sport search box. Keep page content clear of them, symmetrically. */
#app .content-wrapper > .main-wrapper {
  padding-left: 64px;
  padding-right: 64px;
}

/* Account > Profile: registration.css sizes .dyn_form_group for a two-column
   flex form; inside the profile grid each field should fill its cell. */
.dyn_profile_leftPart_inner > .dyn_form_group {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
}

.dyn_profile_leftPart_inner > .dyn_form_group .dyn_input {
  width: 100%;
}

/* ===== Story bubbles: gold ring ===== */
/* customWeb.css drew the ring with an image hot-linked from the old brand's CDN
   (the old CDN image). Draw it in CSS instead, centred on the
   image with translate so the rotation can't drift. */
.story__item::after,
.story__item:after {
  width: 146px;
  height: 146px;
  top: 50%;
  left: 50%;
  background: conic-gradient(from 0deg, #fce9a8, #b8891f 22%, #f2cd62 45%, #5d6d0a 70%, #fce9a8) !important;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  animation: bb-story-ring 12s linear infinite !important;
  pointer-events: none;
}

@keyframes bb-story-ring {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ===== Billboards: keep the artwork's own proportions =====
   Slider banners were given a fixed height and object-fit: cover, which cropped the
   sides of wide artwork at every width other than the one it was designed for.
   Height now follows the image, so nothing is cut. */
.banners_billboard .dynamicBanners_item,
.banners_billboard .swiper-slide {
  height: auto !important;
}

.banners_billboard .dynamicBanners_img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
}

/* ===== Lobby game card artwork ===== */
/* site.css sets .lca-card-img to height:100% with NO width and
   object-position:left, so provider covers of mixed aspect ratios overflowed
   the card and cropped off-centre (the "bozuk" look). Fill the card's 3:2 box
   and crop from the centre instead. */
.lca-card-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
}

.lb_card_img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}
