/* =============================================================================
   MaeloWOW Wiki (25/10/2026). Va DESPUES de las hojas de la portada (home-base, home-3d, wow-ui, home-2026,
   home-fx-2026, portada-wow): reutiliza su fondo, barra superior, botones y pie; aqui solo lo propio de la wiki.
   ============================================================================= */
:root {
  --w-oro: #f0c75e; --w-oro-2: #d4a53a; --w-hielo: #8fd0ff; --w-hielo-2: #4f9bd6;
  --w-texto: #e7f2fa; --w-texto-2: #c0d5e5; --w-suave: #90acc1;
  --w-panel: linear-gradient(180deg, rgba(13, 24, 31, .9) 0%, rgba(7, 14, 20, .92) 100%);
  --w-linea: rgba(110, 170, 230, .22); --w-linea-oro: rgba(201, 168, 76, .45);
  --w-radio: 14px;
}
.wiki-main { max-width: 1180px; margin: 0 auto; padding: 0 20px 10px; box-sizing: border-box; }
.wiki-main *, .wiki-hero * { box-sizing: border-box; }

/* ---------- hero ---------- */
.wiki-hero { position: relative; overflow: hidden; margin: 0 0 26px; padding: 64px 20px 54px; text-align: center;
  background: linear-gradient(180deg, rgba(4, 9, 14, .35) 0%, rgba(4, 9, 14, .55) 55%, #060b12 100%),
    radial-gradient(ellipse at 50% 20%, rgba(79, 155, 214, .28), transparent 60%),
    url('/img/maelowowfondo.png') center 35% / cover no-repeat;
  border-bottom: 1px solid var(--w-linea-oro); }
.wiki-hero.is-small { padding: 40px 20px 34px; }
.wiki-hero::after { content: ''; position: absolute; left: 12%; right: 12%; bottom: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, .6), rgba(158, 213, 253, .7), rgba(255, 215, 0, .6), transparent); }
.wiki-hero-in { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.wiki-hero-ico { display: block; width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 12px; background: center / cover no-repeat;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .75), 0 0 0 4px rgba(201, 168, 76, .6), 0 0 26px rgba(143, 208, 255, .5); }
.wiki-hero.is-small .wiki-hero-ico { width: 56px; height: 56px; }
.wiki-hero h1 { margin: 0 0 10px; font: 700 clamp(30px, 5vw, 52px)/1.1 'Friz Quadrata', 'Cinzel', Georgia, serif; color: var(--w-oro);
  text-shadow: 0 2px 0 #000, 0 0 24px rgba(240, 199, 94, .35); letter-spacing: .5px; }
.wiki-hero.is-small h1 { font-size: clamp(26px, 4vw, 40px); }
.wiki-hero p.lead { margin: 0 auto; max-width: 720px; color: var(--w-texto); font: 500 clamp(15px, 2vw, 18px)/1.55 Inter, system-ui, sans-serif;
  text-shadow: 0 1px 3px #000; }
.wiki-migas { margin: 0 0 12px; font: 600 12px Inter, system-ui, sans-serif; letter-spacing: .4px; text-transform: uppercase; color: var(--w-suave); }
.wiki-migas a { color: var(--w-hielo); text-decoration: none; } .wiki-migas a:hover { color: var(--w-oro); }
.wiki-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
.wiki-cta .btn { min-width: 0; }
.btn.btn-hielo { background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .25) 0%, rgba(255, 255, 255, 0) 45%), linear-gradient(180deg, #bfe6ff 0%, #6fb3e6 100%);
  color: #06233a; border-color: rgba(158, 213, 253, .9); }
.btn.btn-oscuro { background: rgba(8, 16, 26, .8); color: var(--w-oro); border-color: var(--w-linea-oro); }

/* insignias de tasas (hero de la portada de la wiki) */
.wiki-insignias { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.wiki-insignias li { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 14px; border-radius: 99px; background: rgba(6, 14, 22, .78);
  border: 1px solid var(--w-linea-oro); color: var(--w-texto-2); font: 600 13px Inter, system-ui, sans-serif; box-shadow: 0 6px 16px rgba(0, 0, 0, .45); }
.wiki-insignias b { color: var(--w-oro); font-size: 16px; }
.wiki-insignias li.is-live { border-color: rgba(127, 240, 200, .7); } .wiki-insignias li.is-live b { color: #7ff0c8; }

/* ---------- columnas: menu + articulo ---------- */
.wiki-cols { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 26px; align-items: start; }
.wiki-menu { position: sticky; top: calc(var(--topbar-h, 56px) + 16px); padding: 14px 10px; border-radius: var(--w-radio); background: var(--w-panel);
  border: 1px solid var(--w-linea); box-shadow: 0 10px 28px rgba(0, 0, 0, .45); }
.wiki-menu h2 { margin: 2px 10px 10px; font: 700 13px Inter, system-ui, sans-serif; letter-spacing: 1.2px; text-transform: uppercase; color: var(--w-suave); }
.wiki-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.wiki-menu a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; color: var(--w-texto-2); text-decoration: none;
  font: 600 14px Inter, system-ui, sans-serif; border: 1px solid transparent; transition: background-color .2s, color .2s, border-color .2s; }
.wiki-menu a:hover { background: rgba(123, 183, 227, .1); color: var(--w-oro); }
.wiki-menu a[aria-current="page"] { background: linear-gradient(90deg, rgba(201, 168, 76, .2), rgba(201, 168, 76, .04)); color: var(--w-oro); border-color: var(--w-linea-oro); }
.wiki-menu img { width: 24px; height: 24px; border-radius: 5px; flex: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, .8), 0 0 0 2px rgba(201, 168, 76, .4); }

/* ---------- articulo ---------- */
.wiki-art { min-width: 0; color: var(--w-texto-2); font: 16px/1.65 Inter, system-ui, sans-serif; }
.w-sec { position: relative; margin: 0 0 22px; padding: 26px 28px; border-radius: var(--w-radio); background: var(--w-panel);
  border: 1px solid var(--w-linea); box-shadow: 0 12px 30px rgba(0, 0, 0, .45); }
.w-sec::before { content: ''; position: absolute; left: 10%; right: 10%; top: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, .5), rgba(158, 213, 253, .65), rgba(255, 215, 0, .5), transparent); }
.w-sec h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font: 700 clamp(21px, 2.6vw, 26px)/1.2 'Friz Quadrata', 'Cinzel', Georgia, serif; color: var(--w-oro); }
.w-sec h2 img { width: 32px; height: 32px; border-radius: 7px; box-shadow: 0 0 0 2px rgba(0, 0, 0, .75), 0 0 0 3px rgba(201, 168, 76, .5); }
.w-sec h3 { margin: 22px 0 8px; font: 700 18px 'Friz Quadrata', 'Cinzel', Georgia, serif; color: var(--w-hielo); }
.w-sec p { margin: 0 0 12px; } .w-sec p:last-child { margin-bottom: 0; }
.w-sec b, .w-sec strong { color: var(--w-texto); }
.w-sec a { color: var(--w-oro); text-decoration: none; border-bottom: 1px solid rgba(240, 199, 94, .35); }
.w-sec a:hover { border-bottom-color: var(--w-oro); }
.w-sec a.btn { border-bottom: 1px solid rgba(255, 215, 0, .7); color: #2a1608; }
.w-sec a.btn.btn-hielo { color: #06233a; } .w-sec a.btn.btn-oscuro { color: var(--w-oro); }
.w-sec ul, .w-sec ol { margin: 0 0 12px; padding-left: 22px; } .w-sec li { margin: 4px 0; }
.w-sec ul.w-check { list-style: none; padding-left: 0; }
.w-sec ul.w-check li { position: relative; padding-left: 28px; }
.w-sec ul.w-check li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 16px; height: 16px; border-radius: 4px;
  background: linear-gradient(135deg, #f0c75e, #b8862b); box-shadow: 0 0 8px rgba(240, 199, 94, .4);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.2 11.6 2.6 8l1.2-1.2 2.4 2.4 6-6L13.4 4.4z'/%3E%3C/svg%3E") center / 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.2 11.6 2.6 8l1.2-1.2 2.4 2.4 6-6L13.4 4.4z'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* tarjetas */
.w-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 6px 0 4px; }
.w-card { position: relative; display: block; padding: 18px 18px 16px; border-radius: 12px; text-decoration: none !important; color: var(--w-texto-2);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0) 50%), rgba(255, 255, 255, .03);
  border: 1px solid var(--w-linea) !important; box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .8); transition: transform .25s, border-color .25s, box-shadow .25s; }
