/* Components 2026 — negro neutro, verde del logo como única acción, colores de marca solo en datos. */

:root {
  --bg: #08090a;
  --bg-elevated: #0e1012;
  --surface: #0e1012;
  --surface-hover: #15181b;
  --surface-raised: #121417;
  --glass: rgba(8, 9, 10, 0.74);
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.13);
  --text: #ededed;
  --text-soft: #a1a1aa;
  --text-faint: #8b8b94;
  --primary: #76b900;
  --primary-hover: #86cc0a;
  --primary-ink: #0b0f04;
  --primary-text: #9fd93a;
  --primary-glow: rgba(118, 185, 0, 0.22);
  --accent: #9fd93a;
  --accent-glow: rgba(118, 185, 0, 0.16);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 16px 40px -20px rgba(0, 0, 0, 0.8);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --scrollbar-thumb: rgba(255, 255, 255, 0.14);
  --scrollbar-thumb-hover: rgba(118, 185, 0, 0.7);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html { color-scheme: dark; }

body {
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  caret-color: var(--primary-text);
}

::selection { background: rgba(118, 185, 0, 0.32); color: #fff; }

/* Mantener pulsado en el fondo no selecciona la página ni arrastra fichas. */
body {
  -webkit-user-select: none;
  user-select: none;
}
input, textarea, [contenteditable="true"],
p, li, td, th, dd, pre, code, blockquote, h1, h2, h3, figcaption {
  -webkit-user-select: text;
  user-select: text;
}
a, button, summary, img, svg {
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
}

:focus-visible {
  outline: 2px solid var(--primary-text);
  outline-offset: 2px;
}

h1, h2, h3 { letter-spacing: -0.025em; }

html { scrollbar-color: var(--scrollbar-thumb) var(--bg); }
::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-color: var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--scrollbar-thumb-hover); }

/* Fondo: luz arriba y rejilla de puntos que se apaga hacia abajo */
.bg-glow {
  background: radial-gradient(ellipse 60% 38% at 50% -6%, rgba(118, 185, 0, 0.09), transparent 70%);
}

.bg-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 75% 50% at 50% 0%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 50% at 50% 0%, #000 25%, transparent 75%);
}

/* Sin texto con degradado: color plano */
.page-hero h1 em,
.page-hero-gpu h1 em,
.page-hero-cpu h1 em,
.page-hero-game h1 em,
.page-hero-mipc h1 em,
.ia-welcome-title,
.compare-page-gpu .summary-card.winner .big-score,
.compare-page-cpu .summary-card.winner .big-score {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: currentColor;
}

.page-hero h1 em,
.page-hero-gpu h1 em,
.page-hero-cpu h1 em,
.page-hero-game h1 em,
.page-hero-mipc h1 em {
  font-style: normal;
  color: var(--primary);
}

.ia-welcome-title { color: #fff; }

.compare-page-gpu .summary-card.winner .big-score,
.compare-page-cpu .summary-card.winner .big-score { color: var(--primary-text); }

/* ── Cabecera ── */
.site-header {
  background: rgba(8, 9, 10, 0.72);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-nav-rail {
  background: rgba(255, 255, 255, 0.025);
  border-color: var(--border);
}

.nav-rail-indicator,
.nav-rail-indicator--compert {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.nav-link { color: var(--text-soft); }
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.nav-link.active { color: #fff; }

.nav-icon {
  background: transparent;
  border-color: transparent;
}

.header-fuentes:hover,
.header-fuentes.active {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
}

.lang-btn { -webkit-tap-highlight-color: transparent; }
.lang-btn.active {
  color: var(--primary-ink);
  background: var(--primary);
  box-shadow: none;
}

/* ── Botones ── */
.btn-primary {
  background: var(--primary);
  color: var(--primary-ink);
  border: 1px solid rgba(190, 242, 100, 0.35);
  border-radius: var(--radius-sm);
  font-weight: 600;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.28) inset, 0 10px 24px -12px rgba(118, 185, 0, 0.7);
  transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s var(--ease-out);
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: var(--primary-ink);
  transform: translateY(-1px);
}

.btn-primary:active { transform: translateY(0); }

.btn-primary:disabled,
.btn-primary[disabled] {
  background: var(--surface-raised);
  color: var(--text-faint);
  border-color: var(--border);
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}

.cookie-consent-btn:not(.cookie-consent-btn--secondary),
.legal-cookie-reset-btn,
.new-tag {
  background: var(--primary);
  color: var(--primary-ink);
  box-shadow: none;
}

.score-bar div,
.mipc-privacy-note::before { background: var(--primary); }

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
}

.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ── Formularios ── */
.compare-form select,
.search-select-input {
  background-color: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
}

.compare-form select.search-select-native,
select.search-select-native {
  width: 0;
  min-width: 0;
  height: 0;
  padding: 0;
  border: 0;
}

.compare-form select:focus,
.search-select-input:focus {
  border-color: rgba(118, 185, 0, 0.6);
  box-shadow: 0 0 0 3px rgba(118, 185, 0, 0.14);
}

.search-select-dropdown {
  background: #0d0f11;
  border: 1px solid var(--border-strong);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.85);
}

.search-select-option:hover,
.search-select-option.focused,
.search-select-option.selected {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.compare-pick-hint {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border);
}

.vs-badge {
  color: var(--text-faint);
  background: transparent;
  border: 1px solid var(--border);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

/* ── Pestañas del comparador ── */
.compare-tabs {
  background: var(--bg);
  border-color: var(--border);
}

.compare-tabs-indicator {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.tab.active { color: #fff; }

/* ── Foco de luz que sigue al puntero (spotlight.js) ── */
[data-spotlight] {
  --mx: -999px;
  --my: -999px;
  background:
    radial-gradient(520px circle at var(--mx) var(--my), rgba(118, 185, 0, 0.065), transparent 62%),
    var(--surface);
}

.hw-card { --mx: -999px; --my: -999px; }

.hw-card::before {
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.06), transparent 60%);
  opacity: 1;
  z-index: 1;
}

/* ── Tarjetas de catálogo ── */
.hw-card {
  background: var(--surface);
  border-color: var(--border);
}

.hw-card:hover,
.hw-card[class*="arch-"]:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
  transform: none;
}

.hw-score strong { color: var(--text); }

.game-card { border-color: var(--border); background: var(--surface); }
.game-card:hover { border-color: var(--border-strong); }

/* ── Pie ── */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.footer-glow { display: none; }

/* ══ Portada ══ */
/* Portada centrada y marco de producto, reinterpretados desde Aceternity. */
.home-hero { padding: 68px 0 0; }
.home-hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-inline: 1px solid var(--border);
}
.home-intro { width: 100%; min-width: 0; }
.home-dev-note { margin: 0 0 16px; color: var(--text-faint); font-size: .75rem; }
.home-hero h1 {
  max-width: 19ch;
  margin: 0 auto;
  color: #f5f5f5;
  font-size: clamp(2.6rem, 5.3vw, 4.3rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.home-hero h1 em { font-style: normal; color: var(--primary); }
.home-hero-sub { max-width: 62ch; margin: 22px auto 0; color: var(--text-soft); font-size: 1rem; line-height: 1.7; text-wrap: pretty; }
.home-hero .compare-widget {
  position: relative;
  width: 100%; max-width: 880px; min-width: 0; margin: 34px 0 0; padding: 22px;
  text-align: left; border: 1px solid var(--border-strong); border-radius: 14px;
  background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none;
  box-shadow: 0 20px 50px -32px #000;
}
.workspace-head { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; }
.workspace-head svg, .home-privacy svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.workspace-head > svg { color: var(--text-soft); }
.workspace-head h2 { font-size: .88rem; font-weight: 500; margin: 0; letter-spacing: -.02em; }
.home-hero .compare-tabs { width: 320px; max-width: 100%; margin: 0 0 18px; padding: 3px; border-radius: 8px; }
.home-hero .compare-tabs-indicator { border-radius: 6px; top: 3px; height: calc(100% - 6px); }
.home-hero .tab { min-height: 38px; padding: 7px 14px; font-size: .82rem; }
.home-hero #panel-gpu .compare-form,
.home-hero #panel-cpu .compare-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px 10px;
}
.home-hero .search-select-wrap { min-width: 0; }
.home-hero .search-select-input { min-height: 48px; font-size: .86rem; padding-left: 42px; }
.home-hero .compare-form .vs-badge { border: 0; padding: 0; background: none; color: var(--text-faint); font-weight: 400; font-size: .72rem; text-transform: lowercase; }
.home-hero .compare-form .btn-primary { min-height: 48px; padding: 12px 22px; font-size: .88rem; }
.home-hero #panel-gpu .btn-primary,
.home-hero #panel-cpu .btn-primary { grid-column: 4; grid-row: 1; }
.home-hero .compare-next { grid-column: 1 / -1; margin: 0; font-size: .76rem; text-align: left; }
.home-hero .compare-form-error { grid-column: 1 / -1; }
.home-hero .compare-form .btn-primary:disabled { border-color: var(--border-strong); }
.home-privacy { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 18px 0 0; color: var(--text-faint); font-size: .73rem; line-height: 1.5; }
.home-hero .home-facts { width: 100%; margin: 28px 0 0; padding: 22px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center; }
.home-facts {
  margin: 22px 0 0;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}

.home-facts a {
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid var(--border-strong);
  color: var(--text-soft);
  font-family: var(--font);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.2);
  text-underline-offset: 3px;
}

.home-facts a:hover { color: var(--text); text-decoration-color: currentColor; }

/* Rejilla de bloques */
.home-bento-section { padding: 42px 0 24px; }

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  align-items: stretch;
  gap: 16px;
}

.bento-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  color: var(--text);
  transition: border-color 0.2s ease;
}

.bento-tile:hover { border-color: var(--border-strong); }

.bento-tile h2 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.3;
}

.bento-feature { grid-column: span 8; }
.bento-feature .home-sample { flex: 1; }
.bento-tile { background-color: var(--surface); }
.bento-rank,
.bento-cta { grid-column: span 4; }

.bento-feature-head h2 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: -0.03em;
}

.bento-feature-head h2 a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.bento-feature-head h2 span { color: var(--text-faint); font-weight: 400; }

.bento-verdict {
  margin: 8px 0 0;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.bento-verdict strong { color: var(--text); font-weight: 600; }
.bento-verdict .bento-pct { color: var(--primary-text); font-family: var(--mono); }

.bento-feature .home-sample { margin: 0; font-size: 0.86rem; }
.bento-feature .home-sample td.is-ahead { color: var(--primary-text); font-weight: 600; }
.home-sample thead th { color: var(--text-soft); font-weight: 500; }

.bento-link {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: color 0.15s ease;
}

.bento-link::after { content: " →"; }
.bento-link:hover,
.bento-tile:hover .bento-link { color: var(--text); }

.rank-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rank-row a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 12px;
  align-items: baseline;
  padding: 7px 8px;
  margin: 0 -8px;
  border-radius: 8px;
  transition: background-color 0.15s ease;
}

.rank-row a:hover { background: rgba(255, 255, 255, 0.04); }

.rank-name {
  overflow: hidden;
  font-size: 0.88rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-score {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-soft);
  font-variant-numeric: tabular-nums;
}

.rank-bar {
  grid-column: 1 / -1;
  height: 3px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
}

.rank-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #71717a;
}

.brand-nvidia .rank-bar span { background: var(--nvidia); }
.brand-amd .rank-bar span { background: var(--amd); }
.brand-intel .rank-bar span { background: var(--intel); }

/* Mi PC y Compert comparten el mismo acabado que el marco de comparaciones. */
.home-tools {
  scroll-margin-top: 100px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: #0c0e10;
}
.home-tools .bento-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto auto;
  grid-column: auto;
  gap: 20px;
  min-width: 0;
  min-height: 0;
  height: auto;
  padding: 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  transition: background-color .16s ease;
}
.home-tools .bento-cta + .bento-cta { border-inline-start: 1px solid var(--border-strong); }
.home-tools .bento-cta:hover { background: var(--surface); box-shadow: none; }
.home-tools .bento-cta:focus-visible { outline: 2px solid var(--primary-text); outline-offset: -3px; }
.home-tools .bento-cta-bg {
  position: static;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  max-height: none;
  overflow: visible;
  pointer-events: none;
  transform: none;
  -webkit-mask-image: none;
  mask-image: none;
}
.home-tools .bento-ghost-row, .home-tools .bento-ghost-chip {
  display: flex;
  flex: 1;
  min-width: 0;
  min-height: 36px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: none;
  color: var(--text-soft);
  font-size: .78rem;
  line-height: 1.5;
}
.home-tools .bento-ghost-row { align-items: center; justify-content: space-between; gap: 16px; }
.home-tools .bento-ghost-row span:first-child { color: var(--text); font-weight: 400; }
.home-tools .bento-ghost-row span:last-child { text-align: right; }
.home-tools .bento-mipc .bento-ghost-row span:first-child { flex-shrink: 0; }
.home-tools .bento-mipc [data-home-spec] { min-width: 0; overflow-wrap: anywhere; }
.home-tools .bento-ghost-chip { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; }
.home-tools .bento-ghost-chip strong { color: var(--text); font-size: .78rem; font-weight: 500; }
.home-tools .bento-ghost-row:last-child, .home-tools .bento-ghost-chip:last-child { border-bottom: 0; }
.home-tools .bento-cta-copy {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-content: start;
  align-items: center;
  gap: 8px 12px;
  min-width: 0;
  margin: 0;
  padding: 0;
}
.home-tools .bento-cta-icon {
  grid-column: 1;
  grid-row: 1;
  width: 22px;
  height: 22px;
  margin: 0;
  color: var(--text-soft);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home-tools .bento-cta-copy h2 { grid-column: 2; margin: 0; font-size: 1.1rem; font-weight: 550; letter-spacing: -.025em; line-height: 1.4; }
.home-tools .bento-cta-copy p { grid-column: 2; max-width: 48ch; margin: 0; color: var(--text-soft); font-size: .88rem; line-height: 1.6; }
.home-tools .bento-link { display: flex; align-items: center; justify-content: space-between; align-self: stretch; gap: 12px; min-height: 44px; margin: 0; padding-top: 12px; border-top: 1px solid var(--border); color: var(--text-soft); font-size: .78rem; line-height: 1.5; }
.home-tools .bento-cta:hover .bento-link, .home-tools .bento-cta:focus-visible .bento-link { color: var(--text); }

/* Las filas compartidas alinean texto y pies sin imponer alturas al contenido. */
@supports (grid-template-rows: subgrid) {
  .home-tools { grid-template-rows: auto auto auto; }
  .home-tools .bento-cta { grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
  .home-tools .bento-cta-bg { margin-bottom: 20px; }
  .home-tools .bento-cta-copy { padding-bottom: 20px; }
}
@media (max-width: 680px) {
  .home-tools { grid-template-columns: minmax(0, 1fr); }
  .home-tools .bento-cta { padding: 20px 16px; }
  .home-tools .bento-cta + .bento-cta { border-inline-start: 0; border-top: 1px solid var(--border-strong); }
  .home-tools .bento-cta-copy h2 { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  .home-tools .bento-cta { transition: none; }
}


/* Cinta de juegos */
.home-games { padding: 40px 0 16px; }

.home-games-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  margin-bottom: 18px;
}

.home-games-head h2 { margin: 0; font-size: 1.15rem; font-weight: 600; }
.home-games-head .bento-link { margin-top: 0; }

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: home-marquee calc(var(--marquee-count, 12) * 5s) linear infinite;
}

.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }

.marquee-group {
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 0 14px 0 0;
  list-style: none;
}

.marquee-card {
  display: block;
  width: 260px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  transition: border-color 0.2s ease;
}

.marquee-card:hover { border-color: var(--border-strong); }

.marquee-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 616 / 353;
  object-fit: cover;
  background: #111315;
}

.marquee-card-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  font-size: 0.82rem;
}

.marquee-card-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.marquee-card-rating { flex-shrink: 0; font-family: var(--mono); color: var(--text-soft); }

@keyframes home-marquee {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; }
  .marquee-group[aria-hidden="true"] { display: none; }
  .btn-primary:hover { transform: none; }
}

@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-feature { grid-column: 1 / -1; }
  .bento-rank,
  .bento-cta { grid-column: span 1; }
}

@media (max-width: 640px) {
  .home-hero-sub { margin-top: 14px; }
  .home-hero .compare-tabs { max-width: none; }
  .bento { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .bento-rank,
  .bento-cta { grid-column: 1 / -1; }
  .bento-tile { padding: 18px; }
  .home-facts a { display: block; margin: 8px 0 0; padding: 0; border: 0; }
  .marquee-card { width: 220px; }
}

/* ══ Resto del sitio ══ */
.catalog-head,
.compare-head {
  padding: 36px 0 20px;
}

.catalog-head-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 28px;
}

.catalog-head h1,
.compare-head h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.catalog-head h1 em,
.compare-head h1 em {
  font-style: normal;
  color: var(--primary);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.catalog-head-desc {
  margin: 8px 0 0;
  max-width: 52ch;
  color: var(--text-soft);
}

.compare-verdict {
  margin: 10px 0 0;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-soft);
}

.compare-verdict strong { color: var(--text); font-weight: 600; }
.compare-verdict-pct { color: var(--primary-text); font-family: var(--mono); }

.page-hero-compare,
.page-hero-compare .page-hero-banner,
.page-hero-compare-deco,
.page-hero-compare-side,
.page-hero-compare-perks,
.page-hero-eyebrow,
.tq-eyebrow,
.compare-picker-icon,
.compare-picker-label,
.compare-page::before,
.compare-page::after,
.compare-block-icon,
.games-catalog-panel-accent,
.games-catalog-panel-scanlines,
.games-catalog-progress,
.ia-welcome-glow {
  display: none !important;
}

.compare-page,
.compare-page-gpu,
.compare-page-cpu {
  background: none;
  padding-top: 8px;
}

.compare-picker-panel,
.compare-result-panel,
.spec-table-card,
.chart-card,
.summary-card,
.tq-card,
.tq-device,
.mipc-detect-card {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.summary-card.winner {
  border-color: rgba(118, 185, 0, 0.35) !important;
}

.big-score {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  color: #fff;
}

.win-badge {
  background: rgba(118, 185, 0, 0.12) !important;
  color: var(--primary-text) !important;
  border: 1px solid rgba(118, 185, 0, 0.25) !important;
}

.catalog-block,
.games-catalog-block,
.games-deck,
.games-toolbar {
  background: transparent !important;
  border-color: var(--border) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.catalog-block {
  padding: 0 0 36px !important;
  margin-bottom: 28px;
  border: 0 !important;
  border-radius: 0 !important;
  border-bottom: 1px solid var(--border) !important;
}

.catalog-block-icon:not(.catalog-block-icon-img):not(.games-catalog-icon) {
  display: none;
}

.catalog-section-gpu .catalog-block-icon,
.catalog-section-cpu .catalog-block-icon,
.catalog-section-games .catalog-block-icon {
  background: var(--surface) !important;
  border-color: var(--border) !important;
  color: var(--text) !important;
}

.catalog-section-gpu .catalog-block-count,
.catalog-section-cpu .catalog-block-count {
  color: var(--text-soft) !important;
  border-color: var(--border) !important;
}

.game-grid-catalog {
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)) !important;
  gap: 12px !important;
}

.games-catalog-block .game-grid-catalog .game-card.has-banner {
  min-height: 0 !important;
  aspect-ratio: 616 / 353;
}

.game-search-submit {
  background: var(--primary) !important;
  color: var(--primary-ink) !important;
  border: 1px solid rgba(190, 242, 100, 0.35) !important;
  box-shadow: none !important;
}

