/* Inicio «¿Qué quieres comprar?» (2026-11-11, elegido por Dario: «Dos puertas» + «Lo más vendido»).
   Con html[data-qim] reemplaza el contenido de #qa: Robux (cantidad + las dos formas con su precio) y Juegos, lado a lado;
   debajo lo más vendido y los tres accesos. El fondo y la barra superior del sitio no se tocan. */
html[data-qim] .qa-inner > *:not(.qm) { display: none !important; }
html[data-qim] .qa-inner { max-width: 1240px; padding-top: 46px; }
.qm { --bg: #0f0b17; --s1: rgba(19, 15, 28, .88); --ln: #2b2440; --ln2: #3d3359; --tx: #f4f1fa; --mu: #a79dc0; --vi: #a78bfa; --gp: #f87171; --gr: #f2c14e; color: var(--tx); font-family: 'Inter', system-ui, sans-serif; }
.qm *, .qm *::before, .qm *::after { box-sizing: border-box; }
.qm a { color: inherit; text-decoration: none; }
.qm button, .qm input, .qm select { font: inherit; color: inherit; }
.qm h2, .qm h3 { font-family: 'Archivo', 'Inter', sans-serif; margin: 0; color: #fff; letter-spacing: -.025em; }

.qm-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; margin-bottom: 30px; }
.qm-top h2 { font-size: clamp(30px, 3.7vw, 46px); font-weight: 800; line-height: 1.04; }
.qm-top p { margin: 9px 0 0; font-size: 16px; color: var(--mu); }
.qm-cur { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mu); }
.qm-cur select { appearance: none; background: var(--s1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23a79dc0' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 11px center / 10px; border: 1px solid var(--ln); border-radius: 10px; min-height: 38px; padding: 0 30px 0 12px; color: #fff; font-weight: 600; font-size: 13px; cursor: pointer; outline: 0; }
.qm-cur select:hover { border-color: var(--ln2); }
.qm-cur option { background: #151022; color: #fff; }

/* ---------- los dos paneles ---------- */
.qm-cuerpo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 18px; align-items: stretch; }
.qm-box { display: flex; flex-direction: column; background: var(--s1); border: 1px solid var(--ln); border-radius: 24px; padding: 24px !important; }   /* !important: el sitio le pone 5rem a toda <section> */
.qm-sk { min-height: 600px; }
.qm-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 18px; }
.qm-hd h3 { font-size: 26px; font-weight: 800; line-height: 1.1; }
.qm-hd p { margin: 6px 0 0; font-size: 14.5px; color: var(--mu); line-height: 1.45; }
.qm-mas { font-size: 14px; font-weight: 700; color: #d9cffb; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.qm-mas:hover { color: #fff; }
.qm-mas i { font-style: normal; transition: transform .18s; } .qm-mas:hover i { transform: translateX(3px); }

/* ---------- Robux: cantidades ---------- */
.qm-amts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.qm-amt { min-height: 46px; padding: 0 6px; border-radius: 12px; border: 1px solid var(--ln2); background: rgba(14, 10, 22, .6); color: #e7e1f6; font-weight: 700; font-size: 15.5px; font-variant-numeric: tabular-nums; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.qm-amt:hover { border-color: #5a4d80; background: rgba(255, 255, 255, .05); }
.qm-amt[aria-pressed="true"] { background: #fff; border-color: #fff; color: #120e1b; }
.qm-otra { grid-column: 1 / -1; min-height: 46px; padding: 0 14px; border-radius: 12px; border: 1px dashed #5a4d80; background: rgba(14, 10, 22, .6); color: #fff; font-weight: 700; font-size: 15.5px; outline: 0; box-shadow: none; }
.qm-otra::placeholder { color: #9288ad; font-weight: 600; }
.qm-otra:focus { border-style: solid; border-color: var(--vi); outline: 0; box-shadow: none; }

/* ---------- Robux: las dos formas, con su arte ---------- */
.qm-ofs { display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; gap: 14px; flex: 1; margin-top: 14px; }
.qm-of { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; min-height: 158px; padding: 20px 22px; border-radius: 20px; border: 1px solid var(--ln); background: var(--bg); transition: border-color .2s, transform .2s; }
.qm-art { position: absolute; top: 0; right: 0; bottom: 0; left: 42%; z-index: -2; background-size: cover; background-position: center 30%; transition: transform .45s; }
.qm-of::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--bg) 42%, rgba(15, 11, 23, .5) 64%, rgba(15, 11, 23, .1) 100%); }
.qm-of.gr::before { background: linear-gradient(90deg, var(--bg) 42%, rgba(15, 11, 23, .7) 64%, rgba(15, 11, 23, .32) 100%); }
.qm-of:hover { transform: translateY(-3px); }
.qm-of.gp:hover { border-color: rgba(248, 113, 113, .7); } .qm-of.gr:hover { border-color: rgba(242, 193, 78, .7); }
.qm-of:hover .qm-art { transform: scale(1.05); }
.qm-of b { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; font-family: 'Archivo', sans-serif; font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.qm-of small { display: block; margin-top: 6px; max-width: 27ch; font-size: 13.5px; color: #cdc4e2; line-height: 1.42; }
.qm-pill { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 800; letter-spacing: .01em; padding: 4px 9px; border-radius: 99px; background: rgba(242, 193, 78, .16); color: var(--gr); white-space: nowrap; }
.qm-of.gp .qm-pill { background: rgba(248, 113, 113, .16); color: #fca5a5; }
.qm-of-b { margin-top: auto; padding-top: 16px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.qm-pr { white-space: nowrap; line-height: 1; }
.qm-pr strong { font-family: 'Archivo', sans-serif; font-size: 32px; font-weight: 800; letter-spacing: -.025em; color: #fff; font-variant-numeric: tabular-nums; }
.qm-pr i { font-style: normal; font-size: 13px; font-weight: 700; color: #cdc4e2; margin-left: 7px; }
.qm-btn { display: inline-flex; align-items: center; min-height: 42px; padding: 0 17px; border-radius: 12px; background: #fff; color: #120e1b; font-weight: 700; font-size: 14.5px; white-space: nowrap; transition: transform .18s; }
.qm-of:hover .qm-btn { transform: translateX(2px); }
.qm-fine { margin: 12px 0 0; font-size: 12.5px; color: #9288ad; }

/* ---------- juegos ---------- */
.qm-busca { position: relative; flex: 1 1 240px; max-width: 340px; }
.qm-busca svg { position: absolute; left: 15px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); color: #9288ad; pointer-events: none; }
.qm-busca input { width: 100%; min-height: 46px; padding: 0 14px 0 42px; border-radius: 12px; border: 1px solid var(--ln2); background: rgba(14, 10, 22, .6); color: #fff; font-size: 15px; outline: 0; box-shadow: none; }
.qm-busca input::placeholder { color: #9288ad; }
.qm-busca input:focus { border-color: var(--vi); outline: 0; box-shadow: none; }
.qm-gs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 16px; flex: 1; align-content: start; }
.qm-g { display: block; }
.qm-g > span { display: block; aspect-ratio: 16 / 9; background: #1d1830; overflow: hidden; border-radius: 14px; outline: 1px solid transparent; outline-offset: -1px; transition: outline-color .2s; }
.qm-g:hover > span { outline-color: #7c5cf5; }
.qm-g img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.qm-g:hover img { transform: scale(1.05); }
.qm-g div { padding: 10px 2px 0; }
.qm-g b { display: block; font-family: 'Archivo', sans-serif; font-size: 16px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
.qm-g small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--mu); }
.qm-pedir { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 16px 18px; border-radius: 16px; border: 1.5px dashed #54477a; background: rgba(124, 92, 245, .08); cursor: pointer; text-align: left; transition: border-color .18s, background .18s; }
.qm-pedir:hover { border-color: var(--vi); background: rgba(124, 92, 245, .16); }
.qm-pedir b { font-family: 'Archivo', sans-serif; font-size: 16px; font-weight: 700; color: #fff; }
.qm-pedir small { font-size: 13px; color: var(--mu); line-height: 1.4; }
.qm-pedir span { margin-top: 6px; font-size: 13.5px; font-weight: 700; color: #c4b5fd; }
.qm-vacio { grid-column: 1 / -1; margin: 0; padding: 30px 16px; text-align: center; font-size: 15px; color: var(--mu); border: 1.5px dashed #54477a; border-radius: 16px; }
.qm-vacio button { display: inline-flex; margin-top: 14px; min-height: 44px; align-items: center; padding: 0 18px; border-radius: 12px; border: 0; background: #fff; color: #120e1b; font-weight: 700; font-size: 14.5px; cursor: pointer; }
.qm-ver { display: flex; justify-content: flex-end; margin-top: 8px; }

/* ---------- lo más vendido ---------- */
.qm-sec { padding: 0 !important; margin-top: 38px; }   /* el sitio le pone 5rem a toda <section> */
.qm-sec .qm-hd { margin-bottom: 16px; }
.qm-fila { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 14px; }
.qm-p { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: #171225; border: 1px solid var(--ln); transition: transform .2s, border-color .2s; }
.qm-p:hover { transform: translateY(-3px); border-color: #7c5cf5; }
.qm-p > span { display: grid; place-items: center; aspect-ratio: 1 / .74; background: radial-gradient(circle at 50% 46%, #2c2249 0%, #171225 70%); }
.qm-p > span img { width: 58%; max-width: 104px; aspect-ratio: 1; object-fit: contain; border-radius: 14px; transition: transform .3s; }
.qm-p:hover > span img { transform: scale(1.08); }
.qm-p div { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.qm-p b { font-size: 14.5px; font-weight: 700; line-height: 1.25; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qm-p small { margin-top: 2px; font-size: 12.5px; color: var(--mu); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qm-p-b { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.qm-p em { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 255, 255, .09); color: #fff; font-style: normal; transition: background .18s, color .18s; }
.qm-p em svg { width: 17px; height: 17px; }
.qm-p:hover em, .qm-p:focus-visible em { background: #fff; color: #120e1b; }
.qm-p strong { font-family: 'Archivo', sans-serif; font-size: 18px; font-weight: 800; letter-spacing: -.015em; font-variant-numeric: tabular-nums; color: #fff; }
.qm-p strong i { font-style: normal; font-family: 'Inter', sans-serif; font-size: 11.5px; font-weight: 700; color: var(--mu); margin-left: 5px; letter-spacing: 0; }

/* ---------- accesos del final ---------- */
.qm-pie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.qm-l { display: flex; align-items: center; gap: 13px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--ln); background: var(--s1); transition: border-color .18s, background .18s; }
.qm-l:hover { border-color: var(--ln2); background: rgba(27, 22, 40, .94); }
.qm-l > svg { flex: none; width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: rgba(167, 139, 250, .15); color: #c4b5fd; }
.qm-l.dc > svg { background: #5865f2; color: #fff; padding: 9px; }
.qm-l b { display: block; font-size: 15px; font-weight: 700; color: #fff; }
.qm-l small { display: block; font-size: 13px; color: var(--mu); margin-top: 1px; }
.qm-l > i { margin-left: auto; font-style: normal; color: var(--mu); transition: transform .18s, color .18s; }
.qm-l:hover > i { transform: translateX(3px); color: #fff; }

@media (max-width: 1100px) {
  .qm-cuerpo { grid-template-columns: minmax(0, 1fr); }
  .qm-ofs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qm-sk { min-height: 420px; }
  .qm-fila { grid-auto-columns: 172px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 6px; margin-right: -22px; padding-right: 22px; scrollbar-width: none; }
  .qm-fila::-webkit-scrollbar { display: none; }
  .qm-fila > * { scroll-snap-align: start; }
}
@media (max-width: 720px) {
  html[data-qim] .qa-inner { padding: 34px 16px 64px; }
  .qm-top { margin-bottom: 24px; }
  .qm-top p { font-size: 15px; }
  .qm-hd h3 { font-size: 23px; }
  .qm-box { padding: 18px 16px !important; border-radius: 20px; }
  .qm-gs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .qm-g b { font-size: 14.5px; }
  .qm-pedir { grid-column: 1 / -1; }
  .qm-busca { max-width: none; flex-basis: 100%; }
  .qm-ofs { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .qm-of { min-height: 156px; padding: 16px 18px; border-radius: 18px; }
  .qm-of b { font-size: 19px; } .qm-of small { font-size: 13px; max-width: 24ch; }
  .qm-pr strong { font-size: 27px; }
  .qm-amt { padding: 0 4px; font-size: 15px; }
  .qm-sec { margin-top: 32px; }
  .qm-pie { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 26px; }
  .qm-fila { margin-right: -16px; padding-right: 16px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { .qm *, .qm *::before { transition: none !important; } .qm-p:hover, .qm-of:hover { transform: none; } }
