/* CHURY'S PC — «Encontrá tu PC ideal» (/cotizar/juegos), rediseño del 25/11/2026. Sólo se carga en esa página.
   Misma familia visual que «Armá tu PC» (armar.css): fondo #080F19, superficies #0D1624/#182332, azul #0088EE,
   acento #69C7FF. Movimiento sólo con transform/opacity. */
.jg { --j-s1: #0D1624; --j-s2: #121D2D; --j-line: rgba(169, 180, 194, .14); --j-line2: rgba(169, 180, 194, .26); --j-dim: #A9B4C2; --j-dim2: #C9D3DF;
  --j-ok: #2FBF71; --j-warn: #F5A524; --j-bad: #F25F5C; --j-top: calc(var(--header-h) + 14px);
  background: var(--ink); color: var(--paper); padding-bottom: 56px; min-height: 100vh; }
.jg .wrap { max-width: 1680px; }
.jg svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.jg button { font: inherit; color: inherit; }
.jg a { color: var(--sky); }
.jg .btn-primary { color: var(--ink); }

/* ---------- Encabezado compacto ---------- */
.jg-head { padding-top: 16px; }
.jg-head-card { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; align-items: center; gap: 18px; min-height: 150px; padding: 16px 20px; border-radius: 22px; overflow: hidden; isolation: isolate;
  background: radial-gradient(60% 120% at 62% 50%, rgba(0, 136, 238, .3), transparent 65%), var(--j-s1); border: 1px solid var(--j-line); }
.jg-eyebrow { display: inline-block; margin: 0 0 8px; padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sky); background: rgba(0, 136, 238, .14); border: 1px solid rgba(105, 199, 255, .3); }
.jg-head-copy h1 { font: 800 clamp(28px, 2.8vw, 42px)/1.05 var(--display); letter-spacing: -.03em; margin: 0 0 6px; color: #fff; }
.jg-head-copy h1 span { color: var(--blue); }
.jg-head-copy p { margin: 0; color: var(--j-dim2); font-size: 15px; max-width: 40em; }
.jg-head-art { position: relative; height: 128px; }
.jg-head-pc { position: absolute; left: 0; bottom: -18px; height: 150px; width: auto; border-radius: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); opacity: .9; }
.jg-head-covers { position: absolute; left: 38%; right: 0; top: 50%; transform: translateY(-50%); display: flex; gap: 8px; }
.jg-head-covers img { width: 72px; height: 108px; object-fit: cover; border-radius: 10px; box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .8); transform: rotate(calc((var(--i) - 1.5) * 3deg)) translateY(calc(var(--i) * 2px)); border: 1px solid rgba(255, 255, 255, .1); }
.jg-head-ind { list-style: none; margin: 0; padding: 10px; display: flex; gap: 4px; border-radius: 16px; background: rgba(8, 15, 25, .6); border: 1px solid var(--j-line); }
.jg-head-ind li { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 96px; padding: 6px; text-align: center; font-size: 12.5px; font-weight: 600; line-height: 1.25; color: var(--j-dim2); }
.jg-head-ind svg { width: 28px; height: 28px; color: var(--sky); }

