/* =========================================================================
   ASHES · UI — floating player, homepage side rail, grouped shop, big product
   view, login page. Loaded last.
   ========================================================================= */

/* ------------------------------------------------------------------ floating player */
.ap-dock {
  position: fixed; left: 20px; bottom: 20px; z-index: 900;
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto auto auto; align-items: center; gap: 14px;
  width: min(560px, calc(100vw - 40px)); padding: 10px 12px 14px 10px;
  background: rgba(18, 18, 18, .82); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px;
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 30px 70px -25px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .4);
  color: #f5f5f4; font-family: 'Manrope', system-ui, sans-serif;
  transform: translateY(140%) scale(.96); opacity: 0; pointer-events: none;
  transition: transform .6s cubic-bezier(.22, 1, .36, 1), opacity .45s cubic-bezier(.22, 1, .36, 1) !important;
  overflow: hidden;
}
.ap-dock.is-on { transform: none; opacity: 1; pointer-events: auto; }
.ap-dock.is-on.is-tucked { transform: translateY(calc(100% + 30px)); opacity: 0; pointer-events: none; }
.ap-art { position: relative; width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: #1f1f1f; }
.ap-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 8s linear !important; }
.ap-dock.is-playing .ap-art img { transform: scale(1.12); }
.ap-eq { position: absolute; inset: auto 6px 6px auto; display: flex; gap: 2px; align-items: flex-end; height: 14px; opacity: 0; transition: opacity .3s !important; }
.ap-eq i { width: 3px; background: #fff; border-radius: 2px; height: 30%; }
.ap-dock.is-playing .ap-eq { opacity: 1; }
.ap-dock.is-playing .ap-eq i { animation: ap-eq 1s ease-in-out infinite !important; }
.ap-dock.is-playing .ap-eq i:nth-child(2) { animation-delay: -.3s !important; }
.ap-dock.is-playing .ap-eq i:nth-child(3) { animation-delay: -.6s !important; }
.ap-dock.is-playing .ap-eq i:nth-child(4) { animation-delay: -.15s !important; }
@keyframes ap-eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.ap-meta { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ap-label { font: 700 10px/1 'Manrope', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #f97316; }
.ap-title { font: 800 19px/1.05 'Big Shoulders Display', sans-serif; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-sub { font-size: 12px; color: #8a8a8a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-ctrls { display: flex; align-items: center; gap: 4px; }
.ap-btn {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 0; padding: 0; cursor: pointer;
  background: transparent; color: #cfcfcf;
  transition: background-color .35s cubic-bezier(.22, 1, .36, 1), color .35s, transform .2s cubic-bezier(.34, 1.36, .64, 1) !important;
}
.ap-btn svg { width: 18px; height: 18px; }
.ap-btn:hover { background: rgba(255, 255, 255, .09); color: #fff; }
.ap-btn:active { transform: scale(.88); }
.ap-main { width: 44px; height: 44px; background: #f5f5f4; color: #0a0a0a; }
.ap-main svg { width: 20px; height: 20px; }
.ap-main:hover { background: #f97316; color: #120700; transform: scale(1.06); }
.ap-time { display: flex; flex-direction: column; align-items: flex-end; font: 600 11px/1.3 'Manrope', sans-serif; color: #8a8a8a; font-variant-numeric: tabular-nums; }
.ap-time .ap-cur { color: #e5e5e5; }
.ap-open svg, .ap-close svg { width: 16px; height: 16px; }
.ap-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .07); cursor: pointer; }
.ap-bar:hover { height: 6px; }
.ap-fill { height: 100%; background: linear-gradient(90deg, #fff, #f97316); transform-origin: left; transform: scaleX(0); transition: transform .25s linear !important; }
@media (max-width: 640px) {
  .ap-dock { left: 10px; right: 10px; bottom: 10px; width: auto; grid-template-columns: 48px minmax(0, 1fr) auto auto; gap: 10px; }
  .ap-art { width: 48px; height: 48px; }
  .ap-time, .ap-open { display: none; }
  .ap-prev { display: none; }
}

/* ------------------------------------------------------------------ homepage side rail */
.ap-rail {
  position: fixed; right: 26px; top: 50%; z-index: 800;
  display: flex; flex-direction: column; gap: 18px; padding: 6px 0;
  transform: translate(20px, -50%); opacity: 0; pointer-events: none;
  transition: transform .6s cubic-bezier(.22, 1, .36, 1), opacity .5s !important;
}
.ap-rail.is-show { transform: translate(0, -50%); opacity: 1; pointer-events: auto; }
.ap-rail-track { position: absolute; right: 5px; top: 0; bottom: 0; width: 2px; border-radius: 2px; background: rgba(255, 255, 255, .08); }
.ap-rail-fill { position: absolute; inset: 0; background: linear-gradient(#fff, #f97316); transform-origin: top; transform: scaleY(0); border-radius: 2px; transition: transform .2s linear !important; }
.ap-rail-dot { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 12px; height: 12px; text-decoration: none; }
.ap-rail-dot i {
  position: relative; z-index: 1; width: 12px; height: 12px; border-radius: 50%;
  background: #0a0a0a; border: 2px solid rgba(255, 255, 255, .28);
  transition: transform .45s cubic-bezier(.34, 1.36, .64, 1), background-color .35s, border-color .35s, box-shadow .35s !important;
}
.ap-rail-label {
  font: 700 12px/1 'Manrope', sans-serif; color: #e5e5e5; white-space: nowrap;
  padding: 7px 10px; border-radius: 999px; background: rgba(18, 18, 18, .85); border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px);
  opacity: 0; transform: translateX(8px); pointer-events: none;
  transition: opacity .35s cubic-bezier(.22, 1, .36, 1), transform .45s cubic-bezier(.22, 1, .36, 1) !important;
}
.ap-rail-label em { font-style: normal; color: #f97316; margin-right: 6px; }
.ap-rail-dot:hover .ap-rail-label, .ap-rail-dot:focus-visible .ap-rail-label { opacity: 1; transform: none; }
.ap-rail-dot:hover i { border-color: #fff; transform: scale(1.2); }
.ap-rail-dot.is-on i { background: #f97316; border-color: #f97316; transform: scale(1.25); box-shadow: 0 0 0 5px rgba(249, 115, 22, .18); }
@media (max-width: 1100px) { .ap-rail { display: none; } }

/* ------------------------------------------------------------------ header: pages only */
html body .site-navigation .navigation-list > li { display: list-item; }

/* ------------------------------------------------------------------ grouped shop */
.ap-shop { display: flex; flex-direction: column; gap: 72px; }
.ap-shop-head { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 6px 28px; margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.ap-shop-kicker { grid-column: 1 / -1; font: 700 11px/1 'Manrope', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #f97316; }
.ap-shop-title { margin: 0; font: 800 clamp(34px, 4vw, 52px)/0.95 'Big Shoulders Display', sans-serif; text-transform: uppercase; color: #f5f5f4; }
.ap-shop-lede { margin: 0; max-width: 460px; justify-self: end; text-align: right; color: #a3a3a3; font-size: 14.5px; line-height: 1.6; }
.ap-shop-grid { display: grid; gap: 14px; align-items: stretch; }
.ap-grid-tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ap-grid-coins { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ap-grid-items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) {
  .ap-grid-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ap-grid-coins { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ap-grid-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ap-shop-head { grid-template-columns: 1fr; }
  .ap-shop-lede { justify-self: start; text-align: left; }
}
@media (max-width: 640px) {
  .ap-grid-tiers, .ap-grid-items { grid-template-columns: 1fr; }
  .ap-grid-coins { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* item showcase (single-item categories like Melee): a proper hero card */
html body .a-showcase .store-product:not(.a-tier):not(.a-coin) .product-title,
html body .a-showcase .store-product:not(.a-tier):not(.a-coin) .product-title a { font-size: clamp(34px, 4vw, 56px) !important; line-height: .95 !important; }
html body .a-showcase .store-product:not(.a-tier):not(.a-coin) .price strong { font-size: 56px !important; }

/* "log in to buy" hint under every buy button for logged-out visitors */
.ap-login-hint {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px;
  font: 600 12px/1.3 'Manrope', sans-serif; color: #8a8a8a; text-decoration: none;
  transition: color .35s cubic-bezier(.22, 1, .36, 1) !important;
}
.ap-login-hint:hover { color: #fff; }
.ap-cfx { padding: 3px 7px; border-radius: 6px; background: #f40552; color: #fff; font: 800 10px/1 'Manrope', sans-serif; letter-spacing: .02em; }

/* ------------------------------------------------------------------ big product view (package popup) */
html body .store-product-popup .popup-content {
  width: min(1180px, 94vw) !important; max-width: none !important;
  display: grid !important; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 0 44px; align-items: start;
  padding: 0 !important; overflow: hidden;
}
html body .store-product-popup .popup-content > .image {
  grid-column: 1; grid-row: 1 / span 6; align-self: stretch;
  width: 100% !important; height: 100% !important; min-height: 560px; max-height: none !important;
  object-fit: contain; padding: 40px; border-radius: 0 !important; margin: 0 !important;
  background: radial-gradient(70% 60% at 50% 45%, rgba(249, 115, 22, .14), transparent 70%), #0d0d0d;
}
html body .store-product-popup .popup-content > .product-title { grid-column: 2; margin: 48px 40px 0 0 !important; }
html body .store-product-popup .popup-content > .actions { grid-column: 2; margin: 18px 40px 0 0 !important; padding: 0 0 26px !important; border-bottom: 1px solid rgba(255, 255, 255, .07); }
html body .store-product-popup .popup-content > .descr { grid-column: 2; margin: 0 40px 44px 0 !important; padding-top: 6px; max-height: 46vh; overflow: auto; }
html body .store-product-popup .popup-content > .actions .btn-primary,
html body .store-product-popup .popup-content > .actions .btn-secondary { min-height: 54px; font-size: 15px !important; }
html body .store-product-popup .popup-close { position: absolute !important; top: 18px !important; right: 18px !important; z-index: 5; }
@media (max-width: 900px) {
  html body .store-product-popup .popup-content { grid-template-columns: 1fr; }
  html body .store-product-popup .popup-content > .image { grid-row: auto; min-height: 280px; height: auto !important; }
  html body .store-product-popup .popup-content > .product-title,
  html body .store-product-popup .popup-content > .actions,
  html body .store-product-popup .popup-content > .descr { grid-column: 1; margin-left: 24px !important; margin-right: 24px !important; }
  html body .store-product-popup .popup-content > .product-title { margin-top: 26px !important; }
  html body .store-product-popup .popup-content > .descr { max-height: none; }
}

/* ------------------------------------------------------------------ login page */
.ap-login {
  max-width: 520px; margin: 0 auto; text-align: center; padding: 48px 40px !important;
  background: radial-gradient(80% 60% at 50% 0%, rgba(244, 5, 82, .10), transparent 70%), #121212 !important;
  border: 1px solid rgba(255, 255, 255, .1) !important; border-radius: 22px !important;
}
.ap-login-badge { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 18px; display: grid; place-items: center; background: #f40552; color: #fff; font: 900 18px/1 'Manrope', sans-serif; letter-spacing: -.02em; box-shadow: 0 16px 40px -14px rgba(244, 5, 82, .8); }
.ap-login h1 { font: 800 clamp(40px, 5vw, 60px)/0.95 'Big Shoulders Display', sans-serif !important; text-transform: uppercase; margin: 0 0 12px !important; }
.ap-login p { color: #a3a3a3; font-size: 15px; line-height: 1.65; margin: 0 auto 26px; max-width: 400px; }
html body .ap-login-go { width: 100%; min-height: 56px; font-size: 15px !important; background: #f40552 !important; border-color: #f40552 !important; color: #fff !important; }
html body .ap-login-go:hover { background: #ff2a6d !important; border-color: #ff2a6d !important; color: #fff !important; box-shadow: 0 14px 34px -12px rgba(244, 5, 82, .8) !important; }
.ap-login-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; text-align: left; }
.ap-login-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: #a3a3a3; }
.ap-login-list li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: rgba(34, 197, 94, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17 19 7'/%3E%3C/svg%3E") center / 11px no-repeat; }
.ap-redirect { margin-top: 18px; font-size: 12.5px; color: #737373; }
.ap-redirect b { color: #e5e5e5; }

/* trailer card: the looping phoenix plays muted behind the play button */
.ap-trailer-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; pointer-events: none; z-index: 0; }
html body .a-video-screen .a-video-overlay { position: absolute; inset: 0; z-index: 1; background: radial-gradient(60% 60% at 50% 50%, rgba(0,0,0,.1), rgba(0,0,0,.65)) !important; }
html body .a-video-screen.is-playing .ap-trailer-bg, html body .a-video-screen.playing .ap-trailer-bg { display: none; }

/* ------------------------------------------------------------------ round 5 */
/* coins and tier badges float free: no square crop, no clipped zoom */
html body .store-product.a-coin .image-link,
html body .store-product.a-tier .image-link,
html body .store-product.a-coin .image,
html body .store-product.a-tier .image {
  overflow: visible !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; clip-path: none !important;
}
html body .store-product.a-coin .image-link img,
html body .store-product.a-tier .image-link img { transform-origin: 50% 60%; filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .55)) !important; }
html body .store-product.a-coin:hover .image-link img { transform: scale(1.1) rotate(-6deg) !important; filter: drop-shadow(0 18px 26px rgba(249, 115, 22, .25)) !important; }
html body .store-product.a-tier:hover .image-link img { transform: scale(1.06) translateY(-4px) !important; }

/* radio stations get their cover as a thumbnail */
html body .a-station-icon.has-art {
  width: 42px !important; height: 42px !important; border-radius: 9px !important;
  background-size: cover !important; background-position: center !important; color: transparent !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
html body .a-station-icon.has-art::before, html body .a-station-icon.has-art::after { display: none !important; }
html body .a-station.is-active .a-station-icon.has-art { box-shadow: 0 0 0 2px #f97316 !important; }

/* one shop: the old tabs and login nudges go */
html body.ap-shop-page .f-shop-tabs { display: none !important; }
.ap-login-hint { display: none !important; }
html body .ap-shop-page .a-section-head { margin-bottom: 40px !important; }

/* asset cards in the merged shop */
html body .ap-grid-items .store-product { display: flex !important; flex-direction: column; padding: 0 !important; overflow: hidden; }
html body .ap-grid-items .store-product .image-link { border-radius: 0 !important; aspect-ratio: 4 / 3; background: #0d0d0d; }
html body .ap-grid-items .store-product .image-link img { width: 100%; height: 100%; object-fit: cover; }
html body .ap-grid-items .store-product .product-title { margin: 20px 22px 0 !important; font-size: 30px !important; }
html body .ap-grid-items .store-product .product-actions { margin: auto 22px 22px !important; padding-top: 14px; display: flex; flex-direction: column; gap: 12px; }
html body .ap-grid-items .store-product .price strong { font-size: 36px !important; }
html body .a-station-icon.has-art { background: var(--art) center / cover no-repeat !important; }

/* =========================================================================
   ROUND 6 — asset cards, basket drawer, neutral login
   ========================================================================= */

/* ---------------------------------------------------------- asset cards */
html body .ap-grid-items .store-product {
  display: flex !important; flex-direction: column; padding: 10px !important; overflow: hidden;
  border-radius: 20px !important; background: #111 !important; border: 1px solid rgba(255,255,255,.07) !important;
  transition: transform .6s var(--m-ease, cubic-bezier(.22,1,.36,1)), border-color .6s var(--m-ease, cubic-bezier(.22,1,.36,1)), box-shadow .6s var(--m-ease, cubic-bezier(.22,1,.36,1)) !important;
}
html body .ap-grid-items .store-product::before, html body .ap-grid-items .store-product::after { display: none !important; }
html body .ap-grid-items .store-product:hover {
  transform: translateY(-6px); border-color: rgba(255,255,255,.14) !important;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.03) !important;
}
html body .ap-grid-items .store-product .image-link {
  position: relative; display: block !important; margin: 0 !important; padding: 0 !important;
  aspect-ratio: 1 / 1; width: 100% !important; height: auto !important;
  border-radius: 14px !important; overflow: hidden; background: #0b0b0b; isolation: isolate;
}
html body .ap-grid-items .store-product .image-link img {
  position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important;
  object-fit: cover; object-position: center; border-radius: 0 !important; margin: 0 !important;
  transform: scale(1.001); transition: transform 1.1s var(--m-ease, cubic-bezier(.22,1,.36,1)), filter .8s ease !important;
  filter: saturate(.92);
}
html body .ap-grid-items .store-product:hover .image-link img { transform: scale(1.06); filter: saturate(1.05); }
html body .ap-grid-items .store-product .image-link::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.55) 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); border-radius: inherit;
}
html body .ap-grid-items .store-product .image-link::before {
  content: attr(data-ap-kind); position: absolute; left: 12px; top: 12px; z-index: 2;
  padding: 6px 10px; border-radius: 999px; background: rgba(10,10,10,.7); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.1); color: #e5e5e5; font: 700 11px/1 'Manrope', sans-serif; letter-spacing: .08em; text-transform: uppercase;
}
html body .ap-grid-items .store-product .image-link:not([data-ap-kind])::before { display: none; }
html body .ap-grid-items .store-product .product-title { margin: 18px 10px 0 !important; font-size: 28px !important; line-height: 1 !important; }
html body .ap-grid-items .store-product .product-title a { color: #f5f5f4 !important; }
html body .ap-grid-items .store-product .product-actions {
  margin: auto 10px 8px !important; padding-top: 12px; display: grid !important; grid-template-columns: auto 1fr; align-items: center; gap: 14px;
}
html body .ap-grid-items .store-product .price { margin: 0 !important; }
html body .ap-grid-items .store-product .price strong { font-size: 30px !important; color: #f5f5f4 !important; }
html body .ap-grid-items .store-product .product-actions .add,
html body .ap-grid-items .store-product .product-actions .quantity-field { grid-column: 2; width: 100% !important; margin: 0 !important; }

/* ---------------------------------------------------------- basket drawer */
html body div.popup.basket-popup {
  background: rgba(0,0,0,.74) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
}
html body div.popup.basket-popup .popup-scroll-cont { padding: 0 !important; }
html body div.popup.basket-popup .popup-content.basket {
  position: fixed !important; top: 10px !important; right: 10px !important; bottom: 10px !important; left: auto !important;
  width: min(440px, calc(100vw - 20px)) !important; max-width: none !important; height: auto !important; min-height: 0 !important; margin: 0 !important;
  padding: 0 !important; display: flex !important; flex-direction: column !important;
  background: #0d0d0d !important; border: 1px solid rgba(255,255,255,.08) !important; border-radius: 22px !important;
  box-shadow: 0 40px 120px -20px rgba(0,0,0,.9) !important; overflow: hidden !important;
  animation: apDrawerIn .55s var(--m-ease, cubic-bezier(.22,1,.36,1)) both;
}
@keyframes apDrawerIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
html body div.popup.basket-popup .popup-content.basket::before,
html body div.popup.basket-popup .popup-content.basket::after { display: none !important; content: none !important; }

/* head */
html body div.popup.basket-popup .basket-header {
  display: block !important; position: relative; width: auto !important; height: auto !important; margin: 0 !important;
  padding: 26px 26px 20px !important; background: none !important; border: 0 !important; border-bottom: 1px solid rgba(255,255,255,.07) !important;
  border-radius: 0 !important; clip-path: none !important; flex: none;
}
html body div.popup.basket-popup .basket-header::before {
  content: "Your basket"; display: block; font: 800 32px/1 'Big Shoulders Display', sans-serif; text-transform: uppercase; color: #f5f5f4; letter-spacing: .01em;
}
html body div.popup.basket-popup .basket-header::after { display: none !important; }
html body div.popup.basket-popup .basket-title {
  display: flex !important; align-items: center; gap: 8px; margin: 10px 0 0 !important; padding: 0 !important;
  font: 500 13px/1.3 'Manrope', sans-serif !important; color: #8a8a8a !important; text-transform: none !important; letter-spacing: 0 !important;
  width: auto !important; height: auto !important; background: none !important;
}
html body div.popup.basket-popup .basket-title::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.15); }
html body div.popup.basket-popup .ap-bk-count {
  margin-left: auto; padding: 4px 9px; border-radius: 999px; background: #1a1a1a; border: 1px solid rgba(255,255,255,.08);
  color: #d4d4d4; font: 700 11.5px/1 'Manrope', sans-serif;
}
html body div.popup.basket-popup .popup-close {
  position: absolute !important; top: 22px !important; right: 22px !important; z-index: 5; width: 38px !important; height: 38px !important;
  border-radius: 50% !important; background: #171717 !important; border: 1px solid rgba(255,255,255,.08) !important; color: #d4d4d4 !important;
  transition: background .4s var(--m-ease, ease), transform .5s var(--m-ease, ease), color .3s ease !important;
}
html body div.popup.basket-popup .popup-close:hover { background: #222 !important; color: #fff !important; transform: rotate(90deg); }
html body div.popup.basket-popup .basket-second-header { display: none !important; }

/* items */
html body div.popup.basket-popup .basket-content {
  flex: 1 1 auto; min-height: 0; overflow-y: auto !important; padding: 14px 16px !important; margin: 0 !important; background: none !important;
  scrollbar-width: thin; scrollbar-color: #2a2a2a transparent;
}
html body div.popup.basket-popup .basket-items { display: grid !important; gap: 8px; margin: 0 !important; padding: 0 !important; background: none !important; }
html body div.popup.basket-popup .basket-item {
  display: grid !important; grid-template-columns: 60px minmax(0,1fr) auto; grid-template-areas: "thumb info qty" "thumb info rm";
  align-items: center; column-gap: 14px; row-gap: 6px; margin: 0 !important; padding: 12px !important;
  background: #131313 !important; border: 1px solid rgba(255,255,255,.06) !important; border-radius: 16px !important;
  clip-path: none !important; box-shadow: none !important;
  transition: border-color .4s var(--m-ease, ease), background .4s var(--m-ease, ease) !important;
}
html body div.popup.basket-popup .basket-item:hover { border-color: rgba(255,255,255,.12) !important; background: #161616 !important; }
html body div.popup.basket-popup .basket-item::before {
  content: ""; grid-area: thumb; width: 60px; height: 60px; border-radius: 12px; display: block;
  background: #1b1b1b var(--ap-thumb, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3a3a3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12l-1 13H7L6 7Z'/%3E%3Cpath d='M9 7a3 3 0 0 1 6 0'/%3E%3C/svg%3E")) center / var(--ap-thumb-size, 24px) no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
html body div.popup.basket-popup .basket-item.has-thumb::before { --ap-thumb-size: cover; }
html body div.popup.basket-popup .basket-item::after { display: none !important; }
html body div.popup.basket-popup .basket-item .info { grid-area: info; min-width: 0; padding: 0 !important; margin: 0 !important; }
html body div.popup.basket-popup .basket-item .title { margin: 0 !important; font: 700 15px/1.25 'Manrope', sans-serif !important; text-transform: none !important; letter-spacing: 0 !important; }
html body div.popup.basket-popup .basket-item .title a { color: #f5f5f4 !important; font: inherit !important; text-decoration: none; }
html body div.popup.basket-popup .basket-item .options { margin: 2px 0 0 !important; font-size: 12px !important; color: #737373 !important; }
html body div.popup.basket-popup .basket-item .options:empty { display: none !important; }
html body div.popup.basket-popup .basket-item .price { margin: 6px 0 0 !important; padding: 0 !important; background: none !important; text-align: left !important; }
html body div.popup.basket-popup .basket-item .price strong { font: 600 13.5px/1 'Manrope', sans-serif !important; color: #a3a3a3 !important; letter-spacing: 0 !important; }
html body div.popup.basket-popup .basket-item .quantity-field {
  grid-area: qty; justify-self: end; display: inline-flex !important; align-items: center; gap: 0; height: 34px !important; width: auto !important;
  margin: 0 !important; padding: 3px !important; background: #0b0b0b !important; border: 1px solid rgba(255,255,255,.08) !important; border-radius: 999px !important;
}
html body div.popup.basket-popup .basket-item .quantity-field .adjust {
  width: 28px !important; height: 28px !important; min-width: 0 !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important;
  display: grid !important; place-items: center; border-radius: 50% !important; border: 0 !important; background: transparent !important;
  color: #d4d4d4 !important; font: 600 16px/1 'Manrope', sans-serif !important; box-shadow: none !important; transition: background .3s ease, color .3s ease !important;
}
html body div.popup.basket-popup .basket-item .quantity-field .adjust:hover { background: #1f1f1f !important; color: #fff !important; }
html body div.popup.basket-popup .basket-item .quantity-field .quantity {
  width: 28px !important; height: 28px !important; padding: 0 !important; margin: 0 !important; border: 0 !important; background: none !important;
  text-align: center; color: #f5f5f4 !important; font: 700 13px/1 'Manrope', sans-serif !important; -moz-appearance: textfield; box-shadow: none !important;
}
html body div.popup.basket-popup .basket-item .quantity-field .quantity::-webkit-inner-spin-button,
html body div.popup.basket-popup .basket-item .quantity-field .quantity::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
html body div.popup.basket-popup .basket-item .remove {
  grid-area: rm; justify-self: end; display: inline-flex !important; align-items: center; gap: 5px; width: auto !important; height: auto !important; min-height: 0 !important;
  margin: 0 !important; padding: 2px 4px !important; background: none !important; border: 0 !important; box-shadow: none !important; clip-path: none !important;
  color: #737373 !important; font: 600 12px/1 'Manrope', sans-serif !important; text-transform: none !important; letter-spacing: 0 !important; transition: color .3s ease !important;
}
html body div.popup.basket-popup .basket-item .remove::before {
  content: ""; width: 13px; height: 13px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M10 11v6M14 11v6M6 7l1 13h10l1-13M9 7V4h6v3'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M10 11v6M14 11v6M6 7l1 13h10l1-13M9 7V4h6v3'/%3E%3C/svg%3E") center / contain no-repeat;
}
html body div.popup.basket-popup .basket-item .remove::after { display: none !important; }
html body div.popup.basket-popup .basket-item .remove:hover { color: #f5f5f4 !important; }

/* empty */
html body div.popup.basket-popup .basket-empty {
  display: flex !important; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px;
  min-height: 320px; height: 100%; padding: 30px !important; margin: 0 !important; background: none !important; border: 0 !important;
  color: #f5f5f4 !important; font: 700 18px/1.3 'Manrope', sans-serif !important; text-transform: none !important;
}
html body div.popup.basket-popup .basket-empty::before {
  content: ""; width: 64px; height: 64px; margin-bottom: 14px; border-radius: 18px; background: #161616 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3a3a3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12l-1 13H7L6 7Z'/%3E%3Cpath d='M9 7a3 3 0 0 1 6 0'/%3E%3C/svg%3E") center / 26px no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07);
}
html body div.popup.basket-popup .ap-bk-empty-sub { font: 500 14px/1.6 'Manrope', sans-serif; color: #8a8a8a; max-width: 260px; }
html body div.popup.basket-popup .ap-bk-empty-cta { margin-top: 18px !important; }

/* footer */
html body div.popup.basket-popup .basket-checkout {
  flex: none; display: grid !important; gap: 12px; margin: 0 !important; padding: 18px 20px 20px !important;
  background: #0b0b0b !important; border: 0 !important; border-top: 1px solid rgba(255,255,255,.07) !important; border-radius: 0 !important; clip-path: none !important;
}
html body div.popup.basket-popup .basket-checkout::before, html body div.popup.basket-popup .basket-checkout::after { display: none !important; }
html body div.popup.basket-popup .basket-checkout h3 {
  display: flex !important; align-items: baseline; justify-content: space-between; width: 100%; margin: 0 !important; padding: 0 !important;
  font: 600 14px/1 'Manrope', sans-serif !important; color: #a3a3a3 !important; text-transform: none !important; letter-spacing: 0 !important;
}
html body div.popup.basket-popup .basket-checkout h3 .total, html body div.popup.basket-popup .basket-checkout h3 strong {
  font: 800 30px/1 'Big Shoulders Display', sans-serif !important; color: #f5f5f4 !important; letter-spacing: .01em;
}
html body div.popup.basket-popup .ap-bk-note { margin: -4px 0 2px; font: 500 12px/1.4 'Manrope', sans-serif; color: #6b6b6b; }
html body div.popup.basket-popup .basket-checkout .checkout {
  width: 100% !important; height: 52px !important; min-height: 0 !important; margin: 0 !important; justify-content: center; gap: 10px;
  border-radius: 14px !important; background: #f5f5f4 !important; border: 0 !important; color: #0a0a0a !important; clip-path: none !important;
  font: 800 15px/1 'Manrope', sans-serif !important; text-transform: none !important; letter-spacing: 0 !important; box-shadow: none !important;
  transition: background .4s var(--m-ease, ease), transform .4s var(--m-ease, ease), box-shadow .4s var(--m-ease, ease) !important;
}
html body div.popup.basket-popup .basket-checkout .checkout::before { display: none !important; }
html body div.popup.basket-popup .basket-checkout .checkout::after {
  content: "" !important; display: block !important; position: static !important; inset: auto !important; width: 16px !important; height: 16px !important; opacity: 1 !important;
  background: currentColor !important; transform: none !important; transition: transform .4s var(--m-ease, ease) !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
html body div.popup.basket-popup .basket-checkout .checkout:hover { background: #fff !important; transform: translateY(-1px); box-shadow: 0 16px 36px -16px rgba(255,255,255,.35) !important; }
html body div.popup.basket-popup .basket-checkout .checkout:hover::after { transform: translateX(4px) !important; }
html body div.popup.basket-popup .ap-bk-continue {
  display: block; width: 100%; padding: 6px 0 0; background: none; border: 0; cursor: pointer; text-align: center;
  font: 600 13px/1 'Manrope', sans-serif; color: #8a8a8a; transition: color .3s ease;
}
html body div.popup.basket-popup .ap-bk-continue:hover { color: #f5f5f4; }
@media (max-width: 520px) {
  html body div.popup.basket-popup .popup-content.basket { top: auto !important; left: 8px !important; right: 8px !important; bottom: 8px !important; width: auto !important; max-height: 88vh; }
}

/* ---------------------------------------------------------- login: neutral, no pink */
html body .ap-login { text-align: center; }
html body .ap-login-badge {
  width: 60px; height: 60px; margin: 0 auto 20px; border-radius: 18px; font-size: 0 !important; color: transparent !important;
  background: #171717 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8.5' r='3.5'/%3E%3Cpath d='M5 20a7 7 0 0 1 14 0'/%3E%3C/svg%3E") center / 26px no-repeat !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.09) !important;
}
html body .ap-login-go {
  background: #f5f5f4 !important; border-color: #f5f5f4 !important; color: #0a0a0a !important; border-radius: 14px !important;
  font-weight: 800 !important; box-shadow: none !important;
}
html body .ap-login-go:hover { background: #fff !important; border-color: #fff !important; color: #0a0a0a !important; box-shadow: 0 16px 36px -16px rgba(255,255,255,.35) !important; transform: translateY(-1px); }
html body .ap-login-list li::before {
  background: #171717 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4d4d4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17 19 7'/%3E%3C/svg%3E") center / 10px no-repeat !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}

/* popups: calm solid backdrop (no blur), login card without the pink glow */
html body .popup { background: rgba(0,0,0,.76) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
html body .ap-login { background: #111 !important; border: 1px solid rgba(255,255,255,.08) !important; }
html body .popup .ap-login { background: none !important; border: 0 !important; box-shadow: none !important; padding: 40px 34px 34px !important; max-width: 460px; }
html body .popup .popup-content:has(.ap-login) { max-width: 480px !important; background: #0f0f0f !important; }
html body .ap-login h1 { letter-spacing: .01em; }
html body .ap-login p { color: #9a9a9a !important; }
html body div.popup.basket-popup .basket-empty::after { content: none !important; display: none !important; }

/* =========================================================================
   ROUND 7 — live background, test-run fixes
   ========================================================================= */
.ap-bg { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 1.6s cubic-bezier(.22,1,.36,1); }
.ap-bg.is-on { opacity: 1; }
html.has-ap-bg { background: #0a0a0a !important; }
html.has-ap-bg body { background: transparent !important; }
html.has-ap-bg .a-hero-plate { background: none !important; }
html.has-ap-bg .a-hero-plate::after { background: linear-gradient(90deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.15) 45%, rgba(10,10,10,0) 60%) !important; }

/* station thumbnails on the selected station too */
html body .a-station .a-station-icon.has-art,
html body .a-station.is-active .a-station-icon.has-art { background: var(--art) center / cover no-repeat !important; }

/* package popup always fits on screen */
@media (min-width: 901px) {
  html body .store-product-popup .popup-content {
    height: min(700px, calc(100vh - 64px)) !important; max-height: calc(100vh - 64px) !important;
    grid-template-rows: auto auto minmax(0, 1fr) !important; margin: 32px auto !important;
  }
  html body .store-product-popup .popup-content > .image {
    grid-row: 1 / -1 !important; min-height: 0 !important; height: 100% !important; padding: 48px !important;
    background: radial-gradient(70% 60% at 50% 45%, rgba(249,115,22,.07), transparent 70%), #0b0b0b !important;
  }
  html body .store-product-popup .popup-content > .descr { max-height: none !important; min-height: 0; overflow: auto; margin-bottom: 30px !important; }
}
html body .store-product-popup .popup-content > .descr { scrollbar-width: thin; scrollbar-color: #2e2e2e transparent; }

/* login content inside popups (Tebex lifts it out of its wrapper) */
html body .popup .popup-content:has(> .ap-login-go) { text-align: center !important; }
html body .popup .popup-content:has(> .ap-login-go) > h1 { margin: 0 0 12px !important; text-align: center; }
html body .popup .popup-content:has(> .ap-login-go) > p { color: #9a9a9a !important; max-width: 380px; margin: 0 auto 24px !important; font-size: 15px; line-height: 1.65; }
html body .popup .popup-content:has(> .ap-login-go) > .ap-login-go { display: flex !important; align-items: center; justify-content: center; width: 100%; min-height: 54px; }
html body .popup .popup-content:has(> .ap-login-go) > .ap-login-list { max-width: 340px; margin: 24px auto 0 !important; }
html body div.popup.basket-popup .popup-content.basket:has(> .ap-login-go) { padding: 40px 32px !important; justify-content: center !important; }

/* phone menu: solid full-height panel */
html body.show-navigation { overflow: hidden; }
html body.show-navigation .site-navigation.open {
  top: 74px !important; bottom: 0 !important; height: auto !important; max-height: none !important;
  background: #0a0a0a !important; padding: 8px 24px 32px !important; overflow-y: auto !important;
  display: flex !important; flex-direction: column !important; border-top: 1px solid rgba(255,255,255,.06);
  animation: m-fade .35s cubic-bezier(.22,1,.36,1) both;
}
html body.show-navigation .site-navigation.open .navigation-list > li > a {
  display: block; padding: 16px 0 !important; color: #d4d4d4 !important; border-bottom: 1px solid rgba(255,255,255,.06);
  font: 800 30px/1 'Big Shoulders Display', sans-serif !important; text-transform: uppercase; letter-spacing: .01em;
}
html body.show-navigation .site-navigation.open .navigation-list > li > a::after { display: none !important; }
html body.show-navigation .site-navigation.open .navigation-list > li > a.link-active { color: #fff !important; }
html body.show-navigation .site-navigation.open .close-navigation {
  margin-top: 28px !important; width: 100%; height: 48px; border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,.1) !important; background: #141414 !important; color: #d4d4d4 !important;
}


/* =========================================================================
   ROUND 8 — phone polish: swipe rows instead of endless stacks
   ========================================================================= */
@media (max-width: 700px) {
  html body .a-tier-grid, html body .ap-grid-tiers, html body .a-steps {
    display: flex !important; flex-wrap: nowrap !important; grid-template-columns: none !important; gap: 12px !important;
    overflow-x: auto !important; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
    margin-left: -24px !important; margin-right: -24px !important; padding: 8px 24px 22px !important; scroll-padding-left: 24px;
    scrollbar-width: none;
  }
  html body .a-tier-grid::-webkit-scrollbar, html body .ap-grid-tiers::-webkit-scrollbar, html body .a-steps::-webkit-scrollbar { display: none; }
  html body .a-tier-grid > *, html body .ap-grid-tiers > *, html body .a-steps > * {
    flex: 0 0 84% !important; width: 84% !important; max-width: none !important; min-width: 0; margin: 0 !important; scroll-snap-align: start;
  }
  html body .a-tier-grid > .m-pre, html body .ap-grid-tiers > .m-pre, html body .a-steps > .m-pre { opacity: 1 !important; transform: none !important; }
  html body .ap-swipe-hint { display: flex; align-items: center; gap: 8px; margin: -6px 0 6px; color: #737373; font: 600 12px/1 'Manrope', sans-serif; letter-spacing: .02em; }
  html body .ap-swipe-hint i { display: flex; gap: 5px; margin-left: auto; }
  html body .ap-swipe-hint b { width: 6px; height: 6px; border-radius: 99px; background: #2e2e2e; transition: width .4s cubic-bezier(.22,1,.36,1), background .4s ease; }
  html body .ap-swipe-hint b.on { width: 18px; background: #e5e5e5; }

  html body .a-coin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }

  html body .a-step { padding: 22px 20px !important; }
  html body .a-step-n { font-size: 34px !important; margin-bottom: 10px !important; }

  /* package popup: price and buy button right under the picture */
  html body .store-product-popup .popup-content > .actions { order: 0 !important; }

  /* keep the floating player off the last lines of the page */
  html body:has(.ap-dock.is-on) .site-footer { padding-bottom: 104px !important; }
}
@media (min-width: 701px) { html body .ap-swipe-hint { display: none; } }

/* radio main button: real play / pause icons (the old one always showed a play arrow) */
html body .a-ctrl-main { font-size: 0 !important; display: grid !important; place-items: center; }
html body .a-ctrl-main::before {
  content: ""; width: 20px; height: 20px; background: currentColor; transition: transform .35s cubic-bezier(.22,1,.36,1);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13a1 1 0 0 0 1.5.86l10.4-6.5a1 1 0 0 0 0-1.72L9.5 4.64A1 1 0 0 0 8 5.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13a1 1 0 0 0 1.5.86l10.4-6.5a1 1 0 0 0 0-1.72L9.5 4.64A1 1 0 0 0 8 5.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
html body .a-ctrl-main.is-playing::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='6' y='5' width='4' height='14' rx='1.2'/%3E%3Crect x='14' y='5' width='4' height='14' rx='1.2'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='6' y='5' width='4' height='14' rx='1.2'/%3E%3Crect x='14' y='5' width='4' height='14' rx='1.2'/%3E%3C/svg%3E");
}
html body .a-ctrl-main:active::before { transform: scale(.88); }


/* =========================================================================
   ROUND 9 — full logo, header ember line, Discord button, payment chips
   ========================================================================= */
/* header: a thin ember line along the bottom edge that drifts slowly */
html body .site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; pointer-events: none; z-index: 2;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.06) 20%, rgba(249,115,22,.55) 50%, rgba(255,255,255,.06) 80%, rgba(255,255,255,0) 100%);
  background-size: 160% 100%; background-position: 50% 0;
  animation: apHeadLine 10s cubic-bezier(.45,0,.55,1) infinite alternate;
}
html body .site-header::before {
  content: ""; position: absolute; left: 30%; right: 30%; bottom: -14px; height: 28px; pointer-events: none; z-index: 1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(249,115,22,.12), rgba(249,115,22,0) 70%);
  animation: apHeadGlow 10s cubic-bezier(.45,0,.55,1) infinite alternate;
}
@keyframes apHeadLine { from { background-position: 0% 0; } to { background-position: 100% 0; } }
@keyframes apHeadGlow { from { transform: translateX(-18%); opacity: .7; } to { transform: translateX(18%); opacity: 1; } }

/* Discord button with its icon */
html body .site-header .a-discord { display: inline-flex !important; align-items: center; gap: 8px; }
html body .site-header .a-discord svg { width: 17px; height: 17px; flex: none; transition: transform .45s cubic-bezier(.22,1,.36,1), color .3s ease; }
html body .site-header .a-discord:hover svg { transform: rotate(-8deg) scale(1.1); color: #8f97ff; }
@media (max-width: 700px) {
  html body .site-header .a-discord { width: 40px; padding: 0 !important; justify-content: center; }
  html body .site-header .a-discord span { display: none; }
}

/* the full emblem in the hero */
html body .a-hero-logo-full {
  width: min(100%, 560px) !important; height: auto !important; max-height: none !important; object-fit: contain;
  filter: drop-shadow(0 30px 70px rgba(249,115,22,.16)) drop-shadow(0 10px 24px rgba(0,0,0,.7));
  animation: apFloat 7s cubic-bezier(.45,0,.55,1) infinite alternate;
}
@keyframes apFloat { from { transform: translateY(-6px); } to { transform: translateY(8px); } }
@media (max-width: 700px) { html body .a-hero-logo-full { width: min(78%, 320px) !important; } }

/* payment logos: same size chips, Visa readable on the light chip */
html body .site-footer .we-accept { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
html body .site-footer .we-accept li { display: grid !important; place-items: center; width: 52px; height: 32px; padding: 0 !important; border-radius: 8px !important; background: #f5f5f4 !important; }
html body .site-footer .we-accept img { max-width: 36px !important; max-height: 20px !important; width: auto !important; height: auto !important; object-fit: contain; }
html body .site-footer .we-accept img[src*="visa"] { filter: brightness(0) !important; max-height: 13px !important; }
html body .site-footer .we-accept li:has(img[style*="display: none"]) { display: none !important; }

/* phones: paused player tucks away on the first screen */
html body .ap-dock.ap-peek-hide { transform: translateY(140%) !important; opacity: 0 !important; pointer-events: none !important; }

/* hero emblem: centred on the headline, slow "breathing" with an ember aura */
html body .f-hero-grid { align-items: center !important; }
html body .f-hero-art { align-self: center !important; align-items: center !important; position: relative; isolation: isolate; }
html body .f-hero-art::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 78%; aspect-ratio: 1; border-radius: 50%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(249,115,22,.20), rgba(249,115,22,.06) 55%, rgba(249,115,22,0));
  transform: translate(-50%, -48%) scale(.94); will-change: transform, opacity;
  animation: apAura 6s cubic-bezier(.45,0,.55,1) infinite;
}
html body .a-hero-logo-full {
  filter: drop-shadow(0 24px 50px rgba(0,0,0,.65)) !important;
  transform-origin: 50% 58%; will-change: transform;
  animation: apBreath 6s cubic-bezier(.45,0,.55,1) infinite !important;
}
@keyframes apBreath { 0%, 100% { transform: translateY(2px) scale(1); } 50% { transform: translateY(-6px) scale(1.04); } }
@keyframes apAura { 0%, 100% { opacity: .5; transform: translate(-50%, -48%) scale(.92); } 50% { opacity: 1; transform: translate(-50%, -48%) scale(1.08); } }

/* 3D emblem: sits over the flat logo, which fades out once the model is ready */
html body .f-hero-art .ap-hero3d {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1; pointer-events: none;
  opacity: 0; transition: opacity 1.4s cubic-bezier(.22,1,.36,1);
}
html body .f-hero-art .ap-hero3d canvas { display: block; }
html body .f-hero-art.is-3d .ap-hero3d { opacity: 1; }
html body .f-hero-art.is-3d > img { opacity: 0 !important; transition: opacity .9s ease !important; }

/* hero: equal space above and below the content on desktop */
@media (min-width: 901px) {
  html body .a-hero.f-hero { padding-top: 76px !important; flex-direction: column !important; }
  html body .a-hero.f-hero > .a-wrap.f-hero-grid { margin-top: auto !important; margin-bottom: auto !important; padding-bottom: 0 !important; }
}
/* header edge: quieter, glassy instead of a sharp orange line */
html body .site-header::after {
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.05) 22%, rgba(249,115,22,.22) 50%, rgba(255,255,255,.05) 78%, rgba(255,255,255,0) 100%) !important;
  background-size: 160% 100% !important; opacity: .85;
}
html body .site-header::before {
  height: 34px !important; bottom: -17px !important; filter: blur(6px);
  background: radial-gradient(50% 50% at 50% 50%, rgba(249,115,22,.06), rgba(249,115,22,0) 70%) !important;
}

/* performance: the header line and glow move with transforms only (no repaints
   under the frosted header), and the hidden flat logo stops animating */
html body .site-header { overflow-x: clip; overflow-y: visible; }
html body .site-header::after {
  left: -50% !important; right: auto !important; width: 200% !important;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.04) 30%, rgba(249,115,22,.22) 50%, rgba(255,255,255,.04) 70%, rgba(255,255,255,0) 100%) !important;
  background-size: 100% 100% !important; animation: apHeadLine2 12s cubic-bezier(.45,0,.55,1) infinite alternate !important; will-change: transform;
}
html body .site-header::before { filter: none !important; will-change: transform, opacity; }
@keyframes apHeadLine2 { from { transform: translateX(-12%); } to { transform: translateX(12%); } }
html body .f-hero-art.is-3d > img { animation: none !important; }
html body .f-hero-art.is-3d::before { animation-duration: 6s; }

/* softer ember aura behind the 3D emblem */
html body .f-hero-art::before { background: radial-gradient(closest-side, rgba(249,115,22,.10), rgba(249,115,22,.03) 55%, rgba(249,115,22,0)) !important; }

/* eyes ignite when a button is hovered: the aura flares red with them */
html body .f-hero-art::before { transition: filter .6s ease; }
html body .f-hero-art.eyes-on::before {
  background: radial-gradient(closest-side, rgba(255,60,20,.22), rgba(255,60,20,.06) 50%, rgba(255,60,20,0)) !important;
}

/* quieter film grain, so flat dark areas (footer, inner pages) never look grey or noisy */
html body::after { opacity: .4 !important; }
/* the footer blends into the page instead of sitting on a flat grey slab */
html body .site-footer.f-footer {
  background: linear-gradient(180deg, rgba(10,10,10,0) 0%, rgba(8,8,8,.85) 160px, #080808 100%) !important;
}

/* payment chips drawn by the site itself (the payment-logo CDN is unreliable) */
html body .site-footer .we-accept .ap-pay { font: 800 11px/1 'Manrope', sans-serif; letter-spacing: .01em; color: #111; display: inline-flex; align-items: center; gap: 2px; }
html body .site-footer .we-accept .ap-pay-visa { font: italic 900 13px/1 'Manrope', sans-serif; color: #1a1f71; letter-spacing: .02em; }
html body .site-footer .we-accept .ap-pay-amex { background: #2e77bc; color: #fff; padding: 4px 5px; border-radius: 3px; font-size: 9px; }
html body .site-footer .we-accept .ap-pay-mc { gap: 0; }
html body .site-footer .we-accept .ap-pay-mc i { width: 14px; height: 14px; border-radius: 50%; display: block; }
html body .site-footer .we-accept .ap-pay-mc i:first-child { background: #eb001b; }
html body .site-footer .we-accept .ap-pay-mc i:last-child { background: #f79e1b; margin-left: -6px; mix-blend-mode: multiply; }
html body .site-footer .we-accept .ap-pay-g b { color: #4285f4; }
