/* Obras Fuertes — estilos del sitio público */
:root {
  --ink: #17171A;
  --ink-2: #3D3B37;
  --ink-3: #55534E;
  --line: #CFCCC4;
  --mute: #8C8A84;
  --ground: #ECEAE5;
  --paper: #FFFFFF;
  --paper-2: #F6F5F1;
  --grid: #D9D6CF;
  --accent: #F5C400;
  --blue: #1F4E8C;
  --blue-dark: #163A69;
  --brick: #C2603C;
  --ok: #2F8F5B;
  --bad: #F08A6C;
  --dark-2: #26262A;
  --dark-line: #5A5A60;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1; margin: 0; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--ink); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
@media (max-width: 600px) { .wrap { padding-left: 16px; padding-right: 16px; } }
.section { padding-top: 64px; padding-bottom: 16px; }
.section:last-of-type { padding-bottom: 64px; }
.eyebrow { font-weight: 600; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }
.tiny { font-size: 13px; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.head-row .stack { display: flex; flex-direction: column; gap: 6px; }
.h-xl { font-size: clamp(44px, 7vw, 76px); line-height: .95; }
.h-lg { font-size: clamp(36px, 5vw, 56px); }
.h-md { font-size: clamp(30px, 4vw, 44px); }
.h-sm { font-size: 30px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; cursor: pointer; }
.btn:hover { color: var(--ink); background: var(--paper-2); }
.btn-accent { background: var(--accent); }
.btn-accent:hover { background: #E2B400; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.08); color: #fff; }
.btn-lg { min-height: 54px; font-size: 17px; padding: 0 24px; }
.chip { min-height: 44px; padding: 0 16px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); font-weight: 500; font-size: 15px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; font-weight: 600; }
.chip-sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-block; padding: 3px 10px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.tag-accent { background: var(--accent); color: var(--ink); font-weight: 700; }
.badge { display: inline-block; padding: 2px 10px; border: 1px solid var(--mute); font-size: 13px; }

/* Encabezado */
.site-header { background: var(--ink); color: #fff; position: relative; z-index: 10; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: .06em; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.main-nav a { color: #fff; text-decoration: none; padding: 10px 12px; font-weight: 500; }
.main-nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.main-nav a:hover { color: var(--accent); }
.nav-toggle { display: none; background: transparent; border: 2px solid #fff; color: #fff; min-height: 44px; padding: 0 14px; font-weight: 600; cursor: pointer; }
.install-btn { min-height: 44px; margin-left: 6px; padding: 0 16px; background: var(--accent); color: var(--ink); border: 0; font-weight: 600; cursor: pointer; }
.install-btn[hidden] { display: none; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .main-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 8px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 4px; border-top: 1px solid #3A3A40; }
  .install-btn { margin: 8px 0 0; }
}

/* Fondo milimetrado */
.grid-bg { background-color: var(--ground); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; }
.grid-bg-sm { background-color: var(--paper-2); background-image: linear-gradient(#E4E1DA 1px, transparent 1px), linear-gradient(90deg, #E4E1DA 1px, transparent 1px); background-size: 16px 16px; }

/* Portada principal */
.hero { border-bottom: 2px solid var(--ink); }
.hero .wrap { padding-top: 64px; padding-bottom: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero-lead { font-size: 19px; color: var(--ink-2); max-width: 520px; }
.card-shadow { background: var(--paper); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.card { background: var(--paper); border: 2px solid var(--ink); }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 2px solid var(--ink); }
.card-title { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats > div { padding: 16px 20px; border-top: 2px solid var(--ink); }
.stats > div:nth-child(odd) { border-right: 2px solid var(--ink); }
.stat-label { font-size: 14px; color: var(--ink-3); }
.stat-num { font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 1.05; }
.stat-num-lg { font-size: 52px; }
.wa-btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; border-top: 2px solid var(--ink); }
.wa-btn:hover { color: #fff; background: #000; }

/* Grillas de tarjetas */
.grid-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-cards-lg { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.tile { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--paper); border: 2px solid var(--ink); color: var(--ink); text-decoration: none; }
.tile:hover { color: var(--ink); box-shadow: 6px 6px 0 var(--ink); transform: translate(-2px, -2px); }
.tile-dark { background: var(--ink); color: #fff; }
.tile-dark:hover { color: #fff; }
.tile-num { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--blue); }
.tile-dark .tile-num { color: var(--accent); }
.tile-title { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1.05; }
.tile-text { color: var(--ink-2); }
.tile-dark .tile-text { color: #D4D2CC; }
.tile-foot { margin-top: auto; font-weight: 600; color: var(--blue); }
.tile-soon { background: transparent; border-style: dashed; border-color: var(--mute); }
.tile-soon:hover { box-shadow: none; transform: none; }

/* Hoy en la obra */
.today { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.today-main { flex: 2 1 540px; min-width: 0; display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.today-main:hover { color: var(--ink); }
.photo { position: relative; border-bottom: 2px solid var(--ink); background-color: #B9B4A9; background-image: repeating-linear-gradient(45deg, #A9A397 0 2px, transparent 2px 14px); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-lg { height: 320px; }
.photo-sm { height: 140px; }
.photo .tag { position: absolute; top: 14px; left: 14px; }
.today-body { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.today-title { font-size: clamp(32px, 4vw, 44px); }
.today-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.dato { background: var(--accent); border: 2px solid var(--ink); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.dato-text { font-family: var(--display); font-weight: 600; font-size: 26px; line-height: 1.15; }
.next { background: var(--paper); border: 2px solid var(--ink); padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.next-title { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.1; }
.post-card { display: flex; flex-direction: column; background: var(--paper); border: 2px solid var(--ink); color: var(--ink); text-decoration: none; }
.post-card:hover { color: var(--ink); box-shadow: 6px 6px 0 var(--ink); transform: translate(-2px, -2px); }
.post-card .photo { height: 130px; }
.post-card-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.post-card-title { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.1; }
.center { display: flex; justify-content: center; margin-top: 24px; }

/* Temas */
.topic { display: flex; flex-direction: column; background: var(--paper); border: 2px solid var(--ink); color: var(--ink); text-decoration: none; }
.topic:hover { color: var(--ink); box-shadow: 6px 6px 0 var(--ink); transform: translate(-2px, -2px); }
.topic-head { padding: 18px 18px 14px; border-bottom: 2px solid var(--ink); background: var(--paper-2); display: flex; flex-direction: column; gap: 6px; }
.topic-name { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.05; }
.topic-body { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.kv { display: flex; flex-direction: column; gap: 2px; }
.kv-k { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--blue); }
.kv-k.kv-game { color: #8A5A00; }
.kv-v { font-weight: 600; }
.dark-band { background: var(--ink); color: #fff; padding: 32px; display: flex; flex-direction: column; gap: 24px; margin-top: 40px; }
.dark-band .eyebrow { color: var(--accent); }
.topic-dark { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--dark-2); border: 2px solid var(--dark-line); color: #fff; text-decoration: none; }
.topic-dark:hover { color: #fff; border-color: var(--accent); }
.topic-dark .kv-k { color: var(--accent); }
.topic-dark .kv-k.kv-game { color: #F5A98F; }
.topic-dark .muted { color: #D4D2CC; }

/* Desafío y aprendé */
.two-col { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.panel-dark { background: var(--ink); color: #fff; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.panel-light { background: var(--paper); border: 2px solid var(--ink); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 600px) { .panel-dark, .panel-light, .dark-band { padding: 22px; } }
.opt { min-height: 54px; padding: 10px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left; background: var(--dark-2); color: #fff; border: 2px solid var(--dark-line); font-size: 17px; font-weight: 500; cursor: pointer; width: 100%; }
.opt:hover:not([disabled]) { border-color: var(--accent); }
.opt[disabled] { cursor: default; }
.opt.is-right { background: var(--accent); color: var(--ink); border-color: var(--accent); font-weight: 700; }
.opt.is-wrong { border-color: var(--bad); }
.opt.is-dim { color: var(--mute); border-color: #3A3A40; }
.opt-note { font-size: 14px; }
.opts { display: flex; flex-direction: column; gap: 10px; }
.opts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.feedback { display: flex; flex-direction: column; gap: 12px; padding-top: 12px; border-top: 1px solid #3A3A40; color: #E4E2DC; }
.lessons { list-style: none; margin: 0; padding: 0; }
.lessons li { border-top: 1px solid var(--line); }
.lessons a { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; color: var(--ink); text-decoration: none; }
.lessons a:hover .lesson-title { text-decoration: underline; }
.lesson-n { font-family: var(--display); font-weight: 700; font-size: 32px; line-height: 1; color: var(--blue); min-width: 36px; }
.lesson-title { font-weight: 600; font-size: 18px; display: block; }

/* Glosario */
.glos { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; align-items: start; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .label { font-weight: 600; font-size: 15px; }
.input { min-height: 50px; padding: 0 14px; border: 2px solid var(--ink); background: var(--paper-2); font-size: 16px; width: 100%; border-radius: 0; }
.input-num { font-family: var(--display); font-weight: 700; font-size: 26px; }
textarea.input { padding: 12px 14px; min-height: 120px; line-height: 1.5; }
select.input { padding: 0 10px; }
.term { padding: 24px; background: var(--paper-2); border-left: 6px solid var(--accent); display: flex; flex-direction: column; gap: 10px; }
.term-name { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1; }
.term-list { columns: 3 220px; column-gap: 32px; margin: 0; padding: 0; list-style: none; }
.term-list li { break-inside: avoid; padding: 14px 0; border-top: 1px solid var(--line); }
.term-list dt, .term-list strong { font-weight: 700; }
.letters { display: flex; flex-wrap: wrap; gap: 4px; }
.letters a { min-width: 36px; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--mute); text-decoration: none; color: var(--ink); font-weight: 600; }

/* Pie */
.site-footer { background: var(--ink); color: #fff; margin-top: 0; }
.footer-top { padding-top: 56px; padding-bottom: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.footer-cta { font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1.05; }
.footer-form { display: flex; flex-direction: column; gap: 12px; }
.footer-form .row { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-form input[type=email] { flex: 1 1 220px; min-height: 48px; padding: 0 14px; border: 2px solid #fff; background: var(--dark-2); color: #fff; font-size: 16px; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; align-content: start; }
.footer-nav a { color: #fff; padding: 6px 0; }
.footer-bottom { padding-top: 28px; padding-bottom: 32px; border-top: 1px solid #3A3A40; display: flex; flex-direction: column; gap: 18px; }
.footer-brand { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.footer-brand-name { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: .06em; }
.footer-legal { font-size: 14px; color: #A9A7A1; max-width: 860px; }
.footer-legal a, .footer-links a { color: #D4D2CC; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #A9A7A1; }
.footer-links span { display: flex; flex-wrap: wrap; gap: 16px; }
.hp { position: absolute; left: -9999px; }

/* Página de entrada */
.crumbs { font-size: 14px; color: var(--ink-3); }
.article { max-width: 760px; margin: 0 auto; padding: 40px 24px 24px; display: flex; flex-direction: column; gap: 22px; font-size: 18px; line-height: 1.65; }
@media (max-width: 600px) { .article { padding-left: 16px; padding-right: 16px; } }
.article h1 { font-size: clamp(40px, 6vw, 64px); line-height: .98; }
.article .lead { font-size: 21px; color: var(--ink-2); }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.avatar { width: 48px; height: 48px; border: 2px solid var(--ink); background: var(--grid); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 20px; }
.share { margin-left: auto; display: flex; gap: 8px; }
.icon-btn { width: 44px; height: 44px; border: 2px solid var(--ink); background: var(--paper); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); text-decoration: none; }
.prose h2 { font-size: 36px; line-height: 1.05; margin: 28px 0 10px; }
.prose h3 { font-size: 28px; margin: 22px 0 8px; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 24px; }
.prose li { margin-bottom: 6px; }
.callout { margin: 8px 0 20px; padding: 20px 24px; background: var(--paper); border: 2px solid var(--ink); border-left: 8px solid var(--accent); }
.callout-label { display: block; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.callout p { margin: 0; }
.tool-cta { background: var(--ink); color: #fff; padding: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 8px 0 24px; }
.tool-cta .eyebrow { color: var(--accent); font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: .08em; }
.tool-cta-title { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1.1; }
.tool-cta-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }

/* Publicidad (siempre identificada y discreta) */
.ad-slot { max-width: 760px; margin: 16px auto 0; padding: 0 24px; display: flex; flex-direction: column; gap: 6px; }
.ad-label { font-size: 12px; color: var(--ink-3); letter-spacing: .08em; text-transform: uppercase; }
.affiliates { padding: 24px; background: var(--paper); border: 2px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.aff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.aff { display: flex; flex-direction: column; gap: 6px; padding: 12px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 15px; }
.aff:hover { border-color: var(--ink); color: var(--ink); }
.aff-img { height: 90px; background: var(--ground); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.aff-img img { max-height: 90px; width: auto; }
.aff-link { color: var(--blue); font-weight: 600; font-size: 14px; }
.sponsor { border: 2px dashed var(--mute); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.sponsor-logo { min-height: 64px; background: var(--paper); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; padding: 8px; font-weight: 600; }
.sponsor-logo img { max-height: 56px; width: auto; }
.sponsor-line { font-size: 13px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 18px; }
.sponsor-line strong { color: var(--ink-2); }
.banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; background: var(--paper); border: 2px dashed var(--mute); }

/* Páginas de herramienta / tema */
.topic-hero { border-bottom: 2px solid var(--ink); }
.topic-hero .wrap { padding-top: 40px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 16px; }
.topic-hero.dark { background: var(--ink); color: #fff; }
.topic-hero.dark .crumbs, .topic-hero.dark .crumbs a { color: #D4D2CC; }
.topic-hero .lead { font-size: 20px; color: var(--ink-2); max-width: 700px; }
.topic-hero.dark .lead { color: #D4D2CC; }
.tool-wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.tool-form { flex: 1 1 340px; min-width: 0; padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.tool-result { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; }
.tool-drawing { padding: 20px; border-bottom: 2px solid var(--ink); }
.tool-drawing svg { width: 100%; height: auto; display: block; }
.tool-note { padding: 12px 20px; border-top: 2px solid var(--ink); font-size: 13px; color: var(--ink-3); }
.tabs { display: flex; flex-wrap: wrap; border-bottom: 2px solid var(--ink); }
.tab { color: var(--ink); min-height: 48px; padding: 0 18px; background: transparent; border: 0; font-weight: 500; font-size: 16px; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; font-weight: 600; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg .chip { flex: 1; }
.range { width: 100%; accent-color: var(--ink); min-height: 32px; }
.result-list { list-style: none; margin: 0; padding: 0; }
.result-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 20px; border-top: 1px solid var(--line); }
.result-list li:first-child { border-top: 0; }
.result-list strong { font-family: var(--display); font-size: 26px; line-height: 1; }
.game { background: var(--ink); color: #fff; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.game .eyebrow { color: var(--accent); }
.game-meta { color: #D4D2CC; }
.game-q { font-family: var(--display); font-weight: 700; font-size: 32px; line-height: 1.1; }
.game-cols { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.game-cols > * { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.stack-slot { min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 16px; font-weight: 600; }
.stack-slot.ok { background: var(--accent); color: var(--ink); }
.stack-slot.bad { background: var(--dark-2); border: 2px solid var(--bad); }
.stack-empty { min-height: 120px; border: 2px dashed var(--dark-line); display: flex; align-items: center; justify-content: center; color: #A9A7A1; }
.stack-label { font-size: 13px; font-weight: 600; letter-spacing: .08em; color: #A9A7A1; display: flex; justify-content: space-between; }
.game-final { font-family: var(--display); font-weight: 700; font-size: 36px; }
.checklist { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--paper); }
.compare th, .compare td { padding: 12px 14px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { background: var(--paper-2); border-top: 0; }
.scroll-x { overflow-x: auto; border: 2px solid var(--ink); }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.pick { min-height: 56px; padding: 8px 12px; border: 2px solid var(--ink); background: var(--paper); font-weight: 500; cursor: pointer; text-align: left; }
.pick[aria-pressed="true"] { background: var(--ink); color: #fff; font-weight: 600; }
.reco { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.reco-title { font-family: var(--display); font-weight: 700; font-size: 32px; line-height: 1.05; }
.note-box { padding: 16px 20px; background: var(--paper); border: 2px solid var(--ink); border-left: 8px solid var(--accent); }

/* Legales */
.legal { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.legal-nav { flex: 1 1 220px; max-width: 280px; display: flex; flex-direction: column; gap: 2px; font-size: 15px; border-left: 3px solid var(--ink); padding-left: 16px; position: sticky; top: 16px; }
.legal-nav a { padding: 5px 0; }
.legal-body { flex: 999 1 560px; min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 14px; font-size: 17px; line-height: 1.6; }
.legal-body h2 { font-size: 32px; line-height: 1.05; margin-top: 22px; }
.legal-body ul { margin: 0; padding-left: 22px; }

/* Paginación */
.pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 28px; }
.pager a, .pager span { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--ink); text-decoration: none; color: var(--ink); font-weight: 600; background: var(--paper); }
.pager span[aria-current] { background: var(--ink); color: #fff; }

@media (prefers-reduced-motion: no-preference) {
  .tile, .post-card, .topic { transition: transform .12s ease, box-shadow .12s ease; }
}
@media print {
  .site-header, .site-footer, .ad-slot, .affiliates, .share { display: none !important; }
}
@media (max-width: 600px) {
  .stat-num, .stat-num-lg { font-size: 34px; }
  .head-row > div[style*="align-items:flex-end"] { align-items: flex-start !important; text-align: left !important; }
}
