/* Preview refinements for the current live Rift storefront. */
.hero-section { isolation: isolate; }
.site-header { transition: background-color 250ms, border-color 250ms; }
.hero-soldiers-bg {
  mix-blend-mode: screen;
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 22%, rgba(0,0,0,.8) 48%, transparent 100%) !important;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 22%, rgba(0,0,0,.8) 48%, transparent 100%) !important;
}
.nav-mega {
  width: 380px;
  max-width: calc(100vw - 32px);
  padding: 10px;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
  animation: rift-menu-in 140ms ease-out;
}
.nav-mega-grid { gap: 6px; }
.nav-mega-item { min-height: 44px; padding: 10px 12px; transition: background-color 140ms, border-color 140ms; }
.nav-mega-item:hover, .nav-mega-item:hover .nav-mega-arrow { transform: none; }
.nav-mega-arrow, .nav-caret { transition: none !important; }
.nav-dropdown:hover .nav-mega { display: none; }
.nav-dropdown.is-open .nav-mega, .nav-dropdown.is-hovered .nav-mega { display: block; }
.nav-link:focus-visible, .nav-mega-item:focus-visible, .rift-product-link:focus-visible,
.store-filter-btn:focus-visible { outline: 2px solid #ff2a85; outline-offset: 4px; }
#cart-drawer-panel { max-width: 360px; width: calc(100vw - 24px); }
#cart-drawer.is-open #cart-drawer-panel { transform: translateX(0); }
#cart-drawer .cart-panel { max-width: 360px !important; width: calc(100vw - 24px) !important; }
@keyframes rift-menu-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 1023px) {
  .site-header .site-nav {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: auto !important;
    right: 16px !important;
    transform: none !important;
    width: min(344px, calc(100% - 32px)) !important;
    max-height: min(520px, calc(100svh - 96px));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px !important;
    gap: 4px !important;
    background: #101219 !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(0,0,0,.55);
    z-index: 1050;
    align-items: stretch !important;
    flex-direction: column !important;
  }
  .site-header .site-nav:not(.is-compact-open) { display: none !important; }
  .site-header .site-nav.is-compact-open { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)); animation: rift-menu-in 140ms ease-out; }
  .site-nav > .nav-link, .site-nav .nav-dropdown-trigger { padding: 12px; width: 100%; justify-content: space-between; }
  .site-nav .nav-dropdown { display: block; padding: 0; margin: 0; width: 100%; grid-column: 1/-1; }
  .site-nav .nav-mega {
    position: static;
    width: 100%;
    max-width: 100%;
    margin: 0 0 6px;
    padding: 6px;
    box-shadow: none;
    border: 0;
    background: #0b0d13;
    transform: none;
  }
  .nav-mega-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 6px; }
  .nav-mega-item { padding: 9px; min-height: 42px; }
  .nav-mega-logo { max-width: 88px; height: 18px; }
  .nav-mega-name { font-size: 12px; }
  .nav-mega::before { display: none; }
}
.nav-mega-logo[src*="ARC"] { filter: brightness(0) invert(1); }
/* Catalog: quiet page chrome, clear game identity and a single action. */
body.rift-store-review {
  background: #090a0f;
  background-image: radial-gradient(ellipse at 50% 0%, rgba(255,42,133,.055), transparent 50%);
}
.rift-store-review #storeCatalogSection,
.rift-store-review #storeCatalogSection + section { max-width: 1224px; padding-inline: 28px; }
.rift-store-review #storeCatalogSection { padding-top: 48px; padding-bottom: 0; }
.rift-store-review #storeCatalogSection > div:first-child { align-items: center; padding-bottom: 28px; }
.rift-store-review #storeCatalogSection h1 { font-size: clamp(28px,3vw,40px); line-height: 1.15; }
.rift-store-review #storeCatalogSection p { max-width: 540px; color: #999da9; line-height: 1.6; }
.rift-store-review .rift-store-toolbar { margin-top: 24px; gap: 16px; }
.rift-store-review .rift-store-filters { flex-wrap: wrap; overflow: visible; gap: 8px; }
.rift-store-review .store-filter-btn { border-radius: 8px; padding: 9px 14px; color: #acafbd; background: transparent; transition: color 140ms, background-color 140ms; }
.rift-store-review .store-filter-btn.active { color: #fff; background: #25202d; border-color: #b93074; box-shadow: none; }
.rift-store-review .rift-store-search { max-width: 100%; }
.rift-store-review #storeSearchInput { font-size: 14px; padding: 12px 42px; background: #101219; border-radius: 10px; }
.rift-store-review .rift-store-search > i { top: 16px; left: 16px; }
.rift-store-review .rift-results-count { color: #898d9c; font-size: 13px; margin: 20px 0 0; }
.rift-store-review #storeCatalogSection + section { padding-top: 20px; }
.rift-store-review #storeGrid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.rift-product { min-width: 0; border: 1px solid #252833; background: #101219; border-radius: 14px; overflow: hidden; transition: border-color 140ms; }
.rift-product:hover { border-color: #5c3450; }
.rift-product-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: #fff; }
.rift-product-art { position: relative; aspect-ratio: 16/10; background: #14131c; overflow: hidden; }
.rift-product-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rift-product-status { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; align-items: center; padding: 5px 9px; border-radius: 6px; background: rgba(9,15,17,.92); color: #6fddb3; font-size: 11px; font-weight: 600; }
.rift-product-status::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.rift-product-status.is-other { color: #f6c76e; }
.rift-product-info { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.rift-product-game { font-size: 12px; color: #a4a6b5; margin-bottom: 5px; }
.rift-product h2 { font-size: 20px; font-weight: 750; line-height: 1.3; letter-spacing: -.5px; margin: 0; }
.rift-product-description { color: #9296a5; font-size: 13px; line-height: 1.6; margin: 10px 0 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px; }
.rift-product-bottom { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 16px; border-top: 1px solid #252833; }
.rift-product-price small { display: block; font-size: 11px; color: #979aa8; margin-bottom: 2px; }
.rift-product-price strong { font-size: 21px; font-weight: 750; letter-spacing: -.5px; }
.rift-product-action { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 650; padding: 10px 12px; border: 1px solid #974263; border-radius: 8px; background: #542239; color: #ffe1ed; transition: background-color 140ms, border-color 140ms; }
.rift-product-link:hover .rift-product-action { background: #71304b; border-color: #c65385; color: white; }
#productsGrid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.rift-client-review main { max-width: 1180px; }
.rift-client-review .header-actions > button { transition: background-color 150ms, border-color 150ms, color 150ms; }
.rift-client-review .mobbin-card, .rift-client-review .mobbin-metric-card { min-width: 0; }
.rift-client-review .nav-tab-pill, .rift-client-review .cat-pill { min-height: 44px; }
.rift-client-review .modal-backdrop { padding: 16px; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; }
.rift-client-review .modal-backdrop > .mobbin-card { max-height: calc(100dvh - 32px); overflow-y: auto; }
.rift-client-review button:focus-visible, .rift-client-review a:focus-visible { outline: 2px solid #ff2a85; outline-offset: 3px; }
.rift-product-empty { grid-column: 1/-1; padding: 64px 20px; text-align: center; }
.rift-product-empty p { color: #9ca0ae; margin: 8px 0 18px; }
@media (max-width: 1023px) { .rift-store-review #storeGrid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) {
  .site-header { padding-inline: 16px; }
  .header-lead, .site-logo { flex-shrink: 0; }
  .header-actions { gap: 8px; }
  .header-action-btn { width: 32px; height: 36px; }
  .header-actions .header-action-btn { min-width: 28px; padding-inline: 4px; flex-shrink: 0; }
  .product-box-container { overflow: hidden; }
  .downloads-footer > div > div:has(> a) { display: flex !important; flex-wrap: wrap; max-width: 100%; justify-content: center; gap: 14px !important; }
  .prefs-button { padding: 6px 8px; }
  .btn-ghost { padding: 8px 10px; }
  .rift-store-review #storeCatalogSection, .rift-store-review #storeCatalogSection + section { padding-inline: 20px; }
  .rift-store-review #storeCatalogSection { padding-top: 28px; }
  .rift-store-review #storeCatalogSection > div:first-child { align-items: flex-start; gap: 18px; }
  .rift-store-review #storeGrid { grid-template-columns: 1fr; gap: 20px; }
  .rift-store-review .store-filter-btn { font-size: 12px; padding: 8px 11px; }
  #productsGrid { grid-template-columns: 1fr; gap: 20px; }
  .rift-product-action { min-height: 44px; }
  .rift-client-review .site-header { gap: 10px; }
  .rift-client-review .site-header > .header-action-btn { flex-shrink: 0; min-width: 32px; width: 32px; }
  .rift-client-review .header-actions { margin-left: auto; gap: 8px; }
  .rift-client-review .header-actions > button { min-height: 44px; padding: 8px 10px; font-size: 11px; border-radius: 10px; box-shadow: none; white-space: nowrap; }
  .rift-client-review main { padding-top: 20px; }
  .rift-client-review #authStatusBanner { padding: 16px; gap: 16px; }
  .rift-client-review #authStatusBanner > div:last-child { width: 100%; align-self: stretch; }
  .rift-client-review #authStatusBanner > div:last-child button { flex: 1; justify-content: center; min-height: 44px; }
  .rift-client-review main > section:first-of-type { gap: 10px; }
  .rift-client-review .mobbin-metric-card { padding: 14px 16px; }
  .rift-client-review main > div:has(#tabBtnLicenses) { gap: 12px; }
  .rift-client-review div:has(> #tabBtnLicenses) { display: grid; grid-template-columns: 1fr; width: 100%; overflow: visible; gap: 4px; }
  .rift-client-review .nav-tab-pill { width: 100%; justify-content: flex-start; padding: 11px 12px; }
  .rift-client-review #tabViewLicenses div:has(> .cat-pill) { flex-wrap: wrap; overflow: visible; }
  .rift-client-review #licensesContainer .mobbin-card { padding: 16px; }
  .rift-client-review #licensesContainer .mobbin-card > .flex { flex-wrap: wrap; gap: 10px; }
  .rift-client-review #licensesContainer .mobbin-card > .flex > div { min-width: 0; }
  .rift-client-review #licensesContainer .mobbin-card .justify-center { flex-wrap: wrap; }
  .rift-client-review #licensesContainer .mobbin-card .justify-center button { justify-content: center; }
  .rift-client-review #licensesContainer .mobbin-card h3 { overflow-wrap: anywhere; }
  .rift-client-review #licensesContainer button, .rift-client-review #licensesContainer a { min-height: 44px; display: inline-flex; align-items: center; }
  .rift-client-review .key-input-container { gap: 8px; }
  .rift-client-review #tabViewConnections .mobbin-card, .rift-client-review #tabViewOrders .mobbin-card { padding: 18px; }
  .rift-client-review #tabViewConnections .flex.justify-between { flex-wrap: wrap; gap: 8px; }
  .rift-client-review input, .rift-client-review select, .rift-client-review textarea { font-size: 16px; min-height: 44px; }
}
@media (min-width: 601px) and (max-width: 1023px) { #productsGrid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (prefers-reduced-motion: reduce) {
  .nav-mega, .site-nav, .rift-product, .hero-content [data-aos] { animation: none !important; transition: none !important; }
  .hero-content [data-aos] { opacity: 1 !important; transform: none !important; }
}
@media (max-width: 360px) {
  .site-header { padding-inline: 12px; }
  .header-actions { gap: 4px; }
  .header-actions .header-action-btn { width: 28px; }
  .prefs-button { gap: 4px; }
  .prefs-button > svg, .prefs-dot { display: none; }
  .btn-ghost { padding-inline: 8px; }
}
