/**
 * GAMESPSN V1.4.41 — approved premium compact footer.
 * Owner-supplied payment/security artwork and official colours only.
 * Cart and active Checkout forms use a legal/help strip in place of the full footer.
 * RC4: very small white logo CARDS and artwork, right-aligned at every viewport.
 * All other footer components and the Cart/Checkout legal footer remain untouched.
 */
@layer gamespsn-brand {
  body.gl-brand-2026 .gl-site-footer.gl-gpsn-footer.gl-premium-footer {
    background: #5003C2 !important;
    padding-top: clamp(25px,3vw,38px);
    border-top: 1px solid rgba(248,246,255,.13) !important;
  }
  body.gl-brand-2026 .gl-premium-footer .gl-footer-grid {
    padding-bottom: clamp(20px,3vw,32px);
  }
  body.gl-brand-2026 .gl-premium-footer .gl-footer-wordmark {
    display: inline-flex;
    align-items: center;
    font-size: 16px !important;
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: .065em;
    text-decoration: none;
    color: #F8F6FF !important;
  }
  body.gl-brand-2026 .gl-premium-footer .gl-footer-wordmark:hover { color: #F8F6FF !important; }
  body.gl-brand-2026 .gl-premium-footer .gl-footer-brand p {
    margin-top: 11px;
    font-size: 12px;
    line-height: 1.65;
  }
  body.gl-brand-2026 .gl-premium-footer .gl-footer-contact-cards {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
    width: min(100%,285px);
    margin-top: 17px;
  }
  body.gl-brand-2026 .gl-premium-footer .gl-footer-telegram,
  body.gl-brand-2026 .gl-premium-footer .gl-footer-email {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    color: #F8F6FF !important;
    background: #25105D;
    border: 1px solid #8052D4;
    border-radius: 10px;
    text-decoration: none;
    transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
  }
  body.gl-brand-2026 .gl-premium-footer .gl-footer-telegram {
    padding: 10px 11px;
    gap: 10px;
    min-height: 55px;
  }
  body.gl-brand-2026 .gl-premium-footer .gl-footer-email {
    padding: 9px 13px;
    min-height: 39px;
    gap: 9px;
    font-size: 12px;
    font-weight: 700;
  }
  body.gl-brand-2026 .gl-premium-footer .gl-footer-telegram:hover,
  body.gl-brand-2026 .gl-premium-footer .gl-footer-email:hover {
    background: #3201BC;
    border-color: #F8F6FF;
    text-decoration: none;
  }
  body.gl-brand-2026 .gl-premium-footer .gl-footer-telegram-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #6203E3;
    color: #FFFFFF;
  }
  body.gl-brand-2026 .gl-premium-footer .gl-footer-contact-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }
  body.gl-brand-2026 .gl-premium-footer .gl-footer-contact-copy strong {
    font-size: 12px;
    font-weight: 750;
    color: #F8F6FF;
  }
  body.gl-brand-2026 .gl-premium-footer .gl-footer-contact-copy small {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    color: #D4C9F0;
  }
  body.gl-brand-2026 .gl-premium-footer .gl-footer-online-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #88E89F;
  }
  body.gl-brand-2026 .gl-premium-footer .gl-footer-payment-area,
  body.gl-brand-2026 .gl-premium-footer .gl-footer-security-area {
    border-top: 1px solid rgba(248,246,255,.13);
    padding-top: 18px;
    padding-bottom: 19px;
  }
  body.gl-brand-2026 .gl-premium-footer :is(.gl-footer-payment-area,.gl-footer-security-area) h2 {
    margin: 0 0 13px;
    font-size: 13px !important;
    font-weight: 750;
    letter-spacing: .055em;
    color: #F8F6FF !important;
  }
  /* Owner-approved compact badges: group and heading on the RIGHT, never left. */
  body.gl-brand-2026 .gl-premium-footer :is(.gl-footer-payment-area,.gl-footer-security-area) h2 {
    text-align: right;
  }
  body.gl-brand-2026 .gl-premium-footer .gl-footer-logo-grid {
    display: grid;
    grid-template-columns: repeat(5, 80px);
    gap: 5px;
    width: max-content;
    max-width: 100%;
    margin-inline-start: auto;
    margin-inline-end: 0;
    justify-content: end;
  }
  body.gl-brand-2026 .gl-premium-footer .gl-footer-security-logos {
    display: grid;
    grid-template-columns: repeat(2, 68px);
    gap: 5px;
    width: max-content;
    max-width: 100%;
    margin-inline-start: auto;
    margin-inline-end: 0;
    justify-content: end;
  }
  body.gl-brand-2026 .gl-premium-footer .gl-footer-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 0;
    width: 80px;
    height: 32px;
    padding: 3px 4px;
    border-radius: 6px;
    background: #FFFFFF;
    border: 1px solid rgba(50,1,188,.14);
    box-shadow: none;
    overflow: hidden;
  }
  body.gl-brand-2026 .gl-premium-footer .gl-footer-logo-card img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center;
    border: 0 !important;
    border-radius: 0 !important;
  }
  body.gl-brand-2026 .gl-premium-footer .gl-footer-security-logos .gl-footer-logo-card {
    width: 68px;
    height: 29px;
    padding: 2px 4px;
  }
  body.gl-brand-2026 .gl-premium-footer .gl-footer-bottom {
    border-top: 1px solid rgba(248,246,255,.13) !important;
  }
  body.gl-brand-2026 .gl-premium-footer a:focus-visible,
  body.gl-brand-2026 .gl-transaction-footer a:focus-visible {
    outline: 2px solid #F8F6FF !important;
    outline-offset: 3px !important;
  }
  body.gl-brand-2026 .gl-transaction-footer {
    background: #170849;
    border-top: 1px solid rgba(248,246,255,.13);
    color: #D4C9F0;
    padding-block: 16px max(16px,env(safe-area-inset-bottom));
  }
  body.gl-brand-2026 .gl-transaction-footer .gl-transaction-footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    text-align: center;
  }
  body.gl-brand-2026 .gl-transaction-footer p {
    margin: 0;
    color: #D4C9F0;
    font-size: 12px;
    line-height: 1.6;
    max-width: 920px;
  }
  body.gl-brand-2026 .gl-transaction-footer .gl-transaction-footer-links {
    display: flex;
    gap: clamp(12px,3vw,25px);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  body.gl-brand-2026 .gl-transaction-footer a {
    color: #F8F6FF !important;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 700;
  }
  body.gl-brand-2026 .gl-transaction-footer a:hover { color: #D4C9F0 !important; }
}
@media (max-width: 800px) {
  @layer gamespsn-brand {
    body.gl-brand-2026 .gl-premium-footer .gl-footer-logo-grid {
      grid-template-columns: repeat(3, 80px);
    }
  }
}
@media (max-width: 590px) {
  @layer gamespsn-brand {
    body.gl-brand-2026 .gl-premium-footer .gl-footer-logo-grid {
      grid-template-columns: repeat(2, 76px);
      gap: 5px;
    }
    body.gl-brand-2026 .gl-premium-footer .gl-footer-logo-grid .gl-footer-logo-card {
      width: 76px;
      height: 31px;
      padding: 3px 4px;
    }
    body.gl-brand-2026 .gl-premium-footer .gl-footer-contact-cards {width: 100%;}
    body.gl-brand-2026.gl-theme:has(.gl-cart-mobile-sticky) .gl-transaction-footer {
      padding-bottom: max(104px, env(safe-area-inset-bottom));
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  @layer gamespsn-brand {
    body.gl-brand-2026 .gl-premium-footer :is(.gl-footer-telegram,.gl-footer-email){transition:none;}
  }
}


/* 2026-10-23 RC5 — Footer-only owner updates, preserve cart/checkout footer.
   Existing official colors, logo files and destinations unchanged. */
body.gl-brand-2026 .gl-premium-footer .gl-footer-grid.gl-footer-grid--extended {
  display:grid !important;
  grid-template-columns:minmax(185px,1.4fr) repeat(4,minmax(0,1fr)) !important;
  column-gap:clamp(15px,2vw,32px) !important;
  row-gap:20px;
}
body.gl-brand-2026 .gl-premium-footer .gl-footer-grid--extended .gl-footer-links,
body.gl-brand-2026 .gl-premium-footer .gl-footer-grid--extended .gl-footer-existing-menu {
  display:flex;flex-direction:column;align-items:flex-start;gap:9px;
}
body.gl-brand-2026 .gl-premium-footer .gl-footer-future-page {
  display:block;font-size:11px;line-height:1.5;
  color:#D4C9F0;opacity:.58;cursor:default;
}
body.gl-brand-2026 .gl-premium-footer .gl-footer-contact-cards {
  width:fit-content !important;max-width:100% !important;margin-top:12px !important;
}
body.gl-brand-2026 .gl-premium-footer .gl-footer-telegram {
  min-height:34px !important;padding:4px 7px !important;
  gap:7px !important;border-width:1px !important;border-radius:6px !important;
  background:#25105D !important;
}
body.gl-brand-2026 .gl-premium-footer .gl-footer-telegram-icon {
  flex:0 0 23px;width:23px;height:23px;border-radius:5px;
}
body.gl-brand-2026 .gl-premium-footer .gl-footer-telegram-icon svg {width:15px;height:15px;}
body.gl-brand-2026 .gl-premium-footer .gl-footer-contact-copy strong {font-size:10px !important;}
body.gl-brand-2026 .gl-premium-footer .gl-footer-contact-copy small {font-size:9px !important;gap:4px;}
body.gl-brand-2026 .gl-premium-footer .gl-footer-online-dot {width:6px;height:6px;flex-basis:6px;}
body.gl-brand-2026 .gl-premium-footer .gl-footer-logo-grid {justify-content:end !important;}
body.gl-brand-2026 .gl-premium-footer .gl-footer-security-logos {justify-content:end !important;}
body.gl-brand-2026 .gl-premium-footer .gl-footer-payment-area,
body.gl-brand-2026 .gl-premium-footer .gl-footer-security-area {text-align:right;}
body.gl-brand-2026 .gl-premium-footer .gl-footer-logo-grid,
body.gl-brand-2026 .gl-premium-footer .gl-footer-security-logos {
  margin-left:auto !important;margin-right:0 !important;
}
body.gl-brand-2026 .gl-premium-footer :is(.gl-footer-company-legal,.gl-footer-brand-story,.gl-footer-final-trademark) {
  border-top:1px solid rgba(248,246,255,.13);
  padding-block:12px;
}
body.gl-brand-2026 .gl-premium-footer :is(.gl-footer-company-legal,.gl-footer-brand-story,.gl-footer-final-trademark) p {
  margin:0;color:#D4C9F0 !important;opacity:.67;line-height:1.55;
  font-size:10px !important;font-weight:400;
}
body.gl-brand-2026 .gl-premium-footer .gl-footer-company-details {
  display:flex;align-items:center;gap:5px 15px;flex-wrap:wrap;
}
body.gl-brand-2026 .gl-premium-footer .gl-footer-company-details strong {font-weight:700;color:#F8F6FF;}
body.gl-brand-2026 .gl-premium-footer .gl-footer-short-trademark {margin-top:8px !important;}
body.gl-brand-2026 .gl-premium-footer .gl-footer-brand-story p {font-size:10px !important;max-width:100%;}
body.gl-brand-2026 .gl-premium-footer .gl-footer-story-title {margin-bottom:5px !important;}
body.gl-brand-2026 .gl-premium-footer .gl-footer-story-tagline {margin-top:5px !important;}
body.gl-brand-2026 .gl-premium-footer .gl-footer-final-trademark p {font-size:9px !important;opacity:.55;}
body.gl-brand-2026 .gl-premium-footer .gl-footer-bottom {padding-block:12px !important;}

@media(max-width:1050px) {
  body.gl-brand-2026 .gl-premium-footer .gl-footer-grid.gl-footer-grid--extended {
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  }
  body.gl-brand-2026 .gl-premium-footer .gl-footer-grid--extended .gl-footer-brand {
    grid-column:1/-1;
  }
}
@media(max-width:700px) {
  body.gl-brand-2026 .gl-premium-footer .gl-footer-grid.gl-footer-grid--extended {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:18px 12px !important;
  }
  body.gl-brand-2026 .gl-premium-footer .gl-footer-grid--extended .gl-footer-brand {grid-column:1/-1;}
}
@media(max-width:590px) {
  /* All FIVE payment logos on one line, including at 320px, aligned to the right. */
  body.gl-brand-2026 .gl-premium-footer .gl-footer-logo-grid {
    display:grid !important;
    width:min(100%,260px) !important;max-width:260px !important;
    grid-template-columns:repeat(5,minmax(0,1fr)) !important;
    gap:4px !important;
    justify-content:end !important;
  }
  body.gl-brand-2026 .gl-premium-footer .gl-footer-logo-grid .gl-footer-logo-card {
    box-sizing:border-box;width:100% !important;min-width:0 !important;
    height:27px !important;padding:2px !important;
    border-radius:4px !important;
  }
  body.gl-brand-2026 .gl-premium-footer .gl-footer-logo-grid .gl-footer-logo-card img {
    height:100% !important;width:100% !important;object-fit:contain !important;
  }
  body.gl-brand-2026 .gl-premium-footer .gl-footer-security-logos {
    grid-template-columns:repeat(2,54px) !important;
    max-width:112px !important;gap:4px !important;
  }
  body.gl-brand-2026 .gl-premium-footer .gl-footer-security-logos .gl-footer-logo-card {
    box-sizing:border-box;width:54px !important;min-width:0 !important;
    height:25px !important;padding:2px !important;border-radius:4px !important;
  }
  body.gl-brand-2026 .gl-premium-footer .gl-footer-company-details {gap:3px 10px;}
}

/* RC8: enforce approved footer background in the SAME cascade layer as original.
   An unlayered !important rule could not replace the original layered !important.
   Glass treatment applies only to the Telegram card within the full footer. */
@layer gamespsn-brand {
  body.gl-brand-2026 .gl-premium-footer.gl-footer-full-links .gl-footer-telegram {
    background: rgba(255,255,255,.10) !important;
    border-color: rgba(255,255,255,.24) !important;
    box-shadow: 0 5px 18px rgba(23,8,72,.10);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
  body.gl-brand-2026 .gl-premium-footer.gl-footer-full-links .gl-footer-telegram:hover,
  body.gl-brand-2026 .gl-premium-footer.gl-footer-full-links .gl-footer-telegram:focus-visible {
    background: rgba(255,255,255,.17) !important;
    border-color: rgba(255,255,255,.42) !important;
  }
}