.ia-app-logo,
.ia-orbit-scene--welcome {
  background:
    radial-gradient(circle at 50% 45%, #141814 0%, #0e1012 72%) !important;
  box-shadow: none !important;
  border-color: var(--border) !important;
  filter: none !important;
}

.ia-chip {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
}

.ia-chip:hover:not(:disabled) {
  border-color: var(--border-strong) !important;
  background: var(--surface-hover) !important;
}

.mipc-page .tq-head h1 em {
  font-style: normal;
  color: var(--primary);
  background: none;
  -webkit-text-fill-color: currentColor;
}

@media (max-width: 640px) {
  .catalog-head,
  .compare-head { padding: 24px 0 12px; }
}

/* Cabeceras que aún usaban el cartel con brillo */
.page-hero-banner {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.page-hero { padding: 36px 0 8px; }

.page-hero h1 em,
.page-hero-mipc h1 em,
.page-hero-gpu h1 em,
.page-hero-cpu h1 em,
.page-hero-game h1 em {
  font-style: normal !important;
  color: var(--primary) !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
}

.fuente-badge,
.compare-seo-fold-icon,
.detector-info-icon { display: none !important; }

.compare-vs-pill,
.compare-page-gpu .compare-vs-pill,
.compare-page-cpu .compare-vs-pill {
  width: auto !important;
  height: auto !important;
  padding: 0 2px !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: var(--text-faint) !important;
  font-weight: 500 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.06em !important;
}

.compare-page-gpu .compare-page-form .btn-primary,
.compare-page-cpu .compare-page-form .btn-primary,
.compare-page-gpu .compare-page-form .btn-primary:hover,
.compare-page-cpu .compare-page-form .btn-primary:hover {
  background: var(--primary) !important;
  color: var(--primary-ink) !important;
  border: 1px solid rgba(190, 242, 100, 0.35) !important;
  box-shadow: none !important;
  filter: none !important;
}

.detector-page .game-panel,
.detector-download-panel {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.detector-dl-header,
.detector-dl-actions,
.detector-download-trust {
  background: none !important;
  background-image: none !important;
}

.detector-block-title {
  font-size: 1rem !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  text-transform: none !important;
  color: var(--text) !important;
}

.compare-picker-panel::before,
.compare-page-gpu .compare-picker-panel::before,
.compare-page-cpu .compare-picker-panel::before,
.legal-block::before {
  content: none !important;
  display: none !important;
}

.legal-block-index { display: none !important; }
.legal-block-body { padding-left: 26px !important; }

.legal-block,
.legal-lead {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  box-shadow: none !important;
}

/* Ficha de juego: sin rosa ni barras líquidas */
.game-hero.has-banner,
.game-detail-head.has-banner {
  border-color: var(--border) !important;
}

.game-layout-zone-label,
.game-layout-zone-label-aside {
  text-transform: none !important;
  letter-spacing: -0.02em !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  border-bottom-color: var(--border) !important;
}

.game-fps-head-icon {
  background: var(--surface) !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
}

.fps-bar-liquid,
.fps-bar-shimmer,
.game-lightbox-chrome,
.game-lightbox-shine { display: none !important; }

.fps-bar-fill,
.fps-bar-fill.fps-tier-super,
.fps-bar-fill.fps-tier-great,
.fps-bar-fill.fps-tier-high,
.fps-bar-fill.fps-tier-good {
  background: var(--primary) !important;
  box-shadow: none !important;
}

.fps-bar-fill.fps-tier-ok {
  background: #a16207 !important;
  box-shadow: none !important;
}

.fps-bar-fill.fps-tier-low {
  background: #b91c1c !important;
  box-shadow: none !important;
}

.fps-bar-label,
.game-check-label > span,
.verdict-item-label {
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 500 !important;
}

/* Veredicto: sin barra de color ni título dorado */
.verdict,
.verdict-high,
.verdict-ok,
.verdict-low,
.verdict-compact,
.verdict-compact.verdict-high,
.verdict-compact.verdict-ok,
.verdict-compact.verdict-low {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-left-width: 1px !important;
  box-shadow: none !important;
}

.verdict-compact::before { display: none !important; }

.verdict-compact .verdict-title,
.verdict-compact.verdict-high .verdict-title,
.verdict-compact.verdict-ok .verdict-title,
.verdict-compact.verdict-low .verdict-title,
.verdict h2 {
  color: var(--text) !important;
  font-weight: 600;
}

.verdict-item {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: var(--border) !important;
}

.subsection-title {
  margin: 28px 0 12px !important;
  padding-left: 0 !important;
  border-left: 0 !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  text-transform: none !important;
  color: var(--text) !important;
}

.mipc-system-row,
.mipc-system-row[data-kind="gpu"],
.mipc-system-row[data-kind="cpu"],
.mipc-system-row[data-kind="ram"],
.mipc-system-row[data-kind="os"] {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-left-width: 1px !important;
}

@media (max-width: 1180px) and (min-width: 881px) {
  .nav-link {
    padding: 6px 8px;
    gap: 5px;
    font-size: 0.76rem;
  }
}

.compare-next {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--text-soft);
}

.compare-next[hidden] { display: none; }

@media (max-width: 880px) {
  .nav-toggle {
    width: 44px;
    height: 44px;
  }

  .site-header.nav-open .nav-link,
  .btn-primary,
  .btn-secondary,
  .game-search-submit,
  .search-select-input {
    min-height: 44px;
  }
}


/* Paneles unidos: marco común y separadores, referencia visual shadcn/ui. */
.home-workspace { overflow: hidden; border: 1px solid var(--border-strong); border-radius: 12px; background: #0c0e10; }
.home-workspace-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; padding: 14px 24px; border-bottom: 1px solid var(--border-strong); background: var(--surface); }
.home-workspace-bar h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: .86rem; font-weight: 500; }
.home-workspace-bar img { object-fit: contain; }
.home-workspace .bento { grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr) minmax(0, 1fr); gap: 0; padding: 0; align-items: stretch; }
.home-workspace .bento-tile { min-width: 0; }
.home-workspace .bento-feature { grid-column: 2; grid-row: 1; position: relative; z-index: 1; gap: 18px; margin: 0; padding: 24px; border: 0; border-inline: 1px solid var(--border-strong); border-radius: 0; background: #101214; box-shadow: none; }
.home-workspace .bento-feature:hover { border-color: var(--border-strong); }
.home-workspace .bento-feature h2 { font-size: 1.15rem; line-height: 1.4; letter-spacing: -.025em; text-wrap: balance; }
.home-workspace .bento-verdict { font-size: .8rem; line-height: 1.6; }
.home-workspace .bento-rank { grid-column: 1; grid-row: 1; gap: 18px; padding: 24px 20px; border: 0; border-radius: 0; background: none; }
.home-workspace .bento-rank-cpu { grid-column: 3; }
.home-workspace .bento-rank h2 { font-size: .83rem; color: var(--text-soft); font-weight: 500; line-height: 1.5; }
.home-workspace .rank-list { flex: 1; grid-auto-rows: minmax(62px, 1fr); gap: 0; }
.home-workspace .rank-row a { height: 100%; min-height: 62px; align-content: center; gap: 10px 8px; padding: 14px 8px; border-radius: 6px; }
.home-workspace .rank-name { min-width: 0; overflow: visible; white-space: normal; overflow-wrap: anywhere; text-overflow: clip; font-size: .8rem; line-height: 1.5; }
.home-workspace .rank-score { min-width: 6.5ch; font-size: .72rem; line-height: 1.5; text-align: right; }
.home-workspace .rank-bar { height: 2px; }
.home-workspace .bento-link { display: flex; align-items: center; justify-content: space-between; align-self: stretch; gap: 8px; min-height: 44px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); font-size: .76rem; line-height: 1.5; }
.home-workspace .home-sample { flex: 0 0 auto; width: 100%; margin: 0; table-layout: fixed; font-size: .78rem; border-collapse: collapse; }
.home-workspace .home-sample th, .home-workspace .home-sample td { padding: 12px 8px; overflow-wrap: anywhere; line-height: 1.5; vertical-align: middle; }
.home-workspace .home-sample thead th { background: #15181b; font-size: .72rem; font-weight: 500; }
.home-workspace .home-sample th:first-child { text-align: left; }
.home-workspace .home-sample td, .home-workspace .home-sample thead th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.home-workspace .home-sample tbody tr:hover { background: rgba(255,255,255,.025); }
.sample-hardware-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding-block: 4px 14px; border-bottom: 1px solid var(--border); }
.sample-hardware { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 5px; min-width: 0; min-height: 114px; padding: 4px 12px; overflow: hidden; border: 0; border-radius: 0; background: none; text-align: center; }
.sample-hardware + .sample-hardware { border-inline-start: 1px solid var(--border); }
.sample-hardware .arch-art { flex-shrink: 0; width: 88px; max-width: 100%; height: 64px; margin: 0 0 5px; border: 0; background-color: transparent; background-position: center; background-size: contain; background-repeat: no-repeat; opacity: 1; }
.sample-hardware-brand, .sample-hardware-arch { position: relative; z-index: 1; }
.sample-hardware-brand { font-size: .64rem; font-weight: 600; color: var(--text-soft); }
.sample-hardware-brand.brand-nvidia { color: var(--nvidia); }
.sample-hardware-brand.brand-amd { color: var(--amd); }
.sample-hardware-brand.brand-intel { color: var(--intel); }
.sample-hardware-arch { font-size: .76rem; font-weight: 500; color: var(--text); line-height: 1.5; }


@media (max-width: 1050px) {
  .home-workspace .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-workspace .bento-feature { grid-column: 1 / -1; grid-row: 1; border-inline: 0; }
  .home-workspace .bento-rank { grid-column: 1; grid-row: 2; padding: 24px; border-top: 1px solid var(--border-strong); }
  .home-workspace .bento-rank-cpu { grid-column: 2; border-inline-start: 1px solid var(--border-strong); }
  .home-workspace .rank-name { font-size: .84rem; }
  .home-workspace .rank-score { font-size: .76rem; }
}
@media (max-width: 680px) {
  .home-hero { padding-top: 42px; }
  .home-hero-inner { border-inline: 0; }
  .home-hero h1 { max-width: 18ch; font-size: clamp(2.5rem, 7.4vw, 3.3rem); }
  .home-hero-sub { font-size: .94rem; margin-top: 18px; }
  .home-hero .compare-widget { margin-top: 26px; padding: 18px; }
  .home-hero .compare-tabs { width: 100%; }
  .home-hero #panel-gpu .compare-form,
  .home-hero #panel-cpu .compare-form { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
  .home-hero .compare-next { text-align: center; }
  .home-hero .compare-form .btn-primary { width: 100%; }
  .home-hero .tab { min-height: 44px; }
  .home-hero .home-facts { margin-top: 22px; line-height: 1.7; font-size: .74rem; }
  .home-privacy { font-size: .68rem; }
  .home-bento-section { padding-top: 28px; }
  .home-workspace-bar { padding: 14px 16px; flex-wrap: wrap; gap: 10px; }
  .home-workspace-bar h2 { font-size: .8rem; }
  .home-workspace .bento { grid-template-columns: minmax(0, 1fr); }
  .home-workspace .bento-feature { grid-column: 1; grid-row: 1; gap: 16px; padding: 20px 16px; }
  .home-workspace .bento-rank { grid-column: 1; grid-row: auto; gap: 14px; padding: 20px 16px; }
  .home-workspace .bento-rank-cpu { border-inline-start: 0; }
  .home-workspace .bento-rank h2 { font-size: .94rem; color: var(--text); }
  .home-workspace .rank-list { flex: 0 0 auto; }
  .home-workspace .bento-feature h2 { font-size: 1rem; }
  .home-workspace .home-sample { font-size: .72rem; }
  .home-workspace .home-sample th, .home-workspace .home-sample td { padding: 10px 4px; }
  .home-workspace .home-sample thead th { font-size: .68rem; }
  .sample-hardware { min-height: 110px; padding-inline: 8px; }
  .sample-hardware-arch { font-size: .7rem; }
}

/* La ausencia de la pareja conserva los dos rankings y sus separadores. */
.home-sample-unavailable { padding: 18px 24px; margin: 0; border-bottom: 1px solid var(--border); font-size: .85rem; color: var(--text-soft); }
.home-workspace--rankings .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-workspace--rankings .bento-rank { grid-row: 1; border-top: 0; }
.home-workspace--rankings .bento-rank-cpu { grid-column: 2; border-inline-start: 1px solid var(--border-strong); }
@media (max-width: 680px) {
  .home-workspace--rankings .bento { grid-template-columns: minmax(0, 1fr); }
  .home-workspace--rankings .bento-rank { grid-row: auto; }
  .home-workspace--rankings .bento-rank-cpu { grid-column: 1; border-inline-start: 0; border-top: 1px solid var(--border-strong); }
}


/* Tarjetas compactas: ilustración secundaria y una jerarquía de lectura clara. */
.hw-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px;
  grid-template-rows: 64px minmax(2.8em, auto) auto auto;
  gap: 10px 14px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  background: #101214;
  box-shadow: none;
  transition: background-color .18s ease, border-color .18s ease, transform .18s var(--ease-out);
  align-content: start;
}
.hw-card .arch-art {
  grid-column: 2;
  grid-row: 1;
  width: 88px;
  height: 64px;
  margin: 0;
  align-self: center;
  justify-self: end;
  background-color: transparent;
  background-size: contain;
  background-position: center;
  border: 0;
  opacity: .9;
}
.hw-card:hover, .hw-card[class*="arch-"]:hover { background: #15181b; border-color: rgba(255,255,255,.22); transform: translateY(-2px); box-shadow: 0 12px 28px -20px #000; }
.hw-card:focus-visible { outline: 2px solid var(--primary-text); outline-offset: 4px; }
.hw-card:hover .arch-art { opacity: 1; }
.hw-card .brand-chip {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  align-self: start;
  padding: 4px 8px;
  font-size: .63rem;
  line-height: 1.3;
  letter-spacing: .02em;
}
.hw-card .arch-label {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  min-width: 0;
  max-width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: none;
  backdrop-filter: none;
  color: var(--text-soft);
  font-size: .75rem;
  font-weight: 400;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
}
.hw-card .hw-name {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 1rem;
  font-weight: 550;
  line-height: 1.4;
  letter-spacing: -.015em;
}
.hw-card .hw-meta {
  grid-column: 1 / -1;
  grid-row: 3;
  font-size: .78rem;
  line-height: 1.5;
  color: var(--text-soft);
}
.hw-card .hw-score {
  grid-column: 1 / -1;
  grid-row: 4;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: .74rem;
  line-height: 1.4;
}
.hw-card .hw-score strong { color: var(--text); font-family: var(--font); font-size: .94rem; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.015em; }

.architecture-library-head { margin-bottom: 24px; }
.architecture-library-head h2 { margin: 0 0 10px; font-size: 1.4rem; font-weight: 500; }
.architecture-library-head p { margin: 0; max-width: 72ch; color: var(--text-soft); line-height: 1.7; }
.architecture-reference-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; align-items: start; }
.architecture-reference { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--surface); }
.architecture-reference summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 10px 16px; cursor: pointer; font-size: .86rem; }
.architecture-reference summary::after { content: ""; width: 6px; height: 6px; border-right: 1px solid var(--text-faint); border-bottom: 1px solid var(--text-faint); transform: rotate(45deg); }
.architecture-reference[open] summary::after { transform: rotate(225deg); }
.architecture-reference img { display: block; width: 100%; height: auto; background: #101719; border-block: 1px solid var(--border); }
.architecture-reference-links { display: flex; flex-wrap: wrap; gap: 16px; padding: 14px 16px; font-size: .78rem; }
.architecture-reference-links a { color: var(--primary-text); text-underline-offset: 3px; }
@media (max-width: 960px) { .architecture-reference-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .architecture-reference-grid { grid-template-columns: minmax(0,1fr); } }

.hw-card .hw-name, .hw-card .hw-meta { min-width: 0; overflow-wrap: anywhere; }

/* El fondo decorativo del catálogo permanece dentro del ancho de la página. */
.catalog-section-gpu::after { right: 0; }

/* Acabado sobrio de los catálogos existentes: sin adornos que compitan con el contenido. */
.catalog-section-gpu::before, .catalog-section-gpu::after,
.catalog-section-cpu::before, .catalog-section-cpu::after,
.page-hero-gpu.catalog-head::before, .page-hero-gpu.catalog-head::after,
.page-hero-cpu.catalog-head::before, .page-hero-cpu.catalog-head::after { display: none; }
.page-hero-gpu.catalog-head, .page-hero-cpu.catalog-head { background: var(--bg); }
.hardware-catalog .catalog-head-inner { border-bottom-color: var(--border-strong); padding-bottom: 24px; }
.hardware-catalog .catalog-head h1 { line-height: 1.16; letter-spacing: -.035em; }
.hardware-catalog .catalog-head-action { min-height: 60px; background: var(--surface); border-color: var(--border-strong); border-radius: 10px; box-shadow: none; }
.hardware-catalog .catalog-head-action:hover { background: var(--surface-hover); border-color: rgba(255,255,255,.25); }
.catalog-section-gpu .catalog-block-head, .catalog-section-cpu .catalog-block-head { gap: 12px; padding-bottom: 16px; margin-bottom: 20px; border-bottom-color: var(--border); }
.catalog-section-gpu .catalog-block-title, .catalog-section-cpu .catalog-block-title { font-size: 1.15rem; font-weight: 550; letter-spacing: -.025em; }
.catalog-section-gpu .catalog-block-count, .catalog-section-cpu .catalog-block-count { min-width: auto; padding: 0; border: 0; border-radius: 0; background: none; font-family: var(--font); font-size: .84rem; font-weight: 400; font-variant-numeric: tabular-nums; }
.catalog-section-gpu .catalog-block-sub, .catalog-section-cpu .catalog-block-sub { margin-top: 6px; font-size: .84rem; line-height: 1.5; }
@media (prefers-reduced-motion: reduce) { .hw-card { transition: none; } .hw-card:hover, .hw-card[class*="arch-"]:hover { transform: none; } }

.hardware-catalog .bg-glow { display: none; }

/* Comparador GPU/CPU: los mismos marcos, proporciones y separadores de la portada. */
.comparison-screen .bg-glow { display: none; }
.comparison-screen .compare-head .catalog-head-inner { padding-bottom: 24px; border-bottom: 1px solid var(--border-strong); }
.comparison-screen .compare-head .catalog-head-copy { max-width: 100%; }
.comparison-screen .compare-head h1 { font-size: clamp(1.65rem, 3.1vw, 2.4rem); line-height: 1.2; letter-spacing: -.035em; overflow-wrap: anywhere; }
.comparison-screen .compare-verdict { font-size: 1rem; line-height: 1.65; }
.compare-page .compare-picker-panel { margin-bottom: 24px; padding: 24px; border-color: var(--border-strong) !important; border-radius: 12px; }
.compare-page .compare-picker-head { margin-bottom: 18px; }
.compare-page .compare-picker-desc { font-size: .86rem; line-height: 1.6; }
.compare-page .compare-page-form { grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) auto; gap: 14px; }
.compare-page .compare-page-form .search-select-wrap { min-width: 0; }
.compare-page .compare-page-form .search-select-input { min-height: 48px; padding: 12px 16px 12px 42px; border-radius: 8px; border-color: var(--border-strong); background: var(--bg); font-size: .9rem; box-shadow: none; }
.compare-page .compare-page-form .search-select-input:focus { border-color: var(--primary-text); outline: 2px solid var(--primary-text); outline-offset: 3px; box-shadow: none; }
.compare-page .compare-page-form > .btn-primary { grid-column: 4; grid-row: 1; min-height: 48px; padding: 12px 22px; border-radius: 8px; font-size: .88rem; }
.compare-page .compare-page-form .btn-primary:disabled { background: var(--surface-raised) !important; color: var(--text-faint) !important; border-color: var(--border-strong) !important; box-shadow: none !important; transform: none; transition: none; }
.compare-page .compare-form-error { grid-column: 1 / -1; }
.compare-page .compare-seo-fold { margin-top: 20px; padding-top: 0; border-top: 1px solid var(--border); }
.compare-page .compare-seo-fold-summary { min-height: 52px; padding: 16px 0 0; }
.compare-page .compare-seo-fold-title { font-size: .9rem; font-weight: 500; }
.compare-page .compare-seo-fold-body { padding: 12px 0 0; }
.compare-page .compare-pick-hint { border-radius: 8px; font-size: .84rem; line-height: 1.6; }

