/* ==========================================================================
   Asmar Studio v2 — Obsidian & Brushed Gold Editorial Design System
   Approved 2026-11-26 — Applied to live asmar-ar.com without breaking hooks
   ========================================================================== */

:root {
  --as-bg: #07090d;
  --as-elev: #0e1219;
  --as-card: #121721;
  --as-card-hi: #171d2a;
  --as-ink: #f5f1e8;
  --as-ink-soft: #b6bfce;
  --as-ink-muted: #7c8698;
  --as-gold: #e0b96c;
  --as-gold-hi: #f4d99b;
  --as-gold-lo: #a6823a;
  --as-emerald: #34d399;
  --as-line: rgba(245, 241, 232, 0.085);
  --as-line-strong: rgba(245, 241, 232, 0.16);
  --as-gold-line: rgba(224, 185, 108, 0.34);
  --as-radius-sm: 10px;
  --as-radius-md: 16px;
  --as-radius-lg: 24px;
  --as-container: 1320px;
  --as-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html, body {
  background: var(--as-bg) !important;
  color: var(--as-ink) !important;
  font-family: Asmar, system-ui, -apple-system, sans-serif !important;
  overflow-x: clip !important;
}

/* Neutralize legacy unstyled chrome only — keep #asmarRichAds Studio v2 Side Rails! */
#asmarSideRails,
#asmarAdsStrip,
#asmarGearBanner,
.intro {
  display: none !important;
}

body.asmar-has-rich-ads,
body.asmar-has-rails {
  padding-inline: 0 !important;
}

/* Studio v2 Full-Canvas Side Rails Layout on Desktop >= 1280px:
   - Zero dead black gutters on 1440p, 1080p, AND 2560x1440 QHD/4K screens!
   - Full-width Sticky Header aligns edge-to-edge with both side rails
   - Center stage (#main + footer) fills 100% of space cleanly between Left & Right rails */
.asmar-studio-rails {
  display: none;
}

@media (min-width: 1280px) {
  .asmar-studio-rails {
    display: block !important;
    position: fixed;
    inset: 0;
    z-index: 40;
    pointer-events: none;
  }
  .asmar-srail {
    position: fixed;
    top: 124px;
    bottom: 12px;
    width: 196px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    scrollbar-width: none;
    pointer-events: auto;
    padding-bottom: 12px;
  }
  .asmar-srail::-webkit-scrollbar { display: none; }
  .asmar-srail.left { left: 12px; right: auto; }
  .asmar-srail.right { right: 12px; left: auto; }

  body.asmar-has-studio-rails #main,
  body.asmar-has-studio-rails footer.footer {
    padding-inline: 222px !important;
    max-width: none !important;
    width: 100% !important;
  }
  body.asmar-has-studio-rails .shell,
  body.asmar-has-studio-rails #main .shell {
    max-width: none !important;
    width: 100% !important;
    margin-inline: auto !important;
  }
  body.asmar-has-studio-rails .asmar-live-top .rw-top-in,
  body.asmar-has-studio-rails .asmar-live-top .rw-corners-in {
    max-width: none !important;
    width: 100% !important;
    padding-inline: 16px !important;
  }
}

@media (min-width: 1680px) {
  .asmar-srail {
    width: 218px;
  }
  .asmar-srail.left { left: 14px; }
  .asmar-srail.right { right: 14px; }
  body.asmar-has-studio-rails #main,
  body.asmar-has-studio-rails footer.footer {
    padding-inline: 248px !important;
  }
}

@media (min-width: 2200px) {
  .asmar-srail {
    width: 244px;
    gap: 14px;
  }
  .asmar-srail.left { left: 16px; }
  .asmar-srail.right { right: 16px; }
  body.asmar-has-studio-rails #main,
  body.asmar-has-studio-rails footer.footer {
    padding-inline: 278px !important;
  }
}

/* ==========================================================================
   ATELIER VITRINE — ARTISTIC LUXURY SIDE SHOWCASES
   - Arabian Arch Illuminated Pedestal Stage
   - Rotating Liquid-Gold Specular Border (@property --av-rot)
   - Live 3-Deal Hot Discovery Feed
   - Cinematic G2G VIP Card with Clickable Mini Game Covers
   ========================================================================== */
@property --av-rot {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@keyframes avGoldOrbit {
  to { --av-rot: 360deg; }
}
@keyframes avFadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.av-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background:
    radial-gradient(240px 140px at 50% -10%, rgba(224, 185, 108, 0.18), transparent 72%),
    linear-gradient(180deg, rgba(16, 21, 32, 0.80) 0%, rgba(9, 12, 18, 0.86) 100%);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  border: 1px solid rgba(224, 185, 108, 0.26);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.50), inset 0 1px 0 rgba(255, 241, 206, 0.16);
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.26s var(--as-ease), border-color 0.26s var(--as-ease), box-shadow 0.26s var(--as-ease);
}
.av-card:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 217, 155, 0.58);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.65), 0 0 26px rgba(224, 185, 108, 0.15);
}

/* Signature Liquid-Gold Orbiting Rim on Hero Vitrine */
.av-liquid-gold {
  border: 1.5px solid transparent;
  background:
    linear-gradient(180deg, #131926 0%, #090c12 100%) padding-box,
    conic-gradient(from var(--av-rot), rgba(224, 185, 108, 0.14) 0deg, #f8e2a9 42deg, #dca952 90deg, rgba(224, 185, 108, 0.12) 150deg, rgba(224, 185, 108, 0.14) 360deg) border-box;
  animation: avGoldOrbit 9s linear infinite;
}

.av-vhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.av-vhead-title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: Kufi, Asmar, sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--as-gold-hi);
  letter-spacing: 0.01em;
}
.av-vhead-title i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--as-gold-hi);
  box-shadow: 0 0 10px var(--as-gold);
}
.av-next-btn {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  border: 1px solid rgba(224, 185, 108, 0.28);
  background: rgba(224, 185, 108, 0.08);
  color: var(--as-gold-hi);
  font-size: 13px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.16s ease, transform 0.16s ease;
}
.av-next-btn:hover {
  background: rgba(224, 185, 108, 0.24);
  transform: scale(1.06);
}

/* In-Card Interactive Department Switcher */
.av-minitabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 7px 9px 6px;
  background: rgba(5, 7, 11, 0.55);
}
.av-mtab {
  height: 24px;
  padding: 0 2px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: transparent;
  color: var(--as-ink-muted);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
}
.av-mtab:hover { color: var(--as-ink); }
.av-mtab.on {
  color: #110d05;
  background: linear-gradient(180deg, #f4d99b, #d8a34c);
  border-color: rgba(255, 241, 206, 0.55);
  font-weight: 900;
}

.av-prog {
  height: 2px;
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
}
.av-prog > i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--as-gold-lo), var(--as-gold-hi));
}

.av-slide-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.av-fade-in {
  animation: avFadeUp 0.38s var(--as-ease) both;
}

