/* OmbuServer. Los valores salen del diseño (D2GS/WEB-NUEVA/Main.dc.html). */
@font-face { font-family: Cinzel; src: url(../fuentes/cinzel.woff2) format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: Alegreya; src: url(../fuentes/alegreya.woff2) format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: Alegreya; src: url(../fuentes/alegreya-italica.woff2) format("woff2"); font-weight: 400 800; font-style: italic; font-display: swap; }
@font-face { font-family: Roboto; src: url(../fuentes/roboto.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

html { scroll-behavior: smooth; background: #070504; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #070504; font-family: Alegreya, serif; color: #d9cfbf; overflow-x: clip; }
main { display: block; }
img { display: block; }
a { color: #c7b377; }
a:hover { color: #efdca0; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, video:focus-visible, video:focus-within, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid #c7b377; outline-offset: 3px; }
.saltar { position: absolute; left: 8px; top: -60px; z-index: 10; background: #07090f; padding: 10px 14px; }
.saltar:focus { top: 8px; }
.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* Cabecera y pie: un solo lugar en fuente/parciales */
.cabecera { position: relative; z-index: 4; height: 64px; background: #07090f; border-bottom: 1px solid #1c2230; display: flex; align-items: center; justify-content: center; padding: 0 24px; }
.nav { display: flex; align-items: center; gap: 22px; font-family: Cinzel, serif; font-weight: 700; font-size: 13px; letter-spacing: .09em; text-transform: uppercase; }
.nav a { color: #e8e4da; text-decoration: none; }
.nav a:hover { color: #efdca0; }
.nav .acto { border: 1px solid #c8402f; background: rgba(120,30,20,.18); padding: 9px 14px; }
.nav .acto:hover { background: rgba(200,64,47,.28); }
.navphone { display: none; width: 100%; align-items: center; justify-content: space-between; }
.navphone img { height: 24px; width: auto; }
.menu-boton { font-family: Cinzel, serif; font-weight: 700; font-size: 13px; letter-spacing: .09em; color: #e8e4da; background: none; border: 1px solid #3a4456; padding: 12px 16px; min-height: 44px; cursor: pointer; }
.foot { padding: 40px clamp(20px, 5vw, 80px); border-top: 1px solid #1c150f; background: #050302; }
.foot-dentro { max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.foot img { height: 22px; width: auto; }
.foot p { margin: 0; font-size: 15px; color: #8f8170; }

/* Piezas del diseño */
.btn-hero { color: #f1ece2; text-decoration: none; border: 1px solid #c8402f; background: rgba(60,18,14,.35); }
.btn-hero:hover { color: #fff; background: rgba(200,64,47,.25); }
.btn-stone { color: #e9d9a6; text-decoration: none; background: linear-gradient(180deg, #3a2c20 0%, #1d150f 55%, #120c08 100%); border: 1px solid #6b5636; box-shadow: inset 0 1px 0 rgba(255,230,170,.25), inset 0 -2px 0 rgba(0,0,0,.6), 0 0 0 1px #000, 0 8px 24px rgba(0,0,0,.6); display: inline-flex; align-items: center; height: 54px; padding: 0 30px; font-family: Cinzel, serif; font-weight: 700; font-size: 16px; letter-spacing: .08em; cursor: pointer; }
.btn-stone:hover { color: #fff3cf; border-color: #a88a52; }
.btn-blood { color: #ffe9d6; text-decoration: none; background: linear-gradient(180deg, #a3140e 0%, #6e0b07 60%, #4a0603 100%); border: 1px solid #d9452b; box-shadow: inset 0 1px 0 rgba(255,190,150,.35), inset 0 -2px 0 rgba(0,0,0,.5), 0 0 0 1px #000, 0 0 40px rgba(190,20,10,.35); display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 34px; font-family: Cinzel, serif; font-weight: 700; font-size: 16px; letter-spacing: .1em; }
.btn-blood:hover { color: #fff; background: linear-gradient(180deg, #bf1a12 0%, #820e09 60%, #560704 100%); }
.slot { position: relative; background-color: #0f0b08; background-image: repeating-linear-gradient(135deg, rgba(199,179,119,.05) 0 1px, transparent 1px 16px); }
.lleno { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame { border: 1px solid #4a3b28; box-shadow: 0 0 0 1px #000, 0 0 0 4px #17110c, 0 0 0 5px #3a2e20, 0 20px 50px rgba(0,0,0,.7); }
.band { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 0 16px; background: linear-gradient(180deg, #33261a 0%, #1b130d 100%); border-bottom: 1px solid #6b5636; box-shadow: inset 0 1px 0 rgba(255,230,170,.18); }
.band-title { display: flex; align-items: center; gap: 10px; font-family: Cinzel, serif; font-weight: 700; font-size: 16px; letter-spacing: .08em; color: #e9d9a6; text-shadow: 0 1px 0 #000; white-space: nowrap; }
.band-title:before { content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: #b3170f; box-shadow: 0 0 8px rgba(220,40,20,.7); }
.band-sub { font-family: Alegreya, serif; font-style: italic; font-size: 15px; color: #b7ab98; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tt { background: rgba(0,0,0,.9); border: 1px solid #2e261c; text-align: center; font-family: Alegreya, serif; font-size: 17px; line-height: 1.4; padding: 22px 26px; }
.tt h3 { margin: 0; font-family: Alegreya, serif; font-weight: 500; font-size: 20px; color: #c7b377; }
.tt-runas-texto { margin: 2px 0 0; color: #c7b377; }
.tt-base { margin: 10px 0 0; color: #8a8a8a; }
.tt-nivel { margin: 0; color: #e6e6e6; }
.tt-props { list-style: none; margin: 10px 0 0; padding: 0; color: #7f7fff; }
.tt-solo { margin: 12px 0 0; color: #2fbf3a; }
.tt-brujo { border-color: #5a1a10; }
.caja { max-width: 1240px; margin: 0 auto; }
.split { display: flex; }
.fila-titulo { align-items: flex-end; justify-content: space-between; }

/* Portada: el arte con movimiento de la web publicada, con el tono y la composición del diseño */
.hero { position: relative; min-height: 680px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 80px 24px 140px; background: #05080f; overflow: hidden; }
.hero:after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; background: linear-gradient(180deg, rgba(7,5,4,0), #070504); pointer-events: none; }
.hero > :not(.fondo) { position: relative; z-index: 1; }
.fondo { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #05080f; pointer-events: none; }
.fondo-capa { position: absolute; inset: -40px; will-change: transform; transition: transform 1s linear; }
.fondo-arte { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; transform-origin: 50% 70%; will-change: transform; animation: fondoDeriva 40s ease-in-out infinite alternate; }
@keyframes fondoDeriva {
  0% { transform: scale(1.06) translate3d(2.5%, 1%, 0); }
  50% { transform: scale(1.18) translate3d(-2%, -2%, 0); }
  100% { transform: scale(1.11) translate3d(-4%, 1.5%, 0); }
}
.fondo-capa-niebla { inset: -24px; }
.fondo-aura { position: absolute; left: 0; right: 0; top: 60%; height: 32%; background: radial-gradient(ellipse 62% 42% at 50% 50%, rgba(70,200,255,.34), rgba(40,150,230,.12) 55%, transparent 75%); animation: fondoAura 5s ease-in-out infinite alternate; }
@keyframes fondoAura { from { opacity: .3; } to { opacity: .85; } }
.fondo-niebla { position: absolute; left: 0; width: 200%; background-size: 50% 100%; background-repeat: repeat-x; will-change: transform; }
.fondo-niebla.lejos { top: 64%; height: 26%; opacity: .9; animation: fondoNiebla 55s linear infinite;
  background-image: radial-gradient(ellipse 14% 34% at 16% 52%, rgba(225,238,255,.26), transparent 72%), radial-gradient(ellipse 20% 40% at 44% 60%, rgba(205,228,255,.20), transparent 72%), radial-gradient(ellipse 12% 30% at 70% 45%, rgba(235,244,255,.24), transparent 72%), radial-gradient(ellipse 9% 26% at 89% 58%, rgba(215,232,255,.18), transparent 72%); }
.fondo-niebla.cerca { top: 74%; height: 30%; opacity: .85; animation: fondoNiebla 30s linear infinite;
  background-image: radial-gradient(ellipse 18% 38% at 22% 40%, rgba(240,245,255,.28), transparent 72%), radial-gradient(ellipse 15% 30% at 58% 62%, rgba(225,236,255,.22), transparent 72%), radial-gradient(ellipse 10% 28% at 84% 36%, rgba(245,248,255,.26), transparent 72%); }
@keyframes fondoNiebla { to { transform: translate3d(-50%, 0, 0); } }
.fondo-chispas { position: absolute; inset: 0; width: 100%; height: 100%; }
.fondo-velo { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 48% at 50% 44%, rgba(5,8,15,.34), transparent 72%), linear-gradient(180deg, rgba(5,8,15,.84) 0%, rgba(5,8,15,.72) 28%, rgba(5,8,15,.38) 58%, rgba(5,8,15,.46) 72%, rgba(5,8,15,.72) 84%, #05080f 100%); }
.fondo-quieto .fondo * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .fondo * { animation: none !important; } .fondo-capa { transition: none; } .fondo-arte { transform: scale(1.06); } }
.hero-logo { margin: 0; padding: 8px 0; }
.hero-logo img { width: min(518px, 79vw); height: auto; }
.hero-sub { margin: 6px 0 0; font-family: Cinzel, serif; font-weight: 600; font-size: 17px; letter-spacing: .32em; color: #b99a5b; }
.hero-sub2 { margin: 10px 0 0; font-family: Cinzel, serif; font-weight: 700; font-size: 13px; letter-spacing: .36em; color: #d8cfbd; }
.hero-texto { margin: 26px 0 0; max-width: 680px; font-family: Roboto, sans-serif; font-size: 18px; line-height: 1.65; color: #dfe2e8; }
.btn-hero { margin-top: 34px; display: inline-flex; align-items: center; justify-content: center; width: 300px; max-width: 100%; height: 50px; font-family: Cinzel, serif; font-weight: 700; font-size: 15px; letter-spacing: .14em; }

/* 1. Empezar */
.s-empezar { position: relative; padding: 40px clamp(20px, 5vw, 80px) 130px; background: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(150,20,10,.22), rgba(7,5,4,0) 70%); }
.caja-1200 { max-width: 1200px; margin: 0 auto; text-align: center; }
.adorno { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 22px; }
.adorno span { height: 1px; width: 160px; background: linear-gradient(90deg, rgba(199,179,119,0), #8a744a); }
.adorno span:nth-child(2) { width: 9px; height: 9px; transform: rotate(45deg); border: 1px solid #c7b377; background: none; }
.adorno span:nth-child(3) { background: linear-gradient(270deg, rgba(199,179,119,0), #8a744a); }
.s-empezar h2 { margin: 0; font-family: Cinzel, serif; font-weight: 800; font-size: clamp(40px, 5vw, 68px); line-height: 1.05; color: #e9d9a6; text-shadow: 0 2px 0 #000, 0 0 30px rgba(190,40,20,.35); }
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; text-align: center; }
.steps li { background: linear-gradient(180deg, #1a130e, #0d0907); padding: 36px 28px 34px; }
.steps .num { display: block; font-family: Cinzel, serif; font-weight: 900; font-size: 56px; line-height: 1; color: #b3170f; text-shadow: 0 0 18px rgba(200,30,15,.5); }
.steps h3 { margin: 18px 0 8px; font-family: Cinzel, serif; font-weight: 700; font-size: 22px; color: #e9d9a6; }
.steps p { margin: 0; font-size: 18px; color: #a99d8c; }
.btn-bajar { margin-top: 52px; gap: 12px; height: 60px; padding: 0 44px; font-size: 18px; }
/* Requisitos (2026-11-13): mínimos y recomendado, debajo del botón de descarga */
.requisitos { max-width: 880px; margin: 48px auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; text-align: left; }
.req { background: linear-gradient(180deg, #1a130e, #0d0907); padding: 24px 28px 22px; }
.req h3, .req h4 { margin: 0 0 12px; font-family: Cinzel, serif; font-weight: 700; font-size: 18px; letter-spacing: .08em; color: #e9d9a6; text-transform: uppercase; }
.req ul { margin: 0; padding: 0 0 0 18px; font-size: 17px; line-height: 1.6; color: #b7ab98; }
.req li::marker { color: #b3170f; }
.req b { color: #e4ddd0; font-weight: 600; }
.req-nota { grid-column: 1 / -1; margin: 0; text-align: center; font-size: 16px; font-style: italic; color: #8f8170; }
@media (max-width: 720px) { .requisitos { grid-template-columns: 1fr; } }

/* 2. El servidor */
.s-servidor { position: relative; padding: 110px clamp(20px, 5vw, 80px) 130px; background: radial-gradient(ellipse 50% 45% at 50% 100%, rgba(220,90,20,.20), rgba(7,5,4,0) 70%), #070504; border-top: 1px solid #1c150f; }
.s-servidor .fila-titulo { gap: 56px; }
.s-servidor h2 { margin: 0; font-family: Cinzel, serif; font-weight: 900; font-size: clamp(48px, 7vw, 104px); line-height: .95; color: #e9d9a6; text-shadow: 0 3px 0 #000; max-width: 11ch; }
.s-servidor .fila-titulo p { margin: 0; font-size: 21px; line-height: 1.55; color: #b7ab98; max-width: 34ch; }
.classes { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; }
.classes li { text-align: center; }
.classes .slot { aspect-ratio: 3 / 5; }
.classes .es-brujo .slot { border-color: #8a1a10; }
.cls-nombre { margin: 14px 0 0; font-family: Cinzel, serif; font-weight: 700; font-size: 15px; color: #c7b377; }
.es-brujo .cls-nombre { color: #e04a2a; }

/* 3. Launcher */
.s-launcher { padding: 120px clamp(20px, 5vw, 80px) 130px; background: linear-gradient(180deg, #0c0806, #070504); }
.s-launcher .fila-titulo { gap: 40px; margin-bottom: 40px; }
.s-launcher h2 { margin: 0; font-family: Cinzel, serif; font-weight: 900; font-size: clamp(44px, 6vw, 88px); line-height: .98; color: #e9d9a6; text-shadow: 0 3px 0 #000; }
.s-launcher .fila-titulo p { margin: 0; font-size: 20px; line-height: 1.5; color: #b7ab98; max-width: 34ch; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.tab { cursor: pointer; font-family: Cinzel, serif; font-weight: 700; font-size: 15px; letter-spacing: .06em; min-height: 48px; padding: 0 22px; border: 1px solid #3a2e20; border-bottom: 0; color: #8f8170; background: #0f0b08; }
.tab[aria-selected="true"] { color: #f3e2ac; background: linear-gradient(180deg, #3a2c20, #1a130e); border-color: #8a744a; }
.slot-launcher { aspect-ratio: 1024 / 600; }
.leyenda { margin: 22px 0 0; font-size: 21px; font-style: italic; color: #e6e0d4; }

/* 4. Interfaz D2R */
.s-d2r { padding: 120px clamp(20px, 5vw, 80px) 130px; border-top: 1px solid #1c150f; }
.s-d2r h2 { margin: 0 0 56px; font-family: Cinzel, serif; font-weight: 900; font-size: clamp(40px, 5.4vw, 78px); line-height: 1; color: #e9d9a6; text-shadow: 0 3px 0 #000; max-width: 18ch; }
.collage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(5, 132px); gap: 20px; }
.collage figure { margin: 0; display: flex; flex-direction: column; background: #0f0b08; min-width: 0; }
.collage .slot { flex: 1; overflow: hidden; }
.c-alijo { grid-column: 1 / span 5; grid-row: 1 / span 4; }
.c-tienda { grid-column: 6 / span 7; grid-row: 1 / span 3; }
.c-gemas { grid-column: 6 / span 3; grid-row: 4 / span 2; }
.c-runas { grid-column: 9 / span 4; grid-row: 4 / span 2; }
.c-npc { grid-column: 1 / span 5; grid-row: 5 / span 1; }
.tambien { margin: 48px 0 0; font-size: 20px; color: #8f8170; }

/* 5. Trades */
.s-trades { position: relative; padding: 130px clamp(20px, 5vw, 80px); background: radial-gradient(ellipse 55% 60% at 80% 50%, rgba(160,20,10,.25), rgba(7,5,4,0) 70%), #0b0705; border-top: 1px solid #1c150f; border-bottom: 1px solid #1c150f; }
.trades-dentro { max-width: 1240px; margin: 0 auto; gap: 64px; align-items: center; }
.trades-texto { flex: 1 1 400px; }
.trades-texto h2 { margin: 0; font-family: Cinzel, serif; font-weight: 900; font-size: clamp(48px, 6.4vw, 96px); line-height: .96; color: #e9d9a6; text-shadow: 0 3px 0 #000; }
.trades-texto p { margin: 30px 0 0; font-size: 21px; line-height: 1.55; max-width: 32ch; color: #b7ab98; }
.trades-fotos { flex: 1.3 1 520px; position: relative; min-height: 520px; }
.t-launcher { position: absolute; right: 0; top: 0; width: 86%; aspect-ratio: 1024 / 600; }
.t-alijo { position: absolute; left: 0; bottom: 0; width: 38%; aspect-ratio: 412 / 440; }

/* 6. Palabras rúnicas */
.s-runas { padding: 130px clamp(20px, 5vw, 80px); }
.fila-runas { gap: 40px; margin-bottom: 56px; }
.s-runas h2 { margin: 0; font-family: Cinzel, serif; font-weight: 900; font-size: clamp(44px, 6vw, 88px); line-height: .98; color: #e9d9a6; text-shadow: 0 3px 0 #000; }
.runes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }

/* 7. Acto VI */
.s-acto { position: relative; min-height: 940px; display: flex; align-items: flex-end; }
.acto-foto { position: absolute; inset: 0; overflow: hidden; background: #070504; }
/* La captura va a su tamaño real (1200 px de ancho, no da para más) con el portal donde el diseño pone la luz roja */
.acto-portal { position: absolute; top: 0; left: calc(68% - 690px); width: 1200px; max-width: none; height: auto; -webkit-mask-image: radial-gradient(ellipse 54% 50% at 57.5% 50%, #000 58%, transparent 100%); mask-image: radial-gradient(ellipse 54% 50% at 57.5% 50%, #000 58%, transparent 100%); }
.acto-rojo { position: absolute; inset: 0; background: radial-gradient(ellipse 30% 40% at 68% 40%, rgba(220,30,15,.45), rgba(120,10,5,.15) 55%, rgba(7,5,4,0) 75%); }
.acto-velo { position: absolute; inset: 0; background: linear-gradient(180deg, #070504 0%, rgba(7,5,4,0) 22%, rgba(7,5,4,0) 40%, rgba(7,5,4,.94) 85%); }
.acto-dentro { position: relative; width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 80px) 100px; box-sizing: border-box; gap: 56px; align-items: flex-end; justify-content: space-between; }
.acto-texto { flex: 1 1 600px; min-width: 0; }
.acto-sobre { margin: 0 0 14px; font-family: Cinzel, serif; font-weight: 700; font-size: 20px; letter-spacing: .2em; color: #e04a2a; }
.acto-texto h2 { margin: 0; white-space: nowrap; font-family: Cinzel, serif; font-weight: 900; font-size: clamp(56px, 8vw, 120px); line-height: .92; color: #f3e2ac; text-shadow: 0 4px 0 #000, 0 0 50px rgba(200,30,15,.5); }
.acto-texto blockquote { margin: 30px 0 0; padding: 0; max-width: 44ch; }
.acto-texto blockquote p { margin: 0; font-size: 22px; font-style: italic; line-height: 1.5; color: #e6e0d4; }
.acto-texto cite { display: block; margin-top: 10px; font-style: normal; font-family: Cinzel, serif; font-weight: 600; font-size: 15px; color: #c7b377; }
.acto-accion { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 38px; }
.acto-fig { flex: 0 1 360px; margin: 0; }
.acto-fig .slot { aspect-ratio: 4 / 3; }
.acto-fig figcaption { padding-top: 12px; font-size: 17px; color: #b7ab98; }

/* Palabras rúnicas: catálogo */
.catalogo { padding: 90px clamp(20px, 5vw, 80px) 130px; background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(150,20,10,.18), rgba(7,5,4,0) 70%); }
.caja-ancha { max-width: 1560px; margin: 0 auto; }
.catalogo-titulo { gap: 40px; margin-bottom: 56px; }
.catalogo-titulo h1 { margin: 0; font-family: Cinzel, serif; font-weight: 900; font-size: clamp(44px, 6vw, 88px); line-height: .98; color: #e9d9a6; text-shadow: 0 3px 0 #000; }
.catalogo-titulo p { margin: 0; font-size: 21px; line-height: 1.55; color: #b7ab98; }
.catalogo-cuerpo { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 36px; align-items: start; }
.filtros { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; padding: 6px; }
.buscador input { width: 100%; box-sizing: border-box; height: 54px; padding: 0 16px; font: 500 18px Alegreya, serif; color: #e6e0d4; background: #0f0b08; border: 1px solid #4a3b28; box-shadow: inset 0 2px 6px rgba(0,0,0,.7); }
.buscador input::placeholder { color: #8f8170; }
.filtros-boton { display: none; }
.filtros-panel { margin-top: 18px; padding: 8px 18px 20px; background: linear-gradient(180deg, #1a130e, #0d0907); }
.filtros fieldset { border: 0; padding: 0; margin: 14px 0 0; min-width: 0; }
.filtros legend { padding: 0; margin-bottom: 9px; font-family: Cinzel, serif; font-weight: 700; font-size: 15px; letter-spacing: .04em; color: #c7b377; }
.filtros legend label { font: inherit; }
.f-clases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.f-clases button { padding: 3px 0 5px; font: 400 11.5px/1.1 Alegreya, serif; color: #a99d8c; background: #0f0b08; border: 1px solid #3a2e20; cursor: pointer; min-width: 0; }
.f-clases img { width: 100%; max-width: 60px; height: auto; aspect-ratio: 1; margin: 0 auto 3px; opacity: .8; }
.f-clases span { display: block; overflow: hidden; text-overflow: ellipsis; }
.f-clases button:hover { color: #efdca0; }
.f-clases button:hover img, .f-clases button[aria-pressed="true"] img { opacity: 1; }
.f-clases button[aria-pressed="true"], .botonera button[aria-pressed="true"], .selector-runas button[aria-pressed="true"] { color: #f3e2ac; background: linear-gradient(180deg, #3a2c20, #1a130e); border-color: #8a744a; }
.botonera { display: flex; gap: 4px; }
.botonera button { flex: 1; min-height: 40px; font-family: Cinzel, serif; font-weight: 700; font-size: 15px; color: #8f8170; background: #0f0b08; border: 1px solid #3a2e20; cursor: pointer; }
.botonera button:first-child { flex: 1.6; }
.botonera button:hover, .selector-runas button:hover { color: #efdca0; }
select { font: 400 17px Alegreya, serif; color: #e6e0d4; background: #0f0b08; border: 1px solid #4a3b28; padding: 8px 10px; max-width: 100%; }
#f-tipo { width: 100%; }
input[type="range"] { width: 100%; accent-color: #b3170f; }
output { color: #e6e0d4; }
.selector-runas { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 3px; }
.selector-runas button { padding: 3px 0 2px; font: 700 12px/1 Alegreya, serif; color: #8f8170; background: #0f0b08; border: 1px solid #2e261c; cursor: pointer; min-width: 0; }
.selector-runas img { width: 32px; height: 32px; object-fit: contain; margin: 0 auto 2px; }
.resultados-barra { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-bottom: 18px; }
#cuenta { margin: 0; font-family: Cinzel, serif; font-weight: 700; font-size: 18px; color: #e9d9a6; }
.enlace { background: none; border: 0; padding: 6px 0; font: italic 400 17px Alegreya, serif; color: #c7b377; text-decoration: underline; cursor: pointer; }
.orden { margin-left: auto; font-size: 17px; color: #a99d8c; }
.palabras-lista { columns: 310px auto; column-gap: 22px; }
.palabras-lista .tt { break-inside: avoid; display: inline-block; width: 100%; box-sizing: border-box; margin: 0 0 22px; scroll-margin-top: 20px; }
.tt-runas { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.tt-runas li { width: 46px; }
.tt-runas img { width: 44px; height: 44px; object-fit: contain; margin: 0 auto; }
.tt-runas span { display: block; font-size: 14px; line-height: 1.2; color: #c7b377; }
.tt-ingles { margin: 0; font-size: 14px; font-style: italic; color: #8f8170; }
.tt-iconos { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.tt-iconos img { height: 36px; width: auto; object-fit: contain; }
.tt-iconos + .tt-base { margin-top: 4px; }
.tt-caso { display: flex; justify-content: center; gap: 4px; margin-top: 10px; }
.tt-caso button { min-height: 32px; padding: 0 10px; font-family: Cinzel, serif; font-weight: 700; font-size: 12px; color: #8f8170; background: #0f0b08; border: 1px solid #3a2e20; cursor: pointer; }
.tt-caso button[aria-pressed="true"] { color: #f3e2ac; background: linear-gradient(180deg, #3a2c20, #1a130e); border-color: #8a744a; }
.sin-resultados { padding: 40px 0; text-align: center; }
.sin-resultados p { margin: 0 0 16px; font-size: 21px; font-style: italic; color: #e6e0d4; }

/* Historia: el mismo ancho que .caja, en capítulos con imagen */
.historia { padding: 80px clamp(20px, 5vw, 80px) 120px; background: radial-gradient(ellipse 60% 30% at 50% 0%, rgba(150,20,10,.2), rgba(7,5,4,0) 70%); font-size: 20px; line-height: 1.55; color: #d9cfbf; }
.historia .caja { max-width: 1240px; margin-left: auto; margin-right: auto; }
.historia p { margin: 16px 0 0; }
.historia figure { margin: 0; }
.historia b { color: #e9d9a6; font-weight: 500; }
.historia h2 { margin: 0 0 8px; font-family: Cinzel, serif; font-weight: 800; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.05; color: #e9d9a6; text-shadow: 0 2px 0 #000; }
.historia blockquote { margin: 20px 0 0; font-size: 21px; font-style: italic; line-height: 1.5; color: #e6e0d4; }
.historia cite { display: block; margin-top: 8px; font-style: normal; font-family: Cinzel, serif; font-weight: 600; font-size: 15px; color: #c7b377; }
.historia-portada { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.historia-foto { aspect-ratio: 16 / 10; }
.historia-portada .acto-sobre { margin: 0 0 14px; }
.historia-portada h1 { margin: 0; font-family: Cinzel, serif; font-weight: 900; font-size: clamp(44px, 6vw, 88px); line-height: .96; color: #f3e2ac; text-shadow: 0 4px 0 #000, 0 0 50px rgba(200,30,15,.5); }
.historia-portada .bajada { margin: 24px 0 0; font-size: 21px; line-height: 1.55; color: #b7ab98; max-width: 34ch; }
.aviso { color: #a99d8c; font-style: italic; font-size: 17px; }
.marca-nuestro { color: #e04a2a; }
.indice { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 56px; padding: 18px 0; border-top: 1px solid #2e261c; border-bottom: 1px solid #2e261c; font-family: Cinzel, serif; font-weight: 700; font-size: 14px; letter-spacing: .06em; }
.indice a { color: #c7b377; text-decoration: none; min-height: 28px; display: inline-flex; align-items: center; }
.indice a:hover { color: #efdca0; }
.cap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; margin-top: 110px; scroll-margin-top: 24px; }
.cap-solo { display: block; margin-top: 110px; scroll-margin-top: 24px; }
.cap-num { margin: 0 0 10px; font-family: Cinzel, serif; font-weight: 700; font-size: 18px; letter-spacing: .2em; color: #e04a2a; }
.cap-titulo { margin-bottom: 16px; }
.ancho-lectura { max-width: 760px; }
.cita-grande { max-width: 980px; margin: 32px 0; padding-left: 28px; border-left: 2px solid #4a3b28; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.35; }
.nuestro { padding-left: 24px; border-left: 2px solid #8a1a10; }
.nuestro > :first-child { margin-top: 0; }
.dupla { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pila { display: grid; gap: 28px; }
.pila figcaption, .lod figcaption { margin-top: 12px; font-size: 17px; color: #b7ab98; }
.bloque { display: block; width: 100%; height: auto; }
.personajes { margin: 20px 0 0; }
.personajes > div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-top: 1px solid #2e261c; }
.personajes dt { font-family: Cinzel, serif; font-weight: 700; font-size: 16px; color: #c7b377; }
.personajes dd { margin: 0; }
.misiones { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 64px; }
.mision { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; }
.mision-quien { margin: 0 !important; font-family: Cinzel, serif; font-weight: 700; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: #e04a2a; }
.mision h3 { margin: 4px 0 0; font-family: Cinzel, serif; font-weight: 800; font-size: 25px; line-height: 1.15; color: #e9d9a6; }
.mision blockquote { margin-top: 12px; font-size: 19px; }
.mision p { font-size: 19px; }
.historia .premio { margin-top: 14px; font-family: Cinzel, serif; font-weight: 700; font-size: 15px; line-height: 1.35; color: #c7b377; }
.oleadas { margin: 22px 0 6px; padding: 0; list-style: none; counter-reset: ola; }
.oleadas li { counter-increment: ola; display: grid; grid-template-columns: 36px minmax(0, 1fr); padding: 10px 0; border-top: 1px solid #2e261c; }
.oleadas li::before { content: counter(ola); grid-row: span 2; font-family: Cinzel, serif; font-weight: 800; font-size: 22px; color: #e04a2a; }
.oleadas span { font-size: 18px; color: #b7ab98; }
.jefes { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px; }
.jefes li { margin: 0; }
.jefes figcaption { margin-top: 8px; font-family: Cinzel, serif; font-weight: 700; font-size: 13px; line-height: 1.25; color: #c7b377; }
.jefe { position: relative; overflow: hidden; }
.jefe::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 50%, rgba(7,5,4,0) 42%, rgba(7,5,4,.82) 100%); }
.mision .jefes { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 12px; margin-top: 16px; }
.jefes-8 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.jefes-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.lod { box-sizing: border-box; position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: center; margin-top: 120px; padding: 88px 56px 56px; scroll-margin-top: 24px; border: 1px solid #4a1c14; background: radial-gradient(ellipse 70% 90% at 20% 0%, rgba(150,20,10,.28), rgba(7,5,4,0) 72%); overflow: hidden; }
.lod-marca { grid-column: 1 / -1; font-family: Cinzel, serif; font-weight: 900; font-size: clamp(72px, 14vw, 200px); line-height: .9; color: #f3e2ac; text-shadow: 0 4px 0 #000, 0 0 60px rgba(200,30,15,.55); }
.cierre { margin-top: 110px; text-align: center; }
.cierre h2 { font-size: clamp(38px, 5vw, 68px); }
.btn-historia { margin-top: 24px; }

@media (max-width: 1100px) {
  .misiones { grid-template-columns: minmax(0, 1fr); }
  .cap, .lod { gap: 40px; }
  .lod { padding: 64px 36px 40px; }
}
@media (max-width: 820px) {
  .historia { padding-top: 48px; padding-bottom: 80px; }
  .historia-portada, .cap, .lod { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .cap, .cap-solo { margin-top: 72px; }
  .cap-inv > figure, .cap-inv > .pila { order: 2; }
  .lod { margin-top: 72px; padding: 44px 22px 28px; }
}
@media (max-width: 620px) {
  .historia { font-size: 18.5px; }
  .mision { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .mision figure { max-width: 320px; }
  .historia blockquote { font-size: 19px; }
  .cita-grande { padding-left: 18px; font-size: 22px; }
  .nuestro { padding-left: 16px; }
  .jefes-8, .jefes-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .personajes > div { grid-template-columns: 84px minmax(0, 1fr); }
}
/* Cambio de idioma */
.nav .idioma { border: 1px solid #3a4456; padding: 8px 10px; letter-spacing: .05em; }
.nav .idioma:hover { border-color: #c7b377; }

@media (max-width: 1100px) {
  .catalogo-cuerpo { grid-template-columns: 290px minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 820px) {
  .cabecera { padding: 0 20px; }
  .nav { display: none; }
  .nav.abierto { display: flex; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 0 12px; background: #07090f; border-bottom: 1px solid #1c2230; box-shadow: 0 14px 30px rgba(0,0,0,.7); }
  .nav.abierto a { display: flex; align-items: center; min-height: 46px; padding: 0 24px; }
  .nav.abierto .acto { margin: 8px 24px 0; padding: 0 14px; }
  .nav.abierto .idioma { align-self: flex-start; margin: 14px 24px 2px; min-height: 38px; padding: 0 16px; border-color: #3a4456; letter-spacing: .12em; }   /* 2026-11-17: botón de idioma alineado y chico en el menú del celular */
  .navphone { display: flex; }
  .split { flex-direction: column; }
  .fila-titulo h2, .fila-titulo h1, .catalogo-titulo p { align-self: flex-start; }
  .steps { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .classes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cls-nombre { font-size: clamp(10.5px, 2.75vw, 15px); }
  /* Las capturas del juego no se agrandan: en una columna van a su tamaño, como mucho */
  .collage { grid-template-columns: repeat(1, minmax(0, 1fr)); grid-template-rows: none; gap: 24px; }
  .collage > * { grid-column: auto; grid-row: auto; }
  .collage .slot { flex: none; }
  .collage .lleno { position: static; width: 100%; height: auto; margin: 0 auto; }
  .c-alijo .lleno { max-width: 543px; }
  .c-gemas .lleno { max-width: 415px; }
  .c-runas .lleno { max-width: 430px; }
  .c-npc .lleno { max-width: 505px; }
  .runes { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .trades-texto { flex: none; width: 100%; }
  .trades-fotos { flex: none; width: 100%; min-height: 0; aspect-ratio: 4 / 3; }
  .acto-texto { flex: none; width: 100%; }
  .acto-fig { flex: none; width: 100%; max-width: 360px; }
  .acto-portal { left: calc(50% - 690px); }
  .acto-rojo { background: radial-gradient(ellipse 60% 26% at 50% 22%, rgba(220,30,15,.4), rgba(120,10,5,.12) 55%, rgba(7,5,4,0) 75%); }
  .acto-velo { background: linear-gradient(180deg, #070504 0%, rgba(7,5,4,.25) 8%, rgba(7,5,4,.55) 30%, rgba(7,5,4,.94) 62%); }
  .catalogo { padding-top: 56px; }
  .catalogo-cuerpo { grid-template-columns: minmax(0, 1fr); }
  .filtros { position: static; max-height: none; overflow: visible; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .filtros-boton { display: inline-flex; height: 54px; padding: 0 18px; font-size: 14px; }
  .filtros-panel { grid-column: 1 / -1; margin: 6px 0 0; display: none; }
  .filtros-panel.abierto { display: block; }
  .orden { margin-left: 0; }
  .historia-portada { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 480px) {
  .band { padding: 0 12px; }
  .band-sub { font-size: 14px; }
  .hero-sub { letter-spacing: .24em; font-size: 15px; }
}
@media (max-width: 420px) { .acto-texto h2 { font-size: 14vw; } }
/* Barras de desplazamiento finas, del color de la página */
@supports not selector(::-webkit-scrollbar) {
  html, .tabla { scrollbar-width: thin; scrollbar-color: #5a4630 transparent; }
}
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #3f3122; border: 2px solid transparent; border-radius: 8px; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: #7a6242; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
::-webkit-scrollbar-corner { background: transparent; }
html { background: #070504; }
/* La columna de filtros y las listas se desplazan sin mostrar barra */
.filtros, .sel-lista { scrollbar-width: none; }
.filtros::-webkit-scrollbar, .sel-lista::-webkit-scrollbar { display: none; }
/* Desplegables propios (js/selector.js) */
.sel { position: relative; min-width: 0; }
.sel select { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.sel-boton { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 44px; padding: 8px 14px; font: 400 17px Alegreya, serif; color: #e6e0d4; text-align: left; cursor: pointer; background: linear-gradient(180deg, #1a130e, #0d0907); border: 1px solid #4a3b28; }
.sel-boton span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sel-boton::after { content: ""; flex: none; width: 8px; height: 8px; margin: -4px 3px 0 0; border-right: 2px solid #c7b377; border-bottom: 2px solid #c7b377; transform: rotate(45deg); transition: transform .15s; }
.sel-boton[aria-expanded="true"]::after { margin-top: 4px; transform: rotate(-135deg); }
.sel-boton:hover, .sel-boton[aria-expanded="true"] { border-color: #8a744a; }
.sel-lista { position: absolute; z-index: 20; top: calc(100% + 4px); left: 0; right: 0; max-height: 300px; margin: 0; padding: 5px 0; overflow-y: auto; list-style: none; background: #120d09; border: 1px solid #8a744a; box-shadow: 0 16px 36px rgba(0,0,0,.8); }
.sel-lista[hidden] { display: none; }
.sel-op { position: relative; padding: 9px 14px 9px 30px; font-size: 17px; line-height: 1.25; color: #d9cfbf; cursor: pointer; }
.sel-op.activa { color: #f3e2ac; background: linear-gradient(90deg, #3a2c20, #1f1710); }
.sel-op[aria-selected="true"] { color: #e9d9a6; }
.sel-op[aria-selected="true"]::before { content: ""; position: absolute; left: 13px; top: 50%; width: 7px; height: 7px; margin-top: -4px; transform: rotate(45deg); background: #e04a2a; }
.sel-grupo { margin-top: 6px; padding: 8px 14px 5px; border-top: 1px solid #2e261c; font-family: Cinzel, serif; font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #8f8170; }
.orden { display: inline-flex; align-items: center; gap: 10px; }
.orden .sel { width: 215px; }
.filtros { padding-bottom: 12px; }

/* ======== Páginas legales (aviso legal, privacidad, cookies, términos) ======== */
.legal { max-width: 820px; margin: 0 auto; padding: 72px clamp(20px, 5vw, 40px) 120px; font-size: 18px; line-height: 1.7; color: #d9cfbf; }
.legal-portada { padding-bottom: 28px; margin-bottom: 8px; border-bottom: 1px solid #2e261c; }
.legal-sobre { margin: 0; font-family: Cinzel, serif; font-weight: 700; letter-spacing: .28em; font-size: 13px; text-transform: uppercase; color: #e8553a; }
.legal h1 { margin: 10px 0 0; font-family: Cinzel, serif; font-weight: 900; font-size: clamp(34px, 5vw, 58px); line-height: 1; color: #f3e2ac; text-shadow: 0 3px 0 #000, 0 0 40px rgba(200,30,15,.38); }
.legal-fecha { margin: 16px 0 0; font-style: italic; font-size: 16px; color: #8f8170; }
.legal-intro { margin: 18px 0 0; font-size: 19px; color: #b7ab98; }
.legal h2 { margin: 52px 0 0; font-family: Cinzel, serif; font-weight: 800; font-size: clamp(22px, 3vw, 30px); line-height: 1.15; color: #e9d9a6; text-shadow: 0 2px 0 #000; }
.legal h3 { margin: 30px 0 0; font-family: Cinzel, serif; font-weight: 700; font-size: 19px; letter-spacing: .01em; color: #c7b377; }
.legal p { margin: 14px 0 0; }
.legal a { color: #e0b870; }
.legal a:hover { color: #f3e2ac; }
.legal ul, .legal ol { margin: 14px 0 0; padding-left: 24px; }
.legal li { margin: 8px 0 0; }
.legal li::marker { color: #8a744a; }
.legal b, .legal strong { color: #e9d9a6; font-weight: 600; }
.legal hr { margin: 52px 0 0; border: 0; border-top: 1px solid #2e261c; }
.legal .destacado { margin: 24px 0 0; padding: 18px 22px; background: rgba(0,0,0,.5); border: 1px solid #2e261c; border-left: 3px solid #b3170f; }
.legal .destacado p:first-child { margin-top: 0; }
.legal .placeholder { font-family: Roboto, sans-serif; font-size: .82em; color: #f0c784; background: rgba(120,30,20,.2); border: 1px dashed #c8402f; border-radius: 3px; padding: 1px 7px; white-space: nowrap; }
.legal address { font-style: normal; }
.legal-mas { margin-top: 56px; padding-top: 24px; border-top: 1px solid #2e261c; display: flex; flex-wrap: wrap; gap: 10px 20px; font-family: Cinzel, serif; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.legal-mas a { color: #9a8c78; text-decoration: none; }
.legal-mas a:hover { color: #c7b377; }
@media (max-width: 620px) {
  .legal { padding-top: 48px; padding-bottom: 88px; font-size: 17px; }
  .legal h2 { margin-top: 42px; }
}

/* Enlaces legales en el pie */
.foot-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-family: Cinzel, serif; font-weight: 700; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; }
.foot-legal a { color: #9a8c78; text-decoration: none; }
.foot-legal a:hover { color: #c7b377; }
.foot-votos { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-family: Cinzel, serif; font-weight: 700; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; }
.foot-votos span { color: #c7b377; }
.foot-votos a { color: #9a8c78; text-decoration: none; border: 1px solid #3a2c1c; border-radius: 3px; padding: 2px 9px; }
.foot-votos a:hover { color: #f0d9a0; border-color: #c7b377; }
/* Botón de arrepentimiento (Res. SCI 424/2020): tiene que verse, no es un enlace más */
.foot-legal a.arrep { color: #f0d9a0; border: 1px solid #b3170f; border-radius: 3px; padding: 2px 9px; }
.foot-legal a.arrep:hover { color: #fff3cf; background: rgba(179,23,15,.25); }

/* Aviso de cookies (js/cookies.js) */
.cookie-aviso { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #0b0806; border-top: 1px solid #3a2c20; box-shadow: 0 -8px 30px rgba(0,0,0,.6); padding: 14px clamp(16px, 4vw, 40px); }
.cookie-dentro { max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.cookie-aviso p { margin: 0; font-size: 15px; line-height: 1.5; color: #b7ab98; max-width: 80ch; }
.cookie-aviso a { color: #e0b870; }
.cookie-aviso a:hover { color: #f3e2ac; }
.cookie-boton { flex: none; font-family: Cinzel, serif; font-weight: 700; font-size: 13px; letter-spacing: .08em; color: #e9d9a6; background: linear-gradient(180deg, #3a2c20, #1d150f); border: 1px solid #6b5636; padding: 11px 24px; min-height: 44px; cursor: pointer; }
.cookie-boton:hover { border-color: #8a744a; color: #f3e2ac; }

/* ======== Página del Brujo (fuente/brujo.html; árbol y tarjetas: brujo_arbol en herramientas/armar.py) ======== */
.cls-enlace { display: block; text-decoration: none; }
.cls-enlace:hover .slot { border-color: #e04a2a; }
.cls-enlace:hover .cls-nombre { color: #ff6a45; }
.bru-botones { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.bru-datos { padding: 24px 28px; background: rgba(0,0,0,.55); }
.bru-datos-titulo { margin: 0 !important; font-family: Cinzel, serif; font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: #e04a2a; }
.bru-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0 26px; }
.bru-stats div { padding: 10px 12px; border: 1px solid #2e261c; background: #0f0b08; }
.bru-stats dt { font-family: Cinzel, serif; font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #8f8170; }
.bru-stats dd { margin: 2px 0 0; font-family: Cinzel, serif; font-weight: 800; font-size: 26px; line-height: 1.1; color: #f3e2ac; }
.bru-sube { margin: 10px 0 0; padding: 0; list-style: none; font-size: 18px; }
.bru-sube li { padding: 7px 0; border-top: 1px solid #2e261c; }
.bru-arbol { display: grid; grid-template-columns: 430px minmax(0, 1fr); gap: 48px; align-items: start; margin-top: 36px; }
.arbol { display: grid; grid-template-columns: 26px repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(96px, auto); gap: 8px; padding: 22px 18px 16px; background: linear-gradient(180deg, #1b1510 0%, #0d0a07 100%); }
.arb-nivel { grid-column: 1; align-self: start; padding-top: 15px; font-family: Cinzel, serif; font-weight: 700; font-size: 13px; color: #6f6352; text-align: right; }
.arb-hab { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; text-align: center; font-size: 14.5px; line-height: 1.15; color: #c7b377; }
.arb-hab img { width: 48px; height: 48px; box-shadow: 0 0 0 1px #000, 0 0 0 2px #4a3b28; }
.arb-hab:hover span, .arb-hab:focus-visible span { color: #f3e2ac; }
.arb-hab:hover img { box-shadow: 0 0 0 1px #000, 0 0 0 2px #c7b377, 0 0 16px rgba(224,74,42,.55); }
.bru-fig { justify-self: start; max-width: 600px; }
.bru-fig-chica { max-width: 400px; }
.bru-fig figcaption { margin-top: 12px; font-size: 17px; color: #b7ab98; }
.habs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.hab { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; align-items: start; padding: 20px 22px; background: rgba(0,0,0,.5); border: 1px solid #2e261c; scroll-margin-top: 24px; }
.hab:target { border-color: #8a744a; box-shadow: 0 0 0 1px #8a744a, 0 0 30px rgba(200,64,47,.18); }
.hab img { box-shadow: 0 0 0 1px #000, 0 0 0 2px #4a3b28; }
.historia .hab h3 { margin: 0; font-family: Cinzel, serif; font-weight: 700; font-size: 19px; line-height: 1.2; color: #e9d9a6; }
.historia .hab-meta { margin: 4px 0 0; font-family: Cinzel, serif; font-weight: 600; font-size: 13px; letter-spacing: .04em; color: #8f8170; }
.historia .hab p { font-size: 17.5px; line-height: 1.5; }
.historia .hab .hab-sin { margin-top: 10px; font-size: 16px; color: #b7ab98; }
.hab-sin b { color: #5fbf4f; font-weight: 500; }
.bru-estilos { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bru-estilos li { padding: 22px; background: rgba(0,0,0,.5); }
.bru-estilos h3 { margin: 0; font-family: Cinzel, serif; font-weight: 800; font-size: 20px; color: #e9d9a6; }
.historia .bru-estilos p { margin-top: 10px; font-size: 17.5px; line-height: 1.5; }
.bru-lista { margin: 18px 0 0; padding-left: 22px; }
.bru-lista li, .bru-pasos li { margin-top: 10px; }
.bru-lista li::marker, .bru-pasos li::marker { color: #8a744a; }
.bru-runas { margin-top: 28px; }
.bru-runes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.bru-pasos { margin: 18px 0 0; padding-left: 24px; }
.bru-unico { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px; }
.bru-unico li { padding-top: 16px; border-top: 1px solid #4a3b28; }
.bru-unico h3 { margin: 0; font-family: Cinzel, serif; font-weight: 700; font-size: 19px; color: #c7b377; }
.historia .bru-unico p { margin-top: 8px; font-size: 17.5px; line-height: 1.5; }
@media (max-width: 1100px) {
  .bru-arbol { grid-template-columns: 400px minmax(0, 1fr); gap: 32px; }
  .bru-estilos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bru-unico { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .bru-arbol { grid-template-columns: minmax(0, 1fr); }
  .arbol { max-width: 440px; }
  .habs { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .bru-estilos, .bru-unico, .bru-runes { grid-template-columns: minmax(0, 1fr); }
  .bru-datos { padding: 20px 18px; }
  .bru-stats dd { font-size: 22px; }
  .arbol { grid-template-columns: 20px repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(88px, auto); gap: 6px 4px; padding: 16px 8px 12px; }
  .arb-hab { font-size: 13px; }
  .arb-nivel { font-size: 12px; }
  .hab { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 16px; }
  .hab img { width: 40px; height: 40px; }
}
/* Menú con "El Brujo" (2026-11-11): cada enlace en un renglón; más apretado hasta 1100 y desplegable desde 960 */
.nav a { white-space: nowrap; }
/* Auditoría web 2026-11-16: con 9 enlaces el menú medía 1133 px (1159 en inglés) y entre 961 y 1240 se salía por los
   costados. Apretado hasta 1240 (mide 1010) y desplegable desde 1060 (también en tablets de 1024, más cómodo al tacto).
   Menú corto (2026-11-17): mide 853 px (829 en inglés) y entra entero hasta 1001; apretado (736/709, 778 en táctil) entre
   901 y 1000; desplegable desde 900 (tablets de 820 y celulares). */
@media (max-width: 1000px) { .nav { gap: 14px; font-size: 12px; letter-spacing: .05em; } }
@media (max-width: 900px) {
  .cabecera { padding: 0 20px; }
  .nav { display: none; }
  .nav.abierto { display: flex; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 0 12px; font-size: 13px; letter-spacing: .09em; background: #07090f; border-bottom: 1px solid #1c2230; box-shadow: 0 14px 30px rgba(0,0,0,.7); }
  .nav.abierto a { display: flex; align-items: center; min-height: 46px; padding: 0 24px; }
  .nav.abierto .acto { margin: 8px 24px 0; padding: 0 14px; }
  .nav.abierto .idioma { align-self: flex-start; margin: 14px 24px 2px; min-height: 38px; padding: 0 16px; border-color: #3a4456; letter-spacing: .12em; }   /* 2026-11-17: botón de idioma alineado y chico en el menú del celular */
  .navphone { display: flex; }
}

/* ======== Portada: Nuevas funcionalidades (panel de la Y; imagen: herramientas/generar_novedades.py) ======== */
.s-novedades { padding: 110px clamp(20px, 5vw, 80px) 120px; border-top: 1px solid #1c150f; background: radial-gradient(ellipse 55% 45% at 25% 30%, rgba(120,30,160,.12), rgba(7,5,4,0) 70%), #070504; }
.s-novedades .fila-titulo { gap: 40px; }
.s-novedades h2 { margin: 0; font-family: Cinzel, serif; font-weight: 900; font-size: clamp(40px, 5.4vw, 78px); line-height: 1; color: #e9d9a6; text-shadow: 0 3px 0 #000; max-width: 14ch; }
.s-novedades .fila-titulo p { margin: 0; font-size: 21px; line-height: 1.55; color: #b7ab98; max-width: 30ch; }
.nov-movil { margin-top: 56px; padding-bottom: 64px; border-bottom: 1px solid #2e261c; }
.nov-movil-foto { margin: 0; }
.nov-movil-foto .frame { border-radius: 26px; overflow: hidden; border: 6px solid #0b0806; box-shadow: 0 0 0 1px #4a3b28, 0 30px 70px rgba(0,0,0,.75); background: #000; }
.nov-movil-foto img { display: block; width: 100%; height: auto; }
.nov-movil-foto figcaption { margin-top: 14px; font-size: 17px; color: #b7ab98; text-align: center; }
.nov-movil-texto { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; margin-top: 44px; }
.nov-movil-texto .nov-lista { margin-top: 0; }
.nov-movil + .nov-principal { margin-top: 64px; }
@media (max-width: 900px) {
  .nov-movil { margin-top: 36px; padding-bottom: 44px; }
  .nov-movil-foto .frame { border-radius: 14px; border-width: 4px; }
  .nov-movil-texto { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 28px; }
}
.nov-movil-boton { margin: 26px 0 0; }
.mov-portada { max-width: 1240px; }
.mov-portada h1 { margin: 0; font-family: Cinzel, serif; font-weight: 900; font-size: clamp(38px, 5.4vw, 76px); line-height: 1; color: #f3e2ac; text-shadow: 0 4px 0 #000; max-width: 16ch; }
.mov-portada .bajada { margin: 22px 0 0; font-size: 21px; line-height: 1.55; color: #b7ab98; max-width: 52ch; }
.mov-mapa-caja { margin-top: 48px; }
.mov-mapa .frame { position: relative; border-radius: 26px; overflow: hidden; border: 6px solid #0b0806; box-shadow: 0 0 0 1px #4a3b28, 0 30px 70px rgba(0,0,0,.75); background: #000; }
.mov-mapa img { display: block; width: 100%; height: auto; }
.mov-marca { position: absolute; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #e04a2a; color: #fff; font-family: Cinzel, serif; font-weight: 800; font-size: 16px; line-height: 1; border: 2px solid #fff3cf; box-shadow: 0 2px 10px rgba(0,0,0,.8); }
.mov-leyenda { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 28px; font-size: 17px; }
.mov-leyenda a { display: flex; gap: 10px; align-items: baseline; color: #b7ab98; text-decoration: none; padding: 6px 0; }
.mov-leyenda a:hover { color: #efdca0; }
.mov-leyenda b { flex: none; width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; background: #e04a2a; color: #fff; font-family: Cinzel, serif; font-weight: 800; font-size: 13px; }
.mov-cap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; align-items: center; margin-top: 96px; scroll-margin-top: 24px; }
.mov-cap.mov-sin-foto { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.mov-gestos { list-style: none; margin: 22px 0 0; padding: 0; }
.mov-gestos li { position: relative; padding: 13px 0 13px 26px; border-top: 1px solid #2e261c; font-size: 18.5px; line-height: 1.5; color: #b7ab98; }
.mov-gestos li::before { content: ""; position: absolute; left: 3px; top: 23px; width: 7px; height: 7px; transform: rotate(45deg); background: #8a744a; }
.mov-foto .frame { border-radius: 14px; overflow: hidden; }
.mov-foto img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) {
  .mov-mapa .frame { border-radius: 14px; border-width: 4px; }
  .mov-marca { width: 20px; height: 20px; font-size: 11px; border-width: 1px; }
  .mov-leyenda { grid-template-columns: repeat(2, minmax(0, 1fr)); font-size: 16px; }
  .mov-cap { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 64px; }
}
.mov-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }   /* video de la app, 1920x1080 (2026-11-16) */
.mov-mapa figcaption { margin-top: 14px; font-size: 17px; color: #b7ab98; text-align: center; }
.mov-mapa-caja .cap-num { margin-top: 96px; }
.mov-mapa-caja h2 { margin-bottom: 28px; }
.mov-tabla { margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mov-gesto { margin: 0; padding: 18px 20px; background: linear-gradient(180deg, #1a130e, #0d0907); border: 1px solid #2e261c; }
.mov-gesto dt { font-family: Cinzel, serif; font-weight: 800; font-size: 19px; color: #e9d9a6; }
.mov-gesto dd { margin: 8px 0 0; font-size: 18px; line-height: 1.5; color: #b7ab98; }
.mov-cap.mov-sin-foto:has(.mov-tabla) { max-width: 1240px; }
@media (max-width: 900px) { .mov-tabla { grid-template-columns: minmax(0, 1fr); } .mov-mapa-caja .cap-num { margin-top: 64px; } }
.nov-principal { display: grid; grid-template-columns: 442px minmax(0, 1fr); gap: 64px; align-items: center; margin-top: 56px; }
.nov-panel { margin: 0; }
.nov-panel .frame { width: 442px; max-width: 100%; }
.nov-panel img { image-rendering: pixelated; }
.nov-panel figcaption { margin-top: 14px; font-size: 17px; color: #b7ab98; }
.nov-sobre { margin: 0 0 12px; font-family: Cinzel, serif; font-weight: 700; font-size: 15px; letter-spacing: .2em; color: #e04a2a; }
.nov-texto h3 { margin: 0; font-family: Cinzel, serif; font-weight: 900; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; color: #f3e2ac; text-shadow: 0 3px 0 #000, 0 0 40px rgba(200,30,15,.35); }
.nov-bajada { margin: 18px 0 0; font-size: 21px; line-height: 1.55; color: #d9cfbf; }
.nov-lista { list-style: none; margin: 26px 0 0; padding: 0; }
.nov-lista li { position: relative; padding: 14px 0 14px 26px; border-top: 1px solid #2e261c; font-size: 18.5px; line-height: 1.5; color: #b7ab98; }
.nov-lista li::before { content: ""; position: absolute; left: 3px; top: 24px; width: 7px; height: 7px; transform: rotate(45deg); background: #8a744a; }
.nov-lista b { color: #e9d9a6; font-weight: 600; }
.nov-lista .nov-nueva::before { background: #e04a2a; box-shadow: 0 0 8px rgba(224,74,42,.7); }
.nov-lista .nov-nueva b::after { content: "NUEVO"; margin-left: 10px; padding: 2px 7px; vertical-align: 2px; font-family: Cinzel, serif; font-weight: 700; font-size: 11px; letter-spacing: .12em; color: #ffe9d6; background: #8a1a10; }
html[lang="en"] .nov-lista .nov-nueva b::after { content: "NEW"; }
.nov-tambien { margin-top: 64px; padding: 28px 32px; background: rgba(0,0,0,.45); border: 1px solid #2e261c; }
.nov-tambien h3 { margin: 0; font-family: Cinzel, serif; font-weight: 700; font-size: 19px; letter-spacing: .06em; color: #c7b377; }
.nov-tambien ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 32px; }
.nov-tambien li { font-size: 17px; line-height: 1.5; color: #b7ab98; }
.nov-tambien b { color: #e9d9a6; font-weight: 600; }
.nov-tarjetas { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.nov-tarjetas li { background: linear-gradient(180deg, #1a130e, #0d0907); }
.nov-tarjetas a { display: block; height: 100%; box-sizing: border-box; padding: 26px 28px; text-decoration: none; color: #b7ab98; }
.nov-tarjetas a:hover h3 { color: #fff3cf; }
.nov-tag { font-family: Cinzel, serif; font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #e04a2a; }
.nov-tarjetas h3 { margin: 8px 0 6px; font-family: Cinzel, serif; font-weight: 800; font-size: 24px; color: #e9d9a6; }
.nov-tarjetas p { margin: 0; font-size: 18px; line-height: 1.5; }
@media (max-width: 1100px) {
  .nov-principal { grid-template-columns: 360px minmax(0, 1fr); gap: 40px; }
  .nov-tambien ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .s-novedades { padding-top: 80px; padding-bottom: 90px; }
  .nov-principal { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 36px; }
  .nov-panel { justify-self: center; }
}
@media (max-width: 620px) {
  .s-novedades h2 { font-size: clamp(26px, 8.2vw, 40px); }
  .s-novedades .fila-titulo p { align-self: flex-start; }
  .nov-panel .frame { width: 300px; }
  .nov-panel img { image-rendering: auto; }
  .nov-tambien { padding: 22px 18px; }
  .nov-tambien ul, .nov-tarjetas { grid-template-columns: minmax(0, 1fr); }
  .nov-lista li { font-size: 17.5px; }
}

/* descarga del launcher cerrada (2026-11-11): boton sin enlace */
.btn-blood.btn-cerrado, .btn-blood.btn-cerrado:hover { cursor: not-allowed; filter: grayscale(.85) brightness(.75); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 0 0 1px #000; }
.btn-blood.btn-cerrado svg { display: none; }

/* Trades por runas (2026-11-13): /trades y su bloque en Nuevas funcionalidades */
.nov-movil + .nov-trades { padding-bottom: 64px; border-bottom: 1px solid #2e261c; }
.nov-trades .nov-panel img { image-rendering: auto; display: block; width: 100%; height: auto; }
.trades-texto .trades-boton { margin-top: 30px; }
.trades .trd-resumen { margin-top: 48px; }
.trades .trd-resumen .mov-tabla { margin-top: 0; }
.trades .mov-cap.mov-sin-foto:has(.mov-tabla) { max-width: 1240px; }
.trades .trd-pasos { counter-reset: paso; }
.trades .trd-pasos li { counter-increment: paso; padding-left: 40px; }
.trades .trd-pasos li::before { content: counter(paso); transform: none; top: 14px; left: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #e04a2a; color: #fff; font-family: Cinzel, serif; font-weight: 800; font-size: 14px; }
.trades .mov-foto figcaption { margin-top: 12px; font-size: 16px; color: #8f8170; text-align: center; }
.trades .trd-alta { width: 100%; max-width: 430px; justify-self: center; }
.trades .trd-texto { max-width: 60ch; color: #b7ab98; }
.trades .trd-lista { margin-top: 28px; }
.trades .trd-lista .frame { border-radius: 14px; border-width: 4px; }
.trades .mov-gesto a { color: #e9d9a6; }
.trades .trd-lista { max-width: 860px; }

/* Modo espera ("Próximamente", 2026-11-13): las páginas legales llevan una cabecera mínima, sin el menú del sitio */
.cabecera-espera { justify-content: space-between; }
.cabecera-espera .espera-logo img { height: 24px; width: auto; }
.cabecera-espera .idioma { font-family: Cinzel, serif; font-weight: 700; font-size: 13px; letter-spacing: .09em; color: #e8e4da; text-decoration: none; padding: 10px; }
.cabecera-espera .idioma:hover { color: #efdca0; }

/* ======== Campeones de torneos (2026-11-15): lista con filtro por clase y visor de la figura del juego (js/campeones.js) ======== */
.campeones { padding: 80px clamp(16px, 5vw, 80px) 120px; background: radial-gradient(ellipse 60% 30% at 50% 0%, rgba(210,190,120,.10), rgba(7,5,4,0) 70%); font-size: 20px; line-height: 1.55; }
.cmp-portada h1 { margin: 0; font-family: Cinzel, serif; font-weight: 900; font-size: clamp(38px, 5.4vw, 76px); line-height: 1; color: #f3e2ac; text-shadow: 0 4px 0 #000, 0 0 40px rgba(240,220,160,.18); }
.cmp-portada .bajada { margin: 22px 0 0; font-size: 21px; line-height: 1.55; color: #b7ab98; max-width: 56ch; }
.cmp-portada b { color: #e9d9a6; font-weight: 500; }
.cmp-lista { margin-top: 48px; background: linear-gradient(180deg, #120d09, #0a0705); }
.cmp-lista .band-title { margin: 0; }
.cmp-filtro { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 16px; border-bottom: 1px solid #2e261c; }
.cmp-filtro button { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 4px 12px 4px 4px; font-family: Cinzel, serif; font-weight: 700; font-size: 13px; letter-spacing: .08em; color: #b7ab98; background: #0d0907; border: 1px solid #3a2e20; cursor: pointer; }
.cmp-filtro button img, .cmp-todos { width: 38px; height: 38px; border: 1px solid #2a2018; }
.cmp-todos { display: inline-block; background: radial-gradient(circle at 50% 60%, rgba(240,225,170,.55), rgba(240,225,170,0) 60%), #17110c; }
.cmp-filtro button:hover { color: #efdca0; border-color: #6b5636; }
.cmp-filtro button[aria-pressed="true"] { color: #fff3cf; border-color: #c7b377; background: linear-gradient(180deg, #3a2c20, #1d150f); box-shadow: inset 0 1px 0 rgba(255,230,170,.25); }
.cmp-encabezado, .cmp-fila { display: grid; grid-template-columns: 76px minmax(0, 1.4fr) minmax(0, 1fr) 150px; gap: 18px; align-items: center; }
.cmp-encabezado { padding: 10px 16px; font-family: Cinzel, serif; font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #8f8170; border-bottom: 1px solid #2e261c; }
.cmp-filas { list-style: none; margin: 0; padding: 0; }
.cmp-filas li + li { border-top: 1px solid #1f1812; }
.cmp-fila { width: 100%; padding: 8px 16px; background: none; border: 0; text-align: left; color: inherit; font: inherit; cursor: pointer; }
.cmp-fila:hover, .cmp-fila:focus-visible { background: linear-gradient(90deg, rgba(199,179,119,.10), rgba(199,179,119,0) 80%); }
.cmp-mini { position: relative; display: grid; place-items: end center; height: 84px; }
.cmp-mini:before { content: ""; position: absolute; left: 8px; right: 8px; bottom: 2px; height: 12px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(240,225,170,.30), rgba(240,225,170,0) 70%); }
.cmp-mini img { position: relative; max-height: 84px; width: auto; image-rendering: pixelated; }
.cmp-quien b { display: block; font-family: Cinzel, serif; font-weight: 800; font-size: 22px; line-height: 1.15; color: #f3e2ac; overflow-wrap: anywhere; }
.cmp-quien small { display: block; font-size: 16px; color: #b7ab98; }
.cmp-torneo { font-size: 18px; color: #d9cfbf; }
.cmp-fecha { font-size: 17px; color: #8f8170; text-align: right; font-variant-numeric: tabular-nums; }
.cmp-ninguno { margin: 0; padding: 28px 16px; color: #8f8170; font-style: italic; text-align: center; }
.campeones.cargando .cmp-encabezado, .campeones.sin-campeones .cmp-encabezado, .campeones.sin-campeones .cmp-filtro { display: none; }
.cmp-vacio { padding: 36px 16px 56px; text-align: center; }
.cmp-vacio-escena { position: relative; height: 240px; display: grid; place-items: center; }
.cmp-vacio-escena:after { content: ""; position: absolute; left: 50%; bottom: 40px; width: 220px; height: 34px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse at center, rgba(240,225,170,.22), rgba(240,225,170,0) 70%); }
.cmp-vacio-escena canvas { position: relative; z-index: 1; width: min(462px, 92%); height: auto; image-rendering: pixelated; }
.cmp-vacio-texto { margin: 8px auto 0; max-width: 34ch; font-size: clamp(21px, 2.4vw, 27px); line-height: 1.4; color: #e9d9a6; }

/* Visor: el campeón girando */
html.cmp-abierto { overflow: hidden; }
.cmp-visor { width: min(1280px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; background: none; color: #d9cfbf; overflow: visible; }
.cmp-visor::backdrop { background: rgba(3,2,1,.82); backdrop-filter: blur(3px); }
.cmp-v-marco { position: relative; display: flex; flex-direction: column; align-items: center; max-height: calc(100dvh - 32px); padding: 22px 24px 20px; overflow: auto; background: radial-gradient(ellipse 55% 45% at 50% 52%, rgba(240,225,170,.10), rgba(0,0,0,0) 70%), linear-gradient(180deg, #120d09, #070504); text-align: center; }
.cmp-v-cerrar { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; font-size: 30px; line-height: 1; color: #c7b377; background: none; border: 1px solid transparent; cursor: pointer; }
.cmp-v-cerrar:hover { color: #fff3cf; border-color: #4a3b28; }
.cmp-v-torneo.acto-sobre { margin: 6px 48px 0; font-size: 15px; letter-spacing: .18em; text-transform: uppercase; }
.cmp-v-escena { position: relative; width: 100%; height: min(56dvh, 620px); min-height: 220px; display: grid; place-items: center; overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.cmp-v-escena.arrastrando { cursor: grabbing; }
.cmp-v-escena:before { content: ""; position: absolute; left: 50%; bottom: var(--pie, 6%); width: min(46%, 360px); height: 44px; transform: translate(-50%, 50%); border-radius: 50%; background: radial-gradient(ellipse at center, rgba(240,225,170,.20), rgba(240,225,170,0) 70%); pointer-events: none; }
.cmp-v-escena canvas { position: relative; image-rendering: pixelated; }
.cmp-visor.cargando .cmp-v-escena canvas { opacity: .25; }
.cmp-v-nombre { margin: 4px 0 0; font-family: Cinzel, serif; font-weight: 900; font-size: clamp(34px, 6vw, 64px); line-height: 1.05; color: #f3e2ac; text-shadow: 0 3px 0 #000, 0 0 36px rgba(240,220,160,.25); overflow-wrap: anywhere; }
.cmp-v-datos { margin: 10px 0 0; font-size: 19px; color: #b7ab98; }
.cmp-v-datos b { color: #e9d9a6; font-weight: 500; }
.cmp-v-mandos { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; width: 100%; margin-top: 18px; padding-top: 14px; border-top: 1px solid #2e261c; }
.cmp-v-mandos button { min-height: 44px; padding: 0 14px; font-family: Cinzel, serif; font-weight: 700; font-size: 14px; letter-spacing: .06em; color: #c7b377; background: #0d0907; border: 1px solid #3a2e20; cursor: pointer; }
.cmp-v-mandos button:hover { color: #fff3cf; border-color: #6b5636; }
.cmp-v-girar-grupo { display: inline-flex; align-items: center; gap: 10px; }
.cmp-v-girar { width: 44px; padding: 0 !important; font-size: 20px !important; }
.cmp-v-ayuda { font-size: 16px; font-style: italic; color: #8f8170; }
@media (max-width: 820px) {
  .campeones { padding-top: 48px; padding-bottom: 80px; }
  .cmp-encabezado { display: none; }
  .cmp-fila { grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 14px; row-gap: 0; padding: 8px 12px; }
  .cmp-mini { grid-row: 1 / span 3; height: 76px; }
  .cmp-mini img { max-height: 76px; }
  .cmp-quien b { font-size: 20px; }
  .cmp-torneo, .cmp-fecha { grid-column: 2; font-size: 15px; text-align: left; color: #8f8170; }
  .cmp-filtro { gap: 5px; padding: 10px; }
  .cmp-filtro button { padding: 3px 8px 3px 3px; gap: 6px; font-size: 12px; min-height: 44px; }
  .cmp-filtro button img, .cmp-todos { width: 32px; height: 32px; }
}
@media (max-width: 620px) {
  .cmp-visor { width: 100vw; max-width: 100vw; max-height: 100dvh; margin: 0; }
  .cmp-v-marco { min-height: 100dvh; max-height: 100dvh; padding: 16px 16px 14px; border: 0; box-shadow: none; justify-content: center; }
  .cmp-v-escena { height: min(46dvh, 72vw); min-height: 180px; }
  .cmp-v-datos { font-size: 17px; }
  .cmp-v-mandos { justify-content: center; }
  .cmp-v-otro { flex: 1 1 40%; }
  .cmp-v-girar-grupo { order: -1; flex: 1 1 100%; justify-content: center; }
}

/* celular acostado o notebook muy baja: todo más compacto para que la escena tenga lugar sin desplazar */
@media (max-height: 540px) and (orientation: landscape) {
  .cmp-visor { width: 100vw; max-width: 100vw; max-height: 100dvh; margin: 0; }
  .cmp-v-marco { min-height: 100dvh; max-height: 100dvh; padding: 6px 16px 6px; justify-content: center; }
  .cmp-v-torneo.acto-sobre { margin-top: 2px; font-size: 12px; }
  .cmp-v-escena { height: calc(100dvh - 150px); min-height: 150px; }
  .cmp-v-nombre { margin: 0; font-size: 26px; }
  .cmp-v-datos { margin: 2px 0 0; font-size: 14px; }
  .cmp-v-mandos { margin-top: 6px; padding-top: 6px; }
  .cmp-v-mandos button { min-height: 38px; }
  .cmp-v-ayuda { display: none; }
}

/* ======== Descargas (2026-11-15): /descargar y /en/download, tabla por sistema y guías (js/descargar.js resalta la fila) ======== */
.descargas .dsc-detectado { margin-top: 34px; max-width: 760px; padding: 22px 26px 24px; background: linear-gradient(180deg, #2a0f0b, #120806); border-color: #8a2a1a; }
.descargas .dsc-det-titulo { margin: 0; font-family: Cinzel, serif; font-weight: 700; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: #e04a2a; }
.descargas .dsc-detectado [data-para] p { margin: 8px 0 18px; font-size: 19px; color: #d9cfbf; }
.descargas .dsc-detectado [data-para="ios"] p { margin-bottom: 0; }
.dsc-btn { height: 48px; padding: 0 24px; gap: 10px; font-size: 14px; letter-spacing: .08em; text-align: center; }
.btn-stone.dsc-btn { justify-content: center; }
.btn-apagado, .btn-apagado:hover { cursor: default; color: #a99d8c; border-color: #4a3b28; filter: saturate(.4); }
.dsc-elegir { margin-top: 64px; scroll-margin-top: 24px; }
.dsc-tabla { width: 100%; margin-top: 28px; border-collapse: collapse; background: linear-gradient(180deg, #140f0b, #0b0806); border: 1px solid #2e261c; }
.dsc-tabla thead th { padding: 14px 20px; font-family: Cinzel, serif; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #8f8170; text-align: left; border-bottom: 1px solid #3a2e20; }
.dsc-tabla tbody th, .dsc-tabla td { padding: 22px 20px; border-top: 1px solid #2e261c; vertical-align: middle; text-align: left; font-weight: 400; }
.dsc-tabla tbody th { width: 30%; }
.dsc-tabla td { font-size: 18px; line-height: 1.5; color: #b7ab98; }
.dsc-tabla td:nth-child(2) { width: 17%; }
.dsc-tabla td b { color: #e9d9a6; font-weight: 600; }
.dsc-so { display: flex; align-items: center; gap: 16px; }
.dsc-icono { flex: none; color: #c7b377; }
.dsc-so b { display: block; font-family: Cinzel, serif; font-weight: 700; font-size: 19px; line-height: 1.2; color: #e9d9a6; }
.dsc-so small { display: block; margin-top: 4px; font-size: 15.5px; line-height: 1.35; color: #8f8170; }
.dsc-tuyo { display: none; margin: 12px 0 0 56px; padding: 4px 10px; background: #c9361d; color: #fff; font-family: Cinzel, serif; font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.dsc-accion { width: 1%; white-space: nowrap; text-align: center !important; }
.dsc-accion small { display: block; margin-top: 8px; font-size: 14px; color: #8f8170; }
.dsc-recomendado { background: rgba(150,20,10,.16); }
.dsc-recomendado > :first-child { box-shadow: inset 4px 0 0 #e04a2a; }
.dsc-recomendado .dsc-tuyo { display: inline-block; }
.dsc-recomendado .dsc-icono { color: #efdca0; }
.dsc-nota { max-width: 70ch; font-size: 17px; font-style: italic; color: #8f8170; }
.dsc-cap { margin-top: 96px; scroll-margin-top: 24px; }
.historia .dsc-texto { max-width: 66ch; color: #b7ab98; }
.descargas .requisitos { margin: 28px 0 0; }
.dsc-pasos { list-style: none; margin: 20px 0 0; padding: 0; counter-reset: paso; max-width: 860px; }
.dsc-pasos li { position: relative; counter-increment: paso; padding: 13px 0 13px 42px; border-top: 1px solid #2e261c; font-size: 18.5px; line-height: 1.5; color: #b7ab98; }
.dsc-pasos li::before { content: counter(paso); position: absolute; left: 0; top: 14px; width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center; background: #e04a2a; color: #fff; font-family: Cinzel, serif; font-weight: 800; font-size: 14px; }
.dsc-avisos { list-style: none; margin: 22px 0 0; padding: 0; max-width: 860px; }
.dsc-avisos li { position: relative; padding: 12px 0 12px 26px; border-top: 1px solid #2e261c; font-size: 18.5px; line-height: 1.5; color: #b7ab98; }
.dsc-avisos li::before { content: ""; position: absolute; left: 3px; top: 22px; width: 7px; height: 7px; transform: rotate(45deg); background: #8a744a; }
.dsc-dos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 34px; align-items: start; }
.dsc-guia { padding: 28px 30px 26px; background: linear-gradient(180deg, #1a130e, #0d0907); }
.dsc-guia h3 { margin: 6px 0 0; font-family: Cinzel, serif; font-weight: 800; font-size: 26px; color: #e9d9a6; }
.dsc-guia > p:not(.dsc-guia-sobre) { color: #b7ab98; font-size: 18.5px; }
.historia .dsc-guia-sobre { margin: 0; font-family: Cinzel, serif; font-weight: 700; font-size: 13px; letter-spacing: .16em; color: #e04a2a; }
.dsc-guia .dsc-pasos li { font-size: 17.5px; }
.historia .dsc-chico { margin-top: 14px; font-size: 16px; color: #8f8170; }
.descargas code { padding: 1px 6px; background: #120c08; border: 1px solid #2e261c; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .86em; color: #e4ddd0; overflow-wrap: anywhere; }
@media (max-width: 1100px) { .dsc-tabla tbody th { width: 34%; } }
@media (max-width: 900px) {
  .dsc-dos { grid-template-columns: minmax(0, 1fr); }
  .dsc-cap { margin-top: 64px; }
  /* La tabla pasa a tarjetas: una por sistema, la del visitante primero */
  .dsc-tabla, .dsc-tabla tbody, .dsc-tabla tr, .dsc-tabla th, .dsc-tabla td { display: block; width: auto !important; }
  .dsc-tabla { background: none; border: 0; }
  .dsc-tabla thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .dsc-tabla tbody { display: flex; flex-direction: column; gap: 16px; }
  .dsc-tabla tr { padding: 20px 20px 22px; background: linear-gradient(180deg, #1a130e, #0d0907); border: 1px solid #2e261c; }
  .dsc-tabla tbody th, .dsc-tabla td { padding: 0; border: 0; }
  .dsc-tabla td { margin-top: 14px; font-size: 17.5px; }
  .dsc-tabla td[data-et]::before { content: attr(data-et); display: block; margin-bottom: 2px; font-family: Cinzel, serif; font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #8f8170; }
  .dsc-accion { white-space: normal; text-align: left !important; }
  .dsc-accion .dsc-btn { width: 100%; box-sizing: border-box; }
  .dsc-accion small { text-align: center; }
  .dsc-recomendado { order: -1; border-color: #c8402f !important; background: linear-gradient(180deg, #2a0f0b, #120806) !important; }
  .dsc-recomendado > :first-child { box-shadow: none; }
  .dsc-tuyo { margin-left: 56px; }
}
@media (max-width: 620px) {
  .descargas .dsc-detectado { padding: 18px 18px 20px; }
  .descargas .dsc-detectado .dsc-btn { width: 100%; box-sizing: border-box; }
  .dsc-guia { padding: 22px 18px 20px; }
  .dsc-guia h3 { font-size: 23px; }
  .dsc-pasos li, .dsc-avisos li { font-size: 17.5px; }
}
.historia .dsc-dos + .dsc-texto { margin-top: 34px; }
.descargas code { white-space: nowrap; }
.dsc-accion .dsc-btn { min-width: 184px; box-sizing: border-box; }
@media (max-width: 620px) { .descargas code { white-space: normal; } }

/* Descargas: contador (2026-11-17). Los números salen de /datos/descargas.json (lo escribe el VPS web cada 5 minutos,
   D2GS/servidor-web/descargas/contar.py) y los pone js/descargar.js; sin el JSON, o en 0, no se ve nada. */
.dsc-titulo { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px 40px; flex-wrap: wrap; }
.dsc-total { margin: 0 0 10px; display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.historia .dsc-total { margin-top: 0; }
.dsc-total b { font-family: Cinzel, serif; font-weight: 800; font-size: clamp(30px, 3vw, 40px); line-height: 1; letter-spacing: .02em; color: #efdca0; text-shadow: 0 2px 0 #000, 0 0 28px rgba(200,30,15,.35); font-variant-numeric: lining-nums tabular-nums; }
.dsc-total span { margin-top: 8px; font-family: Cinzel, serif; font-weight: 700; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #8f8170; }
.dsc-accion small.dsc-cuenta { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 5px; font-size: 14px; line-height: 1.3; color: #8f8170; font-variant-numeric: lining-nums tabular-nums; }
.dsc-cuenta::before { content: ""; flex: none; width: 11px; height: 11px; background: #8a744a;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12M6 11l6 6 6-6M4 21h16'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12M6 11l6 6 6-6M4 21h16'/%3E%3C/svg%3E") center / contain no-repeat; }
.historia .dsc-cuenta b { color: #c7b377; font-weight: 600; }
/* Entre 901 y 1100 px el botón apagado de Google Play (una sola línea) dejaba "Qué trae" en una columna de ~130 px */
@media (min-width: 901px) and (max-width: 1100px) { .dsc-accion .btn-apagado { width: 216px; height: auto; min-height: 48px; padding: 10px 16px; white-space: normal; line-height: 1.35; } }
@media (max-width: 900px) {
  .dsc-total { flex-direction: row; align-items: baseline; gap: 10px; text-align: left; }
  .dsc-total b { font-size: 26px; }
  .dsc-total span { margin-top: 0; }
}

/* Descargas: proporción de las guías (2026-11-15, pedido del dueño): tarjetas de igual alto, más aire, números centrados */
.dsc-dos { gap: 36px; margin-top: 40px; align-items: stretch; }
.dsc-guia { display: flex; flex-direction: column; padding: 36px 40px 32px; }
.dsc-guia h3 { margin: 10px 0 6px; font-size: 28px; }
.dsc-pasos { margin-top: 24px; }
.dsc-pasos li, .dsc-guia .dsc-pasos li { min-height: 34px; padding: 18px 0 18px 52px; font-size: 18.5px; line-height: 1.6; }
.dsc-pasos li::before { top: 50%; transform: translateY(-50%); width: 32px; height: 32px; line-height: 1; font-size: 15px; font-variant-numeric: lining-nums; padding-top: 1px; box-sizing: border-box; }
.dsc-guia > p:last-child { margin-top: auto; padding-top: 18px; }
@media (max-width: 820px) {
  .dsc-dos { gap: 24px; }
  .dsc-guia { padding: 26px 22px 24px; }
  .dsc-pasos li, .dsc-guia .dsc-pasos li { padding: 15px 0 15px 46px; font-size: 17.5px; }
  .dsc-pasos li::before { width: 29px; height: 29px; font-size: 14px; }
}
.dsc-pasos-kb li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 28px; }
.dsc-kb { display: inline-flex; gap: 10px; }
.dsc-kb-btn { height: 42px; min-width: 104px; padding: 0 16px; justify-content: center; font-size: 13px; letter-spacing: .08em; box-sizing: border-box; }
@media (max-width: 620px) {
  .dsc-pasos-kb li { grid-template-columns: minmax(0, 1fr); }
  .dsc-kb { display: flex; }
  .dsc-kb-btn { flex: 1 1 0; }
}

/* ======== Horno de Hechizos (2026-11-16): /horno y /en/charm-forge; tablas de generar_horno.py (fuente/datos/horno.json) ======== */
.horno .hrn-resumen .mov-tabla { margin-top: 0; }
.horno .mov-portada .bajada { max-width: 60ch; }
.horno .mov-portada .bajada b { color: #e9d9a6; }
.hrn-sub { margin: 56px 0 0; font-family: Cinzel, serif; font-weight: 800; font-size: 26px; color: #e9d9a6; }
.hrn-sub + .dsc-texto { margin-top: 6px; }
/* ingredientes: fichas del mismo alto en todas las filas */
.hrn-ings { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hrn-ing { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 10px; box-sizing: border-box; background: #120c08; border: 1px solid #3a2e20;
  font-size: 16.5px; line-height: 1; color: #e4ddd0; white-space: nowrap; }
.hrn-runa { padding-left: 5px; font-family: Cinzel, serif; font-weight: 700; font-size: 15px; letter-spacing: .04em; color: #e9d9a6; }
.hrn-runa img { width: 30px; height: 30px; }
.hrn-extra { border-color: #6b5636; background: linear-gradient(180deg, #231a11, #140e09); color: #e9d9a6; }
.hrn-base { color: #8f8fff; font-style: italic; }
.hrn-gema i, .hrn-rama-gema i, .hrn-gema-celda i { flex: none; display: inline-block; width: 10px; height: 10px; transform: rotate(45deg); background: var(--gema); box-shadow: 0 0 6px var(--gema); }
.hrn-gema { padding-left: 14px; }
.g-rubi { --gema: #e0302a; } .g-zafiro { --gema: #3b7cf0; } .g-esmeralda { --gema: #34b458; } .g-topacio { --gema: #e8bd2e; }
.g-amatista { --gema: #a45ae0; } .g-diamante { --gema: #e9eef3; } .g-craneo { --gema: #cbbd9f; }
.hrn-ings-grandes { margin-top: 18px; }
.hrn-ings-grandes .hrn-ing { height: 48px; padding-right: 18px; font-size: 16px; }
.hrn-ings-grandes .hrn-runa img { width: 38px; height: 38px; }
.hrn-dicc .hrn-ings { margin-top: 16px; }
.hrn-dicc .dsc-guia > p:last-child { margin-top: 18px; padding-top: 0; }
.hrn-aviso { margin-top: 28px; max-width: 760px; padding: 22px 26px 24px; background: linear-gradient(180deg, #2a0f0b, #120806); border-color: #8a2a1a; }
.hrn-aviso .dsc-det-titulo { margin: 0; font-family: Cinzel, serif; font-weight: 700; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: #e04a2a; }
.historia .hrn-aviso p:not(.dsc-det-titulo) { margin: 8px 0 0; font-size: 19px; color: #d9cfbf; }
/* qué rama da cada gema */
.hrn-gemas { width: 100%; margin-top: 22px; table-layout: fixed; border-collapse: collapse; background: linear-gradient(180deg, #140f0b, #0b0806); border: 1px solid #2e261c; }
.hrn-gemas thead th { padding: 14px 20px; font-family: Cinzel, serif; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #8f8170; text-align: left; border-bottom: 1px solid #3a2e20; }
.hrn-gemas tbody th, .hrn-gemas td { height: 64px; padding: 0 20px; border-top: 1px solid #2e261c; text-align: left; vertical-align: middle; font-weight: 400; }
.hrn-gemas tbody th b { display: block; font-family: Cinzel, serif; font-weight: 700; font-size: 18px; color: #e9d9a6; }
.hrn-gemas tbody th small { display: block; margin-top: 2px; font-size: 15px; color: #8f8170; }
.hrn-gema-celda { display: inline-flex; align-items: center; gap: 12px; font-size: 17.5px; line-height: 1.25; color: #d9cfbf; }
/* tablas de recetas: las mismas columnas en todas las clases */
.hrn-clase { margin-top: 96px; scroll-margin-top: 24px; }
.hrn-clase-cab { display: flex; align-items: center; gap: 18px; }
.hrn-clase-cab img { width: 64px; height: 64px; border: 1px solid #4a3b28; box-shadow: 0 0 0 1px #000, 0 0 0 3px #17110c; }
.historia .hrn-clase-cab h2 { margin: 0; }
.historia .hrn-clase-cab p { margin: 6px 0 0; font-family: Cinzel, serif; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #8f8170; }
.hrn-tabla { width: 100%; margin-top: 26px; table-layout: fixed; border-collapse: collapse; background: linear-gradient(180deg, #140f0b, #0b0806); border: 1px solid #2e261c; }
.hrn-c-sale { width: 37%; } .hrn-c-nivel { width: 112px; }
.hrn-tabla thead th { padding: 14px 20px; font-family: Cinzel, serif; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #8f8170; text-align: left; border-bottom: 1px solid #3a2e20; }
.hrn-tabla abbr { text-decoration: none; }
.hrn-tabla thead .hrn-nivel, .hrn-tabla td.hrn-nivel { text-align: right; padding-right: 28px; }
.hrn-rama-cab th { padding: 0 20px; height: 56px; background: linear-gradient(180deg, #241a12, #150f0a); border-top: 1px solid #3a2e20; border-bottom: 1px solid #2e261c; text-align: left; font-weight: 400; }
.hrn-rama-fila { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 6px 22px; }
.hrn-rama-nombre { font-family: Cinzel, serif; font-weight: 800; font-size: 19px; letter-spacing: .03em; color: #e9d9a6; }
.hrn-rama-prop { font-size: 16.5px; color: #8f8fff; }
.hrn-rama-gema { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; color: #b7ab98; white-space: nowrap; }
.hrn-rama tr:not(.hrn-rama-cab) th, .hrn-rama tr:not(.hrn-rama-cab) td { height: 76px; padding: 0 20px; border-top: 1px solid #241c14; vertical-align: middle; text-align: left; font-weight: 400; }
.hrn-rama tr:nth-child(2) th, .hrn-rama tr:nth-child(2) td { border-top: 0; }
.hrn-sale { display: block; font-size: 18px; line-height: 1.3; color: #8f8fff; }
.hrn-rama th small { display: block; margin-top: 3px; font-size: 15px; line-height: 1.3; font-style: italic; color: #8f8170; }
.hrn-nivel span { font-family: Cinzel, serif; font-weight: 700; font-size: 21px; font-variant-numeric: lining-nums tabular-nums; color: #e9d9a6; }
.hrn-tabla-esp .hrn-rama tr:not(.hrn-rama-cab) th, .hrn-tabla-esp .hrn-rama tr:not(.hrn-rama-cab) td { height: auto; padding-top: 16px; padding-bottom: 16px; }
.hrn-tabla-esp .hrn-rama tr:not(.hrn-rama-cab) th { min-height: 76px; }
.hrn-clase .dsc-nota { margin-top: 18px; }
@media (max-width: 1100px) { .hrn-c-sale { width: 32%; } .hrn-c-nivel { width: 88px; } .hrn-rama tr:not(.hrn-rama-cab) td:not(.hrn-nivel) { padding-left: 14px; padding-right: 10px; } .hrn-ings { gap: 6px; } .hrn-recetas .hrn-ing { gap: 6px; padding: 0 10px 0 8px; font-size: 15.5px; } .hrn-recetas .hrn-runa { padding-left: 4px; font-size: 14px; } .hrn-recetas .hrn-gema { padding-left: 12px; } .hrn-tabla thead .hrn-nivel, .hrn-tabla td.hrn-nivel { padding-right: 20px; } .hrn-rama-fila { grid-template-columns: auto minmax(0, 1fr); } .hrn-rama-gema { grid-column: 1 / -1; padding: 0 0 12px; } .hrn-rama-cab th { height: auto; padding-top: 12px; } }
@media (max-width: 900px) {
  .hrn-clase { margin-top: 64px; }
  /* las tablas pasan a tarjetas: una por rama, una fila por receta */
  .hrn-tabla, .hrn-tabla tbody, .hrn-tabla tr, .hrn-tabla th, .hrn-tabla td,
  .hrn-gemas, .hrn-gemas tbody, .hrn-gemas tr, .hrn-gemas th, .hrn-gemas td { display: block; width: auto !important; }
  .hrn-tabla colgroup { display: none; }
  .hrn-tabla, .hrn-gemas { background: none; border: 0; margin-top: 20px; }
  .hrn-tabla thead, .hrn-gemas thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .hrn-tabla tbody, .hrn-gemas tr { margin-top: 16px; background: linear-gradient(180deg, #1a130e, #0d0907); border: 1px solid #2e261c; }
  .hrn-rama-cab th { padding: 14px 18px 12px; }
  .hrn-rama-fila { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .hrn-rama-gema { grid-column: auto; padding: 0; white-space: normal; }
  .hrn-rama tr:not(.hrn-rama-cab) { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "sale nivel" "ing ing"; gap: 12px 16px; padding: 16px 18px 18px; border-top: 1px solid #241c14; }
  .hrn-rama tr:nth-child(2) { border-top: 0; }
  .hrn-rama tr:not(.hrn-rama-cab) th, .hrn-rama tr:not(.hrn-rama-cab) td,
  .hrn-tabla-esp .hrn-rama tr:not(.hrn-rama-cab) th, .hrn-tabla-esp .hrn-rama tr:not(.hrn-rama-cab) td { height: auto; min-height: 0; padding: 0; border: 0; }
  .hrn-rama tr:not(.hrn-rama-cab) th { grid-area: sale; }
  .hrn-rama tr:not(.hrn-rama-cab) td:not(.hrn-nivel) { grid-area: ing; }
  .hrn-rama tr:not(.hrn-rama-cab) td:not(.hrn-nivel) { padding: 0; }
  .hrn-rama tr:not(.hrn-rama-cab) td.hrn-nivel { grid-area: nivel; padding-right: 0; text-align: right; }
  .hrn-tabla td.hrn-nivel::before { content: attr(data-et); display: block; margin-bottom: 2px; font-family: Cinzel, serif; font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #8f8170; }
  .hrn-gemas tr { padding: 6px 18px 8px; }
  .hrn-gemas tbody th { height: auto; padding: 10px 0 8px; border: 0; }
  .hrn-gemas td { display: flex !important; align-items: center; justify-content: space-between; gap: 16px; height: auto; min-height: 48px; padding: 6px 0; border-top: 1px solid #241c14; }
  .hrn-gemas td::before { content: attr(data-et); flex: none; font-family: Cinzel, serif; font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #8f8170; }
  .hrn-gema-celda { justify-content: flex-end; text-align: right; }
}
@media (max-width: 620px) {
  .hrn-sub { margin-top: 44px; font-size: 23px; }
  .hrn-clase-cab img { width: 52px; height: 52px; }
  .hrn-ing { height: 38px; font-size: 16px; }
  .hrn-sale { font-size: 17.5px; }
  .hrn-aviso { padding: 18px 18px 20px; }
}

/* Portada: sección Horno de Hechizos (2026-11-16): mismas tarjetas que las palabras rúnicas, con la receta en lugar de las runas */
.s-horno { padding-top: 40px; }
.s-horno .fila-runas { margin-bottom: 22px; }
.s-horno .runes { align-items: stretch; }
.s-horno .fila-runas .btn-stone { white-space: nowrap; flex: none; }
.horno-bajada { max-width: 62ch; margin: 0 0 44px; font-size: 20px; line-height: 1.55; color: #b7ab98; }
.tt-horno .tt-receta { margin: 6px 0 0; font-size: 16.5px; line-height: 1.45; color: #e0a640; }
@media (max-width: 820px) { .horno-bajada { font-size: 18px; margin-bottom: 30px; } }

/* ======== Auditoría web 2026-11-16 ======== */
/* En una columna (820 o menos) el título y lo que lo acompaña (bajada o botón) van a la izquierda, como el resto */
@media (max-width: 820px) {
  .fila-titulo { align-items: flex-start; }
  .fila-titulo > * { align-self: flex-start; }
}
/* Filtro de clase de /runas: el nombre entra entero aunque la columna sea angosta (Nigromante, Necromancer) */
.f-clases button { container-type: inline-size; }
.f-clases span { font-size: min(11.5px, 17.5cqi); }

/* Pantallas táctiles: todo lo que se toca mide 44 px o más. Donde agrandar la caja cambiaría el diseño (enlaces del pie,
   índices de sección, menú de arriba en tablets, logo), se agranda solo la zona que se puede tocar, con un ::after invisible. */
@media (pointer: coarse) {
  .nav a, .indice a, .foot-legal a, .navphone > a, .tt-caso button, .mov-leyenda a { position: relative; }
  .nav a::after, .indice a::after, .foot-legal a::after, .navphone > a::after, .tt-caso button::after, .mov-leyenda a::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: max(100% + 8px, 44px); height: max(100%, 44px); transform: translate(-50%, -50%); }
  .botonera button, .dsc-kb-btn { min-height: 44px; }
  input[type="range"] { height: 44px; margin: 0; }   /* la barra queda igual (centrada); se agranda la zona para arrastrar */
}

/* Página 404 */
.error404 { max-width: 820px; min-height: 58vh; margin: 0 auto; padding: 110px clamp(20px, 5vw, 40px) 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.error404 h1 { margin: 12px 0 0; font-family: Cinzel, serif; font-weight: 900; font-size: clamp(30px, 5.4vw, 58px); line-height: 1.05; color: #f3e2ac; text-shadow: 0 3px 0 #000, 0 0 40px rgba(200,30,15,.38); text-wrap: balance; }
.error404-texto { margin: 22px 0 0; max-width: 34em; font-size: 20px; line-height: 1.6; color: #b7ab98; }
.error404-adorno { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 34px 0 0; }
.error404-adorno span { height: 1px; width: clamp(60px, 14vw, 160px); background: linear-gradient(90deg, rgba(199,179,119,0), #8a744a); }
.error404-adorno span:last-child { background: linear-gradient(270deg, rgba(199,179,119,0), #8a744a); }
.error404-adorno i { width: 8px; height: 8px; transform: rotate(45deg); background: #b3170f; box-shadow: 0 0 10px rgba(220,40,20,.75); }
.error404-botones { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 36px; }
@media (max-width: 620px) {
  .error404 { padding-top: 72px; padding-bottom: 88px; }
  .error404-texto { font-size: 18px; }
  .error404-botones { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; }
  .error404-botones a { justify-content: center; }
}

/* Contenido de la web (2026-11-16): el panel de la Y con la lista de Recoger misc abierta (468 px, nítido a 1x y 2x) en
   pantallas anchas; más angostas, el panel solo (<picture> en fuente/index.html). */
@media (min-width: 1101px) {
  .nov-mh { grid-template-columns: 468px minmax(0, 1fr); }
  .nov-mh .nov-panel .frame { width: 468px; }
}

/* ======== Menú corto y redes sociales (2026-11-17) ========
   Arriba: Cómo empezar · El juego ▾ (El servidor, Launcher, Interfaz D2R, Lord of Destruction) · Trades · Campeones ·
   El Brujo · Acto VI · redes · idioma. El submenú se abre con el clic o el teclado (js/sitio.js) y, con mouse, también al
   pasar por encima. En el menú del celular las entradas del submenú van sueltas, como antes, y las redes a la derecha
   del botón de idioma. Las redes salen de REDES en herramientas/armar.py ({{REDES}}). */
.nav { align-self: stretch; }
.nav-grupo { position: relative; align-self: stretch; display: flex; align-items: center; }
.nav-abre { display: inline-flex; align-items: center; gap: 7px; padding: 0; border: 0; background: none; font: inherit; letter-spacing: inherit; text-transform: inherit; color: #e8e4da; cursor: pointer; white-space: nowrap; }
.nav-abre:hover, .nav-grupo.abierto .nav-abre { color: #efdca0; }
.nav-flecha { width: 10px; height: 10px; color: #c7b377; transition: transform .18s ease; }
.nav-grupo.abierto .nav-flecha { transform: rotate(180deg); }
.nav-sub { position: absolute; top: 100%; left: 50%; z-index: 6; min-width: 236px; padding: 8px 0; display: flex; flex-direction: column; background: #07090f; border: 1px solid #1c2230; border-top: 1px solid #8a744a; box-shadow: 0 18px 38px rgba(0,0,0,.72); transform: translate(-50%, 6px); opacity: 0; visibility: hidden; transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s; }
.nav-sub::before { content: ""; position: absolute; top: -5px; left: 50%; width: 8px; height: 8px; margin-left: -4px; transform: rotate(45deg); background: #07090f; border-top: 1px solid #8a744a; border-left: 1px solid #8a744a; }
.nav-sub a { display: block; padding: 11px 24px; font-size: 13px; letter-spacing: .09em; white-space: nowrap; }
.nav-sub a:hover, .nav-sub a:focus-visible { color: #efdca0; background: rgba(199,179,119,.07); }
.nav-sub a:focus-visible { outline-offset: -3px; }
.nav-grupo.abierto .nav-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .16s ease, transform .16s ease, visibility 0s; }
@media (hover: hover) { .nav-grupo:hover .nav-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .16s ease, transform .16s ease, visibility 0s; } .nav-grupo:hover .nav-flecha { transform: rotate(180deg); } .nav-grupo:hover .nav-abre { color: #efdca0; } }
@media (prefers-reduced-motion: reduce) { .nav-sub, .nav-flecha { transition: none !important; } }
.nav-redes { display: flex; align-items: center; gap: 4px; padding-left: 14px; border-left: 1px solid #262e3e; }
.nav-redes .red { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; color: #a99c84; }
.nav-redes .red:hover, .nav-redes .red:focus-visible { color: #efdca0; }
.nav-redes svg { width: 18px; height: 18px; }
@media (max-width: 1000px) { .nav-sub a { font-size: 12px; letter-spacing: .07em; } .nav-redes { padding-left: 10px; gap: 2px; } }
/* Pie: logo y redes a la izquierda; legales a la derecha */
.foot-marca { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.foot-redes { display: flex; align-items: center; gap: 8px; font-family: Cinzel, serif; font-weight: 700; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; }
.foot-redes span { margin-right: 6px; color: #c7b377; }
.foot-redes .red { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; box-sizing: border-box; color: #c7b377; border: 1px solid #3a2c1c; border-radius: 3px; transition: color .15s, border-color .15s, background-color .15s; }
.foot-redes .red:hover, .foot-redes .red:focus-visible { color: #f0d9a0; border-color: #c7b377; background: rgba(199,179,119,.08); }
.foot-redes svg { width: 19px; height: 19px; }
@media (pointer: coarse) { .foot-redes .red, .nav-redes .red { width: 44px; height: 44px; } .foot-redes { gap: 6px; } }
/* Menú del celular: el submenú va suelto (las mismas entradas de siempre) y las redes a la derecha del botón de idioma,
   sin tocar la regla del idioma (.nav.abierto .idioma, arreglada hoy) */
@media (max-width: 900px) {
  .nav-grupo, .nav-sub { display: contents; }
  .nav-sub { visibility: visible; opacity: 1; transform: none; transition: none; }   /* visibility se hereda aunque la caja no exista */
  .nav-abre, .nav-sub::before { display: none; }
  .nav-sub a { padding: 0 24px; font-size: inherit; letter-spacing: inherit; }
  .nav-sub a:hover { background: none; }
  .nav.abierto { position: absolute; }
  .nav.abierto .nav-redes { display: flex; position: absolute; right: 16px; bottom: 14px; gap: 4px; padding: 0; border: 0; }
  .nav.abierto .nav-redes .red { min-height: 0; padding: 0; width: 44px; height: 38px; }
  .nav.abierto .nav-redes svg { width: 20px; height: 20px; }
  .nav.abierto > a::after, .nav.abierto .nav-sub a::after { width: 100%; }   /* la zona táctil de 44 px ya la da el renglón; con +8 px se salía 4 px por la derecha */
}
/* Táctil (tablets de 1024 y 1180 con el menú entero): el botón "El juego" también con zona de 44 px, como los enlaces */
@media (pointer: coarse) {
  .nav-abre { position: relative; }
  .nav-abre::after { content: ""; position: absolute; left: 50%; top: 50%; width: max(100% + 8px, 44px); height: max(100%, 44px); transform: translate(-50%, -50%); }
}
