[aria-label*="LiveChat"],
[aria-label*="live chat"],
[class*="live-chat"],
[class*="livechat"],
.nav-sidebar-support,
.nav-sidebar-help-centre,
[id*="chat-widget"],
[href*="betting-terms"] {
  display: none !important;
}

html {
  width: 100%;
  height: 100% !important;
  min-height: 100% !important;
  overflow-y: visible !important;
  overflow-x: hidden !important;
  background: #00131f !important;
}

body {
  width: 100% !important;
  max-width: 430px !important;
  height: 100dvh !important;
  min-height: 100dvh !important;
  margin: 0 auto !important;
  overflow: hidden !important;
  background: var(--color-body-background, #00131f) !important;
}

body > #app,
body > #app > .app,
.app,
#container {
  width: 100% !important;
  max-width: 430px !important;
}

body > #app {
  position: relative !important;
  inset: auto !important;
  height: 100dvh !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

.app {
  height: calc(100dvh - 56px) !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

#container {
  height: 100% !important;
  min-height: 0 !important;
  flex: 1 1 100% !important;
  margin-left: 0 !important;
  transform: none !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior-y: contain;
  touch-action: pan-y !important;
  -webkit-overflow-scrolling: touch;
}

.app > .nav-sidebar:not(.opened),
.nav-sidebar:not(.opened),
.nav-sidebar:not(.opened) .nav-sidebar-content {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  max-width: 0 !important;
  height: 0 !important;
  flex: 0 0 0 !important;
  overflow: hidden !important;
  background: transparent !important;
}

.hero__mobile-switcher .m-segment-control {
  --items-num: 2 !important;
}

.home-guest,
.footer-container,
.bottom-overlays {
  max-width: 430px !important;
}

.mobile .footer-nav {
  padding: 32px 0 40px !important;
  margin-bottom: 40px !important;
  border-top: 1px solid var(--color-border) !important;
  border-bottom: 1px solid var(--color-border) !important;
}

.mobile .footer-nav__content {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 32px !important;
}

.mobile .footer-nav__app {
  order: 0 !important;
  width: 100% !important;
  margin: 0 !important;
}

.mobile .footer-nav__socials {
  order: 1 !important;
  width: 100% !important;
  margin: 0 !important;
}

.mobile .footer-nav__links {
  order: 2 !important;
  width: 100% !important;
  margin: 0 !important;
}

.mobile .footer-nav__socials--compact {
  display: flex !important;
  align-items: center !important;
}

.mobile .footer-nav__socials--compact .nav-logo {
  margin-bottom: 0 !important;
}

.mobile .footer-nav__lang {
  margin-left: auto !important;
}

.bottom-overlays {
  left: 50% !important;
  width: min(100vw, 430px) !important;
  transform: translateX(-50%) !important;
}

/* Cover the fractional-pixel seam below the fixed mobile navigation without
   changing the bar height or moving its controls. */
.mobile .bottom-overlays__tabbar {
  isolation: isolate;
  background: transparent !important;
  box-shadow: none !important;
}

.mobile .bottom-overlays__tabbar::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  z-index: -1;
  height: 6px;
  pointer-events: none;
  content: "";
  background: var(--color-menu-bottom-background);
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 180ms;
  animation-timing-function: ease-out;
}