/* ARABIAN ARCH MUSEUM PEDESTAL STAGE (KILLS FLAT WHITE BOX AD BLINDNESS!) */
.av-arch-stage {
  position: relative;
  padding: 14px 14px 10px;
  background:
    radial-gradient(130px 90px at 50% 0%, rgba(244, 217, 155, 0.22), transparent 72%),
    linear-gradient(180deg, #0c1019 0%, #141a26 100%);
  display: flex;
  justify-content: center;
  overflow: hidden;
}
.av-arch-beam {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 70px;
  background: radial-gradient(ellipse at top, rgba(244, 217, 155, 0.34), transparent 72%);
  pointer-events: none;
}
.av-arch-window {
  position: relative;
  width: 100%;
  height: 126px;
  border-radius: 76px 76px 14px 14px;
  background: radial-gradient(circle at 50% 42%, #ffffff 0%, #f5f1e8 66%, #e4dccb 100%);
  border: 1.5px solid rgba(244, 217, 155, 0.45);
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.45),
    inset 0 2px 0 rgba(255, 255, 255, 0.95),
    inset 0 -14px 22px rgba(24, 18, 10, 0.12);
  padding: 14px 14px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.av-arch-window img {
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 9px 14px rgba(10, 12, 18, 0.24));
  transition: transform 0.42s var(--as-ease);
}
.av-slide-link:hover .av-arch-window img {
  transform: translateY(-4px) scale(1.08);
}

.av-ad-micro {
  position: absolute;
  top: 8px;
  left: 9px;
  z-index: 3;
  font-size: 9px;
  font-weight: 700;
  color: rgba(226, 232, 240, 0.72);
  background: rgba(7, 9, 13, 0.62);
  padding: 1px 6px;
  border-radius: 5px;
}
.av-seal {
  position: absolute;
  top: 8px;
  right: 9px;
  z-index: 3;
  padding: 3px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f6dfa5 0%, #c98f32 100%);
  color: #140d04;
  font-size: 11px;
  font-weight: 900;
  direction: ltr;
  box-shadow: 0 5px 14px rgba(201, 143, 50, 0.42);
  font-variant-numeric: tabular-nums;
}

.av-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.av-title {
  font-size: 12px;
  font-weight: 700;
  color: #f6f3eb;
  line-height: 1.44;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 34px;
}
.av-price-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.av-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.av-price {
  font-size: 16px;
  font-weight: 900;
  color: var(--as-gold-hi);
  font-variant-numeric: tabular-nums;
}
.av-old {
  font-size: 11px;
  color: var(--as-ink-muted);
  text-decoration: line-through;
}
.av-save-pill {
  display: inline-flex;
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.34);
  color: #6ee7b7;
  font-size: 10px;
  font-weight: 800;
}
.av-proof {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  color: var(--as-ink-muted);
}
.av-proof span:first-child {
  color: var(--as-gold);
  font-weight: 800;
}

/* Tactile Liquid-Gold CTA with Specular Hover Sweep */
.av-gold-cta {
  position: relative;
  overflow: hidden;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 900;
  color: #140e05;
  background: linear-gradient(180deg, #f5dca0 0%, #d8a147 100%);
  border: 1px solid rgba(255, 245, 215, 0.55);
  box-shadow: 0 8px 18px rgba(216, 161, 71, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transition: transform 0.18s var(--as-ease), filter 0.18s var(--as-ease), box-shadow 0.18s var(--as-ease);
}
.av-gold-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.65s var(--as-ease);
}
.av-card:hover .av-gold-cta::after {
  transform: translateX(120%);
}
.av-card:hover .av-gold-cta {
  filter: brightness(1.06);
  box-shadow: 0 10px 24px rgba(216, 161, 71, 0.38);
}

/* RIGHT RAIL [1]: CINEMATIC G2G VIP CARD + MINI-COVERS */
.av-g2g-link {
  display: block;
  text-decoration: none;
}
.av-g2g-hero {
  position: relative;
  height: 114px;
  overflow: hidden;
  background: #0a0d14;
}
.av-g2g-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.48s var(--as-ease);
}
.av-g2g:hover .av-g2g-img {
  transform: scale(1.07);
}
.av-g2g-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 9, 13, 0.22) 0%, rgba(10, 13, 20, 0.96) 100%);
}
.av-crown {
  position: absolute;
  top: 8px;
  right: 9px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(7, 9, 13, 0.84);
  border: 1px solid rgba(244, 217, 155, 0.52);
  color: var(--as-gold-hi);
  font-size: 10px;
  font-weight: 800;
  backdrop-filter: blur(6px);
}
.av-crown i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--as-gold-hi);
}
.av-g2g-price-float {
  position: absolute;
  bottom: 8px;
  left: 10px;
  padding: 3px 9px;
  border-radius: 8px;
  background: rgba(12, 16, 24, 0.88);
  border: 1px solid rgba(244, 217, 155, 0.45);
  color: var(--as-gold-hi);
  font-size: 13.5px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}