/* ---------- Grilla ---------- */
.jg-grid { display: grid; grid-template-columns: clamp(300px, 26vw, 420px) minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 18px; }
.jg-panel { border-radius: 18px; background: var(--j-s1); border: 1px solid var(--j-line); padding: 20px; }
.jg-main { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.jg-h { display: flex; align-items: baseline; gap: 10px; margin: 0 0 4px; font: 800 22px/1.15 var(--display); letter-spacing: -.01em; color: #fff; }
.jg-h b { font: inherit; color: var(--blue); }
.jg-sub { margin: 0 0 14px; font-size: 14px; color: var(--j-dim); }

/* Columna de juegos */
.jg-games { position: sticky; top: var(--j-top); max-height: calc(100vh - var(--j-top) - 16px); display: flex; flex-direction: column; }
.jg-search { position: relative; margin-bottom: 10px; }
.jg-search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--j-dim); pointer-events: none; }
.jg-search input { width: 100%; height: 44px; padding: 0 14px 0 40px; border-radius: 12px; border: 1px solid var(--j-line2); background: rgba(255, 255, 255, .03); color: #fff; font-size: 15px; }
.jg-search input:focus, .jg-budget input:focus, .jg-budget select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 136, 238, .3); }
.jg-picker-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.jg-picker-tools select, .jg-clear { min-height: 36px; padding: 6px 9px; border: 1px solid var(--j-line2); border-radius: 9px; background: var(--j-s2); color: var(--j-dim2); font: 600 12px/1.2 var(--display); color-scheme: dark; }
.jg-picker-tools select { flex: 1 1 130px; min-width: 0; max-width: 100%; }
.jg-clear { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.jg-clear svg { width: 14px; height: 14px; }
.jg-clear:disabled { opacity: .55; cursor: default; }
.jg-cover-grid { flex: 1; min-height: 160px; overflow: auto; scrollbar-width: thin; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 4px; align-content: start; }
.jg-cover { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 2 / 3; background: #142133; cursor: pointer; box-shadow: 0 0 0 1px var(--j-line); transition: transform .2s var(--ease), box-shadow .2s; }
.jg-cover:hover { transform: translateY(-3px); }
.jg-cover img { width: 100%; height: 100%; object-fit: cover; }
.jg-cover .ph { position: absolute; inset: 0; display: grid; place-items: center; padding: 10px; text-align: center; font-weight: 700; font-size: 14px; background: linear-gradient(160deg, #1B2A40, #0E1828); color: #fff; }
.jg-cover .nm { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 7px; font-size: 13px; font-weight: 700; line-height: 1.2; text-align: left; overflow-wrap: anywhere; color: #fff; background: linear-gradient(transparent, rgba(4, 8, 14, .96)); }
.jg-cover[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--blue), 0 12px 26px -12px rgba(0, 136, 238, .9); }
.jg-cover .ck { position: absolute; top: 7px; right: 7px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: var(--ink); box-shadow: 0 4px 12px rgba(0, 0, 0, .5); animation: jgPop .3s var(--ease); }
.jg-cover .ck svg { width: 15px; height: 15px; stroke-width: 3; }
@keyframes jgPop { from { transform: scale(.3); opacity: 0; } }
.jg-empty-sel { margin: 0; font-size: 13px; color: var(--j-dim); }

/* Experiencia */
.jg-exp-grid { display: grid; grid-template-columns: 1.1fr 1.4fr 1.6fr; gap: 18px 22px; }
.jg-exp-grid > div + div { padding-left: 22px; border-left: 1px solid var(--j-line); }
.jg-lbl { margin: 0 0 8px; font-size: 14px; font-weight: 700; color: #fff; }
.jg-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.jg-opt { flex: 1 1 0; min-width: 62px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 8px; border-radius: 12px; border: 1px solid var(--j-line2); background: rgba(255, 255, 255, .03); cursor: pointer; transition: background .2s, border-color .2s; }
.jg-opt strong { font-size: 15px; color: #fff; }
.jg-opt small { font-size: 11.5px; color: var(--j-dim); }
.jg-opt:hover { border-color: var(--sky); }
.jg-opt[aria-pressed="true"] { background: rgba(0, 136, 238, .2); border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.jg-opt[aria-pressed="true"] small { color: var(--sky); }
.jg-budget-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--j-line); }
.jg-range { width: 100%; accent-color: var(--blue); height: 28px; }
.jg-budget { display: flex; align-items: center; gap: 6px; padding: 6px 8px 6px 12px; border-radius: 12px; border: 1px solid var(--j-line2); background: rgba(255, 255, 255, .03); }
.jg-budget small { font-size: 12px; color: var(--j-dim); }
.jg-budget input { width: 96px; height: 36px; padding: 0 8px; border: 1px solid transparent; border-radius: 8px; background: rgba(8, 15, 25, .5); color: #fff; font-size: 16px; font-weight: 700; }
.jg-budget select { height: 36px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--j-line2); background: #0D1624; color: #fff; }
.jg-budget-note { margin: 6px 0 0; font-size: 12.5px; color: var(--j-dim); }
.jg-warn { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: rgba(245, 165, 36, .08); border: 1px solid rgba(245, 165, 36, .35); color: #FCE7C2; font-size: 14px; }
.jg-warn svg { color: var(--j-warn); margin-top: 1px; }

/* Resultados */
.jg-res-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 2px 12px; }
.jg-res-h .jg-h { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.jg-res-h span { font-size: 13.5px; color: var(--j-dim); }
.jg-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, max(350px, calc((100% - 36px) / 3))), 1fr)); gap: 18px; }
.jg-pc { position: relative; container-type: inline-size; min-width: 0; overflow-wrap: anywhere; display: flex; flex-direction: column; padding: 16px; border-radius: 18px; background: linear-gradient(180deg, var(--j-s2), var(--j-s1)); border: 1px solid var(--j-line); transition: transform .25s var(--ease), border-color .25s; animation: jgIn .4s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes jgIn { from { opacity: 0; transform: translateY(10px); } }
.jg-pc:hover { border-color: rgba(105, 199, 255, .4); }
.jg-pc.top { border-color: rgba(0, 136, 238, .55); box-shadow: 0 18px 40px -26px rgba(0, 136, 238, .9); }
.jg-badge { align-self: flex-start; max-width: 100%; margin: 0 0 4px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.jg-badge svg { flex: none; width: 14px; height: 14px; }
.jg-badge.relacion { background: #0E3A66; color: #CFE9FF; border: 1px solid var(--blue); }
.jg-badge.rendimiento { background: #0F3B2A; color: #BDF5D6; border: 1px solid var(--j-ok); }
.jg-badge.economica { background: #2A2340; color: #DCD3FF; border: 1px solid #8B7BD8; }
.jg-badge.cercana { background: #3A2A0C; color: #FCE7C2; border: 1px solid var(--j-warn); }
.jg-pc-top { display: grid; grid-template-columns: minmax(0, 32%) minmax(0, 1fr); gap: 10px; align-items: start; margin-top: 6px; }
.jg-pc-img { width: 100%; max-width: 112px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #0A121E; display: grid; place-items: center; }
.jg-pc-img img { width: 100%; height: 100%; object-fit: cover; }
.jg-pc h3 { margin: 0 0 6px; font-size: 16px; line-height: 1.25; color: #fff; }
.jg-specs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; color: var(--j-dim2); }
.jg-specs li { display: flex; gap: 6px; align-items: baseline; }
.jg-specs span { flex: none; width: 34px; color: var(--j-dim); font-size: 11.5px; }
.jg-perf { margin: 14px 0 0; padding: 12px; border-radius: 12px; background: rgba(8, 15, 25, .5); border: 1px solid var(--j-line); }
.jg-perf-h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 8px; margin: 0 0 8px; font-size: 12.5px; font-weight: 600; color: var(--j-dim2); }
.jg-fps { margin: 0 0 10px; }
.jg-fps:last-child { margin-bottom: 0; }
.jg-fps-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 13px; }
.jg-fps-top b { min-width: 0; color: #fff; font-weight: 600; }
.jg-fps-top strong { color: #fff; white-space: nowrap; }
.jg-fps-top strong small { color: var(--j-dim); font-weight: 500; }
.jg-bar { position: relative; height: 8px; margin: 6px 0 4px; border-radius: 999px; background: rgba(169, 180, 194, .14); overflow: hidden; }
.jg-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; transform-origin: left; animation: jgBar .7s var(--ease) both; }
@keyframes jgBar { from { transform: scaleX(0); } }
.jg-bar .tg { position: absolute; top: -2px; bottom: -2px; width: 2px; background: #fff; opacity: .7; }
.jg-bar i.cumple { background: linear-gradient(90deg, #1E9E5E, var(--j-ok)); }
.jg-bar i.justo { background: linear-gradient(90deg, #C07D0E, var(--j-warn)); }
.jg-bar i.no_cumple { background: linear-gradient(90deg, #B83A38, var(--j-bad)); }
.jg-fps-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 8ch); gap: 8px; font-size: 11.5px; color: var(--j-dim); }
.jg-v { font-weight: 700; }
.jg-v.cumple { color: #7BE3A8; } .jg-v.justo { color: #F9C76B; } .jg-v.no_cumple { color: #FF9C9A; } .jg-v.sin_datos { color: var(--j-dim); }
.jg-fps details { font-size: 11.5px; color: var(--j-dim); }
.jg-fps summary { cursor: pointer; color: var(--sky); width: fit-content; }
.jg-fps details p { margin: 4px 0 0; line-height: 1.4; }
.jg-nodata { font-size: 12.5px; color: var(--j-dim); font-style: italic; }
.jg-goal { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 13px; font-weight: 600; }
.jg-goal svg { flex: none; width: 18px; height: 18px; }
.jg-goal.cumple { color: #7BE3A8; } .jg-goal.justo, .jg-goal.sin_datos { color: #F9C76B; } .jg-goal.no_cumple { color: #FF9C9A; }
.jg-pc-foot { margin-top: auto; padding-top: 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; align-items: end; }
.jg-price strong { display: block; font: 800 24px/1 var(--display); color: #fff; }
.jg-price small { display: block; margin-top: 3px; font-size: 13px; color: var(--j-dim); }
.jg-price em { display: block; margin-top: 4px; font-style: normal; font-size: 12px; color: #7BE3A8; }
.jg-see { min-width: 0; text-align: center; white-space: normal; display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border-radius: 10px; background: #12305A; color: #fff !important; font-weight: 700; font-size: 14px; text-decoration: none; border: 1px solid rgba(105, 199, 255, .35); }
.jg-see:hover { background: #18407A; }
.jg-wa { min-width: 0; text-align: center; white-space: normal; grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 12px; background: var(--blue); color: var(--ink) !important; font-weight: 800; font-size: 15px; text-decoration: none; transition: background .2s; }
.jg-wa:hover { background: var(--blue-hover); }
.jg-wa svg { flex: none; width: 20px; height: 20px; }
.jg-cmp { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--j-dim2); cursor: pointer; justify-self: start; }
.jg-cmp input { width: 17px; height: 17px; accent-color: var(--blue); }
.jg-more-h { margin: 22px 2px 12px; font-size: 17px; color: #fff; }
.jg-alert { padding: 14px 16px; border-radius: 14px; background: rgba(0, 136, 238, .08); border: 1px solid rgba(105, 199, 255, .3); color: var(--j-dim2); font-size: 14.5px; line-height: 1.5; margin-bottom: 14px; }
.jg-alert strong { color: #fff; }
.jg-alert ul { margin: 6px 0 0 18px; padding: 0; }
.jg-alert.warn { background: rgba(245, 165, 36, .08); border-color: rgba(245, 165, 36, .35); }
.jg-note { margin: 16px 2px 0; font-size: 12.5px; line-height: 1.5; color: var(--j-dim); }
.jg-skel { min-height: 420px; border-radius: 18px; background: linear-gradient(100deg, #111C2B 30%, #18263A 50%, #111C2B 70%); background-size: 300% 100%; animation: jgSk 1.2s linear infinite; }
@keyframes jgSk { from { background-position: 100% 0; } to { background-position: 0 0; } }
.jg-start { padding: 40px 20px; text-align: center; border-radius: 18px; border: 1px dashed var(--j-line2); color: var(--j-dim); }
.jg-start strong { display: block; margin-bottom: 6px; font-size: 18px; color: #fff; }

@container (max-width: 290px) {
  .jg-pc-top { grid-template-columns: minmax(0, 27%) minmax(0, 1fr); gap: 8px; }
  .jg-perf { padding: 10px; }
  .jg-pc-foot { grid-template-columns: minmax(0, 1fr) minmax(0, 44%); }
  .jg-see { padding-inline: 8px; }
}

/* Comparación */
.jg-cmpbar { position: fixed; z-index: 55; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 18px; border-radius: 16px; background: rgba(13, 22, 36, .96); border: 1px solid rgba(105, 199, 255, .4); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .7); color: #fff; font-size: 14px; }
.jg-cmpbar button { border: 0; border-radius: 10px; padding: 10px 16px; font-weight: 700; cursor: pointer; }
.jg-cmpbar .go { background: var(--blue); color: var(--ink); }
.jg-cmpbar .x { background: rgba(255, 255, 255, .06); color: var(--j-dim2); padding: 10px 12px; }
.jg-modal { width: min(980px, calc(100% - 24px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid var(--j-line2); border-radius: 18px; background: #0F1A2A; color: var(--paper); }
.jg-modal::backdrop { background: rgba(4, 8, 14, .7); }
.jg-modal-in { padding: 20px; }
.jg-modal h2 { margin: 0 40px 14px 0; font-size: 21px; color: #fff; }
.jg-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; display: grid; place-items: center; }
.jg-ctable { width: 100%; border-collapse: collapse; font-size: 14px; table-layout: fixed; }
.jg-ctable th, .jg-ctable td { padding: 10px 8px; border-bottom: 1px solid var(--j-line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.jg-ctable thead th { color: #fff; font-size: 14.5px; }
.jg-ctable tbody th { width: 22%; color: var(--j-dim); font-weight: 600; }
.jg-ctable td strong { color: #fff; }
.jg-ctable .best { color: #7BE3A8; font-weight: 700; }

/* Pasos (celular) */
.jg-steps { display: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1279px) {
  .jg-head-ind { display: none; }
  .jg-head-card { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .jg-exp-grid { grid-template-columns: 1fr 1fr; }
  .jg-exp-grid > div:nth-child(3) { grid-column: 1 / -1; padding-left: 0; border-left: 0; padding-top: 14px; border-top: 1px solid var(--j-line); }
}
@media (max-width: 980px) {
  .jg-grid { grid-template-columns: minmax(0, 1fr); }
  .jg-games { position: static; max-height: none; }
  .jg-cover-grid { max-height: min(56vh, 440px); }
}
/* ---------- Celular: por pasos con barra inferior ---------- */
@media (max-width: 760px) {
  .jg { padding-bottom: 92px; }
  .jg-head { padding-top: 10px; }
  .jg-head-card { grid-template-columns: minmax(0, 1fr) 120px; min-height: 0; padding: 14px; gap: 10px; }
  .jg-head-copy p { font-size: 13px; }
  .jg-head-art { height: 96px; }
  .jg-head-pc { display: none; }
  .jg-head-covers { left: 0; }
  .jg-head-covers img { width: 44px; height: 66px; }
  .jg-head-covers img:nth-child(n+4) { display: none; }
  .jg-panel { padding: 16px 14px; }
  .jg-exp-grid { grid-template-columns: 1fr; gap: 14px; }
  .jg-exp-grid > div + div { padding-left: 0; border-left: 0; padding-top: 14px; border-top: 1px solid var(--j-line); }
  .jg-opt { min-width: 0; padding: 10px 4px; }
  .jg-opts.fps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .jg-budget-row { grid-template-columns: 1fr; gap: 10px; }
  .jg-budget input { flex: 1; width: auto; }
  .jg-cards { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  [id^="jg-paso-"] { scroll-margin-top: calc(var(--header-h) + 8px); }
  .jg-steps { display: flex; position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; gap: 6px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(13, 22, 36, .97); border-top: 1px solid var(--j-line2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  .jg-steps a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 4px; border-radius: 12px; text-decoration: none; color: var(--j-dim2); font-size: 12px; font-weight: 600; }
  .jg-steps a b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--j-line2); font-size: 12.5px; color: #fff; }
  .jg-steps a.on { background: rgba(0, 136, 238, .18); color: #fff; }
  .jg-steps a.on b { background: var(--blue); border-color: var(--blue); color: var(--ink); }
  .jg-cmpbar { bottom: 82px; width: calc(100% - 24px); justify-content: space-between; }
  .jg-ctable { font-size: 12.5px; }
  .jg-ctable tbody th { width: 26%; }
  .jg-modal-in { padding: 16px 12px; }
}
@media (prefers-reduced-motion: reduce) { .jg *, .jg *::before, .jg *::after { animation: none !important; transition-duration: .01ms !important; } }

/* Ajustes: la columna de juegos no aplasta sus partes; FPS en grilla pareja */
.jg-games > * { flex: none; }
.jg-games > .jg-cover-grid { flex: 1 1 auto; min-height: 0; grid-auto-rows: max-content; }
.jg-cover { height: auto; }
.jg-opts.fps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.jg-opts.fps .jg-opt { min-width: 0; }
.jg-pc-img img, .jg-cover img { color: transparent; font-size: 0; }
.jg-budget-row > div { min-width: 0; }
.jg-budget { width: 100%; }
.jg-budget input { min-width: 0; flex: 1; }
@media (max-width: 760px) {
  .jg-budget-row { grid-template-columns: minmax(0, 1fr); }
  .jg-eyebrow { display: none; }
  .jg-head-copy p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}
/* P04: sin mediciones → asesoramiento y juegos con datos para probar */
.jg-alert-act { margin: 10px 0 0; }
.jg-alert-act .jg-wa { display: inline-flex; }
.jg-chip-btn { margin: 2px; padding: 5px 10px; border: 1px solid var(--line, #DDE3EA); border-radius: 999px; background: #fff; font: inherit; font-size: 13px; cursor: pointer; }
.jg-chip-btn:hover { border-color: #0069B8; }
.jg-busy { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-weight: 600; color: var(--sky, #69C7FF); }
.jg-spin { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: jg-spin .8s linear infinite; }
@keyframes jg-spin { to { transform: rotate(360deg); } }
.is-busy .jg-cards, .is-busy .jg-alert { opacity: .45; transition: opacity .15s; }
@media (prefers-reduced-motion: reduce) { .jg-spin { animation: none; } }

/* Motor gaming unificado (28/11/2026): estabilidad, confianza y «¿De dónde sale esta estimación?» */
.jg-stab { margin: 4px 0 0; font-size: .8rem; color: var(--muted, #9aa4b2); line-height: 1.35; }
.jg-stab.warn { color: var(--warn, #f0b429); }
.jg-src, .jg-lim { margin: 6px 0 0; padding-left: 18px; font-size: .8rem; line-height: 1.4; }
.jg-src a { color: inherit; text-decoration: underline; }
.jg-v.requisitos, .jg-v.requisitos_min { color: var(--muted, #9aa4b2); }

/* 01/12/2026: portadas de la cabecera sin pisar el cuadro de íconos (1366 px: la cuarta tapaba «Selección de juegos») */
.jg-head-art { min-width: 0; }
.jg-head-covers { overflow: hidden; padding: 16px 6px; }
.jg-head-covers img { flex: none; }
/* Juegos sin portada (no están en Steam: Fortnite, Valorant, Minecraft, League of Legends): tarjeta con ícono, no un hueco */
.jg-cover .ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: radial-gradient(120% 80% at 50% 0%, rgba(0, 136, 238, .35), transparent 60%), linear-gradient(160deg, #1B2A40, #0B1422); }
.jg-cover .ph::before { content: ''; width: 46px; height: 46px; background: var(--sky); opacity: .9;
  -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='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 9h4M9 7v4'/%3E%3Cpath d='M15.5 9.5h.01M17.5 11.5h.01'/%3E%3Cpath d='M6.5 5h11A4.5 4.5 0 0 1 22 9.5v3.2a3.3 3.3 0 0 1-6 1.9L14.8 13H9.2L8 14.6a3.3 3.3 0 0 1-6-1.9V9.5A4.5 4.5 0 0 1 6.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' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 9h4M9 7v4'/%3E%3Cpath d='M15.5 9.5h.01M17.5 11.5h.01'/%3E%3Cpath d='M6.5 5h11A4.5 4.5 0 0 1 22 9.5v3.2a3.3 3.3 0 0 1-6 1.9L14.8 13H9.2L8 14.6a3.3 3.3 0 0 1-6-1.9V9.5A4.5 4.5 0 0 1 6.5 5z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Equilibrio (04/12/2026, pedido del dueño): más ancho para «Seleccioná tus juegos» (las portadas se veían apretadas) y
   «Configurá tu experiencia» un poco más compacta, sin que se apriete nada */
@media (min-width: 981px) {
  .jg-grid { grid-template-columns: clamp(340px, 32vw, 540px) minmax(0, 1fr); }
  .jg-exp-grid { gap: 16px 16px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1.45fr); }
  .jg-exp-grid > div + div { padding-left: 16px; }
  .jg-exp .jg-opt { min-width: 52px; padding: 8px 6px; }
}
@media (min-width: 981px) and (max-width: 1279px) { .jg-grid { grid-template-columns: clamp(360px, 35vw, 440px) minmax(0, 1fr); } .jg-exp-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.jg-picker-tools select { flex: 1 1 160px; min-width: 0; }
.jg-picker-tools .jg-clear { flex: 0 0 auto; }

.jg-budget-cta { display: inline-flex; align-items: center; gap: 8px; }
#jg-opciones-presupuesto { scroll-margin-top: calc(var(--header-h) + 18px); }
html.season-navidad #jg-opciones-presupuesto { scroll-margin-top: calc(var(--header-h) + var(--xg-h, 0px) + var(--xg-top, 0px) + 18px); }
