/* ==========================================================================
   NERTHYS WEB — EXTRAS (comunidad, rangos, cronología, guías, tema claro...)
   ========================================================================== */
:root {
  --x-surface: rgba(24, 24, 27, 0.72);
  --x-surface-2: rgba(255, 255, 255, 0.05);
  --x-border: rgba(255, 255, 255, 0.09);
  --x-text: #f5f5f7;
  --x-dim: #a1a1a6;
  --x-gold: #ffc83d;
  --x-on-gold: #1a1400;
  --x-shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.8);
  --x-ease: cubic-bezier(0.32, 0.72, 0, 1);
}

@keyframes xRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes xPop { 0% { opacity: 0; transform: scale(.94) translateY(12px); } 60% { transform: scale(1.01); } 100% { opacity: 1; transform: none; } }
@keyframes xPulse { 0% { box-shadow: 0 0 0 0 rgba(48,209,88,.55); } 100% { box-shadow: 0 0 0 9px rgba(48,209,88,0); } }
@keyframes xFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.reveal-up { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--x-ease), transform .7s var(--x-ease); }
.reveal-up.in { opacity: 1; transform: none; }
.cv-legacy { display: none !important; }

/* ---------- botones mini del nav ---------- */
.nav-mini-btn { width: 34px; height: 34px; border: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.08); color: #d4d4d8; cursor: pointer; font: 700 .72rem var(--font-body, sans-serif); transition: background .25s, color .25s, transform .4s var(--x-ease); }
.nav-mini-btn:hover { background: rgba(255,255,255,.16); color: #fff; transform: rotate(-12deg) scale(1.08); }
.nav-lang-btn { letter-spacing: .02em; }
.lang-note { margin-top: 12px; padding: 8px 14px; border-radius: 12px; background: rgba(100,160,255,.12); color: #8ab4ff; font-size: .84rem; display: inline-block; }

/* ---------- comunidad v2 ---------- */
#community-v2 { display: grid; gap: 40px; }
.cv-h { font-family: var(--font-heading); font-size: 1.7rem; font-weight: 800; letter-spacing: .02em; color: var(--text-white); }
.cv-head { margin-bottom: 18px; }
.cv-head p { color: var(--text-dim); margin-top: 4px; }
.cv-kicker { font-size: .72rem; font-weight: 800; letter-spacing: .12em; color: var(--nerthys-gold); display: flex; align-items: center; gap: 6px; }
.cv-card { border-radius: 26px; background: var(--x-surface); border: 1px solid var(--x-border); box-shadow: var(--x-shadow); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }

.cv-discord { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 30px; background: linear-gradient(120deg, rgba(88,101,242,.28), rgba(88,101,242,.05)), var(--x-surface); border-color: rgba(88,101,242,.4); }
.cv-discord-main { display: flex; gap: 20px; align-items: center; min-width: 0; }
.cv-ico { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; font-size: 2.2rem; color: #fff; background: #5865f2; box-shadow: 0 14px 34px -10px rgba(88,101,242,.8); flex-shrink: 0; animation: xFloat 6s ease-in-out infinite; }
.cv-discord h3 { font-family: var(--font-heading); font-size: 1.9rem; font-weight: 800; color: var(--text-white); }
.cv-discord p { color: var(--text-dim); max-width: 520px; margin-top: 2px; }
.cv-discord-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.cv-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.cv-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 980px; background: var(--x-surface-2); border: 1px solid var(--x-border); color: var(--x-dim); font-size: .82rem; }
.cv-chip b { color: var(--text-white); }
.cv-chip.ok .dot { width: 8px; height: 8px; border-radius: 50%; background: #30d158; animation: xPulse 1.8s infinite; }

.cv-steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 16px; }
.cv-step { position: relative; padding: 24px 22px; border-radius: 22px; background: var(--x-surface); border: 1px solid var(--x-border); display: grid; gap: 6px; transition: transform .4s var(--x-ease), border-color .3s; }
.cv-step:hover { transform: translateY(-5px); border-color: rgba(255,200,61,.5); }
.cv-step i { font-size: 1.6rem; color: var(--nerthys-gold); }
.cv-step strong { font-size: 1.05rem; color: var(--text-white); }
.cv-step p { color: var(--text-dim); font-size: .9rem; }
.cv-step-n { position: absolute; top: 14px; right: 18px; font: 800 2.4rem var(--font-heading); color: var(--x-border); }

.cv-events-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; }
.cv-koth, .cv-mini { padding: 24px; display: grid; gap: 8px; align-content: start; }
.cv-koth h4, .cv-mini h4 { font-family: var(--font-heading); font-size: 1.5rem; color: var(--text-white); }
.cv-koth p, .cv-mini p { color: var(--text-dim); font-size: .92rem; }
.cv-koth { background: linear-gradient(135deg, rgba(255,200,61,.14), transparent 60%), var(--x-surface); border-color: rgba(255,200,61,.35); }
.cv-count { margin-top: 6px; padding: 14px 16px; border-radius: 18px; background: rgba(0,0,0,.28); display: grid; gap: 2px; }
.cv-count span { font-size: .72rem; font-weight: 700; letter-spacing: .08em; color: var(--x-dim); text-transform: uppercase; }
.cv-count strong { font: 800 1.9rem var(--font-mono); color: var(--nerthys-gold); letter-spacing: -.02em; }
.cv-koth small { color: var(--x-dim); }
.cv-week { display: flex; gap: 6px; margin-top: 4px; }
.cv-week span { flex: 1; text-align: center; padding: 8px 0; border-radius: 10px; background: var(--x-surface-2); color: var(--x-dim); font-size: .78rem; font-weight: 700; }
.cv-week span.on { background: rgba(255,200,61,.2); color: var(--nerthys-gold); }
.cv-week span.today { outline: 2px solid var(--nerthys-gold); }
.cv-link { color: var(--nerthys-gold); font-weight: 700; text-decoration: none; margin-top: 4px; }

.cv-streams-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.cv-stream { display: block; border-radius: 22px; overflow: hidden; background: var(--x-surface); border: 1px solid var(--x-border); text-decoration: none; color: inherit; transition: transform .4s var(--x-ease), border-color .3s, box-shadow .4s; }
.cv-stream:hover { transform: translateY(-5px); border-color: rgba(145,70,255,.7); box-shadow: 0 22px 50px -20px rgba(145,70,255,.6); }
.cv-stream.on { border-color: rgba(255,69,58,.55); }
.cv-stream-thumb { position: relative; aspect-ratio: 16 / 9; background: #0e0e10; overflow: hidden; }
.cv-stream-thumb > img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--x-ease); }
.cv-stream:hover .cv-stream-thumb > img { transform: scale(1.05); }
.cv-live { position: absolute; left: 10px; top: 10px; padding: 3px 10px; border-radius: 8px; background: #ff453a; color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .06em; }
.cv-views { position: absolute; right: 10px; bottom: 10px; padding: 3px 10px; border-radius: 8px; background: rgba(0,0,0,.72); color: #fff; font-size: .78rem; font-weight: 700; }
.cv-off { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; color: #8e8e93; font-weight: 700; font-size: .85rem; background: radial-gradient(circle at 50% 30%, #1d1730, #0e0e10); }
.cv-off img { width: 54px; height: 54px; border-radius: 50%; opacity: .6; }
.cv-stream-body { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.cv-stream-body > img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.cv-stream-body strong { display: block; color: var(--text-white); }
.cv-stream-body small { color: var(--x-dim); display: block; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-go { margin-left: auto; font-size: .78rem; font-weight: 700; color: #b794ff; white-space: nowrap; }
.cv-empty { padding: 26px; text-align: center; color: var(--x-dim); border-radius: 18px; background: var(--x-surface-2); }

.cv-codes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 14px; }
.cv-code-card { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 16px; padding: 18px; border-radius: 24px; background: var(--x-surface); border: 1px solid var(--x-border); transition: transform .4s var(--x-ease), border-color .3s; }
.cv-code-card:hover { transform: translateY(-4px); border-color: rgba(255,200,61,.5); }
.cv-code-card > img { width: 78px; height: 78px; border-radius: 20px; box-shadow: 0 12px 28px -10px rgba(0,0,0,.7); image-rendering: pixelated; }
.cv-code-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cv-code-top strong { font-size: 1.1rem; color: var(--text-white); }
.cv-pill { font-size: .64rem; font-weight: 800; padding: 3px 10px; border-radius: 980px; background: rgba(120,120,128,.3); color: var(--x-dim); }
.cv-pill.k-creator { background: rgba(145,70,255,.22); color: #b794ff; }
.cv-pill.k-discount { background: rgba(48,209,88,.2); color: #46c46d; }
.cv-pill.k-partner { background: rgba(100,210,255,.2); color: #3aa8d6; }
.cv-code-disc { margin-top: 4px; font-weight: 800; color: #30b856; }
.cv-code-main p { color: var(--x-dim); font-size: .84rem; margin-top: 2px; }
.cv-code-row { display: flex; gap: 8px; align-items: center; margin-top: 10px; }
.cv-code-btn { flex: 1; display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 14px; border: 1.5px dashed rgba(255,200,61,.6); border-radius: 14px; background: rgba(255,200,61,.1); color: var(--nerthys-gold); cursor: pointer; transition: background .2s, transform .3s var(--x-ease); }
.cv-code-btn code { font: 800 1.05rem var(--font-mono); letter-spacing: .08em; }
.cv-code-btn span { font-size: .7rem; font-weight: 700; opacity: .8; }
.cv-code-btn:hover { background: rgba(255,200,61,.22); transform: scale(1.02); }
.cv-code-btn.done { background: rgba(48,209,88,.22); border-color: #30d158; color: #30d158; }
.cv-code-ch { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--x-surface-2); color: var(--x-dim); text-decoration: none; transition: background .2s, color .2s; }
.cv-code-ch:hover { background: rgba(255,255,255,.14); color: var(--text-white); }

.cv-social-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 14px; }
.cv-soc { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 20px; background: var(--x-surface); border: 1px solid var(--x-border); color: var(--text-white); text-decoration: none; font-weight: 700; overflow: hidden; transition: transform .4s var(--x-ease), border-color .3s; }
.cv-soc i { font-size: 1.6rem; color: var(--c); transition: transform .5s var(--x-ease); }
.cv-soc em { margin-left: auto; font-style: normal; opacity: .5; transition: transform .3s; }
.cv-soc:hover { transform: translateY(-4px); border-color: var(--c); }
.cv-soc:hover i { transform: scale(1.2) rotate(-8deg); }
.cv-soc:hover em { transform: translate(3px, -3px); opacity: 1; }

/* ---------- rangos ---------- */
.rank-price { font: 800 1.15rem var(--font-body, sans-serif); color: var(--text-white); }
.rank-mini { list-style: none; display: grid; gap: 2px; width: 100%; text-align: center; font-size: .8rem; color: var(--x-dim); }
.rank-mini b { color: var(--rank-color); }
.rank-more { margin-top: 4px; border: 0; padding: 9px 18px; border-radius: 980px; background: var(--rank-color); color: #fff; font: 800 .8rem var(--font-body, sans-serif); cursor: pointer; text-shadow: 0 1px 2px rgba(0,0,0,.35); transition: transform .3s var(--x-ease), box-shadow .3s; }
.rank-card { cursor: pointer; }
.rank-card:hover .rank-more { transform: scale(1.06); box-shadow: 0 10px 24px -8px var(--rank-color); }
.rk-compare { margin-top: 36px; }
.rk-scroll { overflow-x: auto; margin-top: 14px; border-radius: 22px; border: 1px solid var(--x-border); background: var(--x-surface); }
.rk-table { width: 100%; border-collapse: collapse; min-width: 880px; }
.rk-table th, .rk-table td { padding: 12px 14px; text-align: center; font-size: .88rem; border-bottom: 1px solid var(--x-border); color: var(--text-white); }
.rk-table th:first-child, .rk-table td:first-child { text-align: left; position: sticky; left: 0; background: var(--bg-surface, #111118); color: var(--x-dim); font-weight: 600; z-index: 1; }
.rk-table thead th { padding: 16px 10px; }
.rk-table thead img { width: 42px; height: 42px; object-fit: contain; display: block; margin: 0 auto 4px; }
.rk-table thead span { color: var(--rc); font-weight: 800; letter-spacing: .03em; }
.rk-table tr.price td { font-weight: 800; }
.rk-table tr:last-child td { border-bottom: 0; }
.rk-buy { display: inline-block; padding: 7px 14px; border-radius: 980px; background: var(--rc); color: #fff; font-weight: 800; font-size: .76rem; text-decoration: none; text-shadow: 0 1px 2px rgba(0,0,0,.35); }

.rk-modal-ov { position: fixed; inset: 0; z-index: 4000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0,0,0,.6); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); animation: xRise .3s ease both; overflow-y: auto; }
.rk-modal { position: relative; width: min(680px, 100%); max-height: 92vh; overflow-y: auto; padding: 28px; border-radius: 28px; background: rgba(28,28,31,.97); border: 1px solid var(--rc, var(--x-border)); box-shadow: 0 40px 100px rgba(0,0,0,.7), 0 0 60px -20px var(--rc, transparent); color: #f5f5f7; animation: xPop .5s var(--x-ease) both; }
.rk-x { position: absolute; right: 16px; top: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(120,120,128,.3); color: #fff; font-size: 1.4rem; cursor: pointer; line-height: 1; }
.rk-x:hover { background: rgba(120,120,128,.55); }
.rk-modal-head { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.rk-modal-head img { width: 110px; height: 100px; object-fit: contain; filter: drop-shadow(0 12px 28px var(--rc)); }
.rk-modal-head h2 { font-family: var(--font-heading); font-size: 2.2rem; color: var(--rc); letter-spacing: .04em; }
.rk-modal .rank-tier { color: var(--rc); }
.rk-modal .rank-price { color: #fff; }
.rk-perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 14px; }
.rk-perk { padding: 14px; border-radius: 16px; background: rgba(255,255,255,.06); display: grid; gap: 2px; }
.rk-perk b { font: 800 1.5rem var(--font-heading); color: var(--rc); }
.rk-perk span { font-size: .78rem; color: #a1a1a6; }
.rk-kit { padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.06); font-size: .88rem; margin-bottom: 14px; }
.rk-kit i { color: var(--rc); margin-right: 6px; }
.rk-modal h4 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: #a1a1a6; margin: 8px 0; }
.rk-cmds { display: grid; gap: 6px; margin-bottom: 18px; }
.rk-cmd { display: grid; grid-template-columns: 150px 1fr; gap: 12px; align-items: center; padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.04); font-size: .84rem; }
.rk-cmd.new { background: color-mix(in srgb, var(--rc) 14%, transparent); }
.rk-cmd code { font: 700 .82rem var(--font-mono); color: #fff; }
.rk-cmd span { color: #b8b8bd; }
.rk-buy-big { width: 100%; justify-content: center; }
body.modal-open { overflow: hidden; }

/* ---------- cronología ---------- */
.tl { list-style: none; position: relative; max-width: 860px; margin: 40px auto 0; padding: 0; }
.tl::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--nerthys-gold), transparent); transform: translateX(-50%); }
.tl-item { position: relative; display: flex; margin-bottom: 30px; opacity: 0; transform: translateY(26px); transition: opacity .7s var(--x-ease), transform .7s var(--x-ease); }
.tl-item.in { opacity: 1; transform: none; }
.tl-item.left { justify-content: flex-start; padding-right: 54%; }
.tl-item.right { justify-content: flex-end; padding-left: 54%; }
.tl-dot { position: absolute; left: 50%; top: 14px; width: 40px; height: 40px; margin-left: -20px; border-radius: 50%; display: grid; place-items: center; background: var(--nerthys-gold); color: #1a1400; box-shadow: 0 0 0 6px rgba(255,200,61,.2); z-index: 1; }
.tl-card { padding: 18px 20px; border-radius: 20px; background: var(--x-surface); border: 1px solid var(--x-border); width: 100%; transition: transform .4s var(--x-ease), border-color .3s; }
.tl-card:hover { transform: translateY(-3px); border-color: rgba(255,200,61,.5); }
.tl-date { font-size: .72rem; font-weight: 800; letter-spacing: .08em; color: var(--nerthys-gold); }
.tl-card h4 { font-family: var(--font-heading); font-size: 1.35rem; color: var(--text-white); margin: 2px 0 4px; }
.tl-card p { color: var(--text-dim); font-size: .92rem; }

/* ---------- guía de protecciones ---------- */
.pg { margin-bottom: 30px; padding: 26px; border-radius: 26px; background: var(--x-surface); border: 1px solid var(--x-border); }
.pg-head p { color: var(--text-dim); margin: 4px 0 18px; }
.pg-body { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: 28px; align-items: center; }
.pg-stage { position: relative; aspect-ratio: 1; border-radius: 22px; background: repeating-conic-gradient(rgba(255,255,255,.04) 0 25%, transparent 0 50%) 0 0 / 22px 22px; border: 1px solid var(--x-border); }
.pg-sq { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); border: 2px solid var(--c); background: color-mix(in srgb, var(--c) 10%, transparent); border-radius: 8px; transition: background .3s, box-shadow .3s, border-width .3s; }
.pg-sq span { position: absolute; top: 4px; left: 6px; font-size: .62rem; font-weight: 800; color: var(--c); text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.pg-sq.active { background: color-mix(in srgb, var(--c) 30%, transparent); box-shadow: 0 0 30px color-mix(in srgb, var(--c) 60%, transparent); border-width: 3px; z-index: 2; }
.pg-calc { display: grid; gap: 8px; margin-bottom: 18px; }
.pg-calc label { font-weight: 700; color: var(--text-white); }
.pg-calc input { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--x-border); background: var(--x-surface-2); color: var(--text-white); font: 700 1.2rem var(--font-body, sans-serif); max-width: 220px; }
.pg-calc input:focus { outline: none; border-color: var(--nerthys-gold); box-shadow: 0 0 0 4px rgba(255,200,61,.18); }
.pg-result { color: var(--text-dim); min-height: 1.4em; }
.pg-result .bad { color: #ff6961; }
.pg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--x-border); border-radius: 980px; background: var(--x-surface-2); color: var(--text-white); font: 600 .82rem var(--font-body, sans-serif); cursor: pointer; transition: transform .3s var(--x-ease), border-color .25s, background .25s; }
.pg-chip i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.pg-chip b { color: var(--x-dim); font-weight: 600; }
.pg-chip:hover, .pg-chip.active { transform: translateY(-2px); border-color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }

/* ---------- postulación ---------- */
.ap-modal h2 { font-family: var(--font-heading); font-size: 2rem; margin-bottom: 6px; padding-right: 40px; }
.ap-intro { color: #b8b8bd; margin-bottom: 16px; }
.ap-q { display: grid; gap: 6px; margin-bottom: 14px; }
.ap-q span { font-weight: 700; font-size: .88rem; }
.ap-q i { color: #ff6961; font-style: normal; }
.ap-q input, .ap-q textarea, .ap-q select { width: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.1); background: rgba(118,118,128,.18); color: #fff; font: 500 .95rem var(--font-body, sans-serif); transition: border-color .2s, box-shadow .2s; }
.ap-q input:focus, .ap-q textarea:focus, .ap-q select:focus { outline: none; border-color: var(--x-gold); box-shadow: 0 0 0 4px rgba(255,200,61,.18); }
.ap-q select option { color: #111; }
.ap-hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
.ap-msg { min-height: 1.2em; margin-bottom: 10px; font-size: .88rem; }
.ap-msg.err { color: #ff6961; }
.ap-send { width: 100%; justify-content: center; }
.ap-ok { text-align: center; padding: 20px 0; display: grid; gap: 14px; justify-items: center; }
.ap-ok i { font-size: 3.4rem; color: #30d158; animation: xPop .6s var(--x-ease) both; }

/* ---------- tabla de sanciones ---------- */
.sp { margin-top: 56px; }
.sp-tools { display: grid; gap: 12px; margin-bottom: 14px; }
.sp-tools input { width: 100%; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--x-border); background: var(--x-surface); color: var(--text-white); font: 500 1rem var(--font-body, sans-serif); }
.sp-tools input:focus { outline: none; border-color: var(--nerthys-gold); box-shadow: 0 0 0 4px rgba(255,200,61,.16); }
.sp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sp-chips button { border: 1px solid var(--x-border); background: var(--x-surface-2); color: var(--x-dim); padding: 8px 14px; border-radius: 980px; font: 700 .8rem var(--font-body, sans-serif); cursor: pointer; transition: all .25s var(--x-ease); }
.sp-chips button:hover { color: var(--text-white); transform: translateY(-1px); }
.sp-chips button.active { background: var(--x-gold); color: var(--x-on-gold); border-color: var(--x-gold); }
.sp-list { display: grid; gap: 8px; }
.sp-item { border-radius: 16px; background: var(--x-surface); border: 1px solid var(--x-border); overflow: hidden; transition: border-color .25s; }
.sp-item[open] { border-color: rgba(255,200,61,.45); }
.sp-item summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; cursor: pointer; list-style: none; }
.sp-item summary::-webkit-details-marker { display: none; }
.sp-name { font-weight: 650; color: var(--text-white); }
.sp-type { font-size: .66rem; font-weight: 800; padding: 3px 10px; border-radius: 980px; flex-shrink: 0; }
.sp-type.t-e { background: rgba(100,210,255,.16); color: #3aa8d6; }
.sp-type.t-g { background: rgba(255,159,10,.16); color: #e08a00; }
.sp-type.t-u { background: rgba(191,90,242,.16); color: #b04fe0; }
.sp-steps { list-style: none; display: grid; gap: 6px; padding: 0 18px 16px; }
.sp-steps li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; background: color-mix(in srgb, var(--c) 18%, transparent); border-left: 4px solid var(--c); font-weight: 650; font-size: .9rem; color: var(--text-white); }
.sp-steps .n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #111; font-size: .72rem; font-weight: 800; }

/* ---------- tops reales: podio ---------- */
.pod { max-width: 980px; margin: 0 auto; }
.pod-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.pod-season { font-size: .72rem; font-weight: 800; letter-spacing: .12em; color: var(--nerthys-gold); }
.pod-head h3 { font-family: var(--font-heading); font-size: 2rem; color: var(--text-white); }
.pod-timer { padding: 10px 16px; border-radius: 16px; background: var(--x-surface); border: 1px solid var(--x-border); display: grid; gap: 2px; text-align: right; }
.pod-timer span { font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--x-dim); font-weight: 700; }
.pod-timer strong { font: 800 1.3rem var(--font-mono); color: var(--nerthys-gold); }
.pod-stage { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: end; padding: 10px 0 0; }
.pod-col { display: flex; flex-direction: column; align-items: center; min-width: 0; animation: xRise .7s var(--x-ease) both; }
.pod-col.pos2 { animation-delay: .08s; } .pod-col.pos3 { animation-delay: .16s; } .pod-col.pos4 { animation-delay: .24s; }
.pod-col.pos1 { animation-delay: .0s; }
.pod-player { display: grid; justify-items: center; gap: 4px; margin-bottom: -6px; position: relative; z-index: 2; text-align: center; }
.pod-skin { height: 150px; width: auto; object-fit: contain; filter: drop-shadow(0 14px 22px rgba(0,0,0,.6)); transition: transform .5s var(--x-ease); image-rendering: auto; }
.pod-col.pos1 .pod-skin { height: 190px; }
.pod-col:hover .pod-skin { transform: translateY(-6px) scale(1.04); }
.pod-crown { position: absolute; top: -18px; color: #ffc83d; font-size: 1.5rem; filter: drop-shadow(0 4px 10px rgba(255,200,61,.7)); animation: xFloat 3.5s ease-in-out infinite; }
.pod-name { font-family: var(--font-heading); font-size: 1.25rem; color: var(--text-white); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod-val { font: 700 .88rem var(--font-mono); color: var(--x-dim); }
.pod-rank { display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px 2px 6px; border-radius: 980px; font-size: .68rem; font-weight: 800; letter-spacing: .03em; color: var(--rc); background: color-mix(in srgb, var(--rc) 16%, transparent); border: 1px solid color-mix(in srgb, var(--rc) 45%, transparent); }
.pod-rank img { width: 16px; height: 16px; object-fit: contain; }
.pod-step { position: relative; width: 100%; height: var(--h); border-radius: 16px 16px 6px 6px; display: grid; place-items: start center; padding-top: 12px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.8), inset 0 2px 0 rgba(255,255,255,.35), inset 0 -10px 22px rgba(0,0,0,.25); overflow: hidden; }
.pod-step::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.28), transparent 38%, transparent 70%, rgba(0,0,0,.18)); pointer-events: none; }
.pod-num { font: 900 3.2rem var(--font-heading); line-height: 1; color: rgba(0,0,0,.35); text-shadow: 0 1px 0 rgba(255,255,255,.35); }
.pod-step.gold { background: linear-gradient(180deg, #ffe27a, #e0a82e 55%, #b8801b); }
.pod-step.silver { background: linear-gradient(180deg, #f0f0f5, #b9bac4 55%, #8b8d99); }
.pod-step.bronze { background: linear-gradient(180deg, #e9ae7a, #c27c3f 55%, #8f5a28); }
.pod-step.steel { background: linear-gradient(180deg, #8fd0ff, #4f8fc4 55%, #36678f); }
.pod-reward { display: flex; align-items: flex-start; gap: 8px; width: 100%; margin-top: 10px; padding: 10px 12px; border-radius: 14px; background: var(--x-surface); border: 1px solid var(--x-border); color: var(--text-white); font-size: .8rem; font-weight: 600; min-height: 46px; }
.pod-reward i { color: var(--nerthys-gold); margin-top: 2px; }
.pod-reward.none { visibility: hidden; }
.pod-col.empty .pod-step { opacity: .25; }
.pod-rest { display: grid; gap: 8px; margin-top: 26px; }
.pod-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: var(--x-surface); border: 1px solid var(--x-border); }
.pod-row-n { width: 28px; text-align: center; font: 800 1.1rem var(--font-heading); color: var(--nerthys-gold); }
.pod-row img { width: 32px; height: 32px; border-radius: 8px; }
.pod-row strong { color: var(--text-white); }
.pod-row-val { margin-left: auto; font: 700 .88rem var(--font-mono); color: var(--text-white); }
@media (max-width: 700px) {
  .pod-stage { grid-template-columns: repeat(2, 1fr); gap: 22px 10px; }
  .pod-col.pos1 { order: 1; } .pod-col.pos2 { order: 2; } .pod-col.pos3 { order: 3; } .pod-col.pos4 { order: 4; }
  .pod-step { height: 70px !important; }
  .pod-skin, .pod-col.pos1 .pod-skin { height: 120px; }
  .pod-num { font-size: 2rem; }
  .pod-head h3 { font-size: 1.5rem; }
}

/* ---------- mantenimiento ---------- */
#maint-overlay { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; padding: 20px; background: radial-gradient(900px 500px at 50% 0%, rgba(255,200,61,.14), transparent), #08080c; color: #f5f5f7; }
.maint-card { max-width: 480px; text-align: center; display: grid; gap: 14px; justify-items: center; animation: xPop .8s var(--x-ease) both; }
.maint-card img { width: 110px; animation: xFloat 5s ease-in-out infinite; filter: drop-shadow(0 14px 34px rgba(244,197,66,.45)); }
.maint-card h1 { font-family: var(--font-heading); font-size: 2.4rem; }
.maint-card p { color: #a1a1a6; }
.maint-eta { padding: 8px 16px; border-radius: 980px; background: rgba(255,255,255,.08); font-weight: 600; }
html.is-maint, html.is-maint body { overflow: hidden; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .cv-events-grid { grid-template-columns: 1fr; }
  .pg-body { grid-template-columns: 1fr; }
  .tl::before { left: 20px; }
  .tl-item.left, .tl-item.right { padding: 0 0 0 54px; justify-content: flex-start; }
  .tl-dot { left: 20px; }
  .rk-cmd { grid-template-columns: 1fr; gap: 2px; }
  .rk-modal-head img { width: 80px; height: 74px; }
  .cv-discord { padding: 22px; }
  .lb-row { grid-template-columns: 32px 40px minmax(0, 1fr) auto; gap: 10px; padding: 10px 12px; }
}

/* ==========================================================================
   TEMA CLARO
   Los bloques tipo "isla" (portada, banners, pie y modales) se mantienen
   oscuros para conservar las imágenes y el contraste.
   ========================================================================== */
html[data-theme="light"] {
  --bg-deep: #f5f5f7; --bg-main: #fbfbfd; --bg-surface: #ffffff; --bg-surface-card: rgba(255,255,255,.92); --bg-surface-hover: #f0f0f3;
  --text-white: #1d1d1f; --text-dim: #515154; --text-muted: #6e6e73;
  --border-glass: rgba(0,0,0,.1); --border-glass-hover: rgba(194,138,0,.5);
  --nerthys-gold: #b57d00; --nerthys-gold-hover: #d19400; --nerthys-gold-glow: rgba(181,125,0,.25); --nerthys-gold-subtle: rgba(181,125,0,.1); --nerthys-gold-border: rgba(181,125,0,.35);
  --x-surface: rgba(255,255,255,.88); --x-surface-2: rgba(0,0,0,.05); --x-border: rgba(0,0,0,.1); --x-text: #1d1d1f; --x-dim: #515154;
  --x-shadow: 0 18px 44px -22px rgba(0,0,0,.25);
  color-scheme: light;
}
html[data-theme="light"] body { background: var(--bg-deep); }
html[data-theme="light"] .hero,
html[data-theme="light"] .subpage-banner,
html[data-theme="light"] .site-footer,
html[data-theme="light"] .mobile-drawer,
html[data-theme="light"] .rk-modal,
html[data-theme="light"] .lb-coming-soon-card {
  --text-white: #ffffff; --text-dim: #94a3b8; --text-muted: #64748b; --border-glass: rgba(255,255,255,.1);
  --nerthys-gold: #f4c542; --x-surface: rgba(24,24,27,.72); --x-surface-2: rgba(255,255,255,.06); --x-border: rgba(255,255,255,.1); --x-dim: #a1a1a6;
}
html[data-theme="light"] .nav-pill-container { background: rgba(255,255,255,.78); border-color: rgba(0,0,0,.1); box-shadow: 0 10px 34px -14px rgba(0,0,0,.25); }
html[data-theme="light"] .nav-pill-container.nav-scrolled { background: rgba(255,255,255,.92); }
html[data-theme="light"] .brand-title { color: #1d1d1f; }
html[data-theme="light"] .nav-pill-item { color: #6e6e73; }
html[data-theme="light"] .nav-pill-item:hover, html[data-theme="light"] .nav-pill-item.active { color: #111 !important; }
html[data-theme="light"] .nav-indicator-hover { background: rgba(0,0,0,.06); }
html[data-theme="light"] .nav-indicator-active { background: rgba(0,0,0,.09); box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
html[data-theme="light"] .nav-discord-icon, html[data-theme="light"] .nav-mini-btn, html[data-theme="light"] .mobile-toggle-btn { background: rgba(0,0,0,.07); color: #3a3a3c; }
html[data-theme="light"] .hamburger-bar { background: #1d1d1f; }
html[data-theme="light"] .nav-discord-icon:hover { background: #5865f2; color: #fff; }
html[data-theme="light"] .cv-code-card > img, html[data-theme="light"] .cv-ico { box-shadow: 0 12px 28px -10px rgba(0,0,0,.35); }
html[data-theme="light"] .cv-count { background: rgba(0,0,0,.06); }
html[data-theme="light"] .rk-table th:first-child, html[data-theme="light"] .rk-table td:first-child { background: #fff; }
html[data-theme="light"] .pg-stage { background: repeating-conic-gradient(rgba(0,0,0,.05) 0 25%, transparent 0 50%) 0 0 / 22px 22px; }
html[data-theme="light"] .pg-sq span { text-shadow: none; }
html[data-theme="light"] .cv-code-btn, html[data-theme="light"] .tl-date { color: #8a5f00; }
html[data-theme="light"] .rank-card { background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--rank-color) 18%, transparent), transparent 70%), #fff; }
html[data-theme="light"] .ranks-cta, html[data-theme="light"] .vote-card-art { background: #fff; }
html[data-theme="light"] .nav-more-menu { background: #fff; }

.cv-in { animation: xRise .7s var(--x-ease) both; }
@media (prefers-reduced-motion: reduce) { .cv-in, .reveal-up { animation: none; opacity: 1; transform: none; transition: none; } }

/* podio: el texto va dentro del pedestal */
.pod-player { margin-bottom: -10px; }
.pod-skin { height: 170px; }
.pod-col.pos1 .pod-skin { height: 210px; }
.pod-step { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 4px; padding: 12px 8px 14px; text-align: center; }
.pod-step .pod-num { font-size: 2.6rem; }
.pod-step .pod-name { font-size: 1.15rem; color: #1a1400; text-shadow: 0 1px 0 rgba(255,255,255,.4); position: relative; z-index: 1; }
.pod-step .pod-val { color: rgba(26,20,0,.78); font-weight: 800; position: relative; z-index: 1; }
.pod-step .pod-rank { position: relative; z-index: 1; background: rgba(255,255,255,.55); border-color: color-mix(in srgb, var(--rc) 70%, #000); color: color-mix(in srgb, var(--rc) 55%, #000); }
@media (max-width: 700px) {
  .pod-step { height: auto !important; min-height: 120px; }
  .pod-skin, .pod-col.pos1 .pod-skin { height: 130px; }
}

/* la pantalla antigua de "Próximamente" no se muestra nunca */
.lb-coming-soon-card { display: none !important; }
.pod-loading { padding: 60px 20px; text-align: center; color: var(--x-dim); font-weight: 600; }
.pod-empty { text-align: center; color: var(--x-dim); margin-top: 18px; font-weight: 600; }

/* ==========================================================================
   GUÍA INTERACTIVA DE LA WIKI
   ========================================================================== */
.ng-loading, .ng-hint { padding: 40px 20px; text-align: center; color: var(--x-dim); font-weight: 600; border: 1px dashed var(--x-border); border-radius: 18px; }
.ng-hint i { margin-right: 8px; color: var(--x-gold); }
.ng-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 22px; padding: 6px; border-radius: 18px; background: var(--x-surface); border: 1px solid var(--x-border); }
.ng-tab { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 16px; border: 0; border-radius: 13px; background: transparent; color: var(--x-dim); font: 700 .9rem var(--font-body, sans-serif); cursor: pointer; transition: background .25s, color .25s, transform .25s var(--x-ease); }
.ng-tab:hover { color: var(--x-text); background: var(--x-surface-2); }
.ng-tab.active { background: var(--x-gold); color: var(--x-on-gold); box-shadow: 0 8px 22px -10px rgba(255, 200, 61, .7); }
.ng-pane.ng-in { animation: xRise .5s var(--x-ease) both; }

.ng-goal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; margin-bottom: 22px; }
.ng-goal { display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 18px; border-radius: 20px; background: var(--x-surface); border: 1px solid var(--x-border); color: var(--x-text); cursor: pointer; font-family: var(--font-body, sans-serif); transition: transform .3s var(--x-ease), border-color .25s, box-shadow .3s; }
.ng-goal:hover { transform: translateY(-3px); border-color: rgba(255, 200, 61, .5); }
.ng-goal.active { border-color: var(--x-gold); box-shadow: 0 0 0 1px var(--x-gold) inset, 0 16px 36px -18px rgba(255, 200, 61, .6); }
.ng-goal strong { font-size: 1.02rem; }
.ng-goal small { color: var(--x-dim); font-size: .82rem; line-height: 1.4; }
.ng-goal-ico { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 200, 61, .14); color: var(--x-gold); font-size: 1.05rem; flex: 0 0 auto; }

.ng-detail { padding: 24px 26px; border-radius: 22px; background: var(--x-surface); border: 1px solid var(--x-border); box-shadow: var(--x-shadow); }
.ng-detail h4 { margin: 0 0 14px; font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.ng-detail h4 i { color: var(--x-gold); }
.ng-steps { margin: 0 0 16px; padding-left: 0; list-style: none; counter-reset: ngs; display: grid; gap: 10px; }
.ng-steps li { counter-increment: ngs; position: relative; padding: 12px 14px 12px 52px; border-radius: 14px; background: var(--x-surface-2); line-height: 1.55; color: var(--x-text); }
.ng-steps li::before { content: counter(ngs); position: absolute; left: 14px; top: 11px; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--x-gold); color: var(--x-on-gold); font-weight: 800; font-size: .85rem; }
.ng-detail code, .ng-note code, .ng-task code { padding: 1px 7px; border-radius: 7px; background: rgba(255, 200, 61, .13); color: var(--x-gold); font-family: var(--font-mono, monospace); font-size: .88em; }
.ng-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; color: var(--x-dim); font-size: .85rem; font-weight: 600; }
.ng-link { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 980px; border: 1px solid var(--x-border); background: var(--x-surface-2); color: var(--x-text); font: 600 .82rem var(--font-body, sans-serif); cursor: pointer; transition: border-color .2s, background .2s; }
.ng-link:hover { border-color: var(--x-gold); background: rgba(255, 200, 61, .1); }
.ng-link i { color: var(--x-gold); }
.ng-note { margin: 16px 0 0; color: var(--x-dim); font-size: .84rem; line-height: 1.5; }
.ng-note i { margin-right: 6px; color: var(--x-gold); }

.ng-bar { height: 8px; border-radius: 99px; background: var(--x-surface-2); overflow: hidden; }
.ng-bar > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ffc83d, #ff9a3c); transition: width .5s var(--x-ease); }
.ng-bar.big { height: 12px; flex: 1 1 200px; }
.ng-progress-top { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 22px; border-radius: 20px; background: var(--x-surface); border: 1px solid var(--x-border); }
.ng-pct { font: 800 1.4rem var(--font-heading, sans-serif); color: var(--x-gold); min-width: 56px; text-align: right; }
.ng-ghost { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 980px; border: 1px solid var(--x-border); background: transparent; color: var(--x-dim); font: 600 .8rem var(--font-body, sans-serif); cursor: pointer; }
.ng-ghost:hover { color: var(--x-text); border-color: var(--x-gold); }
.ng-check-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; margin-top: 16px; }
.ng-check-card { padding: 20px; border-radius: 22px; background: var(--x-surface); border: 1px solid var(--x-border); transition: border-color .3s; }
.ng-check-card.complete { border-color: rgba(52, 211, 153, .55); }
.ng-check-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ng-check-head h4 { margin: 0; flex: 1; font-size: 1.05rem; }
.ng-check-count { color: var(--x-dim); font-weight: 700; font-size: .85rem; }
.ng-check-card ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; }
.ng-task { position: relative; display: flex; align-items: flex-start; gap: 11px; padding: 9px 10px; border-radius: 12px; cursor: pointer; color: var(--x-text); line-height: 1.45; font-size: .92rem; transition: background .2s; }
.ng-task:hover { background: var(--x-surface-2); }
.ng-task input { position: absolute; opacity: 0; pointer-events: none; }
.ng-box { flex: 0 0 22px; height: 22px; border-radius: 7px; border: 2px solid var(--x-border); display: inline-flex; align-items: center; justify-content: center; font-size: .7rem; color: transparent; transition: all .2s; margin-top: 1px; }
.ng-task input:focus-visible + .ng-box { outline: 2px solid var(--x-gold); outline-offset: 2px; }
.ng-task.on .ng-box { background: #34d399; border-color: #34d399; color: #04130c; }
.ng-task.on > span:last-child { color: var(--x-dim); text-decoration: line-through; }

.ng-class-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.ng-class-tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 980px; border: 1px solid var(--x-border); background: var(--x-surface); color: var(--x-dim); font: 700 .88rem var(--font-body, sans-serif); cursor: pointer; transition: all .25s var(--x-ease); }
.ng-class-tab i { color: var(--cc, var(--x-gold)); }
.ng-class-tab:hover { color: var(--x-text); border-color: var(--cc, var(--x-gold)); }
.ng-class-tab.active { color: var(--x-text); border-color: var(--cc, var(--x-gold)); background: color-mix(in srgb, var(--cc, #ffc83d) 18%, var(--x-surface)); }
.ng-class-detail { padding: 24px 26px; border-radius: 24px; background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--cc, #ffc83d) 16%, transparent), transparent 60%), var(--x-surface); border: 1px solid color-mix(in srgb, var(--cc, #ffc83d) 40%, var(--x-border)); box-shadow: var(--x-shadow); }
.ng-class-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.ng-class-head h4 { margin: 0; font-size: 1.4rem; }
.ng-class-head p { margin: 2px 0 0; color: var(--x-dim); }
.ng-class-ico { width: 56px; height: 56px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--cc, #ffc83d); background: color-mix(in srgb, var(--cc, #ffc83d) 18%, transparent); }
.ng-class-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.ng-class-detail h5, .ng-compare h5, .ng-day-total h5, .ng-detail h5 { margin: 0 0 10px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--x-dim); font-weight: 800; }
.ng-class-detail h5 small { text-transform: none; letter-spacing: 0; font-weight: 600; opacity: .8; }
.ng-stat { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px dashed var(--x-border); font-weight: 600; }
.ng-dots { display: inline-flex; gap: 5px; }
.ng-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--x-surface-2); border: 1px solid var(--x-border); display: inline-block; }
.ng-dot.on { background: var(--cc, #ffc83d); border-color: var(--cc, #ffc83d); box-shadow: 0 0 8px color-mix(in srgb, var(--cc, #ffc83d) 60%, transparent); }
.ng-plus, .ng-minus { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 5px; font-size: .92rem; }
.ng-plus li::before { content: '+'; color: #34d399; font-weight: 800; margin-right: 8px; }
.ng-minus li::before { content: '-'; color: #f87171; font-weight: 800; margin-right: 8px; }
.ng-skill-line { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; position: relative; }
.ng-skill-line li { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px; background: var(--x-surface-2); font-weight: 600; }
.ng-lv { flex: 0 0 auto; min-width: 54px; text-align: center; padding: 3px 9px; border-radius: 99px; background: color-mix(in srgb, var(--cc, #ffc83d) 22%, transparent); color: var(--cc, #ffc83d); font-size: .78rem; font-weight: 800; }
.ng-compare { margin-top: 22px; padding: 20px; border-radius: 22px; background: var(--x-surface); border: 1px solid var(--x-border); overflow-x: auto; }
.ng-compare-table { min-width: 560px; display: grid; gap: 4px; }
.ng-ct-row { display: grid; grid-template-columns: 130px repeat(5, 1fr); align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; }
.ng-ct-row.me { background: color-mix(in srgb, var(--cc, #ffc83d) 14%, transparent); }
.ng-ct-head { color: var(--x-dim); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.ng-ct-name { font-weight: 700; display: flex; align-items: center; gap: 8px; }
.ng-ct-name i { color: var(--cc, #ffc83d); }

.ng-streak-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-bottom: 18px; }
.ng-day-card, .ng-day-total { padding: 20px 22px; border-radius: 22px; background: var(--x-surface); border: 1px solid var(--x-border); }
.ng-day-card { display: flex; gap: 18px; align-items: center; background: linear-gradient(120deg, rgba(255, 200, 61, .18), transparent), var(--x-surface); border-color: rgba(255, 200, 61, .4); }
.ng-day-n { font: 800 2.2rem var(--font-heading, sans-serif); color: var(--x-gold); line-height: 1; }
.ng-day-rw { display: grid; gap: 5px; font-weight: 600; }
.ng-day-rw i, .ng-day-total i { color: var(--x-gold); margin-right: 8px; width: 16px; text-align: center; }
.ng-day-extra { color: #ffb02e; }
.ng-day-total div { margin-top: 5px; font-weight: 600; }
.ng-slider { margin-bottom: 14px; }
.ng-slider input[type=range] { width: 100%; accent-color: #ffc83d; height: 28px; }
.ng-slider-labels { display: flex; justify-content: space-between; color: var(--x-dim); font-size: .78rem; font-weight: 700; }
.ng-day-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(42px, 1fr)); gap: 6px; }
.ng-day { aspect-ratio: 1; border-radius: 11px; border: 1px solid var(--x-border); background: var(--x-surface); color: var(--x-text); font: 700 .82rem var(--font-body, sans-serif); cursor: pointer; transition: transform .2s var(--x-ease), border-color .2s; }
.ng-day:hover { transform: translateY(-2px) scale(1.06); }
.ng-day.big { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); font-weight: 900; }
.ng-day.sel { outline: 2px solid var(--x-gold); outline-offset: 2px; }
.ng-day.t-b, .ng-legend .t-b { background: rgba(160, 170, 184, .2); }
.ng-day.t-c, .ng-legend .t-c { background: rgba(125, 227, 140, .22); }
.ng-day.t-e, .ng-legend .t-e { background: rgba(155, 79, 224, .3); }
.ng-day.t-l, .ng-legend .t-l { background: rgba(255, 176, 46, .3); }
.ng-day.t-m, .ng-legend .t-m { background: rgba(224, 35, 60, .32); }
.ng-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ng-legend span { padding: 4px 12px; border-radius: 99px; font-size: .78rem; font-weight: 700; }

.ng-forge-in { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; font-weight: 700; }
.ng-forge-in input { width: 110px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--x-border); background: var(--x-surface-2); color: var(--x-text); font: 700 1rem var(--font-body, sans-serif); }
.ng-forge-out { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 20px; }
.ng-forge-out > div { padding: 14px; border-radius: 16px; background: var(--x-surface-2); display: flex; flex-direction: column; gap: 3px; }
.ng-forge-out strong { font: 800 1.5rem var(--font-heading, sans-serif); color: var(--cc, var(--x-gold)); }
.ng-forge-out span { color: var(--x-dim); font-size: .82rem; font-weight: 600; }
.ng-odds { display: grid; gap: 10px; }
.ng-odd { display: grid; grid-template-columns: minmax(130px, 220px) 1fr 44px 56px; gap: 12px; align-items: center; font-weight: 600; font-size: .9rem; }
.ng-odd .ng-bar > span { background: var(--cc, #ffc83d); }
.ng-odd em { color: var(--x-dim); font-style: normal; font-size: .8rem; text-align: right; }

.ng-flash { animation: ngFlash 2.2s ease-out; }
@keyframes ngFlash { 0%, 30% { box-shadow: 0 0 0 3px var(--x-gold), 0 0 40px rgba(255, 200, 61, .45); } 100% { box-shadow: none; } }

html[data-theme="light"] .ng-detail code, html[data-theme="light"] .ng-note code, html[data-theme="light"] .ng-task code { color: #8a5f00; background: rgba(138, 95, 0, .1); }
html[data-theme="light"] .ng-tab.active { color: #1a1400; }
html[data-theme="light"] .ng-goal-ico { color: #8a5f00; }

@media (max-width: 700px) {
  .ng-tabs { padding: 4px; gap: 4px; }
  .ng-tab { padding: 10px 10px; font-size: .8rem; flex: 1 1 calc(50% - 4px); }
  .ng-detail, .ng-class-detail { padding: 18px; }
  .ng-odd { grid-template-columns: 1fr 44px 52px; }
  .ng-odd .ng-bar { grid-column: 1 / -1; order: 3; }
  .ng-ct-row { grid-template-columns: 100px repeat(5, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .ng-pane.ng-in, .ng-flash { animation: none; } }

/* ==========================================================================
   MODPACKS (Comunidad)
   ========================================================================== */
.mp-section { margin: 56px 0; display: grid; gap: 28px; }
.mp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 22px; }
.mp-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 28px; overflow: hidden;
  background: radial-gradient(120% 70% at 0% 0%, color-mix(in srgb, var(--mc, #ffc83d) 22%, transparent), transparent 65%), var(--x-surface);
  border: 1px solid color-mix(in srgb, var(--mc, #ffc83d) 40%, var(--x-border)); box-shadow: var(--x-shadow); transition: transform .4s var(--x-ease), box-shadow .4s; }
.mp-card:hover { transform: translateY(-5px); box-shadow: 0 30px 70px -28px color-mix(in srgb, var(--mc, #ffc83d) 55%, transparent); }
.mp-card::after { content: ''; position: absolute; right: -60px; top: -60px; width: 190px; height: 190px; border-radius: 50%; background: color-mix(in srgb, var(--mc, #ffc83d) 18%, transparent); filter: blur(46px); pointer-events: none; }
.mp-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; position: relative; z-index: 1; }
.mp-ico { width: 54px; height: 54px; border-radius: 17px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--mc, #ffc83d); background: color-mix(in srgb, var(--mc, #ffc83d) 18%, transparent); }
.mp-badge { padding: 6px 13px; border-radius: 99px; font: 800 .72rem var(--font-body, sans-serif); letter-spacing: .09em; color: var(--mc, #ffc83d); border: 1px solid color-mix(in srgb, var(--mc, #ffc83d) 55%, transparent); background: color-mix(in srgb, var(--mc, #ffc83d) 10%, transparent); }
.mp-card h4 { margin: 4px 0 0; font: 800 1.7rem var(--font-heading, sans-serif); color: var(--x-text); position: relative; z-index: 1; }
.mp-tag { margin: -6px 0 0; color: var(--mc, #ffc83d); font-weight: 700; position: relative; z-index: 1; }
.mp-chips { display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; }
.mp-chips span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 99px; background: var(--x-surface-2); border: 1px solid var(--x-border); color: var(--x-dim); font-size: .8rem; font-weight: 600; }
.mp-chips i { color: var(--mc, #ffc83d); }
.mp-desc { margin: 0; color: var(--x-dim); line-height: 1.6; position: relative; z-index: 1; }
.mp-perfs { display: grid; gap: 7px; position: relative; z-index: 1; }
.mp-perf { display: flex; align-items: center; justify-content: space-between; font-size: .86rem; font-weight: 600; color: var(--x-text); }
.mp-perf i { display: inline-flex; gap: 5px; font-style: normal; }
.mp-perf b { width: 26px; height: 7px; border-radius: 99px; background: var(--x-surface-2); border: 1px solid var(--x-border); }
.mp-perf b.on { background: var(--mc, #ffc83d); border-color: var(--mc, #ffc83d); box-shadow: 0 0 10px color-mix(in srgb, var(--mc, #ffc83d) 55%, transparent); }
.mp-hl { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; position: relative; z-index: 1; }
.mp-hl li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; line-height: 1.45; color: var(--x-text); }
.mp-hl i { color: var(--mc, #ffc83d); margin-top: 3px; font-size: .78rem; }
.mp-req { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: relative; z-index: 1; }
.mp-req > div { padding: 11px 14px; border-radius: 14px; background: var(--x-surface-2); }
.mp-req .mp-req-w { grid-column: 1 / -1; }
.mp-req small { display: block; color: var(--x-dim); font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 800; }
.mp-req strong { font-size: .95rem; color: var(--x-text); }
.mp-dl { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 18px; text-decoration: none; position: relative; z-index: 1; color: #1a1400; font-family: var(--font-body, sans-serif);
  background: linear-gradient(135deg, var(--mc, #ffc83d), color-mix(in srgb, var(--mc, #ffc83d) 70%, #fff)); box-shadow: 0 14px 34px -14px color-mix(in srgb, var(--mc, #ffc83d) 80%, transparent); transition: transform .3s var(--x-ease), filter .3s; }
.mp-dl:hover { transform: translateY(-2px) scale(1.01); filter: brightness(1.06); }
.mp-dl > i { font-size: 1.5rem; }
.mp-dl strong { display: block; font-size: 1.05rem; }
.mp-dl small { opacity: .75; font-weight: 600; }
.mp-dl.off { background: var(--x-surface-2); color: var(--x-dim); box-shadow: none; pointer-events: none; }
.mp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--x-dim); font-size: .8rem; font-weight: 600; position: relative; z-index: 1; }
.mp-meta i { color: var(--mc, #ffc83d); margin-right: 5px; }
.mp-linkbtn { margin-left: auto; background: transparent; border: 0; color: var(--x-text); font: 700 .82rem var(--font-body, sans-serif); cursor: pointer; padding: 4px 0; }
.mp-linkbtn:hover { color: var(--mc, #ffc83d); }

.mp-diff { border-radius: 20px; background: var(--x-surface); border: 1px solid var(--x-border); padding: 4px 20px; }
.mp-diff summary { cursor: pointer; padding: 16px 0; font-weight: 700; color: var(--x-text); list-style: none; display: flex; align-items: center; gap: 10px; }
.mp-diff summary::-webkit-details-marker { display: none; }
.mp-diff summary i { color: var(--x-gold); }
.mp-diff summary b { margin-left: auto; color: var(--x-gold); }
.mp-diff-g { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 0 18px; }
.mp-pill { padding: 6px 12px; border-radius: 99px; background: rgba(255, 200, 61, .1); border: 1px solid rgba(255, 200, 61, .28); color: var(--x-text); font-size: .82rem; font-weight: 600; }

.mp-install, .mp-mods, .mp-faq { padding: 26px; border-radius: 26px; background: var(--x-surface); border: 1px solid var(--x-border); box-shadow: var(--x-shadow); }
.mp-install .cv-head, .mp-mods .cv-head { margin-bottom: 16px; }
.mp-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.mp-tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; border: 1px solid var(--x-border); background: var(--x-surface-2); color: var(--x-dim); font: 700 .88rem var(--font-body, sans-serif); cursor: pointer; transition: all .25s var(--x-ease); }
.mp-tab:hover { color: var(--x-text); }
.mp-tab.active { background: var(--x-gold); border-color: var(--x-gold); color: var(--x-on-gold); }
.mp-tab em { font-style: normal; font-size: .7rem; padding: 2px 8px; border-radius: 99px; background: rgba(255, 200, 61, .22); color: var(--x-gold); }
.mp-tab.active em { background: rgba(26, 20, 0, .18); color: var(--x-on-gold); }
.mp-steps { margin: 0; padding: 0; list-style: none; counter-reset: mps; display: grid; gap: 10px; }
.mp-steps li { counter-increment: mps; position: relative; padding: 14px 16px 14px 58px; border-radius: 16px; background: var(--x-surface-2); line-height: 1.55; color: var(--x-text); }
.mp-steps li::before { content: counter(mps); position: absolute; left: 16px; top: 13px; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--x-gold); color: var(--x-on-gold); font-weight: 800; }
.mp-steps code, .mp-tips code, .mp-q code { padding: 1px 7px; border-radius: 7px; background: rgba(255, 200, 61, .13); color: var(--x-gold); font-family: var(--font-mono, monospace); font-size: .88em; }
.mp-steps a, .mp-q a { color: var(--x-gold); font-weight: 700; }
.mp-tips { margin-top: 18px; padding: 16px 18px; border-radius: 16px; border: 1px dashed rgba(255, 200, 61, .35); background: rgba(255, 200, 61, .05); }
.mp-tips h5 { margin: 0 0 8px; color: var(--x-gold); font-size: .85rem; }
.mp-tips ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--x-dim); font-size: .9rem; line-height: 1.5; }

.mp-filter { display: grid; gap: 12px; margin-bottom: 16px; }
.mp-search { display: flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 16px; background: var(--x-surface-2); border: 1px solid var(--x-border); }
.mp-search i { color: var(--x-dim); }
.mp-search input { flex: 1; min-width: 0; padding: 14px 0; border: 0; background: transparent; color: var(--x-text); font: 600 .95rem var(--font-body, sans-serif); outline: none; }
.mp-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.mp-cat { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--x-border); background: transparent; color: var(--x-dim); font: 700 .8rem var(--font-body, sans-serif); cursor: pointer; transition: all .2s; }
.mp-cat:hover { color: var(--x-text); border-color: var(--x-gold); }
.mp-cat.active { background: rgba(255, 200, 61, .16); border-color: var(--x-gold); color: var(--x-text); }
.mp-cat i { color: var(--x-gold); }
.mp-cat em { font-style: normal; opacity: .7; font-size: .72rem; }
.mp-mod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.mp-mod { display: flex; flex-direction: column; gap: 5px; padding: 16px; border-radius: 18px; background: var(--x-surface-2); border: 1px solid transparent; text-decoration: none; color: var(--x-text); transition: transform .3s var(--x-ease), border-color .25s, background .25s; }
.mp-mod:hover { transform: translateY(-3px); border-color: rgba(255, 200, 61, .5); background: rgba(255, 200, 61, .06); }
.mp-mod-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mp-mod-cat { font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--x-gold); }
.mp-kind { font-size: .68rem; font-weight: 800; padding: 2px 8px; border-radius: 99px; background: rgba(125, 227, 255, .14); color: #7de3ff; }
.mp-mod strong { font-size: 1rem; line-height: 1.3; }
.mp-mod small { color: var(--x-dim); font-weight: 600; }
.mp-mod p { margin: 2px 0 0; color: var(--x-dim); font-size: .85rem; line-height: 1.5; }
.mp-mod em { margin-top: auto; padding-top: 8px; font-style: normal; font-size: .75rem; font-weight: 700; color: var(--x-dim); }
.mp-none { grid-column: 1 / -1; padding: 30px; text-align: center; color: var(--x-dim); font-weight: 600; }
.mp-faq { display: grid; gap: 10px; }
.mp-faq .cv-h { margin: 0 0 6px; }
.mp-q { border-radius: 16px; background: var(--x-surface-2); padding: 2px 18px; }
.mp-q summary { cursor: pointer; padding: 15px 0; font-weight: 700; color: var(--x-text); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.mp-q summary::-webkit-details-marker { display: none; }
.mp-q summary::after { content: '+'; color: var(--x-gold); font-size: 1.3rem; line-height: 1; transition: transform .25s; }
.mp-q[open] summary::after { transform: rotate(45deg); }
.mp-q > div { padding: 0 0 16px; color: var(--x-dim); line-height: 1.6; }

/* ==========================================================================
   HOME v2
   ========================================================================== */
.hm-ticker { overflow: hidden; border-block: 1px solid var(--x-border); background: linear-gradient(90deg, rgba(255, 200, 61, .06), transparent 20%, transparent 80%, rgba(255, 200, 61, .06)); padding: 14px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hm-ticker-in { display: flex; gap: 40px; width: max-content; animation: hmScroll 46s linear infinite; }
.hm-ticker:hover .hm-ticker-in { animation-play-state: paused; }
.hm-ticker span { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; font: 700 .95rem var(--font-heading, sans-serif); letter-spacing: .06em; text-transform: uppercase; color: var(--x-dim); }
.hm-ticker i { color: var(--x-gold); font-size: .55rem; }
@keyframes hmScroll { to { transform: translateX(-50%); } }
.hm-block { margin: 54px 0; }
.hm-count-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.hm-count { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px 14px; border-radius: 22px; text-align: center; background: var(--x-surface); border: 1px solid var(--x-border); transition: transform .35s var(--x-ease), border-color .3s; }
.hm-count:hover { transform: translateY(-4px); border-color: rgba(255, 200, 61, .5); }
.hm-count i { color: var(--x-gold); font-size: 1.2rem; margin-bottom: 4px; }
.hm-count strong { font: 800 2.1rem var(--font-heading, sans-serif); color: var(--x-text); line-height: 1.1; }
.hm-count span { color: var(--x-dim); font-size: .82rem; font-weight: 600; }
.hm-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-top: 24px; }
.hm-step { position: relative; padding: 28px 24px; border-radius: 26px; background: var(--x-surface); border: 1px solid var(--x-border); overflow: hidden; }
.hm-step > i { font-size: 1.5rem; color: var(--x-gold); margin-bottom: 12px; display: block; }
.hm-step h3 { margin: 0 0 8px; font: 800 1.3rem var(--font-heading, sans-serif); color: var(--x-text); }
.hm-step p { margin: 0; color: var(--x-dim); line-height: 1.6; }
.hm-step code, .hm-ev code { padding: 1px 7px; border-radius: 7px; background: rgba(255, 200, 61, .13); color: var(--x-gold); font-family: var(--font-mono, monospace); font-size: .88em; }
.hm-step-n { position: absolute; right: 16px; top: 4px; font: 900 5.5rem var(--font-heading, sans-serif); line-height: 1; color: rgba(255, 200, 61, .09); }
.hm-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
.hm-bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 24px; }
.hm-tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left; padding: 22px; border-radius: 26px; background: var(--x-surface); border: 1px solid var(--x-border); color: var(--x-text); cursor: pointer; overflow: hidden; font-family: var(--font-body, sans-serif); min-height: 190px; transition: transform .4s var(--x-ease), border-color .3s, box-shadow .4s; }
.hm-tile::before { content: ''; position: absolute; inset: 0; background: radial-gradient(90% 70% at 100% 0%, rgba(255, 200, 61, .16), transparent 70%); opacity: 0; transition: opacity .4s; }
.hm-tile:hover { transform: translateY(-5px); border-color: rgba(255, 200, 61, .55); box-shadow: 0 24px 50px -26px rgba(255, 200, 61, .5); }
.hm-tile:hover::before { opacity: 1; }
.hm-tile.t0, .hm-tile.t3 { grid-column: span 2; }
.hm-tile-ico { width: 44px; height: 44px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; background: rgba(255, 200, 61, .14); color: var(--x-gold); position: relative; }
.hm-tile-badge { font-size: .68rem; font-weight: 800; letter-spacing: .1em; color: var(--x-gold); position: relative; }
.hm-tile strong { font: 800 1.15rem var(--font-heading, sans-serif); position: relative; line-height: 1.25; }
.hm-tile small { color: var(--x-dim); line-height: 1.5; font-size: .85rem; position: relative; }
.hm-tile em { margin-top: auto; font-style: normal; font-weight: 700; font-size: .8rem; color: var(--x-gold); position: relative; }
.hm-events { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 14px; }
.hm-ev { padding: 22px; border-radius: 24px; background: var(--x-surface); border: 1px solid var(--x-border); display: flex; flex-direction: column; gap: 6px; }
.hm-ev h3 { margin: 0; font: 800 1.2rem var(--font-heading, sans-serif); color: var(--x-text); }
.hm-ev p, .hm-ev small { margin: 0; color: var(--x-dim); font-size: .88rem; line-height: 1.5; }
.hm-ev-main { background: linear-gradient(135deg, rgba(230, 57, 70, .2), transparent), var(--x-surface); border-color: rgba(230, 57, 70, .4); }
.hm-ev-count strong { font: 900 2rem var(--font-heading, sans-serif); color: var(--x-gold); font-variant-numeric: tabular-nums; }
.hm-mp { display: grid; grid-template-columns: 1.3fr 1fr; gap: 26px; align-items: center; padding: 34px; border-radius: 32px; background: radial-gradient(110% 120% at 100% 0%, rgba(255, 200, 61, .16), transparent 60%), var(--x-surface); border: 1px solid rgba(255, 200, 61, .35); }
.hm-mp h2 { margin: 12px 0 8px; font: 800 2rem var(--font-heading, sans-serif); color: var(--x-text); line-height: 1.15; }
.hm-mp p { margin: 0; color: var(--x-dim); line-height: 1.6; }
.hm-mp-cards { display: grid; gap: 12px; }
.hm-mp-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 20px; background: var(--x-surface-2); border: 1px solid color-mix(in srgb, var(--mc, #ffc83d) 45%, transparent); }
.hm-mp-card i { font-size: 1.4rem; color: var(--mc, #ffc83d); }
.hm-mp-card strong { display: block; font: 800 1.25rem var(--font-heading, sans-serif); color: var(--x-text); }
.hm-mp-card small { color: var(--x-dim); font-weight: 600; }

html[data-theme="light"] .mp-steps code, html[data-theme="light"] .mp-tips code, html[data-theme="light"] .mp-q code, html[data-theme="light"] .hm-step code, html[data-theme="light"] .hm-ev code { color: #8a5f00; background: rgba(138, 95, 0, .1); }
html[data-theme="light"] .mp-dl, html[data-theme="light"] .mp-tab.active { color: #1a1400; }

@media (max-width: 1000px) {
  .hm-bento { grid-template-columns: repeat(2, 1fr); }
  .hm-tile.t0, .hm-tile.t3 { grid-column: span 2; }
  .hm-events { grid-template-columns: 1fr 1fr; }
  .hm-ev-main { grid-column: 1 / -1; }
  .hm-mp { grid-template-columns: 1fr; padding: 26px; }
}
@media (max-width: 600px) {
  .mp-grid { grid-template-columns: 1fr; }
  .mp-card { padding: 22px; }
  .mp-install, .mp-mods, .mp-faq { padding: 18px; }
  .hm-bento, .hm-events { grid-template-columns: 1fr; }
  .hm-tile.t0, .hm-tile.t3 { grid-column: auto; }
  .hm-tile { min-height: 0; }
  .hm-block { margin: 40px 0; }
}
@media (prefers-reduced-motion: reduce) { .hm-ticker-in { animation: none; } .mp-card, .hm-tile { transition: none; } }

/* Hero: accesos rápidos */
.hm-hero-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.hm-hero-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 99px; background: rgba(255, 255, 255, .06); border: 1px solid var(--x-border); color: var(--x-text); font: 700 .82rem var(--font-body, sans-serif); text-decoration: none; backdrop-filter: blur(12px); transition: border-color .25s, background .25s, transform .3s var(--x-ease); }
.hm-hero-chips a:hover { border-color: var(--x-gold); background: rgba(255, 200, 61, .12); transform: translateY(-2px); }
.hm-hero-chips i { color: var(--x-gold); }