.av-g2g-info {
  padding: 8px 11px 9px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.av-g2g-title {
  font-family: Kufi, Asmar, sans-serif;
  font-size: 13px;
  font-weight: 900;
  color: #fff;
  direction: ltr;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.av-g2g-rent {
  font-size: 9.8px;
  font-weight: 700;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 7px;
  padding: 3px 7px;
  line-height: 1.4;
}
.av-g2g-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  padding: 0 10px 10px;
}
.av-g2g-th {
  padding: 0;
  height: 30px;
  border-radius: 7px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  background: #0b0e14;
  cursor: pointer;
  opacity: 0.62;
  transition: opacity 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.av-g2g-th img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.av-g2g-th:hover { opacity: 0.92; }
.av-g2g-th.on {
  opacity: 1;
  border-color: var(--as-gold-hi);
  transform: scale(1.04);
}

/* LEFT RAIL [1]: LIVE 3-DEAL HOT DISCOVERY FEED */
.av-feed-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 9px 9px 8px;
}
.av-feed-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 8px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.07);
  text-decoration: none;
  transition: background 0.18s var(--as-ease), border-color 0.18s var(--as-ease), transform 0.18s var(--as-ease);
}
.av-feed-row:hover {
  background: rgba(224, 185, 108, 0.09);
  border-color: rgba(224, 185, 108, 0.42);
  transform: translateX(-2px);
}
.av-feed-thumb {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, #ffffff 0%, #f1ece1 75%);
  border: 1.5px solid rgba(244, 217, 155, 0.45);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.35);
}
.av-feed-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.25s var(--as-ease);
}
.av-feed-row:hover .av-feed-thumb img {
  transform: scale(1.12);
}
.av-feed-meta {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.av-feed-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}
.av-feed-corner {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--as-ink-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.av-feed-disc {
  font-size: 9.5px;
  font-weight: 900;
  color: #140d04;
  background: linear-gradient(135deg, #f5dca0, #d49b3f);
  padding: 1px 5px;
  border-radius: 5px;
  direction: ltr;
  flex-shrink: 0;
}
.av-feed-name {
  font-size: 11px;
  font-weight: 700;
  color: #f4f1e8;
  line-height: 1.38;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: right;
}
.av-feed-price {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 900;
  color: var(--as-gold-hi);
  font-variant-numeric: tabular-nums;
}
.av-feed-price small {
  font-size: 9.8px;
  font-weight: 600;
  color: var(--as-ink-muted);
  text-decoration: line-through;
}
.av-feed-more {
  display: block;
  text-align: center;
  padding: 8px 10px 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  font-weight: 800;
  color: var(--as-gold);
  transition: color 0.16s ease, background 0.16s ease;
}
.av-feed-more:hover {
  color: var(--as-gold-hi);
  background: rgba(224, 185, 108, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  .av-liquid-gold { animation: none !important; border-color: rgba(224, 185, 108, 0.42) !important; }
  .av-fade-in { animation: none !important; }
}

/* Keep Hero Switcher & Cards super crisp at 1440px when center stage sits between rails (~1012px) */
@media (min-width: 1280px) and (max-width: 1580px) {
  body.asmar-has-studio-rails .spot-stage-body {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 22px 26px 24px;
  }
  body.asmar-has-studio-rails .spot-switcher {
    justify-content: flex-start;
  }
  body.asmar-has-studio-rails .spot-thumb {
    width: 122px;
  }
  body.asmar-has-studio-rails .studio-strip {
    grid-template-columns: 1.45fr 1fr;
  }
  body.asmar-has-studio-rails .jin-custom-promo b {
    font-size: 16.5px !important;
  }
  body.asmar-has-studio-rails .games-grid,
  body.asmar-has-studio-rails #grid.games-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
  body.asmar-has-studio-rails .asmar-deals-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.asmar-has-studio-rails .detail-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.9fr);
    gap: 18px;
  }
}

body.asmar-has-rich-ads .shell,
body.asmar-has-rails .shell,
.shell {
  max-width: var(--as-container) !important;
  width: min(var(--as-container), calc(100% - 48px)) !important;
  margin-inline: auto !important;
}

body.asmar-has-rich-ads #main,
body.asmar-has-rails #main,
#main {
  max-width: none !important;
  width: 100% !important;
  margin-inline: auto !important;
}

body.asmar-has-rich-ads .asmar-live-top,
body.asmar-has-rails .asmar-live-top {
  width: 100% !important;
  max-width: none !important;
}

body.asmar-has-rich-ads .asmar-live-top .rw-top-in,
body.asmar-has-rails .asmar-live-top .rw-top-in,
.asmar-live-top .rw-top-in,
.asmar-live-top .rw-corners-in {
  max-width: var(--as-container) !important;
  width: min(var(--as-container), calc(100% - 48px)) !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}

