/* Paginas estaticas de la base de datos (setup/generar_web_db_paginas.py): mismo aspecto que la web, sin JavaScript */
:root { --fondo: #0b0c11; --panel: #14161e; --borde: #272b37; --borde2: #343949; --texto: #ece5d3; --suave: #a19d93; --tenue: #6f6c66;
  --oro: #e8b84a; --oro2: #f5d27a; --display: 'Bebas Neue', Impact, sans-serif; --cuerpo: Manrope, system-ui, sans-serif; --mono: 'JetBrains Mono', ui-monospace, monospace; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--fondo); color: var(--texto); font: 16px/1.6 var(--cuerpo); -webkit-font-smoothing: antialiased; }
a { color: var(--oro2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.in { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.barra { position: sticky; top: 0; z-index: 10; background: rgba(11,12,17,.94); border-bottom: 1px solid var(--borde); backdrop-filter: blur(10px); }
.barra .in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.marca { display: inline-flex; align-items: center; gap: 9px; font: 26px/1 var(--display); letter-spacing: 1.4px; color: var(--oro2); }
.marca b { font-weight: 400; } .marca span { color: var(--texto); }
.marca:hover { text-decoration: none; }
nav { display: flex; gap: 6px; flex-wrap: wrap; }
nav a { padding: 7px 12px; border-radius: 10px; color: #d9d3c4; font-weight: 600; font-size: 14px; }
nav a:hover { background: rgba(255,255,255,.05); color: var(--oro2); text-decoration: none; }
nav a.oro { background: linear-gradient(180deg, var(--oro2), var(--oro)); color: #1d1507; font-weight: 700; }
.miga { margin: 24px 0 18px; color: var(--tenue); font-size: 13.5px; }
.miga a { color: var(--suave); }
.cab { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; padding: 24px; border-radius: 20px; border: 1px solid var(--borde);
  background: radial-gradient(60% 120% at 0% 0%, rgba(232,184,74,.1), transparent 60%), linear-gradient(180deg, #16171f, #111218); }
.foto { width: 150px; height: 150px; border-radius: 18px; display: grid; place-items: center; background: radial-gradient(circle at 50% 60%, rgba(232,184,74,.22), #0e0f15 72%); border: 1px solid var(--borde2); overflow: hidden; }
.foto img { image-rendering: pixelated; max-width: 90%; max-height: 90%; min-width: 40%; }
.foto.carta { width: 160px; height: 214px; padding: 8px; background: linear-gradient(160deg, #2a2340, #121019); }
.foto.carta img, .foto.mapa img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; image-rendering: auto; border-radius: 12px; }
.foto.mapa { width: 200px; height: 200px; padding: 0; }
.foto.mapa img { object-fit: contain; border-radius: 0; }
.foto.obj { width: 124px; height: 164px; padding: 10px; background: linear-gradient(180deg, #fbf8f1, #ebe5d8); }
.foto.obj img { width: 100%; height: 100%; object-fit: contain; image-rendering: auto; mix-blend-mode: multiply; }
h1 { margin: 0; font: 400 clamp(36px, 5vw, 56px)/1 var(--display); letter-spacing: 1px; }
.sub { margin: 8px 0 6px; color: var(--suave); }
.sub code, code { font: 600 13px var(--mono); color: var(--tenue); }
.etqs { margin: 0 0 14px; color: var(--oro2); font-weight: 700; font-size: 14px; }
.btn { display: inline-block; padding: 10px 16px; border-radius: 12px; background: linear-gradient(180deg, var(--oro2), var(--oro)); color: #1d1507; font-weight: 800; font-size: 14.5px; }
.btn:hover { text-decoration: none; filter: brightness(1.05); }
section { margin-top: 28px; }
h2 { margin: 0 0 12px; font: 700 13px var(--cuerpo); letter-spacing: 1.8px; text-transform: uppercase; color: var(--suave); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; background: var(--panel); border: 1px solid var(--borde); border-radius: 14px; overflow: hidden; }
th { text-align: left; padding: 10px 12px; font: 700 11.5px var(--cuerpo); letter-spacing: 1px; text-transform: uppercase; color: var(--tenue); border-bottom: 1px solid var(--borde); }
td { padding: 9px 12px; border-bottom: 1px solid var(--borde); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
td b { font-family: var(--mono); color: var(--oro2); }
.it { display: inline-flex; align-items: center; gap: 8px; }
.it img { width: 26px; height: 26px; object-fit: contain; image-rendering: pixelated; }
ul { margin: 0; padding-left: 20px; } li { margin: 3px 0; }
section p { margin: 0; line-height: 1.8; }
.desc { padding: 14px 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--borde); color: #d6d0c3; font-size: 14.5px; }
.desc hr { border: 0; border-top: 1px dashed var(--borde2); margin: 10px 0; }
.desc .k { color: var(--oro2); font-weight: 700; } .desc .c { color: #8fc3ff; }
.nota { margin: 34px 0 0; padding: 14px 16px; border-radius: 14px; background: rgba(232,184,74,.06); border: 1px solid rgba(232,184,74,.18); color: #d8cfb6; font-size: 14px; }
body { padding-bottom: 50px; }
@media (max-width: 640px) {
  .cab { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 20px; }
  nav a:not(.oro) { display: none; }
  table { font-size: 13.5px; display: block; overflow-x: auto; }
  td, th { padding: 8px 9px; white-space: nowrap; }
}
