.xnv-mobile-vip-offer[hidden],
.xnv-mobile-vip-offer-spacer[hidden] { display: none !important; }

.xnv-mobile-vip-offer,
.xnv-mobile-vip-offer-spacer { display: none; }

@media (max-width: 767px) {
  .xnv-mobile-vip-offer-spacer:not([hidden]) {
    display: block;
    height: calc(76px + env(safe-area-inset-bottom, 0px));
  }

  .xnv-mobile-vip-offer:not([hidden]) {
    box-sizing: border-box;
    position: fixed;
    z-index: 8000;
    inset-inline: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 65px clamp(88px, 34.4vw, 134px);
    align-items: center;
    gap: 6px;
    min-height: 64px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(255, 201, 54, .75);
    background: linear-gradient(100deg, #08070a 0%, #160d1c 65%, #09070b 100%);
    box-shadow: 0 -5px 24px rgba(0, 0, 0, .65);
    color: #fff;
    direction: ltr;
    font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    isolation: isolate;
  }

  .xnv-mobile-vip-offer::before {
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(52vw, 195px);
    background-image: url('../images/xnv-mobile-vip-offer-model.png');
    background-image: image-set(
      url('../images/xnv-mobile-vip-offer-model.webp') type('image/webp'),
      url('../images/xnv-mobile-vip-offer-model.png') type('image/png')
    );
    background-position: right 78%;
    background-repeat: no-repeat;
    background-size: auto 190px;
    content: '';
    opacity: .96;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 48%);
    mask-image: linear-gradient(to right, transparent, #000 48%);
  }

  .xnv-mobile-vip-offer > * { position: relative; z-index: 1; }

  .xnv-mobile-vip-offer__mark {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #ffc577;
    font-size: 14px;
    font-weight: 900;
    line-height: 16px;
    white-space: nowrap;
  }
  .xnv-mobile-vip-offer__mark .premium-menu-crown {
    display: block;
    width: 17px;
    height: 14px;
    flex: 0 0 17px;
  }

  .xnv-mobile-vip-offer__copy { min-width: 0; overflow: hidden; white-space: nowrap; }
  .xnv-mobile-vip-offer__title {
    display: inline;
    overflow: hidden;
    margin-inline-start: 4px;
    color: #fff;
    font-size: 12px;
    font-weight: 850;
    line-height: 16px;
    text-shadow: 0 1px 3px #08050a;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .xnv-mobile-vip-offer__time {
    display: block;
    width: 100%;
    margin-top: 3px;
    color: #ffce3b;
    font-size: 14px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    text-align: center;
    text-shadow: 0 1px 3px #08050a;
  }
  .xnv-mobile-vip-offer__action {
    box-sizing: border-box;
    display: grid;
    min-width: 65px;
    min-height: 34px;
    padding: 5px 8px;
    place-items: center;
    border-radius: 7px;
    background: #ffca35;
    color: #111 !important;
    font-size: 11px;
    font-weight: 850;
    line-height: 1.1;
    text-align: center;
    text-decoration: none !important;
    white-space: nowrap;
  }
  .xnv-mobile-vip-offer__close {
    box-sizing: border-box;
    position: absolute;
    z-index: 2;
    top: 2px;
    right: 2px;
    display: grid;
    width: 28px;
    height: 28px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #fff;
    font: 400 24px/1 system-ui, sans-serif;
    cursor: pointer;
    text-shadow: 0 1px 4px #000;
  }
  .xnv-mobile-vip-offer__close:focus-visible,
  .xnv-mobile-vip-offer__action:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
  .xnv-mobile-vip-offer__close:hover { background: rgba(255, 255, 255, .1); }
  .xnv-mobile-vip-offer[dir='rtl'] .xnv-mobile-vip-offer__copy { direction: rtl; text-align: right; }

  @media (max-width: 374px) {
    .xnv-mobile-vip-offer__mark { gap: 2px; font-size: 12px; }
    .xnv-mobile-vip-offer__mark .premium-menu-crown { width: 15px; height: 13px; flex-basis: 15px; }
    .xnv-mobile-vip-offer__title { margin-inline-start: 3px; font-size: 11.5px; }
  }

  @media (max-width: 350px) {
    .xnv-mobile-vip-offer:not([hidden]) { grid-template-columns: minmax(0, 1fr) 65px 88px; gap: 4px; padding-left: 6px; padding-right: 8px; }
    .xnv-mobile-vip-offer__action { min-width: 65px; padding-inline: 4px; }
  }
}