/* Vivid Full-Viewport Living Game Atmosphere (crisp artwork & colors breathing behind glass!) */
#asmarBg {
  background: var(--as-bg) !important;
}
#asmarBgImg {
  opacity: 1 !important;
  filter: saturate(1.12) contrast(1.05) !important;
  transform: scale(1.03) !important;
  transition: opacity 0.5s var(--as-ease), background-image 0.01s linear !important;
}
.asmar-bg-veil {
  background:
    radial-gradient(120% 85% at 80% 10%, color-mix(in srgb, var(--asmar-accent, #e0b96c) 24%, transparent) 0%, transparent 56%),
    radial-gradient(95% 75% at 15% 88%, color-mix(in srgb, var(--asmar-accent, #e0b96c) 14%, transparent) 0%, transparent 54%),
    linear-gradient(180deg, rgba(6, 8, 12, 0.34) 0%, rgba(6, 8, 12, 0.54) 36%, rgba(6, 8, 12, 0.72) 72%, rgba(6, 8, 12, 0.84) 100%),
    linear-gradient(90deg, rgba(6, 8, 12, 0.44) 0%, rgba(6, 8, 12, 0.16) 50%, rgba(6, 8, 12, 0.44) 100%) !important;
}
html, body {
  background: transparent !important;
}
html {
  background: var(--as-bg) !important;
}

/* ==========================================================================
   SLIM ARCHITECTURAL HEADER + SLEEK OBSIDIAN CORNERS BAR
   ========================================================================== */
header#asmarLiveTop.asmar-live-top.rw-top,
.asmar-live-top.rw-top {
  position: sticky !important;
  top: 0 !important;
  z-index: 90 !important;
  background: rgba(7, 9, 13, 0.86) !important;
  backdrop-filter: blur(18px) saturate(135%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(135%) !important;
  border-bottom: 1px solid var(--as-line) !important;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.36) !important;
}

.asmar-live-top .rw-top-in {
  min-height: 66px !important;
  padding-block: 10px !important;
  gap: 16px !important;
}

.asmar-live-top .rw-brandwrap {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  padding: 2px !important;
  background: linear-gradient(145deg, var(--as-gold-hi), var(--as-gold-lo)) !important;
  box-shadow: 0 4px 18px rgba(224, 185, 108, 0.24) !important;
}
.asmar-live-top .rw-brandwrap img {
  width: 100% !important;
  height: 100% !important;
  background: #0b0e14 !important;
}
.asmar-live-top .rw-bn b {
  font-family: Kufi, Asmar, sans-serif !important;
  font-size: 15.5px !important;
  font-weight: 800 !important;
  color: var(--as-ink) !important;
  letter-spacing: -0.01em !important;
}
.asmar-live-top .rw-bn small {
  font-size: 11px !important;
  color: var(--as-ink-muted) !important;
}

.asmar-live-top .rw-search {
  max-width: 340px !important;
  margin-inline: 0 !important;
}
.asmar-live-top .rw-search input {
  height: 40px !important;
  padding: 0 38px 0 36px !important;
  border-radius: 999px !important;
  border: 1px solid var(--as-line) !important;
  background: rgba(255, 255, 255, 0.035) !important;
  color: var(--as-ink) !important;
  font-size: 13.5px !important;
}
.asmar-live-top .rw-search input:focus {
  border-color: var(--as-gold-line) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

.asmar-live-top .rw-nav {
  gap: 4px !important;
  margin-inline-start: auto !important;
}
.asmar-live-top .rw-nav a {
  padding: 7px 11px !important;
  border-radius: 10px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: var(--as-ink-soft) !important;
  transition: color 0.18s var(--as-ease), background 0.18s var(--as-ease) !important;
}
.asmar-live-top .rw-nav a:hover {
  color: var(--as-ink) !important;
  background: rgba(255, 255, 255, 0.055) !important;
}

.asmar-live-top .rw-tlinks {
  gap: 7px !important;
}
.asmar-live-top .rw-tlink {
  height: 36px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: var(--as-ink-soft) !important;
  border: 1px solid var(--as-line) !important;
  background: rgba(255, 255, 255, 0.028) !important;
  transition: color 0.18s var(--as-ease), border-color 0.18s var(--as-ease), background 0.18s var(--as-ease), transform 0.18s var(--as-ease) !important;
}
.asmar-live-top .rw-tlink:hover {
  color: var(--as-ink) !important;
  border-color: var(--as-line-strong) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

/* VIP 20$ Header Button: Champagne Gold Luxury Outline (NO cyan-mint neon!) */
.asmar-live-top .rw-tlink.custom20 {
  color: var(--as-gold-hi) !important;
  font-weight: 800 !important;
  border: 1px solid rgba(224, 185, 108, 0.48) !important;
  background: linear-gradient(180deg, rgba(224, 185, 108, 0.18), rgba(224, 185, 108, 0.08)) !important;
  box-shadow: 0 4px 16px rgba(224, 185, 108, 0.12) !important;
  padding: 0 15px !important;
}
.asmar-live-top .rw-tlink.custom20:hover {
  color: #fff6dc !important;
  border-color: var(--as-gold-hi) !important;
  background: linear-gradient(180deg, rgba(224, 185, 108, 0.28), rgba(224, 185, 108, 0.14)) !important;
  transform: translateY(-1px) !important;
}

/* Support button calm subtle obsidian */
.asmar-live-top .rw-tlink.pay {
  color: var(--as-ink-soft) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid var(--as-line) !important;
  font-weight: 700 !important;
}
.asmar-live-top .rw-tlink.pay:hover {
  color: var(--as-gold-hi) !important;
  border-color: var(--as-gold-line) !important;
}

/* Sleek Obsidian Affiliate Sub-Ribbon (Replaces 7 loud rainbow pills!) */
.asmar-live-top .rw-corners {
  display: block !important;
  border-top: 1px solid rgba(255, 255, 255, 0.055) !important;
  background: rgba(11, 14, 20, 0.84) !important;
}
.asmar-live-top .rw-corners-in {
  min-height: 40px !important;
  padding-block: 6px !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  gap: 8px !important;
}
.asmar-live-top .rw-corners-in::-webkit-scrollbar { display: none; }

.rw-corners-label {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--as-gold);
  white-space: nowrap;
  padding-inline-end: 10px;
  border-inline-end: 1px solid var(--as-line);
  flex-shrink: 0;
}

.asmar-live-top .rw-tlink.rw-gear-link {
  height: auto !important;
  padding: 5px 12px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--as-ink-soft) !important;
  background: rgba(255, 255, 255, 0.028) !important;
  border: 1px solid rgba(255, 255, 255, 0.075) !important;
  box-shadow: none !important;
  flex-shrink: 0 !important;
}
.asmar-live-top .rw-tlink.rw-gear-link:first-of-type {
  color: var(--as-ink) !important;
  border-color: rgba(224, 185, 108, 0.30) !important;
  background: rgba(224, 185, 108, 0.09) !important;
}
.asmar-live-top .rw-tlink.rw-gear-link:hover {
  color: var(--as-gold-hi) !important;
  border-color: var(--as-gold-line) !important;
  background: rgba(224, 185, 108, 0.12) !important;
}
.asmar-live-top .rw-tlink.rw-gear-link [aria-hidden="true"] {
  display: none !important;
}

.rw-corners-promo {
  margin-inline-start: auto;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--as-gold);
  white-space: nowrap;
  flex-shrink: 0;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(224, 185, 108, 0.09);
  border: 1px solid rgba(224, 185, 108, 0.24);
  transition: background 0.18s var(--as-ease), border-color 0.18s var(--as-ease);
}
.rw-corners-promo:hover {
  background: rgba(224, 185, 108, 0.18);
  border-color: var(--as-gold);
  color: var(--as-gold-hi);
}

/* ==========================================================================
   SINGLE HERO PRIMARY CTA SYSTEM (BRUSHED CHAMPAGNE GOLD — NO CYAN!)
   ========================================================================== */
.primary, a.primary, .download-primary, button.primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  min-height: 48px !important;
  padding: 0 26px !important;
  border-radius: 13px !important;
  border: 1px solid rgba(255, 241, 206, 0.45) !important;
  background: linear-gradient(180deg, #f3d796 0%, #dca952 100%) !important;
  color: #110d05 !important;
  font-family: Asmar, sans-serif !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  box-shadow: 0 12px 30px rgba(220, 169, 82, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.55) !important;
  transition: transform 0.2s var(--as-ease), box-shadow 0.2s var(--as-ease), filter 0.2s var(--as-ease) !important;
}
.primary:hover, a.primary:hover, .download-primary:hover, button.primary:hover {
  transform: translateY(-2px) !important;
  filter: brightness(1.04) !important;
  box-shadow: 0 16px 36px rgba(220, 169, 82, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.65) !important;
}
.primary span, a.primary span {
  font-family: inherit !important;
  font-size: 16px !important;
}

.asmar-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(14, 18, 25, 0.70);
  backdrop-filter: blur(10px);
  color: var(--as-ink);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s var(--as-ease), background 0.2s var(--as-ease), transform 0.2s var(--as-ease);
}
.asmar-btn-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(24, 30, 42, 0.86);
}

/* ==========================================================================
   CINEMATIC SPOTLIGHT HERO + INTERACTIVE 4-GAME SWITCHER
   ========================================================================== */
#catalog {
  padding-top: 22px !important;
}

section.spotlight,
body.asmar-has-rich-ads section.spotlight {
  position: relative !important;
  min-height: 515px !important;
  border-radius: var(--as-radius-lg) !important;
  overflow: hidden !important;
  border: 1px solid var(--as-line) !important;
  background: #0b0e14 !important;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.52) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: stretch !important;
  padding: 0 !important;
}

section.spotlight .hero-art {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: opacity 0.4s var(--as-ease) !important;
}

section.spotlight .spot-shade {
  position: absolute !important;
  inset: 0 !important;
  background:
    linear-gradient(270deg, rgba(7, 9, 13, 0.94) 0%, rgba(7, 9, 13, 0.74) 33%, rgba(7, 9, 13, 0.22) 62%, rgba(7, 9, 13, 0.08) 100%),
    linear-gradient(0deg, rgba(7, 9, 13, 0.92) 0%, rgba(7, 9, 13, 0.30) 34%, transparent 62%) !important;
}

.spot-top-row {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 34px 0;
  gap: 12px;
}

.spot-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: var(--as-gold-hi);
  background: rgba(7, 9, 13, 0.72);
  border: 1px solid rgba(224, 185, 108, 0.36);
  backdrop-filter: blur(10px);
}
.spot-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--as-gold);
  box-shadow: 0 0 10px var(--as-gold);
}