.nav-sidebar.opened {
  top: 0 !important;
  bottom: 0 !important;
  left: 50% !important;
  right: auto !important;
  width: min(100vw, 430px) !important;
  max-width: 430px !important;
  height: 100dvh !important;
  z-index: 10000 !important;
  transform: translateX(-50%) !important;
  overflow: hidden !important;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.nav-sidebar.opened .nav-sidebar-overlay {
  transition: opacity 0.5s ease !important;
}

.nav-sidebar.opened .nav-sidebar-expanded,
.nav-sidebar.opened .nav-sidebar-content {
  transition: all 0.5s ease !important;
}

.nav-sidebar.opened.mirror-state-enter .nav-sidebar-overlay,
.nav-sidebar.opened.mirror-state-leave .nav-sidebar-overlay {
  opacity: 0 !important;
}

.nav-sidebar.opened.mirror-state-enter .nav-sidebar-expanded,
.nav-sidebar.opened.mirror-state-leave .nav-sidebar-expanded {
  transform: translateX(-100%) !important;
}

.nav-sidebar.opened .nav-sidebar-content,
.nav-sidebar.opened .nav-sidebar-expanded {
  width: 100% !important;
  max-width: 430px !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
}

.nav-sidebar.opened .nav-sidebar-expanded-content {
  min-height: 0 !important;
  overflow: hidden !important;
}

.nav-sidebar.opened .nav-sidebar-expanded-scrollY {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: calc(100dvh - 64px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior-y: contain;
  touch-action: pan-y !important;
  -webkit-overflow-scrolling: touch;
}

.nav-sidebar.opened *,
.nav-sidebar.opened *::before,
.nav-sidebar.opened *::after {
  box-sizing: border-box;
}

.nav-sidebar.opened .nav-sidebar-expanded-cards,
.nav-sidebar.opened .nav-sidebar-cards-grid,
.nav-sidebar.opened .nav-card,
.nav-sidebar.opened .nav-card__button {
  width: 100% !important;
  max-width: 100% !important;
}

.nav-sidebar.opened .nav-card__img {
  max-width: 100% !important;
}

.nav-sidebar.opened .nav-sidebar-expanded-support,
.nav-sidebar.opened .nav-sidebar-expanded-app-links {
  flex-shrink: 0 !important;
}

.nav-sidebar.opened .nav-sidebar-expanded-items {
  margin-bottom: auto !important;
}

.nav-sidebar.opened .nav-sidebar-expanded-support {
  margin-top: 16px !important;
}

/* The original mobile Search is a full-screen surface, not a 400px dialog. */
#m-modal-wrapper:has(.search-modal) {
  position: fixed !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 50% !important;
  right: auto !important;
  width: min(100vw, 430px) !important;
  height: 100dvh !important;
  z-index: 11000 !important;
  transform: translateX(-50%) !important;
}

#m-modal-wrapper .m-modal.search-modal,
#m-modal-wrapper .m-modal-container.search-modal {
  position: fixed !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 50% !important;
  right: auto !important;
  width: min(100vw, 430px) !important;
  max-width: 430px !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  margin: 0 !important;
  border-radius: 0 !important;
  transform: translateX(-50%) !important;
}

#m-modal-wrapper .search-modal .m-modal-scrollable {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

/* Keep the first Search row aligned while lazy thumbnails settle. */
#m-modal-wrapper .search-modal .search-results {
  overflow-anchor: none;
}

/* Safari can resolve height:100% against an unfinished grid row while lazy
   images are loading, collapsing the first row. Keep every search card on the
   captured 3:4 mobile ratio independently of its image load state. */
#m-modal-wrapper .search-modal .items-grid-search > div {
  align-self: start;
  min-width: 0;
}

#m-modal-wrapper .search-modal .items-grid-search .m-game-card {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 3 / 4 !important;
}

#m-modal-wrapper .search-modal .items-grid-search .m-card-thumb,
#m-modal-wrapper .search-modal .items-grid-search .m-card-thumb-image,
#m-modal-wrapper .search-modal .items-grid-search .m-card-thumb-preview {
  width: 100% !important;
  height: 100% !important;
}