a.w-card:hover { transform: translateY(-4px); border-color: var(--w-linea-oro) !important; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .9), 0 0 20px rgba(143, 208, 255, .15); }
.w-card img.ico { display: block; width: 44px; height: 44px; margin: 0 0 12px; border-radius: 9px;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .75), 0 0 0 3px rgba(201, 168, 76, .55), 0 6px 14px rgba(0, 0, 0, .5); }
.w-card b.t { display: block; margin: 0 0 4px; color: var(--w-oro); font: 700 17px 'Friz Quadrata', 'Cinzel', Georgia, serif; }
.w-card span.d { display: block; font-size: 14px; line-height: 1.5; color: var(--w-texto-2); }
.w-card .num { position: absolute; top: 14px; right: 16px; font: 900 22px Inter, system-ui, sans-serif; color: #7ff0c8; text-shadow: 0 0 12px rgba(127, 240, 200, .35); }
.w-card.is-soon { opacity: .85; } .w-card.is-soon b.t::after { content: 'Soon'; margin-left: 8px; padding: 1px 7px; border-radius: 99px; font: 700 10px Inter, sans-serif;
  vertical-align: middle; letter-spacing: .5px; text-transform: uppercase; color: #06233a; background: var(--w-hielo); }

/* tablas */
.w-tabla-caja { overflow-x: auto; margin: 6px 0 12px; border-radius: 10px; border: 1px solid var(--w-linea); -webkit-overflow-scrolling: touch; }
table.w-tabla { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 420px; }
.w-tabla th, .w-tabla td { padding: 10px 14px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, .07); vertical-align: top; }
.w-tabla thead th { background: rgba(201, 168, 76, .12); color: var(--w-oro); font: 700 13px Inter, sans-serif; letter-spacing: .6px; text-transform: uppercase; }
.w-tabla tbody tr:nth-child(even) { background: rgba(255, 255, 255, .025); }
.w-tabla tbody tr:hover { background: rgba(143, 208, 255, .06); }
.w-tabla td.v { color: #7ff0c8; font-weight: 800; white-space: nowrap; }
.w-tabla td.v.oro { color: var(--w-oro); }
.w-tabla tr:last-child td { border-bottom: 0; }

/* avisos */
.w-nota { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0; padding: 14px 16px; border-radius: 10px; font-size: 15px;
  background: rgba(79, 155, 214, .1); border: 1px solid rgba(110, 170, 230, .35); border-left: 4px solid var(--w-hielo); }
.w-nota.oro { background: rgba(201, 168, 76, .1); border-color: rgba(201, 168, 76, .4); border-left-color: var(--w-oro); }
.w-nota.rojo { background: rgba(214, 64, 64, .1); border-color: rgba(214, 64, 64, .4); border-left-color: #ff6b6b; }
.w-nota img { width: 28px; height: 28px; border-radius: 6px; flex: none; margin-top: 1px; }
.w-nota p { margin: 0; }

/* comandos y teclas */
.w-cmds { display: grid; gap: 10px; margin: 8px 0 14px; }
.w-cmd { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 12px 14px; border-radius: 10px;
  background: rgba(4, 9, 14, .65); border: 1px solid var(--w-linea); }
.w-cmd code { font: 700 15px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #7ff0c8; word-break: break-word; }
.w-cmd .q { grid-column: 1 / -1; font-size: 14px; color: var(--w-texto-2); }
.w-cmd button { font: 700 12px Inter, sans-serif; padding: 6px 10px; border-radius: 7px; cursor: pointer; color: var(--w-oro);
  background: rgba(201, 168, 76, .1); border: 1px solid var(--w-linea-oro); }
.w-cmd button:hover { background: rgba(201, 168, 76, .22); }
.w-cmd button.ok { color: #7ff0c8; border-color: rgba(127, 240, 200, .6); }
.w-cmd .who { font: 700 10px Inter, sans-serif; letter-spacing: .6px; text-transform: uppercase; padding: 2px 7px; border-radius: 99px; margin-left: 8px;
  color: #06233a; background: var(--w-hielo); vertical-align: middle; }
kbd { display: inline-block; min-width: 1.6em; padding: 1px 7px; border-radius: 6px; text-align: center; font: 700 13px/1.5 Inter, sans-serif; color: var(--w-texto);
  background: linear-gradient(180deg, #24384a, #142230); border: 1px solid #3c5a74; border-bottom-width: 3px; }
code.i { font: 700 14px ui-monospace, Menlo, Consolas, monospace; color: #7ff0c8; background: rgba(4, 9, 14, .6); padding: 1px 6px; border-radius: 5px; }

/* pasos */
ol.w-pasos { list-style: none; counter-reset: p; padding: 0; margin: 6px 0 12px; display: grid; gap: 12px; }
ol.w-pasos > li { counter-increment: p; position: relative; padding: 14px 16px 14px 62px; margin: 0; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--w-linea); }
ol.w-pasos > li::before { content: counter(p); position: absolute; left: 14px; top: 12px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font: 900 16px Inter, sans-serif; color: #2a1608; background: linear-gradient(180deg, #ffecc4, #d8b27a); box-shadow: 0 0 0 2px rgba(0, 0, 0, .6), 0 0 14px rgba(240, 199, 94, .35); }

/* capturas */
figure.w-fig { margin: 10px 0 14px; } figure.w-fig img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--w-linea-oro); box-shadow: 0 12px 26px rgba(0, 0, 0, .6); }
figure.w-fig figcaption { margin-top: 6px; font-size: 13px; color: var(--w-suave); text-align: center; }
.w-figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }

/* dos columnas (PC / telefono) */
.w-dos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.w-dos > div { padding: 16px 18px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--w-linea); }
.w-dos h3 { margin-top: 0; }

/* FAQ */
details.w-faq { margin: 0 0 10px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid var(--w-linea); }
details.w-faq summary { cursor: pointer; list-style: none; padding: 13px 44px 13px 16px; position: relative; color: var(--w-texto); font-weight: 700; }
details.w-faq summary::-webkit-details-marker { display: none; }
details.w-faq summary::after { content: '+'; position: absolute; right: 16px; top: 8px; font: 700 24px Inter, sans-serif; color: var(--w-oro); transition: transform .2s; }
details.w-faq[open] summary::after { transform: rotate(45deg); }
details.w-faq[open] { border-color: var(--w-linea-oro); }
details.w-faq > div { padding: 0 16px 14px; }

/* pendiente de confirmar (solo mientras el dato no venga del servidor) */
mark.ph { color: inherit; background: rgba(255, 196, 0, .14); border: 1px dashed rgba(255, 196, 0, .8); border-radius: 5px; padding: 0 4px; }
mark.ph::after { content: 'TBC'; margin-left: 5px; padding: 0 4px; border-radius: 3px; font: 800 9px/1.6 Inter, sans-serif; letter-spacing: .5px; color: #1b1200; background: #ffc400; vertical-align: 2px; }

/* anterior / siguiente y franja final */
.w-pasa { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 22px; }
.w-pasa a { display: block; padding: 14px 18px; border-radius: 12px; text-decoration: none; background: var(--w-panel); border: 1px solid var(--w-linea); color: var(--w-texto-2); font-size: 13px; }
.w-pasa a b { display: block; color: var(--w-oro); font: 700 17px 'Friz Quadrata', 'Cinzel', Georgia, serif; }
.w-pasa a:hover { border-color: var(--w-linea-oro); }
.w-pasa a.sig { text-align: right; grid-column: 2; }
.w-final { position: relative; overflow: hidden; margin: 0 0 26px; padding: 30px 24px; border-radius: var(--w-radio); text-align: center;
  background: linear-gradient(180deg, rgba(4, 9, 14, .55), rgba(4, 9, 14, .85)), url('/img/capturas/elwynn.png') center / cover no-repeat;
  border: 1px solid var(--w-linea-oro); box-shadow: 0 14px 34px rgba(0, 0, 0, .6); }
.w-final h2 { margin: 0 0 6px; font: 700 clamp(22px, 3vw, 30px) 'Friz Quadrata', 'Cinzel', Georgia, serif; color: var(--w-oro); text-shadow: 0 2px 0 #000; }
.w-final p { margin: 0; color: var(--w-texto); text-shadow: 0 1px 3px #000; }
.w-final .wiki-cta { margin-top: 18px; }

/* ---------- telefono ---------- */
@media (max-width: 900px) {
  .wiki-cols { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .wiki-menu { position: static; padding: 10px 8px; }
  .wiki-menu h2 { display: none; }
  .wiki-menu ul { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .wiki-menu li { flex: none; }
  .wiki-menu a { padding: 7px 11px; font-size: 13px; white-space: nowrap; border-color: var(--w-linea); }
  .wiki-menu img { width: 20px; height: 20px; }
}
@media (max-width: 640px) {
  .wiki-main { padding: 0 16px 10px; }
  .wiki-hero { padding: 40px 16px 34px; } .wiki-hero.is-small { padding: 28px 16px 24px; }
  .w-sec { padding: 20px 16px; }
  .w-dos { grid-template-columns: 1fr; }
  .w-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .w-card { padding: 14px 12px; } .w-card img.ico { width: 38px; height: 38px; } .w-card b.t { font-size: 15px; } .w-card span.d { font-size: 13px; }
  .w-card .num { font-size: 17px; top: 12px; right: 10px; }
  .wiki-cta .btn { flex: 1 1 40%; text-align: center; }
  .w-pasa { grid-template-columns: 1fr; } .w-pasa a.sig { grid-column: 1; }
  ol.w-pasos > li { padding-left: 56px; }
  table.w-tabla { min-width: 0; font-size: 14px; }
  .w-tabla th, .w-tabla td { padding: 8px 9px; }
  .w-tabla thead th { font-size: 11px; letter-spacing: .3px; }
}
@media (max-width: 380px) { .w-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .w-card, details.w-faq summary::after { transition: none; } }