.spot-ver-chip {
  font-size: 12px;
  font-weight: 700;
  color: var(--as-ink-soft);
  background: rgba(7, 9, 13, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  padding: 5px 12px;
  border-radius: 999px;
  direction: ltr;
  font-variant-numeric: tabular-nums;
}

.spot-stage-body {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 34px 30px;
}

section.spotlight .spot-copy {
  position: relative !important;
  padding: 0 !important;
  max-width: 520px !important;
  margin: 0 !important;
}
section.spotlight .spot-copy .overline {
  display: none !important;
}
section.spotlight .spot-copy h2 {
  margin: 0 0 10px !important;
  font-family: Kufi, Asmar, sans-serif !important;
  font-size: clamp(30px, 3.5vw, 48px) !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em !important;
  color: #fff !important;
  text-align: right !important;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.65) !important;
}
section.spotlight .spot-copy h2 br {
  display: none !important;
}
section.spotlight .spot-copy p {
  margin: 0 0 16px !important;
  font-size: 15.5px !important;
  line-height: 1.72 !important;
  color: #e4e1d8 !important;
  max-width: 46ch !important;
}
section.spotlight .platform-note {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 0 22px !important;
}
.spot-chip,
section.spotlight .platform-note .spot-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #e7e5df;
  background: rgba(14, 18, 25, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}
.spot-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

section.spotlight .hero-bottom {
  display: none !important;
}

/* Interactive 4-Game Spotlight Switcher */
.spot-switcher {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.spot-thumb {
  position: relative;
  width: 132px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  overflow: hidden;
  background: #0c1017;
  cursor: pointer;
  transition: transform 0.22s var(--as-ease), border-color 0.22s var(--as-ease), box-shadow 0.22s var(--as-ease);
}
.spot-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.74;
  transition: opacity 0.22s var(--as-ease), transform 0.35s var(--as-ease);
}
.spot-thumb span {
  display: block;
  padding: 7px 9px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--as-ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
  direction: ltr;
  background: rgba(9, 12, 18, 0.94);
}
.spot-thumb:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.32);
}
.spot-thumb:hover img { opacity: 0.96; }
.spot-thumb.active {
  border-color: var(--as-gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(224, 185, 108, 0.45);
}
.spot-thumb.active img { opacity: 1; transform: scale(1.04); }
.spot-thumb.active span { color: var(--as-gold-hi); }

/* ==========================================================================
   STUDIO VALUE STRIP (VIP 20$ BANNER + LIVE METRICS)
   ========================================================================== */
.studio-strip {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 16px;
}

.jin-custom-promo {
  margin: 0 !important;
  padding: 20px 24px !important;
  border-radius: var(--as-radius-md) !important;
  border: 1px solid rgba(224, 185, 108, 0.32) !important;
  background:
    radial-gradient(460px 180px at 90% 0%, rgba(224, 185, 108, 0.16), transparent 72%),
    linear-gradient(180deg, rgba(19, 23, 33, 0.78) 0%, rgba(11, 14, 21, 0.84) 100%) !important;
  backdrop-filter: blur(14px) saturate(130%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(130%) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.34) !important;
  gap: 18px !important;
  justify-content: space-between !important;
}
.jin-custom-promo:hover {
  border-color: rgba(224, 185, 108, 0.52) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.42) !important;
}
.jin-custom-promo .jc-ic {
  display: none !important;
}
.jin-custom-promo .jc-urg {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: transparent !important;
  color: var(--as-gold) !important;
  padding: 0 !important;
  margin: 0 0 5px !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  animation: none !important;
}
.jin-custom-promo .jc-urg::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--as-gold);
}
.jin-custom-promo b {
  font-family: Kufi, Asmar, sans-serif !important;
  font-size: 18.5px !important;
  margin-bottom: 4px !important;
  color: #fff !important;
}
.jin-custom-promo small {
  font-size: 13.5px !important;
  color: var(--as-ink-soft) !important;
  line-height: 1.6 !important;
}
.jin-custom-promo .jc-price {
  display: none !important;
}
.jin-custom-promo .jc-cta {
  padding: 0 18px !important;
  height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 12px !important;
  background: rgba(224, 185, 108, 0.14) !important;
  border: 1px solid rgba(224, 185, 108, 0.45) !important;
  color: var(--as-gold-hi) !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}
.jin-custom-promo:hover .jc-cta {
  background: rgba(224, 185, 108, 0.24) !important;
  border-color: var(--as-gold-hi) !important;
}

.studio-stats-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 18px 20px;
  border-radius: var(--as-radius-md);
  background: rgba(14, 18, 25, 0.76);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  border: 1px solid rgba(245, 241, 232, 0.11);
  align-items: center;
}
.studio-stat {
  text-align: center;
  padding-inline: 6px;
}
.studio-stat + .studio-stat {
  border-inline-start: 1px solid var(--as-line);
}
.studio-stat strong {
  display: block;
  font-family: Kufi, Asmar, sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: var(--as-gold-hi);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.studio-stat span {
  display: block;
  font-size: 12px;
  color: var(--as-ink-muted);
  margin-top: 2px;
}

/* ==========================================================================
   LIBRARY CATALOG SECTION + LUXURY GAME CARDS
   ========================================================================== */
#library.library {
  padding-top: 44px !important;
  scroll-margin-top: 116px !important;
}
.section-heading {
  margin-bottom: 20px !important;
}
.section-heading .eyebrow {
  font-size: 12px !important;
  font-weight: 800 !important;
  color: var(--as-gold) !important;
  margin-bottom: 4px !important;
}
.section-heading h2 {
  font-family: Kufi, Asmar, sans-serif !important;
  font-size: clamp(22px, 2.3vw, 30px) !important;
  font-weight: 900 !important;
  color: #fff !important;
  line-height: 1.25 !important;
}
.asmar-lib-count, #asmarCnt {
  font-family: Asmar, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--as-gold-hi) !important;
  background: rgba(224, 185, 108, 0.08) !important;
  border: 1px solid rgba(224, 185, 108, 0.24) !important;
  box-shadow: none !important;
  padding: 7px 14px !important;
}

.tools {
  display: flex !important;
  flex-direction: row-reverse !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 14px !important;
  margin-bottom: 24px !important;
  flex-wrap: wrap !important;
}
.filters {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}
.filters button {
  min-height: 40px !important;
  min-width: 0 !important;
  padding: 0 16px !important;
  border-radius: 11px !important;
  border: 1px solid var(--as-line) !important;
  background: var(--as-elev) !important;
  color: var(--as-ink-soft) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  transition: color 0.18s var(--as-ease), border-color 0.18s var(--as-ease), background 0.18s var(--as-ease) !important;
}
.filters button:hover {
  color: var(--as-ink) !important;
  border-color: var(--as-line-strong) !important;
}
.filters button.active,
.filters [aria-pressed="true"] {
  color: #110d05 !important;
  background: linear-gradient(180deg, #f3d796, #dca952) !important;
  border-color: rgba(255, 241, 206, 0.45) !important;
  font-weight: 900 !important;
}

.tools .search {
  max-width: 300px !important;
  height: 40px !important;
  padding: 0 14px !important;
  border-radius: 11px !important;
  border: 1px solid var(--as-line) !important;
  background: var(--as-elev) !important;
}
.tools .search svg {
  width: 16px !important;
  color: var(--as-ink-muted) !important;
}
.tools .search input {
  height: 38px !important;
  font-size: 13.5px !important;
}

/* Grid Columns: full-canvas edge-to-edge density across every monitor size (ZERO wasted gutters!) */
.games-grid,
#grid.games-grid,
body.asmar-has-rich-ads .games-grid,
body.asmar-has-rich-ads #grid.games-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}
@media (min-width: 1680px) {
  .games-grid,
  #grid.games-grid,
  body.asmar-has-studio-rails .games-grid,
  body.asmar-has-studio-rails #grid.games-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }
}
@media (min-width: 2100px) {
  .games-grid,
  #grid.games-grid,
  body.asmar-has-studio-rails .games-grid,
  body.asmar-has-studio-rails #grid.games-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 22px !important;
  }
  section.spotlight,
  body.asmar-has-studio-rails section.spotlight {
    min-height: 580px !important;
  }
  .detail-banner {
    min-height: 360px !important;
  }
}
@media (min-width: 2480px) {
  .games-grid,
  #grid.games-grid,
  body.asmar-has-studio-rails .games-grid,
  body.asmar-has-studio-rails #grid.games-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }
}

