/* Páginas de contenido (guías y textos legales) con el estilo de la web nueva.
   Cabecera de color por página (--hc fondo, --hi texto), índice fijo a la izquierda y el texto a la derecha.
   El HTML del contenido es el de siempre (secciones .guide-sec, tablas .cmd-table, avisos .callout…). */

.phero.doc-hero { --hero-bg: radial-gradient(80% 90% at 74% 38%, color-mix(in srgb, var(--hc) 55%, #fff) 0%, var(--hc) 32%, color-mix(in srgb, var(--hc) 58%, #000) 72%, color-mix(in srgb, var(--hc) 24%, #000) 100%); color: var(--hi); }
.phero.doc-hero .web path { stroke: color-mix(in srgb, var(--hi) 14%, transparent); }
.phero.doc-hero .inner { min-height: 440px; grid-template-columns: minmax(0, 1fr); padding-block: 120px 110px; }
.phero.doc-hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); max-width: 16ch; text-shadow: 0 6px 0 rgba(0,0,0,.18); }
.phero.doc-hero h1 em { font-style: normal; color: inherit; box-shadow: inset 0 -.26em 0 color-mix(in srgb, var(--hi) 22%, transparent); }
.phero.doc-hero .phero-copy > p { max-width: 62ch; font-size: 1.12rem; }
.doc-kicker { align-self: flex-start; font: 900 .78rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.phero.doc-hero .chip { background: rgba(0,0,0,.45); color: #fff; }

/* Índice + texto */
.doc { padding-block: 56px 30px; }
.doc-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; }
.doc-toc { position: sticky; top: 24px; }
.doc-toc details { background: var(--coal); border-radius: 14px; padding: 16px 14px; }
.doc-toc summary { list-style: none; cursor: pointer; font: 900 .74rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); padding: 2px 6px 12px; }
.doc-toc summary::-webkit-details-marker { display: none; }
.doc-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; counter-reset: toc; }
.doc-toc a { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 6px; align-items: baseline; padding: 8px 8px; border-radius: 9px; text-decoration: none; color: var(--steel); font-weight: 800; font-size: .92rem; line-height: 1.3; transition: background .15s, color .15s; }
.doc-toc a span { font: 900 .78rem/1 var(--display); color: color-mix(in srgb, var(--hc) 80%, #fff); }
.doc-toc a:hover { background: var(--coal-2); color: #fff; }
.doc-toc a.on { background: color-mix(in srgb, var(--hc) 18%, var(--coal)); color: #fff; }
.doc-toc a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.doc-body { min-width: 0; max-width: 780px; color: #e6e8ec; font-size: 1.04rem; line-height: 1.72; font-weight: 700; }
.doc-body .guide-sec { scroll-margin-top: 20px; padding-bottom: 34px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.doc-body .guide-sec:last-child { border-bottom: 0; margin-bottom: 0; }
.doc-body h2 { display: flex; align-items: center; gap: 14px; font-size: clamp(1.45rem, 2.6vw, 1.95rem); line-height: 1.05; margin: 0 0 14px; text-transform: uppercase; }
.doc-body h2 .n { flex: none; display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 8px; border-radius: 11px; background: var(--hc); color: var(--hi); font-size: 1rem; box-shadow: 0 4px 0 color-mix(in srgb, var(--hc) 55%, #000); }
.doc-body h3 { font: 800 1.15rem/1.2 var(--display); margin: 22px 0 8px; text-transform: none; }
.doc-body h4 { font: 900 1rem/1.2 var(--display); margin: 0 0 6px; text-transform: none; }
.doc-body p { margin: 0 0 14px; }
.doc-body .guide-lead { font-size: 1.14rem; color: #fff; font-weight: 800; }
.doc-body b, .doc-body strong { color: #fff; font-weight: 900; }
.doc-body em { color: color-mix(in srgb, var(--hc) 70%, #fff); font-style: normal; }
.doc-body a { color: color-mix(in srgb, var(--hc) 70%, #fff); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.doc-body a:hover { color: #fff; }
.doc-body ul, .doc-body ol { margin: 0 0 16px; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.doc-body ul li { position: relative; padding-left: 22px; }
.doc-body ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 3px; background: var(--hc); }
.doc-body ol { counter-reset: paso; }
.doc-body ol li { position: relative; padding-left: 36px; counter-increment: paso; }
.doc-body ol li::before { content: counter(paso); position: absolute; left: 0; top: .1em; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--coal-3); color: #fff; font: 900 .8rem/1 var(--display); }
.doc-body code, .doc-body .cmd { font: 700 .9em/1.2 ui-monospace, "JetBrains Mono", monospace; background: #1c1e25; color: #fff; border: 1px solid #2b2e37; border-radius: 6px; padding: 2px 6px; white-space: nowrap; }

/* Tablas */
.doc-body .cmd-table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 6px 0 18px; font-size: .95rem; background: var(--coal); border-radius: 14px; overflow: hidden; display: block; overflow-x: auto; }
.doc-body .cmd-table thead, .doc-body .cmd-table tbody { display: table; width: 100%; border-collapse: collapse; }
.doc-body .cmd-table th { text-align: left; font: 900 .7rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--steel); background: #0f1014; padding: 13px 16px; }
.doc-body .cmd-table td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.doc-body .cmd-table tr:hover td { background: rgba(255,255,255,.025); }

/* Aviso destacado */
.doc-body .callout { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: start; margin: 8px 0 18px; padding: 16px 18px; border-radius: 14px; background: color-mix(in srgb, var(--hc) 12%, var(--coal)); border-left: 4px solid var(--hc); }
.doc-body .callout p { margin: 0; }
.doc-body .co-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--hc); color: var(--hi); font: 900 1rem/1 var(--display); }

/* Tarjetas y pasos */
.doc-body .feat-grid, .doc-body .step-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 8px 0 18px; }
.doc-body .feat-card, .doc-body .step-card { background: var(--coal); border-radius: 14px; padding: 16px 18px; min-width: 0; border-top: 3px solid var(--hc); }
.doc-body .feat-card p, .doc-body .step-card p { margin: 0; color: var(--steel); font-size: .96rem; }
.doc-body .fc-dot { display: inline-block; width: 9px; height: 9px; border-radius: 3px; background: var(--hc); margin-right: 8px; vertical-align: .08em; }
.doc-body .fc-cmd { display: inline-block; margin-top: 10px; }
.doc-body .step-card { position: relative; padding-top: 18px; }
.doc-body .sc-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; margin-bottom: 10px; background: var(--hc); color: var(--hi); font: 900 .9rem/1 var(--display); }

/* Bloque final */
.doc-cta-wrap { padding-bottom: 70px; }
.doc-cta { position: relative; overflow: hidden; border-radius: 18px; padding: 42px 40px; text-align: left; color: var(--hi);
  background: radial-gradient(90% 140% at 88% 100%, color-mix(in srgb, var(--hc) 55%, #fff) 0%, var(--hc) 45%, color-mix(in srgb, var(--hc) 60%, #000) 100%);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.doc-cta .doc-kicker { display: block; margin-bottom: 8px; }
.doc-cta h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.doc-cta h2 em { font-style: normal; }
.doc-cta p { margin-top: 10px; max-width: 54ch; font-weight: 800; opacity: .9; }
.doc-cta .btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.btn.blurple { background: var(--blurple); box-shadow: 0 5px 0 #3540b8; }

@media (max-width: 960px) {
  .phero.doc-hero .inner { min-height: 0; padding-block: 100px 90px; }
  .doc { padding-top: 34px; }
  .doc-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .doc-toc { position: static; }
  .doc-cta { grid-template-columns: minmax(0, 1fr); padding: 30px 22px; }
  .doc-cta .btns { justify-content: flex-start; }
}
@media (max-width: 560px) {
  /* Tablas como fichas: cada fila, un bloque (la primera celda arriba, en negrita) */
  .doc-body .cmd-table, .doc-body .cmd-table thead, .doc-body .cmd-table tbody, .doc-body .cmd-table tr, .doc-body .cmd-table td { display: block; width: auto; }
  .doc-body .cmd-table thead { display: none; }
  .doc-body .cmd-table tr { padding: 12px 16px; border-top: 1px solid var(--line); }
  .doc-body .cmd-table tr:first-child { border-top: 0; }
  .doc-body .cmd-table td { padding: 2px 0; border: 0; }
  .doc-body .cmd-table td:first-child { color: #fff; font-weight: 900; margin-bottom: 4px; }
  .doc-body .cmd-table td + td { color: var(--steel); font-size: .93rem; }
  .doc-body .cmd-table tr:hover td { background: none; }
  .doc-body code, .doc-body .cmd { white-space: normal; overflow-wrap: anywhere; }
  .doc-body .feat-grid, .doc-body .step-cards { grid-template-columns: minmax(0, 1fr); }
  .doc-body h2 .n { min-width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) { .doc-toc a { transition: none; } }
/* Índice plegable: flecha que indica que se abre */
.doc-toc summary { display: flex; justify-content: space-between; align-items: center; padding: 2px 6px; }
.doc-toc summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--steel); border-bottom: 2px solid var(--steel); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.doc-toc details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.doc-toc ol { margin-top: 12px; }

/* ═════ Portada de guías (/guia): conexión, tarjetas con iconos de Minecraft, reglas y dudas ═════ */
.hub { padding-block: 56px 70px; }
.hub .g-sec { margin-bottom: 64px; scroll-margin-top: 20px; }
.hub .g-sec h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 14px; font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: 22px; }
.hub .g-sec h2 img { width: 40px; height: 40px; image-rendering: pixelated; flex: none; }
.hub .g-sec h2 small { flex-basis: 100%; font: 800 .95rem/1.3 var(--text); text-transform: none; color: var(--steel); letter-spacing: 0; padding-left: 54px; margin-top: -4px; }
.hub .g-sec h2 small a { color: #ff8b95 !important; font-weight: 900 !important; }
.hub img { image-rendering: pixelated; }

.g-connect { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.g-con { background: var(--coal); border-radius: 18px; padding: 24px 24px 22px; border-top: 4px solid var(--c, var(--orange)); display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.g-con.bedrock { --c: var(--teal); }
.g-con h4 { font: 900 1.35rem/1.1 var(--display); text-transform: uppercase; margin: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.g-con h4 small { font: 800 .85rem/1 var(--text); text-transform: none; color: var(--steel); }
.ipbox { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 12px; padding: 7px 7px 7px 16px; flex-wrap: wrap; }
.ipbox b { flex: 1; min-width: 0; font: 900 1.25rem/1.2 var(--display); color: #000; }
.ipbox b i { font-style: normal; color: #6b6f78; }
.ipbox button { font: 900 .85rem/1 var(--display); text-transform: uppercase; color: #fff; background: #111216; border: 0; border-radius: 9px; padding: 12px 15px 10px; box-shadow: 0 4px 0 #000; cursor: pointer; }
.ipbox button.done { background: var(--green); color: #04140a; box-shadow: 0 4px 0 #1f8f4f; }
.g-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; color: #e6e8ec; font-weight: 800; }
.g-steps li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.g-steps li > b { width: 26px; height: 26px; flex: none; border-radius: 8px; display: grid; place-items: center; background: var(--c, var(--orange)); color: #0b0b0d; font: 900 .8rem/1 var(--display); }
.hub kbd { font: 800 .85em/1.2 var(--text); background: #1f2128; border: 1px solid #2e3139; border-bottom-width: 3px; border-radius: 7px; padding: 3px 8px; color: #fff; }

.g-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.g-grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-card { position: relative; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; background: var(--coal); border-radius: 16px; padding: 18px 18px 16px; min-width: 0; text-decoration: none; color: inherit; transition: translate .2s ease, background .2s; }
a.g-card:hover { translate: 0 -4px; background: var(--coal-2); }
a.g-card:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.g-card > .n { position: absolute; top: 14px; right: 14px; font: 900 .8rem/1 var(--display); color: var(--steel); }
.g-card img { width: 36px; height: 36px; margin-bottom: 6px; }
.g-card h4 { font: 900 1.05rem/1.15 var(--display); text-transform: uppercase; margin: 0; }
.g-card > span { color: var(--steel); font-size: .93rem; line-height: 1.4; flex: 1; }
.cmdchip { margin-top: 8px; font: 700 .85rem/1 ui-monospace, "JetBrains Mono", monospace; color: #fff; background: #1c1e25; border: 1px solid #2e3139; border-radius: 8px; padding: 7px 10px; cursor: copy; transition: background .15s; max-width: 100%; overflow-wrap: anywhere; text-align: left; }
.cmdchip:hover { background: #262932; }
.cmdchip.done { background: var(--green); color: #04140a; border-color: var(--green); }
.cmdchip.done::after { content: "  ✓ copiado"; font-family: var(--text); font-weight: 900; }

.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rule { display: flex; align-items: center; gap: 14px; background: color-mix(in srgb, var(--red) 10%, var(--coal)); border-left: 4px solid var(--red); border-radius: 14px; padding: 16px 18px; }
.rule img { width: 34px; height: 34px; flex: none; }
.rule span { color: #e6e8ec; font-weight: 700; }
.rule b { color: #fff; font-weight: 900; }

.faq-static { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; }
.faq-static details { background: var(--coal); border-radius: 14px; padding: 4px 18px; }
.faq-static summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; font: 900 1rem/1.25 var(--display); }
.faq-static summary::-webkit-details-marker { display: none; }
.faq-static summary::after { content: "+"; flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--coal-3); font-size: 1.1rem; }
.faq-static details[open] summary::after { content: "–"; background: var(--red); }
.faq-a { padding: 0 0 16px; color: var(--steel); font-weight: 700; line-height: 1.6; }
.faq-a a { color: #ff8b95; }
.faq-a .cmd { font: 700 .9em ui-monospace, monospace; background: #1c1e25; border: 1px solid #2b2e37; border-radius: 6px; padding: 1px 6px; color: #fff; }

.g-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; padding-top: 10px; }
.btn.line { background: var(--coal-3); box-shadow: 0 5px 0 #000; }

@media (max-width: 960px) {
  .g-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-grid.c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-connect, .rules, .faq-static { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .g-grid, .g-grid.c3 { grid-template-columns: minmax(0, 1fr); }
  .hub .g-sec h2 small { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .g-card, .cmdchip { transition: none; } }

/* Títulos con icono: el icono nunca se queda solo en una línea; en móvil, tarjetas compactas con el icono a la izquierda */
.hub .g-sec h2 { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: center; }
.hub .g-sec h2 small { grid-column: 2; padding-left: 0; margin-top: 0; }
@media (max-width: 520px) {
  .hub .g-sec h2 img { width: 32px; height: 32px; }
  .g-card { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; padding: 16px; }
  .g-card img { grid-row: 1 / span 3; margin: 2px 0 0; }
  .g-card > .n { top: 12px; right: 12px; }
  .g-card h4 { padding-right: 24px; }
  .cmdchip { justify-self: start; margin-top: 6px; }
}
.phero.doc-hero .chips a.chip { color: #fff; text-decoration: none; }
.phero.doc-hero .chips a.chip:hover { background: rgba(0,0,0,.7); }

/* ═════ Comandos (/comandos): buscador blanco, categorías en píldoras y tarjetas que copian ═════ */
.cmds { padding-top: 44px; }
.cmd-search { position: sticky; top: 12px; z-index: 5; display: flex; align-items: center; gap: 12px; background: #fff; color: #000; border-radius: 16px; padding: 8px 8px 8px 18px; box-shadow: 0 6px 0 #000, 0 18px 40px rgba(0,0,0,.45); }
.cmd-search svg { width: 22px; height: 22px; flex: none; color: #6b6f78; }
.cmd-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 800 1.15rem/1.2 var(--text); color: #000; padding: 12px 0; }
.cmd-search input::placeholder { color: #8a8f99; }
.cmd-search input::-webkit-search-cancel-button { cursor: pointer; }
.cmd-search:focus-within { box-shadow: 0 6px 0 #000, 0 0 0 4px color-mix(in srgb, var(--hc) 70%, transparent); }
.cmd-search > b { flex: none; min-width: 52px; text-align: center; background: var(--hc); color: var(--hi); border-radius: 11px; padding: 12px 10px 10px; font: 900 1rem/1 var(--display); }
.cmd-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; }
.cmd-cats .cat { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; background: var(--coal); color: #e6e8ec; border-radius: 999px; padding: 8px 8px 8px 14px; font: 800 .92rem/1 var(--text); transition: background .15s; }
.cmd-cats .cat img { width: 20px; height: 20px; image-rendering: pixelated; }
.cmd-cats .cat b { background: var(--coal-3); color: var(--steel); border-radius: 999px; padding: 4px 8px; font: 900 .75rem/1 var(--display); }
.cmd-cats .cat:hover { background: var(--coal-2); }
.cmd-cats .cat.on { background: var(--hc); color: var(--hi); }
.cmd-cats .cat.on b { background: rgba(0,0,0,.22); color: var(--hi); }
.cmd-cats .cat:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.cmd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cmd-card { position: relative; display: flex; flex-direction: column; gap: 8px; background: var(--coal); border-radius: 16px; padding: 16px 18px; min-width: 0; cursor: copy; transition: translate .2s ease, background .2s; }
.cmd-card[hidden] { display: none; }
.cmd-card:hover { translate: 0 -3px; background: var(--coal-2); }
.cmd-card:focus-visible { outline: 2px solid var(--hc); outline-offset: 3px; }
.cc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cc-top code { font: 800 1.08rem/1.2 ui-monospace, "JetBrains Mono", monospace; color: #fff; background: #1c1e25; border: 1px solid #2e3139; border-radius: 9px; padding: 6px 10px; overflow-wrap: anywhere; min-width: 0; }
.cc-top img { width: 28px; height: 28px; flex: none; image-rendering: pixelated; }
.cmd-card p { margin: 0; color: #c9ccd3; font-weight: 700; font-size: .95rem; line-height: 1.45; flex: 1; }
.cc-alias { display: flex; flex-wrap: wrap; gap: 6px; }
.cc-alias span { font: 700 .78rem/1 ui-monospace, monospace; color: var(--steel); background: #17181d; border-radius: 6px; padding: 4px 7px; }
.cmd-card.done { background: color-mix(in srgb, var(--green) 22%, var(--coal)); }
.cmd-card.done .cc-top code { background: var(--green); color: #04140a; border-color: var(--green); }
.cmd-card.done::after { content: "✓ Copiado"; position: absolute; top: 14px; right: 14px; background: var(--green); color: #04140a; border-radius: 8px; padding: 6px 9px 5px; font: 900 .75rem/1 var(--display); text-transform: uppercase; }
.cmd-empty { text-align: center; color: var(--steel); font-weight: 800; padding: 40px 0; }
.cmd-empty code, .tools-foot code { font: 800 .95em ui-monospace, monospace; background: #1c1e25; border: 1px solid #2e3139; border-radius: 6px; padding: 1px 7px; color: #fff; }
.tools-foot { text-align: center; color: var(--steel); font-weight: 800; margin-top: 34px; }
@media (max-width: 960px) { .cmd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .cmd-grid { grid-template-columns: minmax(0, 1fr); }
  .cmd-cats { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 2px 16px 6px; scrollbar-width: none; }
  .cmd-cats::-webkit-scrollbar { display: none; }
  .cmd-cats .cat { flex: none; }
  .cmd-search input { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .cmd-card, .cmd-cats .cat { transition: none; } }
.cmd-card.done .cc-top img { visibility: hidden; }

/* ═════ Reglamento (/reglamento): normas numeradas en tarjetas y FAQ desplegable ═════ */
.regl { padding-block: 56px 70px; }
.regl-sec { margin-bottom: 60px; scroll-margin-top: 20px; }
.regl-sec h2 { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: clamp(1.8rem, 3.8vw, 2.6rem); margin: 0 0 22px; }
.regl-sec h2 img { width: 40px; height: 40px; image-rendering: pixelated; }
.regl-sec h2 small { font: 900 .85rem/1 var(--display); background: var(--rc); color: #fff; border-radius: 999px; padding: 7px 12px 6px; letter-spacing: .02em; }
.normas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.norma { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; background: var(--coal); border-radius: 16px; padding: 18px 20px; border-left: 4px solid var(--rc); scroll-margin-top: 20px; }
.norma:target { box-shadow: 0 0 0 3px var(--rc); }
.norma .nn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--rc); color: #fff; font: 900 .95rem/1 var(--display); box-shadow: 0 4px 0 color-mix(in srgb, var(--rc) 50%, #000); }
.norma h3 { font: 900 1.12rem/1.2 var(--display); text-transform: uppercase; margin: 8px 0 8px; }
.norma p { margin: 0; color: #c9ccd3; font-weight: 700; line-height: 1.6; }
.faq-note { display: flex; gap: 12px; align-items: center; margin: -24px 0 60px; padding: 14px 18px; border-radius: 14px; background: color-mix(in srgb, var(--gold) 12%, var(--coal)); border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); color: #f1e3b5; font-weight: 800; }
.faq-note::before { content: "!"; flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--gold); color: #1a1200; font: 900 1rem/1 var(--display); }
.regl .faq-static summary { font-size: 1.02rem; }
.regl .faq-a { color: #c9ccd3; }
@media (max-width: 860px) { .normas { grid-template-columns: minmax(0, 1fr); } .regl .faq-static { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .norma { gap: 12px; padding: 16px; } .norma .nn { width: 34px; height: 34px; font-size: .85rem; } .norma h3 { margin-top: 5px; } }

/* ═════ Equipo (/equipo): cada rango con su color, cuerpos 3D de las skins sobre su peana ═════ */
.eq { padding-block: 50px 40px; }
.eq-estado { text-align: center; color: var(--steel); font-weight: 800; padding: 60px 0; }
.eq-bloque { margin-bottom: 40px; }
.eq-titulo { font-size: clamp(1.8rem, 3.8vw, 2.6rem); margin: 0 0 20px; }
.eq-grupo { margin-bottom: 34px; }
.eq-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.eq-bar { width: 6px; height: 28px; border-radius: 3px; background: var(--rk); }
.eq-head h3 { font: 900 1.4rem/1 var(--display); text-transform: uppercase; margin: 0; }
.eq-cnt { color: var(--steel); font-weight: 800; font-size: .9rem; }
/* Los rangos van uno al lado del otro mientras quepan; cada tarjeta tiene ancho fijo */
.eq-grupos { display: flex; flex-wrap: wrap; gap: 30px 26px; align-items: flex-start; }
.eq-grupo { margin: 0; flex: 0 1 auto; min-width: 0; max-width: 100%; }
.eq-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.eq-card { width: 188px; }
.eq-grupo.top .eq-card { width: 218px; }
.eq-card { margin: 0; border-radius: 18px; overflow: hidden; background: var(--coal); display: flex; flex-direction: column; min-width: 0; transition: translate .2s ease; }
.eq-card:hover { translate: 0 -4px; }
.eq-art { position: relative; aspect-ratio: 5 / 6; display: grid; place-items: end center; overflow: hidden;
  background: radial-gradient(70% 70% at 50% 35%, color-mix(in srgb, var(--rk) 70%, #fff) 0%, var(--rk) 42%, color-mix(in srgb, var(--rk) 35%, #000) 100%); }
.eq-art::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 6%; height: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.45), transparent); }
.eq-art img { position: absolute; z-index: 1; left: 50%; bottom: 5%; translate: -50% 0; width: auto; max-width: none; height: 88%; object-fit: contain; transform-origin: 50% 100%; animation: eqrespira 3.8s ease-in-out infinite; animation-delay: var(--d, 0s); }
.eq-card:hover .eq-art img { animation-duration: 1.6s; }
@keyframes eqrespira { 0%, 100% { transform: translateY(0) scaleY(1); } 50% { transform: translateY(-5px) scaleY(1.012); } }
.eq-card figcaption { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding: 12px 14px 14px; }
.eq-card figcaption b { font: 900 1.05rem/1.1 var(--display); overflow-wrap: anywhere; }
.eq-chip { font: 900 .72rem/1 var(--display); text-transform: uppercase; letter-spacing: .04em; background: var(--rk); color: var(--rk-ink, #fff); border-radius: 999px; padding: 5px 9px 4px; }
.eq-grupo.top .eq-card figcaption b { font-size: 1.2rem; }
@media (max-width: 520px) {
  .eq-grupo { flex-basis: 100%; }
  .eq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .eq-card, .eq-grupo.top .eq-card { width: auto; }
  .eq-card figcaption { padding: 10px 12px 12px; }
}
@media (prefers-reduced-motion: reduce) { .eq-art img { animation: none; } .eq-card { transition: none; } }