.compare-page .compare-results { margin-top: 0; }
.compare-page .compare-summary { grid-template-columns: minmax(0, 1fr) 132px minmax(0, 1fr); gap: 0; margin-bottom: 24px; padding: 0; border: 1px solid var(--border-strong); border-radius: 12px; background: #0c0e10; box-shadow: none; }
.compare-page .compare-summary .summary-card { min-width: 0; min-height: 0; padding: 24px; border: 0 !important; border-radius: 0; background: none !important; text-align: left; box-shadow: none !important; transition: none; }
.compare-page .compare-summary .summary-card:first-child { border-radius: 12px 0 0 12px; }
.compare-page .compare-summary .summary-card:last-child { border-radius: 0 12px 12px 0; }
.compare-page .compare-summary .summary-card::before { display: none; }
.compare-page .compare-summary .summary-card:hover { transform: none; }
.compare-page .summary-card-head { min-height: 36px; margin: 0 0 16px; }
.compare-page .summary-card-title { min-height: 2.8em; margin: 0; color: var(--text); font-size: 1.05rem; font-weight: 550; line-height: 1.4; letter-spacing: -.02em; overflow-wrap: anywhere; }
.compare-page .summary-card .big-score { margin: 12px 0 20px; color: var(--text); background: none; -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: currentColor; font-family: var(--font); font-size: clamp(2rem, 3.8vw, 2.6rem); font-weight: 600; line-height: 1.15; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.compare-page .summary-card.winner .big-score { color: var(--primary-text); }
.compare-page .summary-card-foot { padding-top: 14px; border-top: 1px solid var(--border); }
.compare-page .summary-card .win-badge { padding: 0; border: 0 !important; border-radius: 0; background: none !important; color: var(--text-soft) !important; font-size: .8rem; font-weight: 500; letter-spacing: 0; }
.compare-page .summary-card.winner .win-badge { color: var(--primary-text) !important; }
.compare-page .summary-card .brand-chip { font-size: .68rem; font-weight: 500; }
.compare-page .summary-card.brand-nvidia .brand-chip { color: #9fd93a; background: rgba(118,185,0,.10); }
.compare-page .summary-card.brand-amd .brand-chip { color: #ff6b6b; background: rgba(237,28,36,.10); }
.compare-page .summary-card.brand-intel .brand-chip { color: #61c0ff; background: rgba(0,113,197,.12); }
.compare-page .compare-summary .result-vs { align-self: stretch; width: auto; max-width: none; min-width: 0; gap: 10px; padding: 20px 12px; border: 0; border-inline: 1px solid var(--border-strong); border-radius: 0; background: #101214; box-shadow: none; }
.compare-page .result-vs::before, .compare-page .result-vs::after { display: none; }
.compare-page .result-vs-mark { min-width: 0; padding: 0; border: 0; border-radius: 0; background: none; color: var(--text-soft); font-family: var(--font); font-size: .76rem; font-weight: 400; letter-spacing: 0; }
.compare-page .result-vs-value { color: var(--primary-text); font-family: var(--font); font-size: 1.55rem; font-weight: 550; line-height: 1.2; letter-spacing: -.025em; text-shadow: none; font-variant-numeric: tabular-nums; }
.compare-page .compare-summary--tie .result-vs-value { color: var(--text-soft); }
.compare-page .summary-buy-trigger { width: 36px; height: 36px; border-color: var(--border-strong); border-radius: 8px; background: var(--surface-raised); color: var(--text-soft); box-shadow: none; }
.compare-page .summary-buy-trigger:hover, .compare-page .summary-buy.is-open .summary-buy-trigger { border-color: rgba(255,255,255,.25); background: var(--surface-hover); color: var(--text); box-shadow: none; }
.compare-page .summary-buy-chevron { background: var(--surface); border-color: var(--border-strong); }
.compare-page .summary-buy-chevron::after { border-color: var(--text-soft); }
.compare-page .summary-buy-panel { background: var(--surface-raised); border-color: var(--border-strong); border-radius: 8px; box-shadow: 0 12px 28px -12px #000; }
.compare-page .summary-buy-link { min-height: 44px; color: var(--text); font-size: .8rem; font-weight: 500; }
.compare-page .summary-buy-link:hover { background: var(--surface-hover); color: var(--text); }
.compare-page .summary-buy-link-mark { color: var(--text-soft); background: var(--surface); border-color: var(--border-strong); }
.compare-page .compare-affiliate-note { margin: -8px 0 24px; padding: 0; border: 0; background: none; color: var(--text-soft); font-size: .76rem; }

.compare-page .compare-result-panel { margin-bottom: 24px; padding: 0; border-color: var(--border-strong) !important; border-radius: 12px; }
.compare-page .compare-result-panel::before { display: none; }
.compare-page .compare-block-head { gap: 0; margin: 0; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.compare-page .compare-block-head-copy { padding: 0; }
.compare-page .compare-block-title { margin: 0; color: var(--text); font-size: 1.05rem; font-weight: 550; line-height: 1.4; letter-spacing: -.02em; }
.compare-page .compare-block-desc { margin: 6px 0 0; color: var(--text-soft); font-size: .82rem; line-height: 1.6; }
.compare-page .charts-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.compare-page .charts-row .chart-card { display: flex; flex-direction: column; min-width: 0; padding: 20px; border: 0 !important; border-radius: 0; background: none !important; box-shadow: none !important; transform: none; }
.compare-page .charts-row .chart-card + .chart-card { border-inline-start: 1px solid var(--border) !important; }
.compare-page .chart-card h3, .compare-page .chart-title-component { display: block; min-height: 2.8em; margin: 0 0 12px; overflow: visible; -webkit-line-clamp: unset; color: var(--text); font-size: .84rem; font-weight: 500; line-height: 1.4; letter-spacing: -.01em; text-transform: none; overflow-wrap: anywhere; }
.compare-page .chart-wrap { width: 100%; height: 260px; }
.compare-page .chart-callout { border-color: var(--border-strong); border-radius: 5px; background: var(--surface-raised); box-shadow: none; }
.compare-page .callout-swatch { box-shadow: none; }
.compare-page .callout-name { color: var(--text-soft); font-size: .66rem; font-weight: 400; }
.compare-page .callout-pct { color: var(--text); font-weight: 500; text-shadow: none; }
.compare-page .chart-legend-dot { box-shadow: none; }
.compare-page .chart-legend-pct { color: var(--text) !important; font-weight: 500; }

.compare-page .spec-table-card { border: 0 !important; border-radius: 0; background: none !important; box-shadow: none !important; }
.compare-page .spec-table { width: 100%; table-layout: fixed; }
.compare-page .spec-table thead { background: var(--surface-raised); }
.compare-page .spec-table th, .compare-page .spec-table td { padding: 14px 24px; overflow-wrap: anywhere; }
.compare-page .spec-table .col-spec { color: var(--text-soft); font-size: .82rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.compare-page .spec-table .col-component { background: var(--surface-raised); box-shadow: none; }
.compare-page .spec-table .col-component.col-winner { background: var(--surface-raised); box-shadow: none; }
.compare-page .spec-table .col-left, .compare-page .spec-table .col-right { border-inline-start: 1px solid var(--border); }
.compare-page .spec-table thead .col-spec::after, .compare-page .spec-table thead .col-left::after, .compare-page .spec-table thead .col-right::after, .compare-page .spec-table thead .col-right::before { display: none; }
.compare-page .spec-col-brand { color: var(--text-soft); font-size: .7rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.compare-page .spec-col-name { color: var(--text); font-size: .88rem; font-weight: 550; line-height: 1.5; }
.compare-page .spec-table .col-value { color: var(--text); font-family: var(--font); font-size: .86rem; font-weight: 400; font-variant-numeric: tabular-nums; }
.compare-page .spec-table .cell-win { background: rgba(118,185,0,.045) !important; color: var(--primary-text); font-weight: 550; }
.compare-page .spec-table tbody tr:nth-child(even) { background: rgba(255,255,255,.012); }
.compare-page .spec-table tbody tr:hover { background: rgba(255,255,255,.025); }
.compare-page .win-tag { width: auto; height: auto; background: none; color: var(--primary-text); font-size: .78rem; }
.compare-page .compare-spec-foot { padding: 18px 24px; border-top: 1px solid var(--border); }
.compare-page .compare-spec-foot .compare-block-desc { margin-top: 0; }
.compare-page .compare-spec-block .spec-source-note { margin: 8px 0 0; padding: 0; border: 0; border-radius: 0; background: none; color: var(--text-soft); font-size: .78rem; line-height: 1.6; }
.compare-page .compare-spec-block .spec-source-note a { color: var(--text); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
.compare-page .compare-popular-block .compare-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.compare-page .compare-popular-block .compare-link-card { min-width: 0; min-height: 64px; padding: 16px 24px; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: none; box-shadow: none; font-size: .85rem; }
.compare-page .compare-popular-block .compare-link-card:hover { background: var(--surface-hover); }

@media (max-width: 900px) {
  .compare-page .compare-page-form { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .compare-page .compare-page-form > .btn-primary { grid-column: 1; grid-row: auto; }
  .compare-page .compare-summary { grid-template-columns: minmax(0, 1fr); }
  .compare-page .compare-summary .summary-card:first-child { border-radius: 12px 12px 0 0; }
  .compare-page .compare-summary .summary-card:last-child { border-radius: 0 0 12px 12px; }
  .compare-page .compare-summary .result-vs { flex-direction: row; justify-content: center; gap: 12px; padding: 14px 20px; border-inline: 0; border-block: 1px solid var(--border-strong); }
  .compare-page .summary-card-title { min-height: 0; }
}
@media (max-width: 880px) {
  .compare-page .charts-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare-page .charts-row .chart-card:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--border) !important; }
  .compare-page .charts-row .chart-card:nth-child(2) { border-inline-start: 0 !important; }
  .compare-page .chart-wrap { height: 190px; }
  .compare-page .summary-buy-trigger { width: 44px; height: 44px; }
  .compare-page .spec-table thead .col-component { width: auto; padding: 14px 10px; }
  .compare-page .spec-table thead .spec-col-name { font-size: .76rem; line-height: 1.5; }
  .compare-page .spec-table tbody .col-spec { padding: 12px 12px 6px; background: #101214; font-size: .76rem; }
  .compare-page .spec-table tbody .col-value { padding: 10px 10px 14px; font-size: .82rem; }
  .compare-page .spec-table .col-left { border-inline-start: 0; border-inline-end: 1px solid var(--border); }
  .compare-page .spec-table .col-right { border-inline-start: 0; }
}
@media (max-width: 640px) {
  .compare-page .compare-picker-panel { padding: 20px 16px; }
  .compare-page .compare-page-form .search-select-input { font-size: 1rem; }
  .compare-page .compare-summary .summary-card { padding: 20px 16px; }
  .compare-page .compare-block-head { padding: 18px 16px; }
  .compare-page .charts-row .chart-card { padding: 18px 16px; }
  .compare-page .compare-spec-foot { padding: 16px; }
  .compare-page .compare-popular-block .compare-links { grid-template-columns: minmax(0, 1fr); }
  .compare-page .compare-popular-block .compare-link-card { padding-inline: 16px; }
}
@media (max-width: 420px) {
  .compare-page .charts-row { grid-template-columns: minmax(0, 1fr); }
  .compare-page .charts-row .chart-card + .chart-card { border-inline-start: 0 !important; }
  .compare-page .charts-row .chart-card:nth-child(3) { border-top: 1px solid var(--border) !important; }
}

/* Una familia de iconos, consultada en shadcn y obtenida del proyecto oficial Lucide. */
.ui-icon { display: block; flex: 0 0 auto; width: var(--icon-size, 20px); height: var(--icon-size, 20px); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.site-header .nav-link .nav-icon,
.site-header .nav-link:hover .nav-icon,
.site-header .nav-link.active .nav-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 20px; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 0; overflow: visible; background: none; box-shadow: none; filter: none; color: var(--text-soft); }
.site-header .nav-icon .ui-icon { width: 20px; height: 20px; }
.fluent-chat-icon::before {
  content: "";
  display: block;
  width: var(--fluent-chat-size, 20px);
  height: var(--fluent-chat-size, 20px);
  background-color: currentColor;
  mask: url("../img/icons/fluent-chat-sparkle-20-regular.svg") center / contain no-repeat;
}
.home-tools .home-compert-icon { display: grid; place-items: center; }
.home-compert-icon .fluent-chat-icon { --fluent-chat-size: 22px; }

.pc-part-icon::before {
  content: "";
  display: block;
  width: var(--part-icon-size);
  height: var(--part-icon-size);
  background-color: currentColor;
  mask: var(--part-icon) center / contain no-repeat;
}
.pc-part-icon--gpu { --part-icon: url("../img/icons/conner-hunt-gpu.png"); }
.pc-part-icon--cpu { --part-icon: url("../img/icons/conner-hunt-cpu.png"); }
.pc-part-icon--ram { --part-icon: url("../img/icons/conner-hunt-ram.png"); }
.pc-part-icon--system { --part-icon: url("../img/icons/conner-hunt-system.png"); }
@media (forced-colors: active) {
  .fluent-chat-icon::before {
    forced-color-adjust: none;
    background-color: LinkText;
  }
  .pc-part-icon::before {
    forced-color-adjust: none;
    background-color: CanvasText;
  }
}
.site-header .nav-link:hover .nav-icon { color: var(--text); }
.site-header .nav-link.active .nav-icon { color: var(--primary-text); }
.home-tools .ui-icon { stroke-width: 2; }
.site-header .header-report-btn > .ui-icon { width: 16px; height: 16px; }
.site-header .nav-toggle { align-items: center; justify-content: center; gap: 0; width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
.nav-toggle .ui-menu-close { display: none; }
.site-header.nav-open .nav-toggle .ui-menu-open { display: none; }
.site-header.nav-open .nav-toggle .ui-menu-close { display: block; }
.compare-page .summary-buy-icon.ui-icon { width: 18px; height: 18px; }
.compare-page .summary-buy-link-icon.ui-icon { width: 18px; height: 18px; }
.compare-page .summary-buy-link-arrow.ui-icon { width: 14px; height: 14px; }

/* Juegos — portadas proporcionadas y texto fuera de la imagen, referencias Card/AspectRatio de shadcn. */
.games-screen .bg-glow,
.games-screen .catalog-section::before,
.games-screen .catalog-section::after { display: none; }
.games-screen .catalog-hero-rich { background: none; border-color: var(--border); }
.games-screen .catalog-hero-rich::before,
.games-screen .catalog-hero-rich::after { display: none; }
.games-screen .catalog-head-inner { padding-bottom: 24px; border-bottom-color: var(--border-strong); }
.games-screen .games-page { padding-top: 28px; }
.games-screen .games-deck { margin-bottom: 32px; border-radius: 12px; border-color: var(--border-strong) !important; background: var(--surface) !important; }
.games-screen .games-toolbar .game-search-bar { padding: 24px; }
.games-screen .game-search-top { gap: 6px; margin-bottom: 16px; }
.games-screen .game-search-label { color: var(--text); font-size: .94rem; font-weight: 550; letter-spacing: 0; text-transform: none; }
.games-screen .game-search-hint,
.games-screen .game-search-meta { color: var(--text-soft); font-size: .82rem; line-height: 1.6; }
.games-screen .game-search-hint { margin: 0; }
.games-screen .game-search-meta { margin: 12px 0 0; font-variant-numeric: tabular-nums; }
.games-screen .games-toolbar .game-search-row { display: flex; flex-wrap: nowrap; gap: 4px; padding: 4px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--bg); box-shadow: none; }
.games-screen .games-toolbar .game-search-row::after { content: none; animation: none; }
.games-screen .games-toolbar .game-search-row:focus-within { border-color: #659434; box-shadow: none; outline: 2px solid #659434; outline-offset: -2px; }
.games-screen .games-toolbar .game-search-input { flex: 1 1 0; min-width: 0; width: 0; height: 48px; min-height: 48px; padding: 10px 12px; border: 0; border-radius: 6px; background: transparent; color: var(--text); font-size: 1rem; box-shadow: none; outline: none; }
.games-screen .game-search-input::placeholder { color: var(--text-faint); opacity: 1; }
.games-screen .games-toolbar .game-search-clear { flex: 0 0 44px; width: 44px; height: 48px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 6px; color: var(--text-soft); background: transparent; }
.games-screen .game-search-clear:hover { color: var(--text); background: var(--surface-hover); }
.games-screen .games-toolbar .game-search-submit { flex: 0 0 auto; width: auto; height: 48px; min-height: 48px; padding: 10px 20px; border-radius: 6px; font-size: .88rem; font-weight: 600; transform: none; transition: background-color .15s ease; }
.games-screen .games-toolbar .game-search-submit:disabled { background: #303237 !important; border-color: #303237 !important; color: #b5b5bc !important; opacity: 1; }
.games-screen .games-toolbar .game-autocomplete { background: var(--surface-raised); border: 1px solid var(--border-strong); border-radius: 10px; box-shadow: 0 12px 24px -12px #000; }
.games-screen .game-autocomplete-item { min-height: 44px; padding: 12px 16px; color: var(--text); }
.games-screen .game-autocomplete-item:hover,
.games-screen .game-autocomplete-item.active { background: var(--surface-hover); color: var(--text); }
.games-screen .game-autocomplete-item mark { background: none; color: var(--primary-text); }
.games-screen .games-catalog-block .catalog-block-head { flex-wrap: nowrap; align-items: center; gap: 12px; padding: 0 0 20px; }
.games-screen .games-catalog-icon { flex: 0 0 24px; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 0; background: none !important; color: var(--text-soft) !important; box-shadow: none; overflow: visible; }
.games-screen .games-catalog-icon .ui-icon { width: 22px; height: 22px; }
.games-screen .games-catalog-title { font-size: 1.12rem; font-weight: 550; line-height: 1.5; letter-spacing: -.025em; overflow-wrap: anywhere; }
.games-screen .catalog-block-text { min-width: 0; }
.games-screen .games-catalog-badge-wrap { width: auto; margin-left: auto; padding: 0; }
.games-screen .games-catalog-block .games-catalog-badge { width: auto; gap: 6px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--text-soft); font-family: var(--font); font-size: .82rem; font-weight: 400; font-variant-numeric: tabular-nums; line-height: 1.5; white-space: nowrap; }
.games-screen .games-catalog-badge-shown { color: var(--text); font-size: inherit; font-weight: 550; }
.games-screen .games-catalog-badge-sep,
.games-screen .games-catalog-badge-total { color: var(--text-soft); font-size: inherit; font-weight: 400; }
.games-screen .games-catalog-grid-shell { padding: 0; }
.games-screen .games-catalog-grid-shell::before { content: none; }
.games-screen .game-grid-catalog { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 16px !important; align-items: stretch; }
.games-screen .games-catalog-block .game-grid-catalog .game-card { display: flex; flex-direction: column; justify-content: flex-start; min-width: 0; min-height: 0; padding: 0; aspect-ratio: auto; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface); box-shadow: none; text-decoration: none; transform: none; contain-intrinsic-size: auto 260px; transition: border-color .15s ease, background-color .15s ease; }
.games-screen .games-catalog-block .game-grid-catalog .game-card.has-banner { aspect-ratio: auto; }
.games-screen .games-catalog-block .game-grid-catalog .game-card:hover { border-color: #53565c; background: var(--surface-raised); box-shadow: none; transform: none; }
.games-screen .game-card:focus-visible { outline: 2px solid var(--primary-text); outline-offset: 3px; }
.games-screen .games-catalog-block .game-grid-catalog .game-card .game-card-img { position: static; inset: auto; flex: 0 0 auto; display: block; width: 100%; height: auto; aspect-ratio: 616 / 353; object-fit: cover; object-position: center; transform: none; transition: none; border-bottom: 1px solid var(--border); }
.games-screen .games-catalog-block .game-grid-catalog .game-card .game-card-shade,
.games-screen .games-catalog-block .game-grid-catalog .game-card::after { display: none; }
.games-screen .games-catalog-block .game-grid-catalog .game-card:not(.has-banner)::before { content: ""; flex: 0 0 auto; display: block; width: 100%; aspect-ratio: 616 / 353; background: var(--surface-raised) url("data:image/svg+xml,%3Csvg%0A%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0A%20%20width%3D%2224%22%0A%20%20height%3D%2224%22%0A%20%20viewBox%3D%220%200%2024%2024%22%0A%20%20fill%3D%22none%22%0A%20%20stroke%3D%22%238b8b94%22%0A%20%20stroke-width%3D%222%22%0A%20%20stroke-linecap%3D%22round%22%0A%20%20stroke-linejoin%3D%22round%22%0A%3E%0A%20%20%3Cline%20x1%3D%226%22%20x2%3D%2210%22%20y1%3D%2211%22%20y2%3D%2211%22%20%2F%3E%0A%20%20%3Cline%20x1%3D%228%22%20x2%3D%228%22%20y1%3D%229%22%20y2%3D%2213%22%20%2F%3E%0A%20%20%3Cline%20x1%3D%2215%22%20x2%3D%2215.01%22%20y1%3D%2212%22%20y2%3D%2212%22%20%2F%3E%0A%20%20%3Cline%20x1%3D%2218%22%20x2%3D%2218.01%22%20y1%3D%2210%22%20y2%3D%2210%22%20%2F%3E%0A%20%20%3Cpath%20d%3D%22M17.32%205H6.68a4%204%200%200%200-3.978%203.59c-.006.052-.01.101-.017.152C2.604%209.416%202%2014.456%202%2016a3%203%200%200%200%203%203c1%200%201.5-.5%202-1l1.414-1.414A2%202%200%200%201%209.828%2016h4.344a2%202%200%200%201%201.414.586L17%2018c.5.5%201%201%202%201a3%203%200%200%200%203-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4%204%200%200%200%2017.32%205z%22%20%2F%3E%0A%3C%2Fsvg%3E%0A") center / 36px no-repeat; border-bottom: 1px solid var(--border); }
.games-screen .games-catalog-block .game-grid-catalog .game-card .game-card-foot { position: static; flex: 1 0 auto; align-items: flex-start; gap: 8px; width: 100%; margin: 0; padding: 14px 16px 16px; box-sizing: border-box; }
.games-screen .games-catalog-block .game-grid-catalog .game-card .game-name { display: block; max-width: 100%; min-height: 2.9em; margin: 0; padding: 0; overflow: visible; overflow-wrap: anywhere; -webkit-line-clamp: unset; font-family: var(--font); font-size: .9rem; font-weight: 550; line-height: 1.45; letter-spacing: -.01em; color: var(--text); text-shadow: none; }
.games-screen .games-catalog-block .game-grid-catalog .game-card .game-meta { display: block; margin: auto 0 0; padding: 0; border: 0; border-radius: 0; background: none; color: var(--text-soft); font-family: var(--font); font-size: .76rem; font-weight: 400; line-height: 1.5; letter-spacing: 0; font-variant-numeric: tabular-nums; text-shadow: none; }
.games-screen .games-catalog-block .game-grid-catalog .game-card .game-rating { position: absolute; top: 10px; left: 10px; right: auto; z-index: 3; margin: 0; padding: 5px 8px; border: 1px solid #3c3e42; border-radius: 6px; background: #141619; color: #f4f4f5; font-family: var(--font); font-size: .72rem; font-weight: 550; line-height: 1.2; letter-spacing: 0; font-variant-numeric: tabular-nums; text-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
.games-screen .games-catalog-block .game-grid-catalog .game-card .new-tag { top: 10px; right: 10px; left: auto; padding: 5px 8px; border: 1px solid #405125; border-radius: 6px; background: #1c2811; color: #b9df80; font-size: .63rem; font-weight: 600; line-height: 1.2; letter-spacing: 0; box-shadow: none; }
.games-screen .game-search-empty { grid-column: 1 / -1; margin: 0; padding: 40px 24px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface); color: var(--text-soft); font-size: .94rem; line-height: 1.6; }
.games-screen .games-catalog-block .game-load-more-wrap { margin-top: 24px; padding: 24px 0 0; border-top: 1px solid var(--border); }
.games-screen .games-catalog-block .game-load-more-wrap:empty { display: none; }
.games-screen .games-catalog-block .game-load-more { min-height: 48px; padding: 12px 24px !important; border: 1px solid var(--border-strong) !important; border-radius: 8px !important; background: var(--surface) !important; color: var(--text); font-size: .86rem; font-weight: 550 !important; box-shadow: none; transform: none; }
.games-screen .games-catalog-block .game-load-more:hover { background: var(--surface-hover) !important; border-color: #53565c !important; transform: none; }
@media (max-width: 1100px) {
  .games-screen .game-grid-catalog { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 820px) {
  .games-screen .game-grid-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 640px) {
  .games-screen .games-toolbar .game-search-bar { padding: 20px 16px; }
  .games-screen .games-toolbar .game-search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px; }
  .games-screen .games-toolbar .game-search-input { width: 100%; }
  .games-screen .games-toolbar .game-search-submit { grid-column: 1 / -1; width: 100%; }
  .games-screen .games-catalog-block .catalog-block-head { gap: 8px; padding-bottom: 16px; }
  .games-screen .games-catalog-title { font-size: 1rem; }
  .games-screen .games-catalog-icon { display: none; }
  .games-screen .games-catalog-badge { font-size: .76rem; }
}
@media (max-width: 520px) {
  .games-screen .game-grid-catalog { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (prefers-reduced-motion: reduce) {
  .games-screen .game-card,
  .games-screen .games-toolbar .game-search-submit { transition: none !important; }
}

/* Tu equipo — paneles unidos, Field/Item/Alert de shadcn adaptados a los controles existentes. */
.mipc-screen { --mipc-game-placeholder: url("data:image/svg+xml,%3Csvg%0A%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0A%20%20width%3D%2224%22%0A%20%20height%3D%2224%22%0A%20%20viewBox%3D%220%200%2024%2024%22%0A%20%20fill%3D%22none%22%0A%20%20stroke%3D%22%238b8b94%22%0A%20%20stroke-width%3D%222%22%0A%20%20stroke-linecap%3D%22round%22%0A%20%20stroke-linejoin%3D%22round%22%0A%3E%0A%20%20%3Cline%20x1%3D%226%22%20x2%3D%2210%22%20y1%3D%2211%22%20y2%3D%2211%22%20%2F%3E%0A%20%20%3Cline%20x1%3D%228%22%20x2%3D%228%22%20y1%3D%229%22%20y2%3D%2213%22%20%2F%3E%0A%20%20%3Cline%20x1%3D%2215%22%20x2%3D%2215.01%22%20y1%3D%2212%22%20y2%3D%2212%22%20%2F%3E%0A%20%20%3Cline%20x1%3D%2218%22%20x2%3D%2218.01%22%20y1%3D%2210%22%20y2%3D%2210%22%20%2F%3E%0A%20%20%3Cpath%20d%3D%22M17.32%205H6.68a4%204%200%200%200-3.978%203.59c-.006.052-.01.101-.017.152C2.604%209.416%202%2014.456%202%2016a3%203%200%200%200%203%203c1%200%201.5-.5%202-1l1.414-1.414A2%202%200%200%201%209.828%2016h4.344a2%202%200%200%201%201.414.586L17%2018c.5.5%201%201%202%201a3%203%200%200%200%203-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4%204%200%200%200%2017.32%205z%22%20%2F%3E%0A%3C%2Fsvg%3E%0A"); }
.mipc-screen .bg-glow { display: none; }
.mipc-screen .mipc-page.tq { padding: 32px 0 64px; }
.mipc-screen .tq-head { margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--border-strong); }
.mipc-screen .tq-head h1 { margin-bottom: 8px; font-size: clamp(1.8rem, 3.1vw, 2.4rem); line-height: 1.2; letter-spacing: -.035em; }
.mipc-screen .tq-lead { max-width: 70ch; font-size: .98rem; line-height: 1.65; }
.mipc-screen .tq-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0; align-items: stretch; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface); }
.mipc-screen .tq-layout > .tq-card { min-width: 0; border: 0 !important; box-shadow: none !important; }
.mipc-screen .tq-layout > .tq-device { border-radius: 12px 0 0 12px; }
.mipc-screen .tq-layout > .tq-setup { padding: 24px; border-inline-start: 1px solid var(--border-strong) !important; border-radius: 0 12px 12px 0; background: #101214 !important; }
.mipc-screen .tq-device-top { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; padding: 24px; border-bottom-color: var(--border); }
.mipc-screen .tq-device-art { width: 40px; height: 40px; border: 1px solid var(--border-strong); border-radius: 8px; background: #171a1d; color: #c3c8d0; }
.mipc-screen .tq-device-top h2,
.mipc-screen .tq-setup-title h2 { font-size: 1.06rem; font-weight: 550; line-height: 1.5; letter-spacing: -.02em; }
.mipc-screen .tq-device-top p,
.mipc-screen .tq-setup-sub { margin-top: 4px; font-size: .82rem; line-height: 1.6; }
.mipc-screen .tq-status { grid-column: auto; justify-self: end; gap: 6px; padding: 5px 8px; border: 1px solid var(--border-strong); border-radius: 6px; background: var(--surface-raised); color: var(--text-soft); font-size: .7rem; font-weight: 500; line-height: 1.5; }
.mipc-screen .tq-device[data-state="partial"] .tq-status { border-color: #59482b; background: #272116; color: #ebce91; }
.mipc-screen .tq-device[data-state="ready"] .tq-status { border-color: #405125; background: #1c2811; color: #b9df80; }
.mipc-screen .tq-specs { flex: 1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mipc-screen .tq-spec { gap: 14px; min-height: 104px; padding: 20px 24px; }
.mipc-screen .tq-spec-art { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #303438; border-radius: 9px; background: #171a1d; color: #c3c8d0; }
.mipc-screen .tq-spec dt { margin-bottom: 6px; color: var(--text-soft); font-size: .78rem; font-weight: 400; line-height: 1.5; letter-spacing: 0; text-transform: none; }
.mipc-screen .tq-spec dd { color: var(--text); font-size: .9rem; font-weight: 550; line-height: 1.55; }
.mipc-screen .tq-spec dd.is-empty { color: var(--text-soft); font-weight: 400; }
.mipc-screen .tq-device-foot { margin-top: auto; padding: 16px 24px; color: var(--text-soft); font-size: .78rem; line-height: 1.65; }
.mipc-screen .tq-device-foot > .ui-icon { display: inline-block; margin-right: 8px; vertical-align: -3px; color: var(--text-soft); }
.mipc-screen .tq-device-foot a { color: var(--text); font-weight: 500; text-decoration-color: #53565c; text-underline-offset: 3px; white-space: normal; }
.mipc-screen .tq-device .mipc-system-note { padding: 16px 24px; color: var(--text-soft); font-size: .8rem; line-height: 1.6; }
.mipc-screen .tq-device .mipc-system-actions { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 10px 24px; }
.mipc-screen .mipc-spec-link { display: inline-flex; align-items: center; min-height: 44px; margin: 0; color: var(--text); font-size: .8rem; text-underline-offset: 3px; }
.mipc-screen .tq-setup-title { align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.mipc-screen .tq-badge { padding: 0; border: 0; border-radius: 0; background: none; color: var(--text-soft); font-size: .7rem; font-weight: 400; white-space: normal; }
.mipc-screen .tq-setup .mipc-method-tabs { gap: 4px; padding: 4px; margin-bottom: 20px; border: 1px solid var(--border-strong); border-radius: 9px; background: var(--bg); }
.mipc-screen .tq-setup .mipc-method-tab { min-height: 44px; padding: 10px 12px; border: 1px solid transparent; border-radius: 6px; color: var(--text-soft); font-size: .84rem; font-weight: 500; box-shadow: none; transform: none; }
.mipc-screen .tq-setup .mipc-method-tab.active { color: var(--text); border-color: var(--border-strong); background: #24272a; box-shadow: none; }
.mipc-screen .tq-setup .mipc-method-tab:hover { color: var(--text); }
.mipc-screen .tq-steps { gap: 16px; margin-bottom: 20px; }
.mipc-screen .tq-steps li { gap: 12px; font-size: .86rem; line-height: 1.5; }
.mipc-screen .tq-steps li::before { width: 24px; height: 24px; border-color: var(--border-strong); background: var(--surface-raised); color: var(--text-soft); font-weight: 500; }
.mipc-screen .tq-steps small { margin-top: 3px; font-size: .78rem; line-height: 1.6; }
.mipc-screen .tq-detector-actions { align-items: stretch; gap: 4px; }
.mipc-screen .tq-detector-actions .btn-primary,
.mipc-screen #miPcManualBtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 16px; border-radius: 8px; font-size: .9rem; font-weight: 550; box-shadow: none; transform: none; }
.mipc-screen #miPcManualBtn { border-color: var(--border-strong); background: #24272a; color: var(--text); }
.mipc-screen #miPcManualBtn:hover { border-color: #53565c; background: #2d3034; }
.mipc-screen #miPcManualBtn:disabled { opacity: .6; cursor: wait; }
.mipc-screen .mipc-detector-more { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font-size: .8rem; font-weight: 500; color: var(--text-soft); text-underline-offset: 3px; }
.mipc-screen .mipc-detector-more:hover { color: var(--text); }
.mipc-screen .mipc-manual-sub { margin-bottom: 20px; font-size: .82rem; line-height: 1.6; }
.mipc-screen .mipc-manual-fields { gap: 16px; margin-bottom: 20px; }
.mipc-screen .mipc-manual-field label { font-size: .8rem; font-weight: 500; line-height: 1.5; letter-spacing: 0; text-transform: none; color: var(--text); }
.mipc-screen .mipc-hw-input { min-width: 0; height: 48px; padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--bg); color: var(--text); font-size: 1rem; box-shadow: none; }
.mipc-screen .mipc-hw-input::placeholder { color: var(--text-faint); opacity: 1; }
.mipc-screen .mipc-hw-input:focus { border-color: var(--primary-text); outline: 2px solid var(--primary-text); outline-offset: 2px; box-shadow: none; }
.mipc-screen .mipc-hw-ac { border-color: var(--border-strong); border-radius: 8px; background: var(--surface-raised); box-shadow: 0 12px 24px -12px #000; }
.mipc-screen .mipc-hw-ac-item { min-height: 44px; padding: 12px; font-size: .84rem; line-height: 1.5; overflow-wrap: anywhere; }
.mipc-screen .mipc-hw-ac-item:hover,
.mipc-screen .mipc-hw-ac-item.active { background: #272a2e; }
.mipc-screen .tq-setup .mipc-detect-status { margin-top: 16px; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--surface-raised); color: var(--text); font-size: .82rem; line-height: 1.6; }
.mipc-screen .tq .mipc-main { margin-top: 36px; }
.mipc-screen .tq-games-head { gap: 12px; margin-bottom: 20px; }
.mipc-screen .tq-games-head h2 { font-size: 1.12rem; font-weight: 550; line-height: 1.5; }
.mipc-screen .tq-games-head p { flex-shrink: 0; font-size: .8rem; line-height: 1.5; }
.mipc-screen #miPcEmpty .tq-games-grid { grid-template-columns: minmax(0, 1fr); }
.mipc-screen .tq-games-lock { position: static; min-height: 164px; gap: 12px; padding: 28px 24px; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface); pointer-events: auto; }
.mipc-screen .tq-games-lock > .ui-icon { color: var(--text-soft); }
.mipc-screen .tq-games-lock strong { margin-bottom: 6px; font-size: .94rem; font-weight: 550; line-height: 1.5; }
.mipc-screen .tq-games-lock span { display: block; max-width: 65ch; color: var(--text-soft); font-size: .84rem; line-height: 1.6; }
.mipc-screen .tq-games-bar { flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-bottom: 20px; padding: 16px 20px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.mipc-screen .tq .tq-games-bar .mipc-use-games { flex: 1 1 280px; min-height: 48px; padding: 0; border: 0; }
.mipc-screen .tq .tq-games-bar .mipc-use-games-mark { flex-shrink: 0; background: #303237; transition: background-color .15s ease; }
.mipc-screen .tq .tq-games-bar .mipc-use-games input:checked + .mipc-use-games-mark { border-color: var(--primary); background: var(--primary); }
.mipc-screen .tq .tq-games-bar .mipc-use-games input:checked + .mipc-use-games-mark::after { background: var(--primary-ink); }
.mipc-screen .mipc-use-games input:focus-visible + .mipc-use-games-mark { outline: 2px solid var(--primary-text); outline-offset: 3px; }
.mipc-screen .tq .tq-games-bar .mipc-filters { display: flex; flex: 1 1 auto; flex-wrap: wrap; gap: 4px; }
.mipc-screen .tq .tq-games-bar .mipc-filter { flex: 1 1 auto; height: auto; min-height: 44px; gap: 6px; padding: 10px 12px; border-color: transparent; border-radius: 6px; background: none; color: var(--text-soft); font-size: .78rem; font-weight: 500; line-height: 1.5; box-shadow: none; transition: background-color .15s ease; }
.mipc-screen .tq .tq-games-bar .mipc-filter:hover { background: var(--surface-hover); color: var(--text); }
.mipc-screen .tq .tq-games-bar .mipc-filter.active { border-color: var(--border-strong); background: #24272a; color: var(--text); box-shadow: none; }
.mipc-screen .tq .tq-games-bar .mipc-filter em { padding: 0; background: none; color: inherit; font-size: .72rem; }
.mipc-screen .tq .mipc-games-compact .mipc-games-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mipc-screen .tq .mipc-games-compact .mipc-game-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto 1fr auto; gap: 0; min-width: 0; min-height: 0; padding: 0 0 16px; aspect-ratio: auto; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface); box-shadow: none; transform: none; }
.mipc-screen .tq .mipc-game-card::after { display: none; }
.mipc-screen .tq .mipc-game-card:hover { border-color: #53565c; background: var(--surface-raised); transform: none; }
.mipc-screen .tq .mipc-game-banner { position: static; grid-column: 1 / -1; grid-row: 1; display: block; width: 100%; height: auto; aspect-ratio: 616 / 353; object-fit: cover; opacity: 1; background: var(--surface-raised) var(--mipc-game-placeholder) center / 36px no-repeat; border-bottom: 1px solid var(--border); }
.mipc-screen .tq .mipc-game-card:not(:has(.mipc-game-banner))::before { content: ""; grid-column: 1 / -1; grid-row: 1; width: 100%; aspect-ratio: 616 / 353; background: var(--surface-raised) var(--mipc-game-placeholder) center / 36px no-repeat; border-bottom: 1px solid var(--border); }
.mipc-screen .tq .mipc-game-verdict { grid-column: 1; grid-row: 2; justify-self: start; margin: 14px 0 0 16px; padding: 4px 7px; border-radius: 5px; font-size: .66rem; font-weight: 500; line-height: 1.4; letter-spacing: 0; text-transform: none; }
.mipc-screen .tq .mipc-game-fps { grid-column: 2; grid-row: 2; align-self: center; margin: 14px 16px 0 6px; color: var(--text-soft); font-family: var(--font); font-size: .72rem; font-weight: 400; font-variant-numeric: tabular-nums; }
.mipc-screen .tq .mipc-game-name { grid-column: 1 / -1; grid-row: 3; min-width: 0; min-height: 2.9em; margin: 10px 16px 0; font-size: .9rem; font-weight: 550; line-height: 1.45; overflow-wrap: anywhere; }
.mipc-screen .tq .mipc-game-meta { grid-column: 1 / -1; grid-row: 4; margin: 8px 16px 0; color: var(--text-soft); font-size: .76rem; font-variant-numeric: tabular-nums; }
.mipc-screen .mipc-games-loading,
.mipc-screen .mipc-games-empty { grid-column: 1 / -1; padding: 24px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface); color: var(--text-soft); font-size: .86rem; line-height: 1.6; }
.mipc-screen .mipc-games-more { min-height: 48px; margin-top: 20px; padding: 12px 20px; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--surface); color: var(--text); font-size: .84rem; font-weight: 500; }
.mipc-screen .mipc-games-more:hover { border-color: #53565c; background: var(--surface-hover); }
@media (max-width: 1100px) {
  .mipc-screen .tq-device-top { grid-template-columns: 40px minmax(0, 1fr); }
  .mipc-screen .tq-status { grid-column: 2; justify-self: start; margin-left: 0; }
  .mipc-screen .tq-spec { padding: 20px; }
  .mipc-screen .tq .mipc-games-compact .mipc-games-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .mipc-screen .tq-layout { grid-template-columns: minmax(0, 1fr); }
  .mipc-screen .tq-layout > .tq-device { border-radius: 12px 12px 0 0; }
  .mipc-screen .tq-layout > .tq-setup { border-inline-start: 0 !important; border-top: 1px solid var(--border-strong) !important; border-radius: 0 0 12px 12px; }
  .mipc-screen .tq-device-top { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .mipc-screen .tq-status { grid-column: 3; justify-self: end; }
  .mipc-screen .tq-games-bar { align-items: stretch; }
  .mipc-screen .tq .tq-games-bar .mipc-use-games { flex-basis: auto; }
  .mipc-screen .tq .mipc-games-compact .mipc-games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .mipc-screen .mipc-page.tq { padding-top: 24px; }
  .mipc-screen .tq-device-top { grid-template-columns: 40px minmax(0, 1fr); padding: 20px 16px; }
  .mipc-screen .tq-status { grid-column: 2; justify-self: start; }
  .mipc-screen .tq-specs { grid-template-columns: minmax(0, 1fr); }
  .mipc-screen .tq-spec { min-height: 80px; padding: 16px; }
  .mipc-screen .tq-layout > .tq-setup { padding: 20px 16px; }
  .mipc-screen .tq-device-foot,
  .mipc-screen .tq-device .mipc-system-note { padding: 16px; }
  .mipc-screen .tq-device .mipc-system-actions { padding: 8px 16px; }
  .mipc-screen .tq-games-head { gap: 4px; margin-bottom: 16px; }
  .mipc-screen .tq-games-lock { min-height: 164px; padding: 24px 16px; }
  .mipc-screen .tq-games-bar { padding: 16px; }
  .mipc-screen .tq .tq-games-bar .mipc-filter { flex-basis: calc(50% - 4px); }
  .mipc-screen .tq .mipc-games-compact .mipc-games-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .mipc-screen .tq .mipc-games-grid,
  .mipc-screen .tq .mipc-games-grid .mipc-game-card,
  .mipc-screen .mipc-use-games-mark,
  .mipc-screen .mipc-use-games-mark::after { transition: none !important; animation: none !important; }
}

/* Siluetas físicas duotone: familia específica para el resumen del equipo. */
.mipc-screen .hardware-icon { display: block; flex: 0 0 auto; width: var(--hardware-icon-size, 28px); height: var(--hardware-icon-size, 28px); fill: currentColor; stroke: none; pointer-events: none; }

/* Components — acabado integral 2026-10-30: graphite, verde de marca y lectura clara. */
:root {
  --bg: #080b0a;
  --bg-elevated: #101513;
  --surface: #101513;
  --surface-raised: #171d19;
  --surface-hover: #1c241f;
  --border: rgba(214, 228, 220, .10);
  --border-strong: rgba(214, 228, 220, .18);
  --text: #f1f5f2;
  --text-soft: #a9b5ad;
  --text-faint: #909f96;
  --primary: #76b900;
  --primary-hover: #8dcc18;
  --primary-ink: #101907;
  --primary-text: #b1df6c;
  --accent: #b1df6c;
  --shadow: 0 14px 32px -22px #000;
}
.site-shell .bg-glow { display: none; }
.site-shell { accent-color: var(--primary); }
.site-shell :is(h1, h2, h3) { text-wrap: balance; }
.site-shell :is(input, textarea, select) { caret-color: var(--primary-text); }
.site-shell :focus-visible { outline: 2px solid var(--primary-text); outline-offset: 3px; }
.site-shell [id] { scroll-margin-top: 96px; }
.site-shell .site-header { background: rgba(8,11,10,.96); border-bottom-color: var(--border-strong); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.site-shell .header-inner { min-height: 80px; }
.site-shell .header-nav-rail { padding: 4px; border: 1px solid var(--border-strong); border-radius: 13px; background: var(--surface); }
.site-shell .nav-link { min-height: 44px; padding-block: 10px; border-radius: 8px; font-weight: 500; color: var(--text-soft); text-shadow: none; }
.site-shell .nav-link:hover { color: var(--text); background: #202820; }
.site-shell .nav-link.active { color: var(--text); }
.site-shell .nav-rail-indicator { border-color: #3b4d29; border-radius: 8px; background: #22301a; box-shadow: none; }
.site-shell .header-actions { gap: 8px; }
.site-shell .header-fuentes,
.site-shell .header-report-btn { min-height: 44px; border-radius: 9px; border-color: var(--border); background: var(--surface); font-size: .76rem; }
.site-shell .header-fuentes:hover,
.site-shell .header-report-btn:hover { border-color: var(--border-strong); background: var(--surface-hover); color: var(--text); }
.site-shell .lang-toggle { min-height: 44px; gap: 2px; padding: 3px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); }
.site-shell .lang-btn { min-width: 36px; min-height: 36px; border-radius: 6px; font-weight: 600; }
.site-shell .nav-toggle { border-radius: 9px; border-color: var(--border-strong); background: var(--surface); }
.site-shell .btn-primary { min-height: 48px; padding: 12px 20px; border: 1px solid #98c64f; border-radius: 9px; background: var(--primary); color: var(--primary-ink); font-size: .9rem; font-weight: 600; line-height: 1.5; box-shadow: 0 1px 0 rgba(255,255,255,.14) inset; transition: background-color .16s ease, border-color .16s ease, transform .16s var(--ease-out); }
.site-shell .btn-primary:hover { background: var(--primary-hover); border-color: #b1df6c; color: var(--primary-ink); box-shadow: none; transform: translateY(-1px); }
.site-shell .btn-primary:active { transform: translateY(0); }
.site-shell .btn-primary:disabled,
.site-shell .btn-primary[disabled] { background: #252d27; color: #9ba79f; border-color: #354037; box-shadow: none; transform: none; transition: none; }
.site-shell .btn-secondary { min-height: 48px; padding: 12px 20px; border: 1px solid var(--border-strong); border-radius: 9px; background: var(--surface-raised); color: var(--text); font-size: .88rem; font-weight: 500; line-height: 1.5; box-shadow: none; transition: background-color .16s ease, border-color .16s ease; }
.site-shell .btn-secondary:hover { background: var(--surface-hover); border-color: #526155; transform: none; box-shadow: none; }
.site-shell .search-select-input { min-height: 50px; border: 1px solid #39463c; border-radius: 9px; background: #0c100d; color: var(--text); font-size: .94rem; box-shadow: none; }
.site-shell .search-select-input::placeholder { color: var(--text-faint); opacity: 1; }
.site-shell .search-select-input:focus { border-color: var(--primary-text); outline: 2px solid rgba(177,223,108,.42); outline-offset: 2px; box-shadow: none; }
.site-shell .search-select-dropdown { padding: 6px; border-color: #45513f; border-radius: 10px; background: #171d19; box-shadow: 0 18px 36px -18px #000; }
.site-shell .search-select-option { min-height: 44px; padding: 11px 12px; border-radius: 6px; color: var(--text); font-size: .86rem; line-height: 1.5; }
.site-shell .search-select-option:hover,
.site-shell .search-select-option.focused { background: #293423; color: #f1f5f2; }
.site-shell .search-select-option.selected { background: #25351a; color: #c6e79d; }
.site-shell .search-select-empty { padding: 14px 12px; color: var(--text-soft); }
.site-shell .compare-pick-hint { border-radius: 8px; font-size: .82rem; line-height: 1.6; }
.site-shell [data-spotlight] { background-image: none; }

/* Portada: el comparador se lee como un espacio de trabajo, centrado. */
.page-home .home-hero { padding-top: 56px; }
.page-home .home-hero-inner { border-inline: 0; }
.page-home .home-hero h1 { max-width: 20ch; font-size: clamp(2.75rem, 5.15vw, 4.4rem); font-weight: 600; line-height: 1.07; letter-spacing: -.04em; }
.page-home .home-hero-sub { max-width: 65ch; margin-top: 22px; font-size: 1.04rem; line-height: 1.75; }
.page-home .home-hero .compare-widget { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 0 24px; max-width: 940px; margin-top: 32px; padding: 24px; border: 1px solid #415132; border-radius: 16px; background: #121914; box-shadow: 0 20px 44px -30px #000; transition: border-color .18s ease; }
.page-home .home-hero .compare-widget:focus-within { border-color: #789d4c; }
.page-home .workspace-head { grid-column: 1; grid-row: 1; min-height: 48px; gap: 10px; margin: 0; }
.page-home .workspace-speedometer {
  display: block;
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  background: var(--primary-text);
  mask: url('/static/releases/r20261119-005925/img/icons/mdi-speedometer.svg') center / contain no-repeat;
  forced-color-adjust: none;
}
@media (forced-colors: active) {
  .page-home .workspace-speedometer { background: CanvasText; }
}
.page-home .workspace-head h2 { font-size: .94rem; font-weight: 550; }
.page-home .home-hero .compare-tabs { grid-column: 2; grid-row: 1; align-self: center; width: 310px; margin: 0; padding: 4px; border: 1px solid var(--border-strong); border-radius: 9px; background: #090e0b; }
.page-home .home-hero .compare-tabs-indicator { top: 4px; height: calc(100% - 8px); border-radius: 6px; background: #293a1b; box-shadow: inset 0 0 0 1px #455d2f; }
.page-home .home-hero .tab { min-height: 44px; padding: 10px 12px; font-size: .84rem; font-weight: 500; }
.page-home .home-hero .tab.active { color: #d5edb1; }
.page-home .home-hero .compare-box { grid-column: 1 / -1; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.page-home .home-hero .search-select-input { min-height: 52px; font-size: .94rem; }
.page-home .home-hero .compare-form .btn-primary { min-height: 52px; padding-inline: 24px; font-size: .9rem; }
.page-home .home-hero .compare-next { color: var(--text-soft); font-size: .8rem; }
.page-home .home-privacy { gap: 8px; margin-top: 20px; color: var(--text-faint); font-size: .8rem; }
.page-home .home-privacy .ui-icon { width: 16px; height: 16px; color: var(--text-soft); }
.page-home .home-hero .home-facts { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 10px 16px; margin-top: 32px; padding-block: 22px; border-color: var(--border); color: var(--text-soft); font-family: var(--font); font-size: .84rem; line-height: 1.6; }
.page-home .home-facts a { margin: 0; padding-left: 16px; font-size: .8rem; }
.page-home .home-bento-section { padding-top: 36px; }
.page-home .home-workspace { border-radius: 14px; background: #0c110e; }
.page-home .home-workspace-bar { min-height: 64px; padding-inline: 24px; background: var(--surface); }
.page-home .home-workspace-bar h2 { font-size: .95rem; font-weight: 550; }
.page-home .home-workspace .bento-feature { background: #151d16; }
.page-home .home-workspace .bento-feature h2 { font-size: 1.24rem; line-height: 1.45; }
.page-home .home-workspace .bento-verdict { font-size: .86rem; }
.page-home .home-workspace .bento-pct { color: var(--primary-text); font-size: 1rem; }
.page-home .home-workspace .bento-rank h2 { color: var(--text); font-size: .86rem; font-weight: 550; }
.page-home .home-workspace .rank-row a { padding-inline: 2px; border-radius: 6px; }
.page-home .home-workspace .rank-row a:hover { background: #192219; }
.page-home .home-workspace .rank-name { font-size: .84rem; }
.page-home .home-workspace .rank-score { font-size: .76rem; color: var(--text-soft); }
.page-home .home-workspace .rank-bar { height: 3px; background: #202920; border-radius: 3px; }
.page-home .home-workspace .rank-bar span { border-radius: inherit; }
.page-home .home-workspace .home-sample { font-size: .82rem; }
.page-home .home-workspace .home-sample thead th { background: #202a20; color: var(--text-soft); font-size: .74rem; }
.page-home .home-workspace .home-sample td.is-ahead { color: var(--primary-text); }
.page-home .home-workspace .bento-link,
.page-home .home-tools .bento-link { min-height: 48px; color: var(--text-soft); font-size: .82rem; font-weight: 500; }
.page-home .home-workspace .bento-link:hover,
.page-home .home-tools .bento-cta:hover .bento-link { color: var(--primary-text); }
.page-home .home-tools { margin-top: 24px; border-radius: 14px; background: var(--surface); }
.page-home .home-tools .bento-cta { padding: 26px; }
.page-home .home-tools .bento-cta:hover { background: #172017; }
.page-home .home-tools .bento-ghost-row,
.page-home .home-tools .bento-ghost-chip { color: var(--text-soft); font-size: .8rem; border-color: var(--border); }
.page-home .home-tools .bento-ghost-chip strong { font-size: .82rem; }
.page-home .home-tools .bento-cta-copy { grid-template-columns: 40px minmax(0,1fr); gap: 8px 14px; }
.page-home .home-tools .bento-cta-icon { box-sizing: content-box; width: 22px; height: 22px; padding: 9px; border: 1px solid var(--border-strong); border-radius: 9px; background: #202920; color: var(--primary-text); }
.page-home .home-tools .bento-cta-copy h2 { font-size: 1.2rem; font-weight: 550; }
.page-home .home-tools .bento-cta-copy p { max-width: 48ch; font-size: .92rem; line-height: 1.7; }
.page-home .home-games { padding-block: 32px 64px; }
.page-home .home-games-head h2 { font-size: 1.25rem; font-weight: 550; }
.page-home .home-games-head .bento-link { min-height: 44px; color: var(--text-soft); font-size: .82rem; }
.page-home .marquee-card { border: 1px solid var(--border-strong); border-radius: 11px; background: var(--surface); box-shadow: none; }
.page-home .marquee-card-foot { background: #101713; padding: 12px 14px; border-top: 1px solid var(--border); }
.page-home .marquee-card-name { font-size: .86rem; font-weight: 500; }
.page-home .marquee-card-rating { color: #d0e8ae; }

/* Pies y utilidades comparten el mismo lenguaje de controles. */
.site-shell .site-footer { margin-top: 48px; padding-top: 48px; background: #0b100d; border-top: 1px solid var(--border-strong); }
.site-shell .footer-top { gap: 40px; padding-bottom: 32px; }
.site-shell .footer-logo-text { font-size: 1.1rem; font-weight: 550; letter-spacing: -.02em; }
.site-shell .footer-tagline { max-width: 39ch; color: var(--text-soft); font-size: .86rem; line-height: 1.75; }
.site-shell .footer-col-title { margin-bottom: 12px; color: var(--text); font-size: .86rem; font-weight: 550; letter-spacing: 0; text-transform: none; }
.site-shell .footer-nav { gap: 2px; }
.site-shell .footer-nav a,
.site-shell .footer-report-link { display: inline-flex; align-items: center; min-height: 38px; padding-block: 8px; color: var(--text-soft); font-size: .82rem; line-height: 1.5; }
.site-shell .footer-nav a:hover,
.site-shell .footer-report-link:hover { color: var(--primary-text); }
.site-shell .footer-social-link { width: 44px; height: 44px; border: 1px solid var(--border-strong); border-radius: 9px; background: var(--surface); box-shadow: none; }
.site-shell .footer-social-link:hover { background: var(--surface-hover); border-color: #526155; transform: none; }
.site-shell .footer-pills { gap: 12px; margin-top: 18px; }
.site-shell .footer-pill { padding: 0; border: 0; border-radius: 0; background: none; color: var(--text-faint); font-size: .72rem; font-weight: 400; }
.site-shell .footer-bottom { padding-block: 22px; border-top-color: var(--border); color: var(--text-faint); font-size: .75rem; }
.site-shell .footer-copy { font-size: .75rem; }
.site-shell .cookie-consent-panel { border-color: var(--border-strong); border-radius: 13px; background: rgba(16,21,19,.78); box-shadow: 0 16px 36px -18px #000; }
.site-shell .cookie-consent-toggle { min-height: 44px; color: var(--text-soft); }
.site-shell .cookie-consent-btn { min-height: 44px; border-radius: 8px; font-size: .82rem; font-weight: 500; }
.site-shell .cookie-consent-title { color: var(--text); }


@media (max-width: 1180px) and (min-width: 881px) {
  .site-shell .header-inner { gap: 10px; }
  .site-shell .nav-link { padding-inline: 8px; font-size: .76rem; }
  .site-shell .header-fuentes,
  .site-shell .header-report-btn { padding-inline: 9px; }
}
@media (max-width: 1024px) and (min-width: 961px) {
  .site-shell .nav-link { padding-inline: 5px; gap: 5px; }
}
@media (max-width: 880px) {
  .site-shell .header-inner { min-height: 64px; }
  .site-shell .header-nav-rail { padding: 8px; border-radius: 12px; }
  .site-shell .site-header.nav-open .nav-link { min-height: 48px; padding: 12px 14px; border-radius: 8px; }
  .site-shell .site-header.nav-open .nav-link.active { background: #25351a; color: #d5edb1; }
  .site-shell .footer-top { gap: 28px; }
}
@media (max-width: 680px) {
  .page-home .home-hero { padding-top: 36px; }
  .page-home .home-hero h1 { max-width: 18ch; font-size: clamp(2.3rem, 7.6vw, 3.1rem); line-height: 1.1; }
  .page-home .home-hero-sub { max-width: 40ch; margin-top: 18px; font-size: .96rem; line-height: 1.7; }
  .page-home .home-hero .compare-widget { grid-template-columns: minmax(0,1fr); gap: 0; margin-top: 26px; padding: 20px 16px; border-radius: 12px; }
  .page-home .workspace-head { min-height: 32px; }
  .page-home .home-hero .compare-tabs { grid-column: 1; grid-row: 2; width: 100%; margin-top: 16px; }
  .page-home .home-hero .compare-box { grid-column: 1; grid-row: 3; margin-top: 16px; padding-top: 0; border: 0; }
  .page-home .home-hero .search-select-input { font-size: 1rem; }
  .page-home .home-hero .compare-next { font-size: .78rem; }
  .page-home .home-privacy { max-width: 42ch; align-items: flex-start; font-size: .74rem; }
  .page-home .home-privacy .ui-icon { margin-top: 2px; flex-shrink: 0; }
  .page-home .home-hero .home-facts { gap: 8px; padding-block: 18px; font-size: .76rem; }
  .page-home .home-facts a { width: 100%; padding: 0; border: 0; font-size: .76rem; }
  .page-home .home-workspace-bar { min-height: 56px; padding-inline: 16px; }
  .page-home .home-workspace .bento-feature h2 { font-size: 1.08rem; }
  .page-home .home-workspace .home-sample { font-size: .76rem; }
  .page-home .home-workspace .home-sample thead th { font-size: .7rem; }
  .page-home .home-tools .bento-cta { padding: 22px 16px; }
  .page-home .home-tools .bento-cta-copy { gap: 8px 12px; }
  .page-home .home-tools .bento-cta-copy h2 { font-size: 1.12rem; }
  .page-home .home-tools .bento-cta-copy p { font-size: .88rem; }
  .page-home .home-games { padding-bottom: 40px; }
  .page-home .home-games-head { align-items: flex-start; gap: 12px; }
  .page-home .home-games-head h2 { font-size: 1.1rem; }
  .site-shell .site-footer { margin-top: 32px; padding-top: 32px; }
  .site-shell .footer-top { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 24px; }
  .site-shell .footer-brand-col { grid-column: 1 / -1; }
  .site-shell .footer-col { min-width: 0; padding: 0; border: 0; }
  .site-shell .footer-col:last-child { grid-column: 1 / -1; }
  .site-shell .footer-col:last-child .footer-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2px 24px; }
  .site-shell .footer-nav a,
  .site-shell .footer-report-link { min-height: 44px; font-size: .8rem; }
  .site-shell .footer-pills { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 380px) {
  .site-shell .header-inner { gap: 6px; }
  .site-shell .header-actions { gap: 4px; }
  .site-shell .header-end { gap: 6px; }
  .site-shell .logo { max-width: 86px; }
  .site-shell .lang-toggle { padding: 2px; }
  .site-shell .lang-btn { min-width: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-shell { scroll-behavior: auto; }
  .site-shell .btn-primary,
  .site-shell .btn-secondary,
  .site-shell .compare-widget,
  .site-shell .search-select-input { transition: none; }
}

/* Integración global de secciones 2026-10-30 */
/* Catálogos: conservar dibujos y contenido, reforzar la jerarquía y el ritmo. */
.hardware-catalog .catalog-head,
.games-screen .catalog-head { padding-top: 44px; padding-bottom: 12px; }
.hardware-catalog .catalog-head-inner,
.games-screen .catalog-head-inner { padding-bottom: 30px; }
.hardware-catalog .catalog-head h1,
.games-screen .catalog-head h1 { font-size: clamp(1.9rem, 3.7vw, 2.85rem); font-weight: 600; line-height: 1.16; letter-spacing: -.04em; }
.hardware-catalog .catalog-head-desc,
.games-screen .catalog-head-desc { margin-top: 12px; max-width: 66ch; line-height: 1.7; }
.hardware-catalog .catalog-head-action { min-height: 68px; padding: 14px 18px; gap: 24px; background: var(--surface-raised); border-color: var(--border-strong); border-radius: 12px; }
.hardware-catalog .catalog-head-action-copy strong { color: var(--text); font-size: .88rem; font-weight: 550; }
.hardware-catalog .catalog-head-action-copy small { margin-top: 4px; font-size: .76rem; line-height: 1.5; }
.hardware-catalog .catalog-head-action-arrow { color: var(--primary-text); }
.hardware-catalog .catalog-section { padding-top: 28px; }
.hardware-catalog .catalog-block { margin-bottom: 38px; padding-bottom: 38px !important; }
.hardware-catalog .catalog-block-head { align-items: baseline; gap: 16px; padding-bottom: 18px; margin-bottom: 20px; }
.hardware-catalog .catalog-block-title { font-size: 1.18rem; font-weight: 550; line-height: 1.45; }
.hardware-catalog .catalog-block-sub { max-width: 70ch; font-size: .84rem; line-height: 1.65; }
.hardware-catalog .catalog-block-count { color: var(--text-soft) !important; font-size: .8rem; font-variant-numeric: tabular-nums; }
.hardware-catalog .card-grid-catalog { gap: 16px; align-items: stretch; }
.hardware-catalog .hw-card { gap: 12px 14px; padding: 22px; background: var(--surface); border-color: var(--border-strong); border-radius: 14px; }
.hardware-catalog .hw-card .arch-art { width: 88px; height: 64px; opacity: 1; }
.hardware-catalog .hw-card .arch-label { color: var(--text-soft); font-size: .76rem; line-height: 1.5; }
.hardware-catalog .hw-card .hw-name { min-height: 2.9em; font-size: 1.02rem; font-weight: 550; line-height: 1.45; letter-spacing: -.025em; }
.hardware-catalog .hw-card .hw-meta { font-size: .78rem; line-height: 1.6; }
.hardware-catalog .hw-card .hw-score { gap: 12px; padding-top: 14px; font-size: .74rem; }
.hardware-catalog .hw-card .hw-score strong { font-size: 1.02rem; font-weight: 600; letter-spacing: -.025em; }
.hardware-catalog .catalog-load-more-wrap { margin-top: 24px; }
.hardware-catalog .catalog-load-more { min-height: 48px; padding: 12px 24px !important; border: 1px solid var(--border-strong) !important; border-radius: 8px !important; background: var(--surface-raised) !important; color: var(--text); font-size: .84rem; font-weight: 500 !important; }
.hardware-catalog .catalog-compare-block .compare-links { gap: 0; border: 1px solid var(--border-strong); border-radius: 12px; overflow: hidden; }
.hardware-catalog .catalog-compare-block .compare-link-card { min-height: 90px; gap: 12px; padding: 20px; border: 0; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); border-radius: 0; background: var(--surface); box-shadow: none; transform: none; font-size: .84rem; line-height: 1.55; }
.hardware-catalog .catalog-compare-block .compare-link-card > span:not(.vs-mini) { min-width: 0; overflow-wrap: anywhere; }
.hardware-catalog .catalog-compare-block .vs-mini { padding: 0; background: none; color: var(--text-faint); font-family: var(--font); font-size: .7rem; font-weight: 400; }

/* Juegos: una biblioteca legible, con la portada como contenido visual. */
.games-screen .games-deck { margin-bottom: 36px; background: var(--surface) !important; border-radius: 14px; }
.games-screen .games-toolbar .game-search-bar { padding: 26px; }
.games-screen .game-search-label { font-size: .96rem; }
.games-screen .game-search-meta { margin-top: 14px; }
.games-screen .games-catalog-block .catalog-block-head { padding-bottom: 22px; }
.games-screen .games-catalog-title { font-size: 1.18rem; }
.games-screen .games-catalog-block .game-grid-catalog .game-card { border-radius: 14px; background: var(--surface); transition: border-color .18s ease, background-color .18s ease, transform .18s var(--ease-out); }
.games-screen .games-catalog-block .game-grid-catalog .game-card .game-card-foot { gap: 8px; padding: 16px 18px 18px; }
.games-screen .games-catalog-block .game-grid-catalog .game-card .game-name { font-size: .93rem; line-height: 1.5; font-weight: 550; letter-spacing: -.02em; }
.games-screen .games-catalog-block .game-grid-catalog .game-card .game-meta { font-size: .76rem; }
.games-screen .games-catalog-block .game-grid-catalog .game-card .game-rating { top: 12px; left: 12px; padding: 5px 8px; font-size: .7rem; }
.games-screen .games-catalog-block .game-load-more-wrap { margin-top: 28px; padding-top: 28px; }

/* Ficha de juego: lectura editorial, requisitos unidos y controles reconocibles. */
.game-detail-screen .bg-glow { display: none; }
.game-detail-screen .game-page { padding-top: 32px; }
.game-detail-screen .game-page .container { max-width: 1200px; }
.game-detail-screen .game-hero { min-height: 240px; margin-bottom: 32px; padding: 36px; border: 1px solid var(--border-strong) !important; border-radius: 16px; background: var(--surface); }
.game-detail-screen .game-hero.has-banner { min-height: 320px; }
.game-detail-screen .game-hero-body { max-width: 780px; }
.game-detail-screen .game-hero-img { object-position: center 35%; }
.game-detail-screen .game-hero-shade { background: linear-gradient(90deg, rgba(8,9,10,.94), rgba(8,9,10,.62) 62%, rgba(8,9,10,.28)), linear-gradient(0deg, rgba(8,9,10,.7), transparent 75%); }
.game-detail-screen .game-hero-title { margin-bottom: 0; font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 600; line-height: 1.1; letter-spacing: -.04em; text-wrap: balance; overflow-wrap: anywhere; }
.game-detail-screen .game-detail-tags { gap: 6px; margin-bottom: 14px; }
.game-detail-screen .game-tag { padding: 4px 9px; border-radius: 6px; font-size: .7rem; font-weight: 500; line-height: 1.4; }
.game-detail-screen .game-meta-row { gap: 12px; margin: 18px 0 22px; }
.game-detail-screen .game-hero .game-meta-pill { padding: 0; border: 0; border-radius: 0; background: none; color: var(--text); font-size: .82rem; font-weight: 400; line-height: 1.6; text-shadow: none; }
.game-detail-screen .game-meta-pill + .game-meta-pill { padding-left: 12px; border-left: 1px solid var(--border-strong); }
.game-detail-screen .game-hero-actions { gap: 10px; }
.game-detail-screen .game-hero-actions a { justify-content: center; min-height: 46px; padding: 10px 16px; border-radius: 8px; font-size: .83rem; font-weight: 550; box-shadow: none; }
.game-detail-screen .game-layout { grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); }
.game-detail-screen .game-layout-main { gap: 32px; padding-right: 32px; }
.game-detail-screen .game-layout-aside { padding-left: 28px; }
.game-detail-screen .game-panel { padding: 24px; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface); }
.game-detail-screen .game-panel-title { font-size: 1.12rem; font-weight: 550; line-height: 1.5; letter-spacing: -.025em; }
.game-detail-screen .game-panel-sub { margin-bottom: 20px; font-size: .82rem; line-height: 1.65; }
.game-detail-screen .game-about-text { max-width: 72ch; font-size: .94rem; line-height: 1.85; }
.game-detail-screen .game-editorial,
.game-detail-screen .game-about,
.game-detail-screen .game-screenshots,
.game-detail-screen .game-requirements,
.game-detail-screen .game-scores-ref { padding: 0; border: 0; border-radius: 0; background: none; }
.game-detail-screen .game-editorial .game-panel-title,
.game-detail-screen .game-about .game-panel-title { margin-bottom: 12px; }
.game-detail-screen .game-editorial-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 12px; }
.game-detail-screen .game-editorial-head .game-panel-title { margin-bottom: 0; }
.game-detail-screen .game-editorial .game-about-text strong { color: var(--text); font-weight: 600; }
.game-detail-screen .game-screenshots .game-panel-title { margin-bottom: 14px; }
.game-detail-screen .game-screenshot-grid { gap: 12px; }
.game-detail-screen .game-screenshot-btn { border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface); }
.game-detail-screen .game-screenshot-btn::after { display: none; }
.game-detail-screen .game-screenshot { border: 0; border-radius: 9px; }
.game-detail-screen .game-screenshot-btn:focus-visible { outline: 2px solid var(--primary-text); outline-offset: 3px; }
.game-detail-screen .req-columns { gap: 0; border: 1px solid var(--border-strong); border-radius: 12px; overflow: hidden; background: var(--surface); }
.game-detail-screen .req-box { min-width: 0; padding: 20px; border: 0; border-radius: 0; background: none; }
.game-detail-screen .req-box + .req-box { border-left: 1px solid var(--border-strong); }
.game-detail-screen .req-box h4 { margin-bottom: 16px; color: var(--text); font-size: .9rem; font-weight: 550; line-height: 1.5; }
.game-detail-screen .req-html,
.game-detail-screen .spec-list { font-size: .83rem; line-height: 1.75; overflow-wrap: anywhere; }
.game-detail-screen .spec-list strong { color: var(--text); font-weight: 500; }
.game-detail-screen .game-score-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--border-strong); border-radius: 12px; overflow: hidden; background: var(--surface); }
.game-detail-screen .game-score-chip { min-width: 0; padding: 18px 20px; border: 0; border-radius: 0; background: none; }
.game-detail-screen .game-score-chip:nth-child(odd) { border-right: 1px solid var(--border); }
.game-detail-screen .game-score-chip:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
.game-detail-screen .game-score-chip span { color: var(--text-soft); font-size: .76rem; font-weight: 400; line-height: 1.6; letter-spacing: 0; text-transform: none; }
.game-detail-screen .game-score-chip strong { color: var(--text); font-size: 1.12rem; font-weight: 550; font-variant-numeric: tabular-nums; }
.game-detail-screen .game-check-form { padding: 24px; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface); }
.game-detail-screen .game-check-fields { gap: 18px; }
.game-detail-screen .game-check-label { gap: 8px; }
.game-detail-screen .game-check-label > span { color: var(--text); font-size: .8rem; line-height: 1.5; }
.game-detail-screen .game-check-form .search-select-input,
.game-detail-screen .game-check-form select.search-select.search-select-lazy { min-height: 48px; padding: 12px 14px 12px 42px; border: 1px solid var(--border-strong); border-radius: 8px; background-color: var(--bg); color: var(--text); font-size: .94rem; box-shadow: none; }
.game-detail-screen .game-check-form .search-select-input:focus { border-color: var(--primary-text); outline: 2px solid var(--primary-text); outline-offset: 2px; box-shadow: none; }
.game-detail-screen .game-check-form .btn-primary { min-height: 48px; padding: 12px; border-radius: 8px; font-size: .88rem; font-weight: 550; box-shadow: none; }
.game-detail-screen .game-compat-sticky { gap: 20px; }
.game-detail-screen .game-fps-section .game-fps-head { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.game-detail-screen .game-fps-section .game-fps-head-icon { width: 36px; height: 36px; border: 0 !important; background: none !important; }
.game-detail-screen .fps-chart-sub { font-size: .8rem; line-height: 1.6; }
.game-detail-screen .fps-chart-placeholder { min-height: 110px; display: grid; place-items: center; margin: 18px 0 0; padding: 20px 0; border-top: 1px solid var(--border); border-radius: 0; background: none; color: var(--text-soft); font-size: .82rem; line-height: 1.7; }
.game-detail-screen .fps-chart-note { font-size: .75rem; line-height: 1.7; }
.game-detail-screen .verdict-compact { padding: 22px; border-color: var(--border-strong) !important; }
.game-detail-screen .verdict-compact .verdict-title { font-size: 1.1rem; font-weight: 550; line-height: 1.45; }
.game-detail-screen .verdict-compact.verdict-high .verdict-title { color: var(--primary-text) !important; }
.game-detail-screen .verdict-compact .verdict-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
.game-detail-screen .verdict-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; padding: 14px 0; border: 0 !important; border-bottom: 1px solid var(--border) !important; border-radius: 0; background: none !important; }
.game-detail-screen .verdict-item:last-child { border-bottom: 0 !important; padding-bottom: 0; }
.game-detail-screen .verdict-item-label { grid-column: 1 / -1; font-size: .76rem; }
.game-detail-screen .verdict-item strong { grid-column: 1; grid-row: 2; font-size: .84rem; font-weight: 500; line-height: 1.6; overflow-wrap: anywhere; }
.game-detail-screen .verdict-badge { grid-column: 2; grid-row: 2; align-self: start; font-size: .66rem; font-weight: 500; line-height: 1.5; }
.game-detail-screen .game-dlc-panel { min-width: 0; container-type: inline-size; }
.game-dlc-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.game-dlc-head .game-panel-title { margin: 0; }
.game-dlc-count { color: var(--text-soft); font-size: .78rem; font-variant-numeric: tabular-nums; }
.game-dlc-viewport {
  --dlc-gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--text-soft) var(--surface);
  border-radius: 9px;
}
.game-detail-screen .game-dlc-viewport:focus-visible { outline-offset: 4px; }
.game-dlc-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--dlc-gap)) / 3);
  gap: var(--dlc-gap);
  list-style: none;
  margin: 0;
  padding: 0 0 4px;
}
.game-dlc-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  background: var(--bg);
  scroll-snap-align: start;
}
.game-dlc-cover {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 460 / 215;
  overflow: hidden;
  background: var(--surface-raised);
  color: var(--text-soft);
}
.game-dlc-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.game-dlc-cover img[hidden] { display: none; }
.game-dlc-card-body { display: flex; flex: 1; flex-direction: column; gap: 4px; padding: 12px 12px 5px; }
.game-dlc-name { margin: 0; color: var(--text); font-size: .88rem; font-weight: 550; line-height: 1.45; overflow-wrap: anywhere; }
.game-dlc-actions { display: flex; flex-wrap: wrap; gap: 0 12px; margin-top: auto; }
.game-dlc-link { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; color: var(--text-soft); font-size: .8rem; font-weight: 550; }
.game-dlc-link:hover { color: var(--text); text-decoration: underline; }
.game-dlc-link:focus-visible { outline-offset: 1px; }
@container (max-width: 510px) {
  .game-dlc-list { grid-auto-columns: calc((100% - var(--dlc-gap)) / 2); }
}
@container (max-width: 350px) {
  .game-dlc-list { grid-auto-columns: calc(100% - 28px); }
  .game-dlc-list:has(> :only-child) { grid-auto-columns: 100%; }
}
.game-detail-screen .game-lightbox-backdrop { background: rgba(0,0,0,.9); backdrop-filter: none; }
.game-detail-screen .game-lightbox-stage { width: min(1200px, 100%); }
.game-detail-screen .game-lightbox-viewport { padding: 0; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--bg); box-shadow: none; }
.game-detail-screen .game-lightbox-img { max-width: 100%; }
.game-detail-screen .game-lightbox-close,
.game-detail-screen .game-lightbox-nav { width: 44px; height: 44px; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--surface-raised); color: var(--text); backdrop-filter: none; box-shadow: none; }
.game-detail-screen .game-lightbox-close { top: 12px; right: 12px; }
.game-detail-screen .game-lightbox-prev { left: 12px; }
.game-detail-screen .game-lightbox-next { right: 12px; }
.game-detail-screen .game-lightbox-close:hover { transform: none; background: var(--surface-hover); box-shadow: none; }
.game-detail-screen .game-lightbox-nav:hover:not(:disabled) { transform: translateY(-50%); background: var(--surface-hover); box-shadow: none; }
.game-detail-screen .game-lightbox-counter {
  gap: 7px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--text-soft);
  box-shadow: none;
  font-family: var(--font);
  font-size: .875rem;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  line-height: 1.5;
}
.game-detail-screen .game-lightbox-counter::before { display: none; content: none; animation: none; }
.game-detail-screen .game-lightbox-counter strong { color: var(--text); font-size: 1rem; font-weight: 600; }

@media (hover: hover) {
  .hardware-catalog .catalog-head-action:hover,
  .hardware-catalog .hw-card:hover { border-color: color-mix(in srgb, var(--primary) 40%, var(--border-strong)); background: var(--surface-hover); }
  .hardware-catalog .catalog-compare-block .compare-link-card:hover { background: var(--surface-hover); }
  .games-screen .games-catalog-block .game-grid-catalog .game-card:hover { border-color: color-mix(in srgb, var(--primary) 35%, var(--border-strong)); background: var(--surface-raised); transform: translateY(-2px); }
}
@media (max-width: 960px) {
  .game-detail-screen .game-layout { grid-template-columns: minmax(0, 1fr); }
  .game-detail-screen .game-layout-main { padding-right: 0; }
  .game-detail-screen .game-layout-aside { order: -1; padding-left: 0; padding-bottom: 32px; margin-bottom: 0; border-left: 0; border-bottom: 0; }
}
@media (max-width: 640px) {
  .hardware-catalog .catalog-head,
  .games-screen .catalog-head { padding-top: 28px; padding-bottom: 8px; }
  .hardware-catalog .catalog-head-inner,
  .games-screen .catalog-head-inner { padding-bottom: 24px; }
  .hardware-catalog .catalog-head-action { width: 100%; min-height: 64px; }
  .hardware-catalog .hw-card { padding: 18px; gap: 10px 12px; }
  .hardware-catalog .catalog-block-head { align-items: flex-start; }
  .hardware-catalog .catalog-block-title { font-size: 1.08rem; }
  .hardware-catalog .catalog-block-count { padding-top: 3px; }
  .hardware-catalog .catalog-compare-block .compare-link-card { min-height: 88px; padding: 18px; }
  .games-screen .games-toolbar .game-search-bar { padding: 20px 16px; }
  .games-screen .games-catalog-title { font-size: 1.04rem; }
  .game-detail-screen .game-page { padding-top: 24px; }
  .game-detail-screen .game-hero { min-height: 220px; padding: 24px 20px; border-radius: 12px; }
  .game-detail-screen .game-hero.has-banner { min-height: 260px; }
  .game-detail-screen .game-hero-title { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .game-detail-screen .game-meta-row { gap: 8px 10px; margin: 16px 0 18px; }
  .game-detail-screen .game-meta-pill + .game-meta-pill { padding-left: 10px; }
  .game-detail-screen .game-hero-actions a { min-height: 44px; padding-inline: 14px; }
  .game-detail-screen .game-check-form,
  .game-detail-screen .game-fps-section,
  .game-detail-screen .verdict-compact { padding: 20px; }
  .game-detail-screen .req-columns { grid-template-columns: minmax(0, 1fr); }
  .game-detail-screen .req-box + .req-box { border-left: 0; border-top: 1px solid var(--border-strong); }
  .game-detail-screen .game-layout-main { gap: 28px; }
  .game-detail-screen .game-dlc-panel { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hardware-catalog .hw-card,
  .games-screen .games-catalog-block .game-grid-catalog .game-card { transition: none; }
  .games-screen .games-catalog-block .game-grid-catalog .game-card:hover { transform: none; }
}


/* Comparar y Tu equipo: el resultado destaca y los controles comparten una escala. */
.comparison-screen .compare-head { padding-block: 40px 20px; }
.comparison-screen .compare-head h1 { max-width: 31ch; font-size: clamp(1.85rem, 3.2vw, 2.75rem); font-weight: 620; line-height: 1.17; letter-spacing: -.035em; text-wrap: balance; }
.comparison-screen .compare-verdict { max-width: 78ch; margin-top: 14px; font-size: .96rem; line-height: 1.7; }
.comparison-screen .compare-verdict strong { font-weight: 550; }
.comparison-screen .compare-verdict .compare-verdict-pct { font-family: var(--font); font-weight: 650; }
.comparison-screen .compare-page { padding-top: 12px; }
.comparison-screen .compare-picker-panel { padding: 28px; border-radius: 16px; background: var(--surface) !important; }
.comparison-screen .compare-picker-head { margin-bottom: 20px; }
.comparison-screen .compare-picker-desc { margin: 0; color: var(--text); font-size: .92rem; line-height: 1.6; }
.comparison-screen .compare-page-form { gap: 16px; }
.comparison-screen .compare-page-form .search-select-input { min-height: 52px; padding-block: 13px; border-radius: 9px; font-size: .94rem; }
.comparison-screen .compare-page-form > .btn-primary { min-height: 52px; padding-inline: 26px; border-radius: 9px; font-weight: 600; }
.comparison-screen .search-select-dropdown { border-color: var(--border-strong); border-radius: 10px; background: var(--surface-raised); box-shadow: 0 16px 32px -20px #000; }
.comparison-screen .search-select-option { min-height: 44px; padding: 12px 16px; font-size: .88rem; line-height: 1.5; }
.comparison-screen .compare-seo-fold { margin-top: 24px; }
/* Compare help: keep the hover and focus area inside its own row. */
.comparison-screen .compare-seo-fold-summary { box-sizing: border-box; width: 100%; min-height: 52px; margin: 8px 0 0; padding: 12px 14px; border-radius: 8px; }
.comparison-screen .compare-seo-fold-summary:hover { background: var(--surface-hover); }
.comparison-screen .compare-seo-fold-summary:focus-visible { outline: 2px solid #659434; outline-offset: -2px; }
.comparison-screen .compare-seo-fold-title { color: var(--text-soft); font-size: .85rem; font-weight: 500; line-height: 1.5; }
.comparison-screen .compare-seo-fold-body { max-width: 82ch; padding: 10px 14px 0; color: var(--text-soft); font-size: .88rem; line-height: 1.75; }
@media (forced-colors: active) {
  .comparison-screen .compare-seo-fold-summary:focus-visible { outline-color: Highlight; }
}
.comparison-screen .compare-pick-hint { padding: 14px 16px; border-radius: 9px; line-height: 1.7; }

.comparison-screen .compare-summary { margin-bottom: 28px; border-radius: 16px; background: var(--surface); }
.comparison-screen .compare-summary .summary-card { padding: 28px; }
.comparison-screen .compare-summary .summary-card:first-child { border-radius: 16px 0 0 16px; }
.comparison-screen .compare-summary .summary-card:last-child { border-radius: 0 16px 16px 0; }
.comparison-screen .compare-summary .summary-card.winner { background: rgba(118, 185, 0, .045) !important; }
.comparison-screen .summary-card-head { min-height: 44px; margin-bottom: 20px; }
.comparison-screen .summary-card .brand-chip { padding: 5px 9px; border-radius: 5px; font-size: .68rem; letter-spacing: .015em; }
.comparison-screen .summary-card-title { min-height: 2.9em; font-size: 1.1rem; font-weight: 550; line-height: 1.45; text-wrap: pretty; }
.comparison-screen .summary-card .big-score { margin-top: 16px; margin-bottom: 24px; font-size: clamp(2.45rem, 4.5vw, 3.35rem); font-weight: 650; line-height: 1.08; letter-spacing: -.04em; }
.comparison-screen .summary-card-foot { padding-top: 18px; }
.comparison-screen .summary-card .win-badge { font-size: .82rem; line-height: 1.6; }
.comparison-screen .compare-summary .result-vs { gap: 12px; background: var(--bg-elevated); }
.comparison-screen .result-vs-mark { font-size: .72rem; }
.comparison-screen .result-vs-value { font-size: clamp(1.55rem, 2.45vw, 1.95rem); font-weight: 600; line-height: 1.2; }
.comparison-screen .summary-buy-trigger { width: 44px; height: 44px; border-radius: 9px; }
.comparison-screen .summary-buy-trigger:focus-visible { outline: 2px solid var(--primary-text); outline-offset: 3px; }
.comparison-screen .summary-buy-panel { min-width: 220px; border-radius: 10px; }
.comparison-screen .summary-buy-link { min-height: 52px; gap: 12px; padding: 12px; }
.comparison-screen .compare-affiliate-note { margin: -8px 0 28px; line-height: 1.7; }

.comparison-screen .compare-result-panel { margin-bottom: 28px; border-radius: 16px; }
.comparison-screen .compare-block-head { padding: 24px 28px; }
.comparison-screen .compare-block-title { font-size: 1.12rem; font-weight: 580; line-height: 1.4; }
.comparison-screen .compare-block-desc { max-width: 80ch; font-size: .85rem; line-height: 1.7; }
.comparison-screen .charts-row .chart-card { padding: 24px; }
.comparison-screen .chart-card h3 { min-height: 2.9em; font-size: .88rem; line-height: 1.45; }
.comparison-screen .spec-table th,
.comparison-screen .spec-table td { padding: 16px 28px; }
.comparison-screen .spec-table .col-spec { font-size: .83rem; line-height: 1.6; }
.comparison-screen .spec-table .col-value { font-size: .9rem; line-height: 1.6; }
.comparison-screen .spec-table .cell-win { background: rgba(118, 185, 0, .055) !important; }
.comparison-screen .spec-col-brand { margin-bottom: 4px; font-size: .68rem; }
.comparison-screen .spec-col-name { font-size: .9rem; line-height: 1.6; }
.comparison-screen .compare-spec-foot { padding: 22px 28px; }
.comparison-screen .compare-popular-block .compare-link-card { min-height: 76px; padding: 20px 28px; font-size: .9rem; line-height: 1.5; }
.comparison-screen .compare-link-card > span:not(.vs-mini) { min-width: 0; overflow-wrap: anywhere; }
.comparison-screen .compare-popular-block .compare-link-card:hover { background: var(--surface-hover); color: var(--text); }

.mipc-screen .tq-head { margin-bottom: 32px; }
.mipc-screen .tq-head h1 { font-size: clamp(1.85rem, 3.2vw, 2.75rem); font-weight: 620; line-height: 1.17; }
.mipc-screen .tq-layout { border-radius: 16px; }
.mipc-screen .tq-layout > .tq-device { border-radius: 16px 0 0 16px; }
.mipc-screen .tq-layout > .tq-setup { border-radius: 0 16px 16px 0; }
.mipc-screen .tq-device-top h2,
.mipc-screen .tq-setup-title h2 { font-size: 1.1rem; font-weight: 580; }
.mipc-screen .tq-spec dt { margin-bottom: 5px; color: var(--text-soft); font-size: .8rem; }
.mipc-screen .tq-spec dd { font-size: 1rem; font-weight: 550; line-height: 1.5; text-wrap: pretty; }
.mipc-screen .tq-spec dd.is-empty { font-size: .9rem; }
.mipc-screen .tq-status { padding: 6px 9px; font-size: .72rem; }
.mipc-screen .tq-setup .mipc-method-tabs { border-radius: 10px; }
.mipc-screen .tq-setup .mipc-method-tab { border-radius: 7px; }
.mipc-screen .mipc-hw-input { border-radius: 9px; }
.mipc-screen #miPcManualBtn { border: 1px solid var(--primary); background: var(--primary); color: var(--primary-ink); font-weight: 600; }
.mipc-screen #miPcManualBtn:hover { border-color: var(--primary-hover); background: var(--primary-hover); color: var(--primary-ink); }
.mipc-screen #miPcManualBtn:disabled { border-color: var(--border-strong); background: var(--surface-raised); color: var(--text-faint); opacity: 1; }
.mipc-screen .mipc-spec-link { padding: 9px 13px; border: 1px solid var(--border-strong); border-radius: 8px; background: none; font-weight: 500; text-decoration: none; transition: border-color .15s ease, background-color .15s ease; }
.mipc-screen .mipc-spec-link:hover { border-color: #53565c; background: var(--surface-hover); color: var(--text); }
.mipc-screen .tq-games-head h2 { font-size: 1.15rem; font-weight: 580; }
.mipc-screen .tq-games-lock { min-height: 176px; border-radius: 14px; background: var(--surface); }
.mipc-screen .tq-games-lock > .ui-icon { width: 30px; height: 30px; color: var(--text-soft); }
.mipc-screen .tq-games-lock strong { font-size: 1rem; }
.mipc-screen .tq-games-lock span { font-size: .86rem; }
.mipc-screen .tq-games-bar { border-radius: 12px; }
.mipc-screen .tq .tq-games-bar .mipc-filter { font-size: .81rem; }
.mipc-screen .tq .mipc-games-compact .mipc-game-card { border-radius: 12px; }
.mipc-screen .tq .mipc-game-verdict { font-size: .7rem; }
.mipc-screen .tq .mipc-game-fps { font-size: .75rem; }
.mipc-screen .tq .mipc-game-name { font-size: .94rem; }

@media (max-width: 900px) {
  .comparison-screen .compare-summary .summary-card:first-child { border-radius: 16px 16px 0 0; }
  .comparison-screen .compare-summary .summary-card:last-child { border-radius: 0 0 16px 16px; }
  .comparison-screen .summary-card-title { min-height: 0; }
  .comparison-screen .compare-summary .result-vs { padding-block: 16px; }
  .mipc-screen .tq-layout > .tq-device { border-radius: 16px 16px 0 0; }
  .mipc-screen .tq-layout > .tq-setup { border-radius: 0 0 16px 16px; }
}
@media (max-width: 880px) {
  .comparison-screen .spec-table th,
  .comparison-screen .spec-table td { padding: 14px 12px; }
  .comparison-screen .spec-table tbody .col-spec { padding: 14px 16px 6px; font-size: .8rem; }
  .comparison-screen .spec-table tbody .col-value { padding: 10px 12px 16px; font-size: .86rem; }
  .comparison-screen .spec-table thead .col-component { padding: 16px 12px; }
  .comparison-screen .spec-table thead .spec-col-name { font-size: .8rem; line-height: 1.5; }
}
@media (max-width: 640px) {
  .comparison-screen .compare-head { padding-top: 26px; }
  .comparison-screen .compare-verdict { font-size: .9rem; }
  .comparison-screen .compare-picker-panel { padding: 20px 16px; border-radius: 14px; }
  .comparison-screen .compare-page-form .search-select-input { font-size: 1rem; }
  .comparison-screen .compare-summary .summary-card { padding: 24px 20px; }
  .comparison-screen .summary-card-title { font-size: 1.05rem; }
  .comparison-screen .summary-card .big-score { margin-block: 14px 22px; font-size: 2.55rem; }
  .comparison-screen .compare-block-head,
  .comparison-screen .compare-spec-foot { padding: 20px 16px; }
  .comparison-screen .charts-row .chart-card { padding: 20px 16px; }
  .comparison-screen .compare-popular-block .compare-link-card { padding: 18px 16px; font-size: .85rem; }
  .mipc-screen .tq-head { margin-bottom: 26px; }
  .mipc-screen .tq-games-head h2 { font-size: 1.05rem; }
  .mipc-screen .tq-spec dd { font-size: .96rem; }
}
@media (prefers-reduced-motion: reduce) {
  .comparison-screen .compare-link-card,
  .mipc-screen .mipc-spec-link { transition: none !important; }
}


/* Applications, assistant and editorial surfaces — shared Components visual language. */
.apps-screen .bg-glow,
.assistant-screen .bg-glow,
.detector-screen .bg-glow,
.sources-screen .bg-glow,
.editorial-screen .bg-glow { display: none; }

/* Compert: make the task and suggestions the focus. Existing states remain owned by JS. */
.assistant-screen .ia-app { max-width: 1000px; padding-inline: 28px; }
.assistant-screen .ia-app-header { gap: 20px; padding: 24px 0; border-bottom-color: var(--border-strong); }
.assistant-screen .ia-app-brand { gap: 14px; }
.assistant-screen .ia-app-logo { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface-raised) !important; color: var(--primary-text); box-shadow: none; }
.assistant-screen .ia-app-title { font-size: 1.1rem; font-weight: 600; letter-spacing: -.025em; }
.assistant-screen .ia-app-sub { margin-top: 5px; color: var(--text-soft); font-size: .8rem; line-height: 1.6; }
.assistant-screen .ia-demo-badge { padding: 3px 7px; border: 1px solid #59482b; border-radius: 5px; background: #272116; color: #ebce91; font-size: .6rem; font-weight: 600; letter-spacing: .02em; box-shadow: none; }
.assistant-screen .ia-status-pill { padding: 6px 9px; border-radius: 6px; font-size: .7rem; font-weight: 500; letter-spacing: 0; }
.assistant-screen .ia-status-on { background: #1c2811; border-color: #405125; color: #b9df80; }
.assistant-screen .ia-status-on .ia-status-dot { background: #9fd93a; box-shadow: none; }
.assistant-screen .ia-status-off { background: #272116; border-color: #59482b; color: #ebce91; }
.assistant-screen .ia-pc-badge { padding: 6px 9px; border-radius: 6px; color: var(--primary-text); background: rgba(118,185,0,.08); font-weight: 500; }
.assistant-screen [hidden] { display: none !important; }
.assistant-screen .ia-welcome { padding: 40px 0 44px; }
.assistant-screen .ia-welcome-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px; border: 1px solid var(--border-strong); border-radius: 14px; background: var(--surface-raised); color: var(--primary-text); box-shadow: none; filter: none; }
.assistant-screen .ia-welcome-title { max-width: 22ch; color: var(--text); font-size: clamp(1.8rem, 3.3vw, 2.3rem); font-weight: 600; line-height: 1.2; letter-spacing: -.035em; background: none; -webkit-text-fill-color: currentColor; text-wrap: balance; }
.assistant-screen .ia-welcome-desc { max-width: 58ch; margin-top: 16px; color: var(--text-soft); font-size: .92rem; line-height: 1.75; }
.assistant-screen .ia-demo-disclaimer { max-width: 65ch; margin: 20px 0 0; padding: 12px 16px; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--surface); color: var(--text-soft); font-size: .76rem; line-height: 1.65; }
.assistant-screen .ia-welcome-chips { max-width: 640px; gap: 12px; margin-top: 28px; }
.assistant-screen .ia-chip { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 12px; row-gap: 5px; align-content: center; min-height: 88px; padding: 16px 18px; border: 1px solid var(--border-strong) !important; border-radius: 10px; background: var(--surface) !important; box-shadow: none; transition: border-color .16s ease, background-color .16s ease; }
.assistant-screen .ia-chip > .ui-icon { grid-column: 1; grid-row: 1 / span 2; align-self: center; color: var(--text-soft); }
.assistant-screen .ia-chip-label,
.assistant-screen .ia-chip-hint { grid-column: 2; }
.assistant-screen .ia-chip-label { color: var(--text); font-size: .86rem; font-weight: 550; line-height: 1.4; }
.assistant-screen .ia-chip-hint { color: var(--text-soft); font-size: .75rem; line-height: 1.5; }
.assistant-screen .ia-chip:hover:not(:disabled) { transform: none; border-color: #4b5258 !important; background: var(--surface-hover) !important; box-shadow: none; }
.assistant-screen .ia-chat-messages { gap: 24px; padding-block: 28px; }
.assistant-screen .ia-msg-content { max-width: min(88%, 720px); }
.assistant-screen .ia-msg-bubble { padding: 14px 18px; border-radius: 12px; font-size: .94rem; line-height: 1.75; }
.assistant-screen .ia-msg-user .ia-msg-bubble { background: #242b20; color: var(--text); box-shadow: none; border: 1px solid #394431; }
.assistant-screen .ia-msg-bot .ia-msg-bubble { background: var(--surface); border-color: var(--border-strong); }
.assistant-screen .ia-msg-bot .ia-msg-avatar { background: var(--surface-raised); border-color: var(--border-strong); box-shadow: none; }
.assistant-screen .ia-orbit-ring,
.assistant-screen .ia-orbit-arm { display: none; animation: none; }
.assistant-screen .ia-orbit-star { filter: none; }
/* Compert: symbol exported from the editable native After Effects master. */
.assistant-screen .compert-mark { display: block; flex: none; object-fit: contain; }
.assistant-screen .ia-app-logo .compert-mark { width: 28px; height: 28px; }
.assistant-screen .ia-welcome-icon .compert-mark { width: 36px; height: 36px; }
.assistant-screen .ia-msg-bot .ia-msg-avatar { display: grid; place-items: center; }
.assistant-screen .ia-msg-bot .ia-msg-avatar .compert-mark { width: 24px; height: 24px; }

/* Kokonut UI AI State Loading 2.0.0 (MIT), controlled by real server events.
   Original component and license: design/references/kokonut-ui/. */
.assistant-screen .ia-msg-typing,
.assistant-screen .ia-composer-send.is-loading { animation: none; }
.assistant-screen .ia-msg-typing .ia-msg-bubble {
  display: block;
  width: 384px;
  min-width: 0;
  max-width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  animation: none;
}
.assistant-screen .ia-msg-typing .ia-msg-content { width: 384px; max-width: calc(100% - 44px); }
.assistant-screen .ia-progress { width: 384px; max-width: 100%; color: var(--text-soft); font-size: .875rem; line-height: 1.5; }
.assistant-screen .ia-progress-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 6px 0;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--text-soft);
  font: inherit;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
.assistant-screen .ia-progress-toggle:hover { color: var(--text); }
.assistant-screen .ia-progress-title { min-width: 0; overflow-wrap: anywhere; }
.assistant-screen .ia-progress-elapsed,
.assistant-screen .ia-progress-count { flex: none; color: var(--text-faint); font-size: .6875rem; font-weight: 400; font-variant-numeric: tabular-nums; }
.assistant-screen .ia-progress-count:empty { display: none; }
.assistant-screen .ia-progress-chevron { flex: none; width: 16px; height: 16px; margin-left: auto; transform: rotate(180deg); transition: transform 200ms cubic-bezier(.23,1,.32,1); }
.assistant-screen .ia-progress.is-collapsed .ia-progress-chevron { transform: none; }
.assistant-screen .ia-progress-collapse { display: grid; grid-template-rows: 1fr; opacity: 1; transition: grid-template-rows 250ms cubic-bezier(.23,1,.32,1), opacity 180ms ease-out; }
.assistant-screen .ia-progress.is-collapsed .ia-progress-collapse { grid-template-rows: 0fr; opacity: 0; }
.assistant-screen .ia-progress.is-collapsed .ia-progress-spinner,
.assistant-screen .ia-progress.is-collapsed .kokonut-ai-wave { animation-play-state: paused; }
.assistant-screen .ia-progress-body { min-height: 0; overflow: hidden; }
.assistant-screen .ia-progress-steps,
.assistant-screen .ia-progress-log { padding: 0; margin: 0; list-style: none; }
.assistant-screen .ia-progress-steps { padding-bottom: 8px; }
.assistant-screen .ia-progress-step { position: relative; display: flex; gap: 12px; padding-top: 14px; }
.assistant-screen .ia-progress-rail { position: absolute; top: 34px; bottom: -10px; left: 7.5px; width: 1px; overflow: hidden; background: var(--border-strong); }
.assistant-screen .ia-progress-step:last-child .ia-progress-rail { display: none; }
.assistant-screen .ia-progress-rail > span { display: block; width: 100%; height: 100%; background: #62715f; transform: scaleY(0); transform-origin: top; transition: transform 500ms cubic-bezier(.23,1,.32,1); }
.assistant-screen .ia-progress-step[data-status="done"] .ia-progress-rail > span { transform: scaleY(1); }
.assistant-screen .ia-progress-marker { display: flex; align-items: center; justify-content: center; flex: none; width: 16px; height: 20px; color: var(--text-soft); }
.assistant-screen .ia-progress-marker svg { display: block; width: 14px; height: 14px; }
.assistant-screen .ia-progress-step[data-status="done"] .ia-progress-marker { color: var(--primary-text); }
.assistant-screen .ia-progress-step[data-status="error"] .ia-progress-marker,
.assistant-screen .ia-progress[data-state="error"] .ia-progress-title { color: #edb3a9; }
.assistant-screen .ia-progress-spinner { animation: kokonut-progress-spin 800ms linear infinite; }
.assistant-screen .ia-progress-check { stroke-dasharray: 1; animation: kokonut-progress-check 300ms 50ms cubic-bezier(.23,1,.32,1) both; }
.assistant-screen .ia-progress-step-content { min-width: 0; flex: 1; }
.assistant-screen .ia-progress-step-heading { display: flex; align-items: baseline; gap: 8px; margin-top: -1px; }
.assistant-screen .ia-progress-label { min-width: 0; color: var(--text-faint); }
.assistant-screen .ia-progress-step[data-status="running"] .ia-progress-label { color: var(--text); }
.assistant-screen .ia-progress-step-time { flex: none; margin-left: auto; color: var(--text-faint); font-size: .6875rem; font-variant-numeric: tabular-nums; }
.assistant-screen .ia-progress-word { display: inline-block; white-space: pre; }
.assistant-screen .kokonut-ai-wave { display: inline-block; animation: kokonut-ai-wave 1.6s ease-in-out infinite both; animation-delay: calc(var(--progress-letter) * 50ms); }
.assistant-screen .ia-progress-log { margin-top: 5px; color: var(--text-faint); font-size: .75rem; line-height: 1.7; }
.assistant-screen .ia-progress-log[hidden] { display: none; }
.assistant-screen .ia-progress + .ia-msg-bubble { margin-top: 8px; }
.assistant-screen .ia-progress-fallback { color: var(--text-soft); font-size: .875rem; }
@keyframes kokonut-progress-spin { to { transform: rotate(360deg); } }
@keyframes kokonut-progress-check { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes kokonut-ai-wave { 0%,100% { opacity: 1; } 50% { opacity: .55; } }
@media (max-width: 440px) {
  .assistant-screen .ia-progress-toggle { gap: 6px; }
  .assistant-screen .ia-progress-count { display: none; }
  .assistant-screen .ia-progress-step { gap: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .assistant-screen .ia-progress *,
  .assistant-screen .ia-progress *::before,
  .assistant-screen .ia-progress *::after { animation: none !important; transition: none !important; }
  .assistant-screen .ia-progress-check { stroke-dashoffset: 0; }
  .assistant-screen .kokonut-ai-wave { opacity: 1; }
}
@media (forced-colors: active) {
  .assistant-screen .ia-progress-marker,
  .assistant-screen .ia-progress-title { color: CanvasText; }
  .assistant-screen .ia-progress-rail { background: GrayText; }
  .assistant-screen .kokonut-ai-wave { animation: none; opacity: 1; }
}

.assistant-screen .ia-msg-label { font-size: .68rem; font-weight: 500; text-transform: none; letter-spacing: 0; }
.assistant-screen :is(.ia-game-card,.ia-compare-card,.ia-setup-card,.ia-game-list-card,.ia-gpu-specs-card,.ia-hw-card,.ia-game-price-card,.ia-rec-card) { border-color: var(--border-strong); border-radius: 10px; background: var(--surface); box-shadow: none; }
.assistant-screen .ia-composer { position: sticky; bottom: 0; z-index: 10; padding: 16px 0 14px; border-top-color: var(--border-strong); background: var(--bg); }
.assistant-screen .ia-composer-box { min-height: 64px; gap: 12px; padding: 8px 8px 8px 18px; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface-raised); box-shadow: none; }
.assistant-screen .ia-composer-box:focus-within { border-color: #659434; outline: 2px solid #659434; outline-offset: -2px; box-shadow: none; }
@media (forced-colors: active) {
  .assistant-screen .ia-composer-box:focus-within { border-color: Highlight; outline-color: Highlight; }
}
.assistant-screen .ia-composer-input { min-width: 0; padding-block: 11px; font-size: 1rem; line-height: 1.5; }
.assistant-screen .ia-composer-input::placeholder { color: var(--text-faint); opacity: 1; }
.assistant-screen .ia-composer-send { width: 44px; height: 44px; border: 1px solid var(--primary); border-radius: 8px; background: var(--primary); color: var(--primary-ink); box-shadow: none; transform: none; }
.assistant-screen .ia-composer-send:hover:not(:disabled) { background: var(--primary-hover); box-shadow: none; transform: none; }
.assistant-screen .ia-composer-send:disabled { background: #30363b; border-color: #30363b; color: #b3bbc3; opacity: 1; }
.assistant-screen .ia-composer-note { margin-top: 10px; color: var(--text-faint); font-size: .7rem; line-height: 1.6; }
.assistant-screen .ia-game-autocomplete { border-color: var(--border-strong); border-radius: 10px; background: var(--surface-raised); box-shadow: 0 12px 28px -12px #000; }
.assistant-screen .ia-game-ac-item { min-height: 48px; }
.assistant-screen .ia-game-ac-item:hover,
.assistant-screen .ia-game-ac-item.active { background: var(--surface-hover); }

/* Detector: clear download header and a continuous guide/trust workspace. */
.detector-screen .detector-page { padding: 36px 0 72px; }
.detector-screen .detector-container { max-width: 1200px; }
.detector-screen .detector-dl-header { gap: 20px; align-items: flex-start; padding: 0 0 28px; border-bottom-color: var(--border-strong); }
.detector-screen .detector-download-icon { width: 64px; height: 64px; padding: 10px; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface-raised); }
.detector-screen .detector-dl-title { margin-bottom: 12px; font-size: clamp(1.8rem, 3.3vw, 2.5rem); font-weight: 600; line-height: 1.15; letter-spacing: -.035em; }
.detector-screen .detector-dl-sub { max-width: 65ch; font-size: .96rem; line-height: 1.7; }
.detector-screen .detector-download-badges { gap: 6px; margin: 16px 0 0; }
.detector-screen .detector-badge { padding: 4px 8px; border-radius: 6px; background: var(--surface); color: var(--text-soft); font-size: .66rem; font-weight: 500; letter-spacing: 0; }
.detector-screen .detector-badge-accent { border-color: #405125; background: #1c2811; color: #b9df80; }
.detector-screen .detector-dl-actions { padding: 28px 0; border-bottom: 0; }
.detector-screen .detector-download-options { max-width: 720px; gap: 12px; }
.detector-screen .detector-download-options > a { min-height: 48px; padding: 12px 20px; border-radius: 8px; font-size: .86rem; font-weight: 550; line-height: 1.5; box-shadow: none; }
.detector-screen .detector-note { max-width: 75ch; color: var(--text-soft); font-size: .8rem; line-height: 1.7; }
.detector-screen .detector-note + .detector-note { margin-top: 6px; }
.detector-screen .detector-download-body { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface); overflow: hidden; }
.detector-screen .detector-download-guide { gap: 12px; padding: 28px; border-inline-end: 1px solid var(--border-strong); }
.detector-screen .detector-download-trust { gap: 0; padding: 12px 28px 28px; background: var(--surface-raised) !important; }
.detector-screen .detector-step { gap: 12px; padding-block: 12px; border-color: var(--border); }
.detector-screen .detector-step-num { width: 24px; height: 24px; border: 1px solid var(--border-strong); border-radius: 50%; background: var(--surface); color: var(--text-soft); font-size: .72rem; font-weight: 500; }
.detector-screen .detector-step-text { color: var(--text-soft); font-size: .84rem; line-height: 1.7; }
.detector-screen .detector-info-card { border: 0; border-bottom: 1px solid var(--border-strong); border-radius: 0; background: none; box-shadow: none; }
.detector-screen .detector-security > .detector-info-card-head { min-height: 56px; gap: 10px; padding: 16px 0; }
.detector-screen .detector-security[open] > .detector-info-card-head { border-bottom-color: var(--border); background: none; }
.detector-screen .detector-info-card-head-static { align-items: center; gap: 10px; padding: 24px 0 12px; }
.detector-screen .detector-info-icon { display: grid !important; flex: 0 0 20px; width: 20px; height: 20px; border: 0; border-radius: 0; background: none; }
.detector-screen .detector-info-icon-secure { color: var(--primary-text); }
.detector-screen .detector-info-icon-warn { color: #ebce91; }
.detector-screen .detector-info-card-title { font-size: .94rem; font-weight: 550; line-height: 1.5; }
.detector-screen .detector-security .detector-info-card-body,
.detector-screen .detector-info-card-body { padding: 0 0 24px; color: var(--text-soft); font-size: .84rem; line-height: 1.7; }
.detector-screen .detector-hash,
.detector-screen .detector-security-cmd { overflow-wrap: anywhere; white-space: normal; }
.detector-screen .detector-back-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin: 24px 0 0; padding: 10px 16px; border-radius: 8px; border: 1px solid var(--border-strong); background: var(--surface); font-size: .84rem; font-weight: 500; }

/* Sources and guides: readable editorial rhythm, real provenance and figures. */
.sources-screen .catalog-head,
.editorial-screen .catalog-head { padding: 36px 0 0; }
.sources-screen .catalog-head-inner,
.editorial-screen .catalog-head-inner { padding-bottom: 28px; border-bottom: 1px solid var(--border-strong); }
.sources-screen .catalog-head-desc,
.editorial-screen .catalog-head-desc { max-width: 70ch; font-size: .96rem; line-height: 1.7; }
.sources-screen .catalog-head + .section { padding-top: 28px; }
.sources-screen .fuentes-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 1200px; }
.sources-screen .fuente-card { gap: 18px; min-width: 0; padding: 28px; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface); box-shadow: none; }
.sources-screen .fuente-editorial { grid-column: 1 / -1; }
.sources-screen .fuente-card .game-panel-title { margin: 0; font-size: 1.3rem; font-weight: 550; line-height: 1.35; letter-spacing: -.025em; }
.sources-screen .fuente-editorial .game-about-text { max-width: 80ch; }
.sources-screen .fuente-card .game-about-text { margin: 0; color: var(--text-soft); font-size: .9rem; line-height: 1.8; }
.sources-screen .fuente-card-head { gap: 8px; }
.sources-screen .fuente-card-head .game-panel-sub { color: var(--text-faint); font-size: .79rem; line-height: 1.6; }
.sources-screen .fuente-stats { gap: 24px; padding-top: 4px; }
.sources-screen .fuente-stat { min-width: 0; padding: 0 24px 0 0; border: 0; border-inline-end: 1px solid var(--border-strong); border-radius: 0; background: none; }
.sources-screen .fuente-stat:last-child { padding-inline-end: 0; border-inline-end: 0; }
.sources-screen .fuente-stat strong { font-size: 1.4rem; font-weight: 500; line-height: 1.3; font-variant-numeric: tabular-nums; }
.sources-screen .fuente-stat span { max-width: 24ch; color: var(--text-soft); font-size: .75rem; line-height: 1.6; }
.sources-screen .fuente-block { padding-top: 18px; border-top: 1px solid var(--border); }
.sources-screen .fuente-block-label { margin-bottom: 12px; color: var(--text); font-size: .8rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.sources-screen .fuente-field-list { display: grid; gap: 7px; padding-inline-start: 18px; color: var(--text-soft); font-size: .84rem; line-height: 1.6; }
.sources-screen .architecture-library { padding-top: 16px; }
.sources-screen .architecture-library-head h2 { font-size: 1.5rem; font-weight: 550; }
.sources-screen .architecture-library-head p { max-width: 70ch; font-size: .9rem; line-height: 1.75; }
.sources-screen .architecture-reference-grid { gap: 12px; }
.sources-screen .architecture-reference { border-color: var(--border-strong); border-radius: 9px; background: var(--surface); }
.sources-screen .architecture-reference summary { min-height: 48px; padding: 14px 16px; font-size: .86rem; font-weight: 500; }
.sources-screen .architecture-reference[open] summary { border-bottom: 1px solid var(--border); }
.sources-screen .architecture-reference-links { gap: 12px; padding: 12px 16px; border-top-color: var(--border); }
.sources-screen .architecture-reference-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-soft); font-size: .75rem; text-underline-offset: 3px; }
.editorial-screen .legal-page { padding-top: 32px; background: none; }
.editorial-screen .legal-layout { grid-template-columns: minmax(190px, 230px) minmax(0, 1fr); gap: 48px; }
.editorial-screen .legal-nav { gap: 4px; padding: 8px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface); box-shadow: none; }
.editorial-screen .legal-nav-link { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; border-radius: 6px; font-size: .82rem; font-weight: 500; line-height: 1.5; }
.editorial-screen .legal-nav-link.is-active { border-color: #405125; background: #1c2811; color: #b9df80; box-shadow: none; }
.editorial-screen .legal-aside-note { padding: 14px 0; border: 0; border-top: 1px solid var(--border); border-radius: 0; background: none; color: var(--text-soft); font-size: .76rem; line-height: 1.7; overflow-wrap: anywhere; }
.editorial-screen .legal-main { max-width: 76ch; }
.editorial-screen .legal-lead { margin-bottom: 28px; padding: 24px; border-color: var(--border-strong) !important; border-radius: 10px; color: var(--text); font-size: 1.02rem; line-height: 1.8; }
.editorial-screen .legal-content { gap: 0; }
.editorial-screen .legal-block { padding: 28px 0; border: 0 !important; border-bottom: 1px solid var(--border-strong) !important; border-radius: 0; background: none !important; box-shadow: none; overflow: visible; }
.editorial-screen .legal-block:first-child { padding-top: 0; }
.editorial-screen .legal-block-head { padding: 0 0 14px; }
.editorial-screen .legal-block-head h2 { color: var(--text); font-size: 1.22rem; font-weight: 550; line-height: 1.4; letter-spacing: -.02em; }
.editorial-screen .legal-block-body { padding: 0 !important; }
.editorial-screen .legal-block-body p { margin-bottom: 16px; color: #bcc3ca; font-size: .94rem; line-height: 1.85; }
.editorial-screen .legal-block-body p:last-child { margin-bottom: 0; }
.editorial-screen .guide-quick-links { gap: 8px; margin: 0 0 28px; }
.editorial-screen .guide-quick-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 14px; border-radius: 7px; background: var(--surface); color: var(--text-soft); font-size: .8rem; font-weight: 500; }
.editorial-screen .guides-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.editorial-screen .guide-card { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; padding: 28px; border-color: var(--border-strong); border-radius: 12px; background: var(--surface); }
.editorial-screen .guide-card .game-panel-title { margin: 0; font-size: 1.3rem; font-weight: 550; line-height: 1.4; }
.editorial-screen .guide-card .game-panel-sub { margin: 0 0 8px; color: var(--text-soft); font-size: .9rem; line-height: 1.75; }
.editorial-screen .guide-card .btn-secondary { min-height: 44px; margin-top: auto; padding: 10px 16px; border-radius: 7px; font-size: .8rem; }
.editorial-screen .legal-social-link { min-height: 48px; border-color: var(--border-strong); background: var(--surface); color: var(--text); font-size: .84rem; }
.editorial-screen .legal-cookie-reset { margin-top: 28px; padding: 24px; border-color: var(--border-strong); border-radius: 10px; background: var(--surface); }
.editorial-screen .legal-cookie-reset-btn { min-height: 44px; border-radius: 7px; }

@media (max-width: 1000px) {
  .detector-screen .detector-download-guide { padding: 24px; }
  .detector-screen .detector-download-trust { padding-inline: 24px; }
  .editorial-screen .legal-layout { gap: 28px; }
}
@media (max-width: 820px) {
  .detector-screen .detector-download-body { grid-template-columns: minmax(0, 1fr); }
  .detector-screen .detector-download-guide { border-inline-end: 0; border-bottom: 1px solid var(--border-strong); }
  .sources-screen .fuentes-layout { grid-template-columns: minmax(0, 1fr); }
  .editorial-screen .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .editorial-screen .legal-aside { position: static; }
  .editorial-screen .legal-nav { flex-direction: row; flex-wrap: wrap; }
  .editorial-screen .legal-nav-link { flex: 1 1 auto; justify-content: center; }
  .editorial-screen .legal-main { max-width: none; }
}
@media (max-width: 640px) {
  .detector-screen .detector-page { padding-top: 24px; }
  .assistant-screen .ia-app { padding-inline: 16px; }
  .assistant-screen .ia-app-header { align-items: flex-start; gap: 14px; padding-block: 18px; }
  .assistant-screen .ia-app-meta { gap: 6px; }
  .assistant-screen .ia-welcome { padding-block: 24px; }
  .assistant-screen .ia-welcome-icon { width: 48px; height: 48px; margin-bottom: 16px; }
  .assistant-screen .ia-welcome-title { font-size: 1.65rem; }
  .assistant-screen .ia-welcome-desc { margin-top: 12px; font-size: .84rem; line-height: 1.6; }
  .assistant-screen .ia-demo-disclaimer { margin-top: 16px; padding: 10px 12px; font-size: .72rem; line-height: 1.55; }
  .assistant-screen .ia-welcome-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 20px; }
  .assistant-screen .ia-chip { grid-template-columns: minmax(0, 1fr); gap: 5px; min-height: 96px; padding: 12px; }
  .assistant-screen .ia-chip > .ui-icon { grid-column: 1; grid-row: auto; width: 18px; height: 18px; margin-bottom: 3px; }
  .assistant-screen .ia-chip-label,
  .assistant-screen .ia-chip-hint { grid-column: 1; }
  .assistant-screen .ia-chip-label { font-size: .8rem; }
  .assistant-screen .ia-chip-hint { font-size: .71rem; }
  .assistant-screen .ia-msg-content { max-width: calc(100% - 36px); }
  .assistant-screen .ia-msg-bot--no-avatar .ia-msg-content { margin-left: 0; max-width: 100%; }
  .assistant-screen .ia-msg-bubble { padding: 12px 14px; font-size: .9rem; }
  .assistant-screen .ia-composer-box { gap: 8px; padding-left: 12px; }
  .assistant-screen .ia-composer-note { font-size: .66rem; }
  .detector-screen .detector-dl-header { flex-direction: column; gap: 16px; }
  .detector-screen .detector-download-options { grid-template-columns: minmax(0, 1fr); }
  .detector-screen .detector-download-guide,
  .detector-screen .detector-download-trust { padding: 20px; }
  .sources-screen .fuente-card { padding: 24px 20px; }
  .sources-screen .fuente-stats { gap: 16px; }
  .sources-screen .fuente-stat { padding-inline-end: 16px; }
  .sources-screen .catalog-head,
  .editorial-screen .catalog-head { padding-top: 24px; }
  .editorial-screen .guides-grid { grid-template-columns: minmax(0, 1fr); }
  .editorial-screen .guide-card { padding: 24px 20px; }
  .editorial-screen .legal-lead { padding: 20px; font-size: .96rem; }
  .editorial-screen .legal-block-body p { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .assistant-screen .ia-chip,
  .assistant-screen .ia-msg,
  .assistant-screen .ia-composer-send { animation: none !important; transition: none !important; }
}

/* Cierre integral 2026-11-06 — Speed y estado vacío FPS. */
/* Ficha de juego: compacto en vacío y nota integrada en el panel FPS. */
.game-detail-screen .game-fps-section .game-fps-head { margin-bottom: 0; }
.game-detail-screen .fps-chart-panel:has(.fps-chart-placeholder) { min-height: 0; padding: 0; }
.game-detail-screen .fps-chart-note { margin-top: 18px; padding: 16px 0 0; border: 0; border-top: 1px solid var(--border); border-radius: 0; background: none; font-size: .75rem; line-height: 1.7; }


/* Últimos ajustes integrados 2026-11-06: chat, selects y superficies compartidas. */
/* Compert: header en flujo, historial desplazable y compositor dentro del viewport. */
body.ia-page-body.assistant-screen {
  height: calc(100dvh - var(--vv-keyboard-offset, 0px));
  min-height: 0;
  overflow: hidden;
}
body.ia-page-body.assistant-screen > .site-header { flex: 0 0 auto; }
body.ia-page-body.assistant-screen > main { flex: 1 1 0; min-height: 0; }
body.ia-page-body.assistant-screen .ia-app { flex: 1 1 0; min-height: 0; max-height: none; }
body.ia-page-body.assistant-screen .ia-app-body { flex: 1 1 0; min-height: 0; overflow-y: auto; padding-bottom: 16px; }
body.ia-page-body.assistant-screen .ia-composer { position: relative; inset: auto; flex: 0 0 auto; width: auto; max-width: none; }
body.ia-page-body.assistant-screen.keyboard-open .ia-composer-note { display: none; }

/* Compert: keep absolute screen-reader status inside the scrolling history. */
.assistant-screen .ia-progress { position: relative; }

/* Mantener el select ya transformado oculto y anclado durante la carga lazy. */
.game-detail-screen .game-check-form select.search-select.search-select-native { top: 0; left: 0; width: 0; height: 0; min-width: 0; min-height: 0; padding: 0; border: 0; }

.site-shell .footer-pills { justify-content: flex-start; text-align: left; }
.site-shell .footer-pill { width: auto; flex: 0 1 auto; text-align: left; }
.site-shell .report-chat-shell { visibility: hidden; }
.site-shell .report-chat-shell.is-open { visibility: visible; }
@media (max-width: 380px) {
  .site-shell .logo { max-width: none; flex-shrink: 0; }
}

/* El compositor ya muestra el foco en su marco compartido. */
.assistant-screen .ia-composer-input:focus-visible { outline: none; box-shadow: none; }

/* Centra Fuentes/Sources dentro del control de 44px sin alterar su visibilidad móvil. */
.site-shell .header-fuentes {
  align-items: center;
  justify-content: center;
}
@media (min-width: 881px) {
  .site-shell .header-fuentes {
    display: inline-flex;
  }
}

/* Buscador de Juegos — Input Group de shadcn y Searchbox de Fluent 2. */
.games-screen .games-toolbar .game-search-bar { padding: 22px 24px; }
.games-screen .game-search-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 12px; }
.games-screen .game-search-label { flex: 0 0 auto; margin: 0; font-size: .94rem; line-height: 1.5; font-weight: 600; }
.games-screen .game-search-top .game-search-meta { min-width: 0; margin: 0; color: var(--text-soft); font-size: .76rem; line-height: 1.6; text-align: right; overflow-wrap: anywhere; }
.games-screen .games-toolbar .game-search-row { display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 12px; background: var(--bg); }
.games-screen .games-toolbar .game-search-input { flex: 1 1 0; width: 0; height: 48px; min-height: 48px; padding: 10px 8px; border-radius: 6px; font-size: 1rem; line-height: 1.5; transition: none; }
.games-screen .game-search-icon { order: -1; flex: 0 0 20px; width: 20px; height: 20px; margin: 0 8px 0 12px; color: var(--text-faint); pointer-events: none; }
.games-screen .games-toolbar .game-search-clear { flex: 0 0 44px; width: 44px; height: 44px; min-height: 44px; margin: 0 4px 0 0; border-radius: 7px; }
.games-screen .games-toolbar .game-search-clear.hidden { display: none; }
.games-screen .games-toolbar .game-search-submit { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: auto; height: 48px; min-height: 48px; margin: 0; padding: 0 24px !important; border: 1px solid transparent !important; border-radius: 8px !important; background: var(--primary) !important; color: var(--primary-ink) !important; font-size: .88rem; font-weight: 600 !important; opacity: 1; }
.games-screen .games-toolbar .game-search-submit:hover { background: var(--primary-hover) !important; opacity: 1; }
.games-screen .game-search-hint { margin: 10px 0 0; color: var(--text-soft); font-size: .78rem; line-height: 1.6; }
.games-screen .games-toolbar .game-autocomplete { top: calc(100% + 8px); max-height: min(320px, 35dvh); padding: 5px; border-radius: 12px; }
.games-screen .game-autocomplete-item { gap: 8px; border-radius: 7px; line-height: 1.5; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .games-screen .games-toolbar .game-search-bar { padding: 18px 16px; }
  .games-screen .game-search-top { align-items: flex-start; flex-direction: column; gap: 4px; }
  .games-screen .game-search-top .game-search-meta { text-align: left; font-size: .75rem; }
  .games-screen .games-toolbar .game-search-submit { padding: 0 16px !important; }
}
@media (max-width: 480px) {
  .game-detail-screen .game-lightbox-close { top: 8px; right: 8px; }
  .game-detail-screen .game-lightbox-prev { left: 8px; }
  .game-detail-screen .game-lightbox-next { right: 8px; }
}
@media (max-width: 380px) {
  .games-screen .game-search-icon { margin-left: 7px; margin-right: 2px; width: 18px; height: 18px; flex-basis: 18px; }
  .games-screen .games-toolbar .game-search-input { padding-left: 4px; padding-right: 4px; }
  .games-screen .games-toolbar .game-search-clear { margin-right: 0; }
  .games-screen .games-toolbar .game-search-submit { padding: 0 12px !important; }
}
@media (forced-colors: active) {
  .games-screen .games-toolbar .game-search-row:focus-within { outline-color: Highlight; }
  .games-screen .games-toolbar .game-search-submit { border-color: ButtonText !important; }
}


/* Compact tooltip pattern from shadcn/ui Tooltip and Fluent 2. */
.site-tooltip {
  position: fixed;
  z-index: 10000;
  box-sizing: border-box;
  max-width: min(244px, calc(100vw - 20px));
  padding: 6px 9px;
  border: 1px solid var(--border-strong);
  border-radius: 7px;
  background: var(--surface-raised);
  color: var(--text);
  box-shadow: 0 3px 12px rgb(0 0 0 / .3);
  font-size: .76rem;
  font-weight: 500;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.site-tooltip::before {
  position: absolute;
  inset: -9px 0 auto;
  height: 9px;
  content: "";
}

.site-tooltip::after {
  position: absolute;
  top: -5px;
  left: var(--tooltip-arrow-x, 50%);
  width: 8px;
  height: 8px;
  border: solid var(--border-strong);
  border-width: 1px 0 0 1px;
  background: inherit;
  transform: translateX(-50%) rotate(45deg);
  content: "";
}

.site-tooltip[data-placement="top"]::before { inset: auto 0 -9px; }
.site-tooltip[data-placement="top"]::after {
  top: auto;
  bottom: -5px;
  border-width: 0 1px 1px 0;
}

.site-tooltip[hidden] { display: none; }