.games-grid .game-card {
  display: flex !important;
  flex-direction: column !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  background: linear-gradient(180deg, rgba(18, 23, 33, 0.76), rgba(11, 14, 21, 0.84)) !important;
  border: 1px solid rgba(245, 241, 232, 0.11) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34) !important;
  backdrop-filter: blur(12px) saturate(125%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(125%) !important;
  transition: transform 0.24s var(--as-ease), border-color 0.24s var(--as-ease), box-shadow 0.24s var(--as-ease), background 0.24s var(--as-ease) !important;
}
.games-grid .game-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(224, 185, 108, 0.50) !important;
  background: linear-gradient(180deg, rgba(24, 30, 44, 0.86), rgba(14, 18, 26, 0.90)) !important;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.48), 0 0 26px rgba(224, 185, 108, 0.14) !important;
}

.card-art {
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  position: relative !important;
  overflow: hidden !important;
  background: #0b0e14 !important;
}
.card-art img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.45s var(--as-ease) !important;
}
.game-card:hover .card-art img {
  transform: scale(1.04) !important;
}
.card-art::after {
  content: "" !important;
  position: absolute !important;
  inset: auto 0 0 0 !important;
  height: 48% !important;
  background: linear-gradient(180deg, transparent, rgba(18, 23, 33, 0.92)) !important;
}

.card-badge-new {
  position: absolute;
  top: 11px;
  right: 11px;
  z-index: 3;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--as-ink);
  background: rgba(7, 9, 13, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}
.card-badge-new.is-gold {
  color: #140f06;
  background: linear-gradient(180deg, #f4d99b, #dca952);
  border-color: rgba(255, 241, 206, 0.5);
}

.card-dl {
  position: absolute !important;
  top: 11px !important;
  left: 11px !important;
  right: auto !important;
  z-index: 3 !important;
  padding: 3px 9px !important;
  border-radius: 8px !important;
  background: rgba(7, 9, 13, 0.80) !important;
  border: 1px solid rgba(224, 185, 108, 0.34) !important;
  color: var(--as-gold-hi) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  direction: ltr !important;
  backdrop-filter: blur(6px) !important;
  font-variant-numeric: tabular-nums !important;
}

.card-ver {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 3;
  padding: 3px 8px;
  border-radius: 7px;
  background: rgba(7, 9, 13, 0.80);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(6px);
  font-size: 11px;
  font-weight: 700;
  color: #e6ebf4;
  direction: ltr;
  font-variant-numeric: tabular-nums;
}

.card-info {
  padding: 16px 18px 18px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
}
.card-meta {
  display: none !important;
}
.card-info h3 {
  margin: 0 0 6px !important;
  min-height: 0 !important;
  font-family: Kufi, Asmar, sans-serif !important;
  font-size: 16.5px !important;
  font-weight: 800 !important;
  color: #fff !important;
  line-height: 1.35 !important;
  direction: ltr !important;
  text-align: right !important;
}
.card-sub {
  margin: 0 0 14px;
  font-size: 12.5px;
  color: var(--as-ink-muted);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.55;
}
.card-bottom {
  margin-top: auto !important;
  padding-top: 12px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  font-size: 12.5px !important;
}
.card-plats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.card-plat-chip {
  font-size: 11px;
  font-weight: 700;
  color: var(--as-ink-soft);
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.card-bottom .go {
  font-size: 12.5px !important;
  font-weight: 800 !important;
  color: var(--as-gold) !important;
  white-space: nowrap !important;
}

/* ==========================================================================
   REDESIGNED GAME DETAIL PAGE (UNOBSTRUCTED BANNER + 2-COL EDITORIAL)
   ========================================================================== */
#detail {
  padding-top: 22px !important;
  padding-bottom: 48px !important;
}

.detail-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.detail-topbar .back {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 40px !important;
  padding: 0 16px !important;
  margin: 0 !important;
  border-radius: 11px !important;
  background: var(--as-elev) !important;
  border: 1px solid var(--as-line) !important;
  color: var(--as-ink) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  transition: border-color 0.18s var(--as-ease), background 0.18s var(--as-ease) !important;
}
.detail-topbar .back:hover {
  border-color: var(--as-gold-line) !important;
  background: var(--as-card-hi) !important;
}
.detail-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--as-gold-hi);
  background: rgba(224, 185, 108, 0.08);
  border: 1px solid rgba(224, 185, 108, 0.24);
  direction: ltr;
  font-variant-numeric: tabular-nums;
}

/* Clean Unobstructed Cinema Banner */
.detail-banner {
  position: relative;
  min-height: 295px;
  border-radius: var(--as-radius-lg);
  overflow: hidden;
  border: 1px solid var(--as-line);
  background: #0b0e14;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.detail-banner .hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}
.detail-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(7, 9, 13, 0.96) 0%, rgba(7, 9, 13, 0.54) 44%, rgba(7, 9, 13, 0.10) 100%),
    linear-gradient(270deg, rgba(7, 9, 13, 0.72) 0%, transparent 55%);
}
.detail-banner-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 26px 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.detail-banner h1 {
  margin: 8px 0 6px !important;
  font-family: Kufi, Asmar, sans-serif !important;
  font-size: clamp(26px, 3.2vw, 42px) !important;
  font-weight: 900 !important;
  color: #fff !important;
  line-height: 1.12 !important;
  direction: ltr !important;
  text-align: right !important;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.65) !important;
}
.detail-banner-sub {
  margin: 0;
  font-size: 14.5px;
  color: #dcd9d0;
  max-width: 58ch;
}
.detail-banner-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* 2-Column Editorial Split Below Banner */
.detail-layout {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, 0.92fr);
  gap: 24px;
  align-items: start;
}