.mirror-loyalty-details-overlay {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgb(0 9 15 / 78%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.mirror-loyalty-details-overlay--visible {
  opacity: 1;
}

.mirror-loyalty-details-overlay .LoyaltyRankDetailsModal {
  width: min(400px, 100%);
  max-height: min(760px, calc(100dvh - 32px));
  color: var(--color-text-title, #fff);
  border-radius: 18px;
  background: var(--color-modal-background, #002746);
  box-shadow: 0 18px 60px rgb(0 0 0 / 48%);
  overflow: hidden;
  transform: translateY(16px) scale(.98);
  transition: transform 220ms ease;
}

.mirror-loyalty-details-overlay--visible .LoyaltyRankDetailsModal {
  transform: translateY(0) scale(1);
}

.mirror-loyalty-details-overlay .m-modal-container {
  display: flex;
  flex-direction: column;
  max-height: inherit;
}

.mirror-loyalty-details-overlay .m-modal-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 72px;
  padding: 18px 64px 18px 24px;
  border-bottom: 1px solid var(--color-blue-3, #1477b5);
}

.mirror-loyalty-details-overlay .LoyaltyRankDetailsModal-Title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.mirror-loyalty-details-close {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 44px;
  height: 44px;
  padding: 0 0 4px;
  border: 2px solid rgb(164 197 219 / 28%);
  border-radius: 50%;
  color: var(--color-text-secondary, #bdd2df);
  background: rgb(7 47 76 / 86%);
  font: 300 38px/1 sans-serif;
  transform: translateY(-50%);
}

.mirror-loyalty-details-overlay .m-modal-content {
  padding: 16px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.LoyaltyRankDetailsModal-Rank {
  overflow: hidden;
  border-radius: 10px;
}

.LoyaltyRankDetailsModal-Rank:not(:last-child) {
  margin-bottom: 8px;
}

.loyalty-rank-details-rewards {
  display: flex;
  justify-content: space-between;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.loyalty-rank-details-rewards__col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: calc(50% - .5px);
  min-height: 72px;
  padding: 8px 12px;
  background: var(--color-dark-grey-2, #052f4e);
}

.loyalty-rank-details-rewards__name,
.loyalty-rank-details-rewards__value {
  display: flex;
  align-items: center;
  gap: 4px;
}

.loyalty-rank-details-rewards .LoyaltyRankImage,
.loyalty-rank-details-rewards__icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.loyalty-rank-details-rewards__rank,
.loyalty-rank-details-rewards__reward {
  font-size: 13px;
  line-height: 1.25;
}

.loyalty-rank-details-rewards__details,
.loyalty-rank-details-rewards__bonus-label {
  margin-top: 4px;
  color: var(--color-text-secondary, #a9c2d2);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
}

.mirror-search-options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 8;
  max-height: min(320px, 46dvh);
  padding: 6px;
  overflow-y: auto;
  border: 1px solid var(--color-blue-3, #1778b9);
  border-radius: 10px;
  background: var(--color-dark-blue-5, #001927);
  box-shadow: 0 10px 24px rgb(0 0 0 / 35%);
}

.mirror-search-options button {
  display: block;
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  color: var(--color-light-grey-5, #d6e5ef);
  background: transparent;
  font: inherit;
  text-align: left;
}

.mirror-search-options button:active,
.mirror-search-options button[aria-selected="true"] {
  color: #fff;
  background: var(--color-blue-2, #0e5d91);
}

.search-filters__select {
  position: relative;
}

.search-filters__select.mirror-select-open .m-select-chevron {
  transform: rotate(0deg) !important;
}

.promotion-card[hidden],
.items-grid-search > div[hidden] {
  display: none !important;
}

.nav-sidebar-item--main {
  scroll-margin-top: 84px;
}

.arrow_up_button {
  display: none !important;
  position: fixed !important;
  left: auto !important;
  right: 12px !important;
  bottom: max(14px, env(safe-area-inset-bottom)) !important;
  z-index: 103 !important;
}

.arrow_up_button.mirror-arrow-visible {
  display: flex !important;
}

body.mirror-has-tabbar .arrow_up_button {
  bottom: max(82px, calc(70px + env(safe-area-inset-bottom))) !important;
}

.m-modal-container.mobile.authModal {
  width: min(400px, calc(100vw - 32px)) !important;
  max-width: 400px !important;
  max-height: calc(100dvh - 32px) !important;
}

.m-modal-container.authModal [data-qa="login_title"] {
  margin: 20px 0 15px !important;
  text-align: center !important;
}

.m-modal-container.authModal [data-qa="login_button"] {
  width: 100% !important;
  margin-top: 24px !important;
}

.m-modal-container.authModal [data-qa="reset_password"] {
  margin-top: 16px !important;
  text-align: center !important;
}

.m-modal-container.authModal [class*="OAuth_oauth"] {
  display: none !important;
}

.mirror-language-overlay,
.mirror-phone-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
}

.mirror-language-overlay,
.mirror-phone-overlay {
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 8, 16, 0.78);
  backdrop-filter: blur(2px);
}

.mirror-dialog {
  width: min(400px, 100%);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  color: var(--color-text-title, #fff);
  background: var(--color-modal-bg, #171a2c);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
}

.mirror-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mirror-dialog__head h3 {
  margin: 0;
  font: 600 18px/1.3 inherit;
}

.mirror-dialog__close {
  width: 38px;
  height: 38px;
  color: inherit;
  font: 300 30px/1 inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.mirror-phone-dialog {
  width: min(400px, calc(100vw - 32px));
  color: #fff;
  background: #00284a;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.55);
  animation: mirror-phone-enter 180ms ease-out both;
}

.mirror-phone-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  border-bottom: 1px solid #09669a;
}

.mirror-phone-tab {
  align-self: stretch;
  display: grid;
  place-items: center;
  min-width: 145px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  border-bottom: 3px solid #00b982;
}

.mirror-phone-head .mirror-dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #b9d2e2;
  background: #0b365b;
  border: 3px solid rgba(177, 211, 231, 0.2);
  border-radius: 50%;
}

.mirror-phone-head .mirror-dialog__close svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.mirror-language-list {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.mirror-language-list a {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 0 16px;
  color: inherit;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.mirror-language-list a[aria-current="true"] {
  color: #111525;
  background: #d4ff2f;
}

.mirror-phone-body {
  display: grid;
  justify-items: stretch;
  gap: 14px;
  padding: 28px 28px 30px;
}

.mirror-phone-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 2px;
  color: #bcd6e7;
  background: #07375e;
  border: 2px solid #0c7aba;
  border-radius: 50%;
}

.mirror-phone-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.mirror-phone-body h3 {
  margin: 0;
  color: #fff;
  font-size: 29px;
  line-height: 1.2;
  text-align: center;
}

.mirror-phone-body p {
  margin: 0;
  color: #b8cedd;
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
}

.mirror-phone-input {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 0 16px;
  overflow: hidden;
  background: #001a2c;
  border: 2px solid #0878bd;
  border-radius: 12px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.mirror-phone-input span {
  padding-right: 12px;
  color: #fff;
  font-weight: 600;
  border-right: 1px solid rgba(190, 218, 235, 0.35);
}

.mirror-phone-input input {
  width: 100%;
  min-width: 0;
  padding: 0 12px;
  color: #fff;
  font: inherit;
  background: transparent;
  border: 0;
  outline: 0;
}

.mirror-phone-input:focus-within {
  border-color: #1599de;
  box-shadow: 0 0 0 2px rgba(21, 153, 222, 0.22);
}

.mirror-phone-input input::placeholder {
  color: #a9c2d2;
  opacity: 1;
}

.mirror-phone-input--invalid {
  border-color: #ff5a67;
  box-shadow: 0 0 0 1px #ff5a67;
}

.mirror-phone-error {
  margin-top: -4px !important;
  color: #ff7b85 !important;
  font-weight: 600;
  text-align: left !important;
}

.mirror-phone-submit {
  min-height: 56px;
  margin-top: 5px;
  color: #fff;
  font: 700 18px/1 inherit;
  background: linear-gradient(180deg, #16bd84, #08aa73);
  border: 3px solid #047c59;
  border-radius: 30px;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.14);
  cursor: pointer;
  transition: filter 150ms ease, transform 150ms ease;
}

.mirror-phone-submit:active {
  filter: brightness(0.93);
  transform: translateY(1px);
}

@keyframes mirror-phone-enter {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 360px) {
  .mirror-phone-body { padding: 24px 20px 26px; }
  .mirror-phone-body h3 { font-size: 25px; }
  .mirror-phone-tab { min-width: 120px; font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .mirror-phone-dialog { animation: none; }
}

.mirror-stub-notice {
  padding: 11px 12px;
  color: #f6f7fb !important;
  text-align: center;
  background: rgba(255, 187, 44, 0.14);
  border: 1px solid rgba(255, 187, 44, 0.35);
  border-radius: 8px;
}

.game-item__content.mirror-game-loading::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  content: "";
  border: 3px solid rgb(255 255 255 / 24%);
  border-top-color: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: mirror-game-spin 0.8s linear infinite;
}

.mirror-game-error {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #fff;
  font-weight: 600;
  text-align: center;
  background: #001927;
}

@keyframes mirror-game-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.m-accordion-item__header {
  cursor: pointer;
  user-select: none;
}

/* Captured pages can retain the 15x25 lazy preview over the downloaded full-size cover. */
.m-card-thumb .m-card-thumb-image {
  opacity: 1 !important;
}

.bets-type-switch .m-segment-control-item,
.bets-filters .m-tabs-item,
.game-category__tabs .m-segment-control-item {
  cursor: pointer;
  user-select: none;
}

.game-category .m-category-scroll__content {
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.game-category .m-category-scroll__content.mirror-grid-changing {
  opacity: 0;
  transform: translateY(4px);
}

.bets-body {
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.bets-body.mirror-bets-changing {
  animation: mirror-bets-refresh 0.18s ease;
}

@keyframes mirror-bets-refresh {
  0% {
    opacity: 0.35;
    transform: translateY(3px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.mirror-bets-table {
  display: grid;
  gap: 8px;
  width: 100%;
  padding-top: 16px;
}

.mirror-bets-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 64px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--color-table-fill-primary, #063254);
  color: var(--color-text-title, #fff);
}

.mirror-bets-row__image {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
}

.mirror-bets-row__info {
  min-width: 0;
  padding: 0 10px;
}

.mirror-bets-row__game,
.mirror-bets-row__player {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mirror-bets-row__game {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.mirror-bets-row__player {
  color: var(--color-text-secondary, #bed2e1);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.mirror-bets-row__values {
  min-width: 118px;
  padding-right: 10px;
  text-align: right;
}

.mirror-bets-row__badges {
  display: flex;
  justify-content: flex-end;
  gap: 3px;
  margin-bottom: 3px;
  white-space: nowrap;
}

.mirror-bets-row__stake,
.mirror-bets-row__multiplier {
  padding: 2px 4px;
  border-radius: 3px;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.2;
}

.mirror-bets-row__stake {
  background: #087ac6;
}

.mirror-bets-row__multiplier {
  background: #0798a7;
}

.mirror-bets-row__payout {
  color: var(--color-text-success, #58cf48);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
}

@media (max-width: 390px) {
  .mirror-bets-row {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    min-height: 56px;
  }

  .mirror-bets-row__image {
    width: 56px;
    height: 56px;
  }

  .mirror-bets-row__info {
    padding: 0 7px;
  }

  .mirror-bets-row__game,
  .mirror-bets-row__payout {
    font-size: 13px;
  }

  .mirror-bets-row__values {
    min-width: 104px;
    padding-right: 7px;
  }

  .mirror-bets-row__stake,
  .mirror-bets-row__multiplier {
    font-size: 8px;
  }
}

.Provider[data-mirror-provider],
.lobby-provider-card[data-mirror-provider] {
  cursor: pointer;
  touch-action: manipulation;
}

.mirror-provider-directory-grid .Provider {
  min-height: 82px;
}

.mirror-provider-game-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  align-items: start;
}

.mirror-provider-game-item {
  min-width: 0;
}

.mirror-provider-game-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 14px;
  background: var(--color-card-fill, #063254);
  cursor: pointer;
  transform: translateZ(0);
}

.mirror-provider-game-card__image {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  opacity: 1 !important;
}

.mirror-provider-game-card__favorite {
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 8px;
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  place-items: center;
  color: #fff;
  background: transparent;
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

.mirror-provider-game-card__info {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  padding: 34px 8px 10px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 49, 86, 0.96));
  text-align: center;
}

.mirror-provider-game-card__info .m-game-card__game-title,
.mirror-provider-game-card__info .m-game-card__provider-name {
  overflow: hidden;
  margin: 0;
  text-overflow: ellipsis;
}

.mirror-provider-game-card__info .m-game-card__game-title {
  display: -webkit-box;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.15;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mirror-provider-game-card__info .m-game-card__provider-name {
  margin-top: 3px;
  color: var(--color-text-secondary, #bed2e1);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.mirror-provider-sentinel {
  height: 1px;
}

/* Category captures are mobile-only, so they must keep the original compact
   two-card grid regardless of the preview window's reported breakpoint. */
.mobile .category-games-section .items-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  column-gap: 16px !important;
}

.mobile .category-games-section .items-grid-header {
  margin-top: -6px;
}

.mobile .category-games-section .items-grid-header .category-list-header {
  transform: translateY(-6px);
}

.mobile .category-games-section .items-grid-header--sticky::before {
  top: -6px;
  height: calc(100% + 6px);
}

.mobile .category-games-section .items-grid > * {
  min-width: 0;
}

.mirror-category-sentinel {
  width: 100%;
  height: 1px;
  pointer-events: none;
}

.m-accordion-item__header .m-chevron {
  transition: transform 0.3s ease !important;
}

.m-accordion-item.mirror-accordion-open > .m-accordion-item__header .m-chevron {
  transform: rotate(0deg) !important;
}

.mirror-accordion-content {
  box-sizing: border-box;
  max-height: 0;
  padding: 0 16px;
  overflow: hidden;
  color: #c2d7e7;
  font-size: 16px;
  line-height: 1.45;
  opacity: 0;
  transition: max-height 0.34s ease, padding 0.34s ease, opacity 0.22s ease;
}

.m-accordion-item.mirror-accordion-open > .mirror-accordion-content {
  padding-top: 14px;
  padding-bottom: 16px;
  opacity: 1;
}

.mirror-accordion-content ul,
.mirror-accordion-content ol {
  padding-left: 22px;
}

.mirror-accordion-content li + li {
  margin-top: 6px;
}

.footer-disclaimer__text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mirror-footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.mirror-footer-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 8px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
}

.mirror-juego-seguro {
  display: inline-flex;
  align-items: center;
  max-width: min(100%, 230px);
  text-decoration: none;
}

.mirror-juego-seguro__image {
  display: block;
  width: auto;
  height: 32px;
  max-width: 100%;
  object-fit: contain;
}

@media (max-width: 767px) {
  .mirror-juego-seguro__image {
    height: 28px;
  }
}

@media (min-width: 768px) {
  .mirror-dialog {
    border-radius: 18px;
  }
}
