
/* Layout: barra de anuncio, nav, hero con logo + IP, accesos rápidos, modalidad Survival Gáldar, tres rangos (Manley < Drago < Timanfaya), acerca de, pie. Noche volcánica canaria, borde pixel-art. */
:root {
  color-scheme: dark;
  --bg: #12080a;          /* roca volcánica, sesgada a rojo */
  --bg-2: #1c0c0e;
  --panel: #241012;
  --line: #4a2024;
  --fg: #f6ece6;
  --muted: #b99f98;
  --lava: #ff5a1f;
  --ember: #ffb02e;
  --chili: #d8232a;
  --leaf: #2fbf5b;
  --tier-manley: #3ab8ff;
  --tier-drago: #f2b01e;
  --tier-timanfaya: #ff5a1f;
  --font-display: "Bowlby One", "Arial Black", Impact, sans-serif;
  --font-pixel: "Pixelify Sans", "Courier New", monospace;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.px-img { image-rendering: pixelated; }
.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; }

/* Barra de anuncio */
.announce {
  background: linear-gradient(90deg, var(--chili), var(--lava), var(--chili));
  color: #fff;
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  padding-block: 8px;
}
.announce .wrap { text-wrap: balance; }

/* Navegación */
.nav { border-bottom: 3px solid var(--line); background: var(--bg-2); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-block: 12px; }
.brand { font-family: var(--font-display); font-size: 20px; letter-spacing: .02em; display: flex; align-items: center; gap: 10px; }
.brand b { color: var(--ember); font-weight: 400; }
.brand i { width: 14px; height: 14px; background: var(--lava); box-shadow: 0 0 0 3px var(--chili); display: inline-block; transform: rotate(45deg); }
.nav ul { display: flex; flex-wrap: wrap; gap: 4px 6px; list-style: none; margin: 0; padding: 0; }
.nav li a { display: block; font-family: var(--font-pixel); font-weight: 500; font-size: 16px; padding: 6px 12px; color: var(--muted); border: 2px solid transparent; }
.nav li a:hover, .nav li a[aria-current] { color: var(--fg); border-color: var(--line); background: var(--panel); }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; background:
  radial-gradient(ellipse 70% 60% at 50% 100%, rgba(255,90,31,.28), transparent 70%),
  linear-gradient(var(--bg), var(--bg-2)); }
#embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; padding-block: 56px 64px; }
.eyebrow { font-family: var(--font-pixel); font-weight: 700; font-size: 16px; color: var(--ember); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; }
h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 7vw, 76px); line-height: 1; margin: 0 0 20px; text-wrap: balance; text-shadow: 0 5px 0 var(--chili); }
h1 span { color: var(--ember); }
.lead { color: var(--muted); font-size: 18px; max-width: 54ch; margin: 0 0 28px; }
.lead strong { color: var(--fg); }
.ip-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.ip-box { display: flex; align-items: center; gap: 12px; background: var(--panel); border: 3px solid var(--line); padding: 0 14px; min-height: 52px; font-family: var(--font-pixel); font-size: 20px; min-width: 0; }
.ip-box small { color: var(--muted); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.btn {
  font-family: var(--font-pixel); font-weight: 700; font-size: 18px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px; border: 3px solid #000; color: #fff;
  background: var(--lava); box-shadow: 0 5px 0 #8f2a0a; transition: transform .08s, box-shadow .08s;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 3px 0 #8f2a0a; }
.btn:active { transform: translateY(5px); box-shadow: 0 0 0 #8f2a0a; }
.btn.alt { background: #5865f2; box-shadow: 0 5px 0 #323c9e; }
.btn.alt:hover { box-shadow: 0 3px 0 #323c9e; }
.btn.alt:active { box-shadow: 0 0 0 #323c9e; }
.hero-art { justify-self: center; width: min(100%, 340px); aspect-ratio: 1; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 71%); mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 71%); }

/* Secciones */
section { padding-block: 64px; }
.sec-head { margin-bottom: 36px; max-width: 60ch; }
.sec-head .eyebrow { margin-bottom: 8px; }
h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 4.4vw, 44px); line-height: 1.08; margin: 0 0 12px; text-wrap: balance; }
.sec-head p { color: var(--muted); margin: 0; }
.alt-bg { background: var(--bg-2); border-block: 3px solid var(--line); }

/* Accesos rápidos */
.quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.qcard { background: var(--panel); border: 3px solid var(--line); box-shadow: 0 5px 0 #000; padding: 16px; display: grid; grid-template-columns: 56px 1fr; gap: 4px 14px; align-items: center; min-width: 0; transition: transform .12s, border-color .12s; }
.qcard:hover { transform: translateY(-3px); border-color: var(--lava); }
.qcard img { grid-row: span 2; width: 56px; height: 56px; image-rendering: pixelated; }
.qcard h3 { font-family: var(--font-pixel); font-size: 22px; line-height: 1.1; margin: 0; align-self: end; }
.qcard p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.35; align-self: start; }
.qcard.hot { border-color: var(--ember); }

/* Modalidades */
.modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.mode { border: 3px solid var(--line); background: var(--bg); min-width: 0; display: flex; flex-direction: column; box-shadow: 0 5px 0 #000; }
.mode .pic { aspect-ratio: 3 / 2; overflow: hidden; border-bottom: 3px solid var(--line); background: #000; }
.mode .pic img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; transition: transform .4s; }
.mode:hover .pic img { transform: scale(1.06); }
.mode .txt { padding: 14px 16px 18px; }
.mode h3 { font-family: var(--font-display); font-weight: 400; font-size: 22px; margin: 0 0 6px; }
.mode p { color: var(--muted); margin: 0; font-size: 15px; }

/* Modalidad destacada */
.feature { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: center; border: 3px solid var(--line); background: var(--bg); box-shadow: 0 5px 0 #000; padding: 24px; }
.feature .pic { aspect-ratio: 1; position: relative; }
.feature .pic img { width: 100%; height: 100%; object-fit: contain; }
.galdar { animation: galdar-float 4.5s ease-in-out infinite, galdar-glow 3s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes galdar-float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(1deg); } }
@keyframes galdar-glow { 0%,100% { filter: drop-shadow(0 0 8px rgba(255,176,46,.35)); } 50% { filter: drop-shadow(0 0 26px rgba(255,90,31,.75)); } }
.spark { position: absolute; width: 22px; height: 22px; background: #fff4b8; pointer-events: none; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: twinkle 2.2s ease-in-out infinite; opacity: 0; }
.spark.s1 { left: 6.5%; top: 11%; }
.spark.s2 { left: 66%; top: 5.5%; width: 28px; height: 28px; animation-delay: .7s; }
.spark.s3 { left: 73.5%; top: 11.5%; width: 16px; height: 16px; animation-delay: 1.4s; }
@keyframes twinkle { 0%,100% { opacity: 0; transform: scale(.3) rotate(0); } 50% { opacity: 1; transform: scale(1.2) rotate(45deg); } }
.feature h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 4vw, 40px); line-height: 1.05; margin: 0 0 12px; }
.feature p { color: var(--muted); font-size: 18px; max-width: 52ch; margin: 0 0 20px; }
.feature p.eyebrow { color: var(--ember); font-size: 16px; margin: 0 0 8px; }
.feature p strong { color: var(--fg); }

/* Rangos */
.ranks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: end; max-width: 980px; margin-inline: auto; }
.rank {
  --tier: var(--tier-manley);
  --tier-dark: #14587f;
  background: var(--panel); border: 4px solid var(--tier); box-shadow: 0 8px 0 var(--tier-dark);
  display: flex; flex-direction: column; min-width: 0; position: relative;
}
.rank.drago { --tier: var(--tier-drago); --tier-dark: #7a5608; }
.rank.timanfaya { --tier: var(--tier-timanfaya); --tier-dark: #8f2a0a; }
.rank { transition: transform .16s; }
.rank:hover { transform: translateY(-6px); }
.rank .art { aspect-ratio: 1; background: #000; overflow: hidden; }
.rank .art img { width: 100%; height: 100%; object-fit: cover; }
.rank .body { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.tier-label { font-family: var(--font-pixel); font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--tier); }
.rank h3 { font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1; margin: 0; }
.price { font-family: var(--font-pixel); font-weight: 700; font-size: 34px; line-height: 1; color: var(--tier); font-variant-numeric: tabular-nums; }
.price small { font-size: 16px; color: var(--muted); font-weight: 500; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.perks li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; align-items: start; }
.perks li::before { content: ""; width: 10px; height: 10px; margin-top: 6px; background: var(--tier); }
.perks li.dim { color: var(--muted); }
.rank .btn { margin-top: auto; background: var(--tier); color: #1a0a06; box-shadow: 0 5px 0 var(--tier-dark); }
.rank .btn:hover { box-shadow: 0 3px 0 var(--tier-dark); }
.rank .btn:active { box-shadow: 0 0 0 var(--tier-dark); }
.rank.timanfaya { padding-top: 0; }
.ribbon { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); z-index: 2; background: var(--ember); color: #1a0a06; font-family: var(--font-pixel); font-weight: 700; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 14px; border: 3px solid #000; white-space: nowrap; }
.note { margin-top: 36px; color: var(--muted); font-size: 14px; }

/* Acerca de */
.about { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: center; }
.about img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 4px solid var(--line); }
.about p { color: var(--muted); font-size: 18px; max-width: 58ch; margin: 0 0 14px; }
.about p strong { color: var(--fg); }

/* Pie */
footer { background: #0b0507; border-top: 3px solid var(--line); padding-block: 40px calc(32px); }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
footer h4 { font-family: var(--font-pixel); font-size: 18px; letter-spacing: .1em; text-transform: uppercase; color: var(--ember); margin: 0 0 10px; }
footer p, footer li { color: var(--muted); font-size: 15px; margin: 0 0 6px; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li a:hover { color: var(--fg); }
.legal { grid-column: 1 / -1; border-top: 2px solid var(--line); padding-top: 18px; font-size: 13px; color: var(--muted); }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); background: var(--leaf); color: #04200d; font-family: var(--font-pixel); font-weight: 700; padding: 10px 18px; border: 3px solid #000; opacity: 0; pointer-events: none; transition: .2s; z-index: 20; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; padding: 16px; gap: 24px; }
  .feature .pic { max-width: 320px; margin-inline: auto; width: 100%; }
  .hero .wrap { grid-template-columns: 1fr; padding-block: 36px 48px; }
  .hero-art { order: -1; width: min(70%, 300px); }
  .ranks { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; gap: 40px; }
  .rank.timanfaya { order: -1; margin-top: 12px; }
  .about { grid-template-columns: 1fr; }
  .about img { max-width: 240px; }
  footer .wrap { grid-template-columns: 1fr; }
  section { padding-block: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .mode .pic img { transition: none; }
  .galdar, .spark { animation: none; }
  .spark { opacity: 0; }
  html { scroll-behavior: auto; }
  .btn, .qcard, .rank, .toast { transition: none; }
}


/* ---- Menú móvil ---- */
.nav-toggle { display: none; font-family: var(--font-pixel); font-weight: 700; font-size: 16px; color: var(--fg); background: var(--panel); border: 3px solid var(--line); min-height: 44px; padding: 0 14px; cursor: pointer; }
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
  .nav nav { width: 100%; order: 3; }
  .nav nav ul { display: none; flex-direction: column; }
  .nav nav ul.open { display: flex; }
  .nav li a { padding: 12px 14px; }
}
/* ---- Contador en portada ---- */
.live { display: inline-flex; align-items: center; gap: 10px; margin: 18px 0 0; font-family: var(--font-pixel); font-weight: 700; font-size: 18px; color: var(--muted); }
.live i, .st-dot { width: 12px; height: 12px; background: var(--muted); display: inline-block; flex: none; }
.live.on { color: var(--fg); } .live.on i, .st-dot.on { background: var(--leaf); box-shadow: 0 0 0 3px rgba(47,191,91,.3); animation: pulse 2s ease-in-out infinite; }
.live.off i, .st-dot.off { background: var(--chili); box-shadow: 0 0 0 3px rgba(216,35,42,.3); }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(47,191,91,0); } }
/* ---- Cómo entrar ---- */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.steps li { counter-increment: s; background: var(--panel); border: 3px solid var(--line); box-shadow: 0 5px 0 #000; padding: 18px 18px 20px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; background: var(--lava); color: #1a0a06; border: 3px solid #000; font-family: var(--font-pixel); font-weight: 700; font-size: 20px; margin-bottom: 12px; }
.steps h3 { font-family: var(--font-pixel); font-size: 22px; margin: 0 0 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
.steps code, .mini code { font-family: var(--font-pixel); color: var(--ember); }
.mini { margin-top: 20px; color: var(--muted); font-size: 15px; }
/* ---- Estado ---- */
.st-card { background: var(--panel); border: 3px solid var(--line); box-shadow: 0 5px 0 #000; padding: 22px; display: grid; gap: 22px; }
.st-main { display: flex; align-items: center; gap: 16px; }
.st-main .st-dot { width: 20px; height: 20px; }
.st-main b { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(22px, 3.4vw, 32px); line-height: 1.1; }
.st-main small { color: var(--muted); font-size: 15px; }
.st-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 0; }
.st-grid div { background: var(--bg); border: 2px solid var(--line); padding: 12px 14px; }
.st-grid dt { font-family: var(--font-pixel); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ember); }
.st-grid dd { margin: 2px 0 0; font-family: var(--font-pixel); font-weight: 700; font-size: 22px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.st-players { margin-top: 24px; }
.st-players h3 { font-family: var(--font-pixel); font-size: 20px; margin: 0 0 12px; }
.st-heads { display: flex; flex-wrap: wrap; gap: 10px; }
.st-heads span { display: inline-flex; align-items: center; gap: 8px; background: var(--panel); border: 2px solid var(--line); padding: 4px 10px 4px 4px; font-size: 14px; }
.st-heads img { width: 24px; height: 24px; image-rendering: pixelated; border: 2px solid #000; }
/* ---- Términos ---- */
.terms { display: grid; gap: 12px; max-width: 860px; }
.terms details { background: var(--panel); border: 3px solid var(--line); }
.terms summary { cursor: pointer; list-style: none; font-family: var(--font-pixel); font-weight: 700; font-size: 20px; padding: 14px 18px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.terms summary::-webkit-details-marker { display: none; }
.terms summary::after { content: "+"; color: var(--ember); font-size: 26px; line-height: 1; }
.terms details[open] summary::after { content: "–"; }
.terms details[open] summary { border-bottom: 2px solid var(--line); }
.terms .body { padding: 14px 18px 18px; color: var(--muted); font-size: 16px; }
.terms .body p { margin: 0 0 10px; } .terms .body ul { margin: 0 0 4px; padding-left: 20px; } .terms .body li { margin-bottom: 6px; }
.terms .body strong { color: var(--fg); }
.terms-date { color: var(--muted); font-size: 14px; margin-top: 18px; }
@media (prefers-reduced-motion: reduce) { .live.on i, .st-dot.on { animation: none; } }


/* Sanciones */
.sx-search { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.sx-search input { flex: 1 1 240px; min-height: 52px; background: var(--panel); border: 3px solid var(--line); color: var(--fg); font-family: var(--font-pixel); font-size: 18px; padding: 0 14px; min-width: 0; }
.sx-search input::placeholder { color: var(--muted); }
.sx-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; border-bottom: 3px solid var(--line); }
.sx-tab { font-family: var(--font-pixel); font-weight: 500; font-size: 17px; color: var(--muted); background: transparent; border: 3px solid transparent; border-bottom: 0; padding: 8px 14px; cursor: pointer; margin-bottom: -3px; }
.sx-tab:hover { color: var(--fg); }
.sx-tab[aria-selected="true"] { color: var(--fg); background: var(--panel); border-color: var(--line); border-bottom: 3px solid var(--panel); }
.sx-tab span { color: var(--ember); margin-left: 4px; }
.sx-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 32px; }
.sx-stat { background: var(--panel); border: 3px solid var(--line); box-shadow: 0 5px 0 #000; padding: 16px; display: flex; align-items: center; gap: 14px; }
.sx-stat i { width: 14px; height: 14px; flex: none; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 35%, transparent); }
.sx-stat b { font-family: var(--font-pixel); font-size: 34px; line-height: 1; color: var(--c); font-variant-numeric: tabular-nums; }
.sx-stat small { display: block; color: var(--muted); font-size: 14px; line-height: 1.25; }
.sx-h { font-family: var(--font-pixel); font-size: 22px; margin: 0 0 12px; }
.sx-table-wrap { border: 3px solid var(--line); background: var(--panel); box-shadow: 0 5px 0 #000; overflow-x: auto; }
.sx-table { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 15px; }
.sx-table th { text-align: left; font-family: var(--font-pixel); font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--ember); padding: 12px 14px; border-bottom: 3px solid var(--line); background: var(--bg-2); white-space: nowrap; }
.sx-table td { padding: 12px 14px; border-bottom: 2px solid var(--line); vertical-align: middle; }
.sx-table tr:last-child td { border-bottom: 0; }
.sx-table tbody tr:hover { background: rgba(255,90,31,.06); }
.sx-badge { display: inline-block; font-family: var(--font-pixel); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 2px 10px; border: 2px solid #000; color: #1a0a06; background: var(--c); white-space: nowrap; }
.sx-ban { --c: var(--chili); color: #fff; }
.sx-mute { --c: var(--tier-manley); }
.sx-warn { --c: var(--ember); }
.sx-kick { --c: #b58cff; }
.sx-who { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.sx-who img { width: 28px; height: 28px; image-rendering: pixelated; border: 2px solid #000; background: var(--bg); flex: none; }
.sx-who a:hover { color: var(--ember); text-decoration: underline; }
.sx-console { width: 28px; height: 28px; flex: none; display: grid; place-items: center; background: var(--bg); border: 2px solid var(--line); font-family: var(--font-pixel); font-size: 13px; color: var(--ember); }
.sx-date { white-space: nowrap; }
.sx-date small { display: block; color: var(--muted); font-size: 13px; }
.sx-state { font-family: var(--font-pixel); font-weight: 700; font-size: 15px; }
.sx-state small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 13px; color: var(--muted); }
.sx-active { color: var(--chili); }
.sx-expired { color: var(--muted); }
.sx-revoked { color: var(--leaf); }
.sx-badge { justify-self: start; }
.sx-empty { padding: 28px 16px; text-align: center; color: var(--muted); }
@media (max-width: 760px) {
  .sx-table-wrap { overflow: visible; background: transparent; border: 0; box-shadow: none; }
  .sx-table, .sx-table tbody, .sx-table tr, .sx-table td { display: block; min-width: 0; width: 100%; }
  .sx-table thead { position: absolute; left: -9999px; }
  .sx-table tr { background: var(--panel); border: 3px solid var(--line); box-shadow: 0 5px 0 #000; margin-bottom: 18px; padding: 6px 4px; }
  .sx-table td { border: 0; padding: 8px 12px; display: grid; grid-template-columns: 84px 1fr; gap: 10px; align-items: center; }
  .sx-table td::before { content: attr(data-l); font-family: var(--font-pixel); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ember); }
}

/* ---- Cabecera con logo ---- */
html { scroll-padding-top: 84px; }
.sr { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ember); color: #1a0a06; font-family: var(--font-pixel); font-weight: 700; padding: 10px 14px; border: 3px solid #000; }
.skip:focus { top: 8px; }
.nav { position: sticky; top: 0; z-index: 30; }
.nav .wrap { padding-block: 8px; flex-wrap: nowrap; }
.brand img { width: 56px; height: 56px; display: block; transition: transform .15s; filter: drop-shadow(0 0 10px rgba(255,90,31,.35)); }
.brand:hover img { transform: scale(1.06) rotate(-2deg); }
.nav nav { margin-left: auto; }
.nav-ip { min-height: 40px; padding: 0 16px; font-size: 16px; }
@media (max-width: 760px) {
  .nav .wrap { flex-wrap: wrap; }
  .nav-ip { margin-left: auto; }
  .nav-toggle { margin-left: 0; }
  .nav nav { margin-left: 0; }
  .brand img { width: 48px; height: 48px; }
}
/* ---- Vídeo / música ---- */
.video { aspect-ratio: 16 / 9; max-width: 760px; background: var(--panel); border: 3px solid var(--line); box-shadow: 0 5px 0 #000; display: grid; place-items: center; align-content: center; gap: 14px; text-align: center; padding: 16px; }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.video.has-frame { padding: 0; display: block; }
.video p { margin: 0; color: var(--muted); }
/* ---- Páginas interiores ---- */
.page-head { background: radial-gradient(ellipse 70% 120% at 50% 130%, rgba(255,90,31,.25), transparent 70%), linear-gradient(var(--bg), var(--bg-2)); border-bottom: 3px solid var(--line); padding-block: 40px 36px; }
.crumbs { font-family: var(--font-pixel); font-size: 15px; color: var(--muted); margin: 0 0 10px; letter-spacing: .06em; }
.crumbs a:hover { color: var(--ember); }
.page-head h1 { font-size: clamp(34px, 5.4vw, 56px); margin: 0 0 10px; }
.page-head p.lead { margin: 0; max-width: 62ch; font-size: 17px; }
.page-body { padding-block: 44px 72px; }
/* ---- Home: tarjetas de rangos ---- */
.mini-ranks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.mr { --tier: var(--tier-manley); --tier-dark: #14587f; display: flex; gap: 14px; align-items: center; background: var(--panel); border: 3px solid var(--tier); box-shadow: 0 5px 0 var(--tier-dark); padding: 12px; transition: transform .12s; min-width: 0; }
.mr:hover { transform: translateY(-3px); }
.mr img { width: 76px; height: 76px; object-fit: cover; border: 2px solid #000; image-rendering: pixelated; flex: none; }
.mr b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 1.1; }
.mr span { font-family: var(--font-pixel); font-weight: 700; font-size: 22px; color: var(--tier); }
.mr.drago { --tier: var(--tier-drago); --tier-dark: #7a5608; }
.mr.timanfaya { --tier: var(--tier-timanfaya); --tier-dark: #8f2a0a; }
@media (max-width: 760px) { .mini-ranks { grid-template-columns: 1fr; } .page-body { padding-block: 32px 56px; } }
.help { margin-top: 28px; background: var(--panel); border: 3px solid var(--line); padding: 18px 20px; color: var(--muted); }
.help strong { color: var(--fg); }
.help a { color: var(--ember); text-decoration: underline; }