#detail .detail-copy,
#detail .detail-panel {
  max-width: none !important;
  padding: 24px 26px !important;
  border-radius: 20px !important;
  background: rgba(14, 18, 25, 0.78) !important;
  border: 1px solid rgba(245, 241, 232, 0.11) !important;
  backdrop-filter: blur(14px) saturate(125%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(125%) !important;
}
.detail-panel + .detail-panel,
#detail .detail-copy + .detail-panel {
  margin-top: 18px;
}
#detail .detail-copy h2,
#detail .detail-panel h2 {
  margin: 0 0 12px !important;
  font-family: Kufi, Asmar, sans-serif !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  color: var(--as-gold-hi) !important;
}
#detail .detail-copy > p,
#detail .detail-panel > p {
  margin: 0 !important;
  max-width: none !important;
  font-size: 15px !important;
  line-height: 1.84 !important;
  color: #dedbd2 !important;
}

.asmar-dl-count {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 0 12px !important;
  padding: 4px 12px !important;
  border-radius: 999px !important;
  background: rgba(224, 185, 108, 0.10) !important;
  border: 1px solid rgba(224, 185, 108, 0.30) !important;
  color: var(--as-gold-hi) !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  direction: rtl !important;
}

.install-steps {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}
.install-steps li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  padding: 14px 16px !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.025) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  font-size: 14.5px !important;
  line-height: 1.72 !important;
  color: #e4e1d8 !important;
}
.install-steps li::before {
  flex: 0 0 30px !important;
  width: 30px !important;
  height: 30px !important;
  line-height: 28px !important;
  border-radius: 9px !important;
  background: rgba(224, 185, 108, 0.14) !important;
  border: 1px solid rgba(224, 185, 108, 0.36) !important;
  color: var(--as-gold-hi) !important;
  font-family: Asmar, sans-serif !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.detail-extra {
  margin-top: 18px !important;
  border-radius: 20px !important;
  background: var(--as-elev) !important;
  border: 1px solid var(--as-line) !important;
  padding: 22px 24px !important;
}
.detail-extra h2 {
  font-family: Kufi, Asmar, sans-serif !important;
  font-size: 17px !important;
  color: var(--as-gold-hi) !important;
  margin: 4px 0 8px !important;
}
.detail-extra p {
  font-size: 14.5px !important;
  line-height: 1.78 !important;
  color: var(--as-ink-soft) !important;
}

/* Sticky Left Download Dock */
#detail .download-box {
  position: sticky !important;
  top: 124px !important;
  padding: 22px !important;
  border-radius: 20px !important;
  background: linear-gradient(180deg, rgba(19, 24, 35, 0.84) 0%, rgba(12, 16, 24, 0.90) 100%) !important;
  backdrop-filter: blur(16px) saturate(130%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(130%) !important;
  border: 1px solid var(--as-line-strong) !important;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.44) !important;
}
#detail .download-box h2 {
  margin: 0 0 14px !important;
  font-family: Kufi, Asmar, sans-serif !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #fff !important;
}
.platform-tabs {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)) !important;
  gap: 6px !important;
  padding: 5px !important;
  border-radius: 13px !important;
  background: rgba(7, 9, 13, 0.76) !important;
  border: 1px solid var(--as-line) !important;
  margin-bottom: 16px !important;
}
.platform-tabs button {
  min-height: 40px !important;
  padding: 6px 10px !important;
  border-radius: 9px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--as-ink-soft) !important;
  border: 1px solid transparent !important;
}
.platform-tabs button.active {
  background: rgba(224, 185, 108, 0.16) !important;
  border-color: rgba(224, 185, 108, 0.45) !important;
  color: var(--as-gold-hi) !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

#detail .release-facts {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  backdrop-filter: none !important;
}
#detail .release-facts > div {
  padding: 11px 13px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
#detail .release-facts dt {
  font-size: 11.5px !important;
  color: var(--as-ink-muted) !important;
  margin-bottom: 2px !important;
}
#detail .release-facts dd {
  margin: 0 !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  color: var(--as-ink) !important;
  line-height: 1.4 !important;
  text-align: right !important;
  font-variant-numeric: tabular-nums !important;
}

.download-box .primary {
  width: 100% !important;
  min-height: 52px !important;
  font-size: 15.5px !important;
}
.download-note {
  margin: 12px 0 0 !important;
  font-size: 12.5px !important;
  color: var(--as-ink-muted) !important;
  line-height: 1.65 !important;
}

/* Harmonized Gen-7 Website Instant OTA Widget inside Dock */
.asmar-ota-v7-box {
  margin: 16px 0 0 !important;
  padding: 16px 18px !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.08), rgba(14, 18, 25, 0.92)) !important;
  border: 1px solid rgba(52, 211, 153, 0.30) !important;
}
.asmar-ota-v7-head {
  color: #a7f3d0 !important;
  font-family: Kufi, Asmar, sans-serif !important;
  font-size: 14px !important;
}
.asmar-ota-v7-btn {
  min-height: 44px !important;
  border-radius: 11px !important;
  border: 1px solid rgba(52, 211, 153, 0.45) !important;
  background: rgba(52, 211, 153, 0.14) !important;
  color: #d1fae5 !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
}
.asmar-ota-v7-btn:hover {
  background: rgba(52, 211, 153, 0.24) !important;
  filter: none !important;
}

/* ==========================================================================
   CURATED EDITORIAL DEALS & G2G SECTION (REPLACES CRAMPED SIDE RAILS!)
   ========================================================================== */
.asmar-curated-section {
  margin-top: 48px;
  padding: 28px 30px;
  border-radius: var(--as-radius-lg);
  background: linear-gradient(180deg, rgba(16, 20, 28, 0.80) 0%, rgba(11, 14, 20, 0.88) 100%);
  backdrop-filter: blur(14px) saturate(125%);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
  border: 1px solid rgba(245, 241, 232, 0.11);
  scroll-margin-top: 118px;
}

.asmar-curated-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.asmar-curated-head .eyebrow {
  font-size: 12px;
  font-weight: 800;
  color: var(--as-gold);
  margin-bottom: 4px;
}
.asmar-curated-head h3 {
  margin: 0;
  font-family: Kufi, Asmar, sans-serif;
  font-size: 21px;
  font-weight: 800;
  color: #fff;
}
.asmar-curated-head p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--as-ink-muted);
}
.asmar-curated-head .rw-tlink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--as-ink-soft);
  border: 1px solid var(--as-line-strong);
  background: rgba(255, 255, 255, 0.035);
  transition: color 0.18s var(--as-ease), border-color 0.18s var(--as-ease), background 0.18s var(--as-ease);
}
.asmar-curated-head .rw-tlink:hover {
  color: var(--as-gold-hi);
  border-color: var(--as-gold-line);
  background: rgba(224, 185, 108, 0.10);
}

.asmar-curated-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.asmar-curated-tab {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--as-line);
  background: rgba(255, 255, 255, 0.025);
  color: var(--as-ink-soft);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s var(--as-ease);
}
.asmar-curated-tab:hover {
  color: var(--as-ink);
  border-color: var(--as-line-strong);
}
.asmar-curated-tab.is-active {
  color: var(--as-gold-hi);
  background: rgba(224, 185, 108, 0.14);
  border-color: rgba(224, 185, 108, 0.45);
}

.asmar-deals-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.asmar-deal-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  padding: 12px;
  background: #141924;
  border: 1px solid rgba(255, 255, 255, 0.075);
  text-decoration: none;
  transition: transform 0.2s var(--as-ease), border-color 0.2s var(--as-ease);
}
.asmar-deal-card:hover {
  transform: translateY(-3px);
  border-color: var(--as-gold-line);
}
.asmar-deal-img {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  background: #f3f1eb;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 12px;
}
.asmar-deal-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.asmar-deal-disc {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 2;
  padding: 3px 9px;
  border-radius: 7px;
  background: #10141e;
  border: 1px solid rgba(224, 185, 108, 0.42);
  color: var(--as-gold-hi);
  font-size: 11.5px;
  font-weight: 800;
  direction: ltr;
  font-variant-numeric: tabular-nums;
}
.asmar-deal-ad {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 2;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(16, 20, 30, 0.72);
  color: #cbd5e1;
  font-size: 10px;
  font-weight: 700;
}
.asmar-deal-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  color: var(--as-ink-muted);
  margin-bottom: 6px;
}
.asmar-deal-title {
  margin: 0 0 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--as-ink);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.asmar-deal-foot {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.asmar-deal-price {
  font-size: 15px;
  font-weight: 900;
  color: var(--as-gold-hi);
  font-variant-numeric: tabular-nums;
}
.asmar-deal-old {
  font-size: 11.5px;
  color: var(--as-ink-muted);
  text-decoration: line-through;
  margin-inline-start: 6px;
}
.asmar-deal-cta {
  font-size: 12px;
  font-weight: 800;
  color: var(--as-ink);
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--as-line);
  white-space: nowrap;
}
.asmar-deal-card:hover .asmar-deal-cta {
  color: #110d05;
  background: var(--as-gold);
  border-color: var(--as-gold);
}

.asmar-g2g-strip {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--as-line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.asmar-g2g-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.075);
  text-decoration: none;
  transition: border-color 0.2s var(--as-ease), background 0.2s var(--as-ease);
}
.asmar-g2g-card:hover {
  border-color: var(--as-gold-line);
  background: rgba(255, 255, 255, 0.048);
}
.asmar-g2g-card img {
  width: 92px;
  height: 54px;
  border-radius: 9px;
  object-fit: cover;
  flex-shrink: 0;
}
.asmar-g2g-info {
  min-width: 0;
  flex: 1;
}
.asmar-g2g-info strong {
  display: block;
  font-size: 13.5px;
  color: #fff;
  direction: ltr;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.asmar-g2g-info small {
  display: block;
  font-size: 11px;
  color: var(--as-ink-muted);
}
.asmar-g2g-price {
  font-size: 13.5px;
  font-weight: 900;
  color: var(--as-gold-hi);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   HELP SECTION & FOOTER POLISH
   ========================================================================== */
.help-section {
  margin-top: 56px !important;
  padding-top: 34px !important;
  border-top: 1px solid var(--as-line) !important;
}
.help-section h2 {
  font-family: Kufi, Asmar, sans-serif !important;
  color: #fff !important;
}
.footer {
  border-top: 1px solid var(--as-line) !important;
  color: var(--as-ink-muted) !important;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (TABLET, STEAM DECK, MOBILE 390px)
   ========================================================================== */
@media (max-width: 1120px) {
  .asmar-live-top .rw-nav { display: none !important; }
  .spot-stage-body { flex-direction: column; align-items: stretch; }
  .spot-switcher { overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .studio-strip { grid-template-columns: 1fr; }
  .games-grid, #grid.games-grid,
  body.asmar-has-rich-ads .games-grid,
  body.asmar-has-rich-ads #grid.games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .asmar-deals-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .asmar-g2g-strip { grid-template-columns: 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  #detail .download-box { position: static !important; order: -1; }
}

@media (max-width: 640px) {
  body.asmar-has-rich-ads .shell,
  body.asmar-has-rails .shell,
  .shell,
  body.asmar-has-rich-ads .asmar-live-top .rw-top-in,
  body.asmar-has-rails .asmar-live-top .rw-top-in,
  .asmar-live-top .rw-top-in,
  .asmar-live-top .rw-corners-in {
    width: calc(100% - 28px) !important;
  }

  .asmar-live-top .rw-top-in {
    flex-wrap: nowrap !important;
    min-height: 58px !important;
    gap: 10px !important;
    padding-block: 8px !important;
  }
  .asmar-live-top .rw-search,
  .asmar-live-top .rw-tlinks .rw-tlink:not(.custom20) {
    display: none !important;
  }
  .asmar-live-top .rw-bn b { font-size: 14px !important; }
  .asmar-live-top .rw-tlinks { margin-inline-start: auto !important; }
  .asmar-live-top .rw-tlink.custom20 { height: 34px !important; padding: 0 11px !important; font-size: 11.5px !important; }

  #catalog { padding-top: 14px !important; }
  section.spotlight,
  body.asmar-has-rich-ads section.spotlight {
    min-height: 460px !important;
    border-radius: 18px !important;
  }
  section.spotlight .hero-art {
    height: 100% !important;
  }
  section.spotlight .spot-shade {
    background: linear-gradient(0deg, rgba(7, 9, 13, 0.98) 0%, rgba(7, 9, 13, 0.86) 44%, rgba(7, 9, 13, 0.24) 76%, rgba(7, 9, 13, 0.14) 100%) !important;
  }
  .spot-top-row { padding: 14px 16px 0; }
  .spot-stage-body { padding: 118px 18px 18px; gap: 18px; }
  section.spotlight .spot-copy h2 { font-size: 28px !important; }
  section.spotlight .spot-copy p { font-size: 14px !important; }
  .spot-cta-row .primary, .spot-cta-row .asmar-btn-secondary { width: 100% !important; }
  .spot-thumb { width: 112px; flex-shrink: 0; }

  .jin-custom-promo { flex-direction: column !important; align-items: stretch !important; padding: 18px !important; gap: 14px !important; }
  .jin-custom-promo .jc-cta { width: 100% !important; }
  .studio-stats-card { padding: 14px 10px; }
  .studio-stat strong { font-size: 20px; }

  .tools { flex-direction: column !important; align-items: stretch !important; }
  .tools .search { max-width: none !important; width: 100% !important; }
  .filters button { min-height: 44px !important; flex: 1 1 auto !important; }
  .games-grid, #grid.games-grid,
  body.asmar-has-rich-ads .games-grid,
  body.asmar-has-rich-ads #grid.games-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .asmar-curated-section { padding: 20px 16px; border-radius: 18px; }
  .asmar-deals-grid { grid-template-columns: 1fr; }

  .detail-banner { min-height: 245px; border-radius: 18px; }
  .detail-banner-content { padding: 18px; }
  #detail .detail-copy, #detail .detail-panel, #detail .download-box { padding: 18px !important; }
}
