@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Rajdhani:wght@600;700&display=swap');

:root {
  --navy: #071018;
  --alto: #10233c;
  --panel: #0d1b2e;
  --ink: #0b1a2d;
  --line: rgba(212, 175, 55, 0.38);
  --gold: #d4af37;
  --gold2: #f5d76e;
  --on-gold: #1a1404;
  --text: #e8eef8;
  --muted: #9bb0c9;
  --ok: #7dffb0;
  --no: #ffb4a2;
}

* { box-sizing: border-box; }
html, body, #app { margin: 0; min-height: 100%; background: var(--navy); color: var(--text); }
body {
  font-family: 'Rajdhani', 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.fj-login {
  min-height: 100vh;
  padding: 2.2rem 1.25rem 2rem;
  background:
    radial-gradient(ellipse at 20% -10%, rgba(212,175,55,.2), transparent 46%),
    radial-gradient(ellipse at 100% 0%, rgba(21,122,60,.22), transparent 42%),
    linear-gradient(180deg, var(--alto) 0%, var(--navy) 60%);
}
.fj-kicker {
  margin: 0 0 0.4rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
}
.fj-login h1 {
  margin: 0 0 0.5rem;
  font-family: 'Oswald', sans-serif;
  font-size: 2.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold2);
}
.fj-login h1 em { font-style: normal; color: var(--text); }
.fj-login h1 { display: flex; align-items: center; gap: 0.55rem; }
.fj-app-ico, .fj-pwa-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(212,175,55,.35);
}
.fj-pwa-ico { width: 22px; height: 22px; border-radius: 6px; }
.fj-ghost, .fj-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; }
.fj-lead { color: var(--muted); margin: 0 0 1.2rem; line-height: 1.45; }

.fj-card, .fj-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.05rem;
}
.fj-field { display: grid; gap: 0.3rem; margin-bottom: 0.8rem; }
.fj-field span { color: var(--muted); font-size: 0.8rem; font-weight: 700; }
.fj-marca { font-style: normal; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; font-size: 0.68rem; margin-left: 0.35rem; color: var(--ink, #1b2418); }
.fj-field input, .fj-field select, .fj-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--text);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
}
.fj-field textarea { min-height: 4.5rem; resize: vertical; }
.fj-pass { display: flex; gap: 0.4rem; }
.fj-pass input { flex: 1; }
.fj-pass button, .fj-ghost {
  background: transparent;
  color: var(--gold2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.8rem;
}
.fj-btn {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-weight: 800;
  background: linear-gradient(180deg, var(--gold2), var(--gold));
  color: var(--on-gold);
}
.fj-btn:disabled { opacity: .55; }
.fj-alert { background: rgba(127,29,29,.4); color: var(--no); border: 1px solid #b91c1c; border-radius: 10px; padding: .7rem .85rem; margin-bottom: .8rem; }

.fj-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(212,175,55,.1), transparent 50%),
    linear-gradient(180deg, var(--alto) 0%, var(--navy) 50%);
}
.fj-top {
  padding: 0.85rem 1rem 0.55rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.6rem;
}
.fj-top-acciones { display: flex; gap: 0.4rem; align-items: flex-start; }
.fj-live {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin: 0.2rem 0 1rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}
.fj-live iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fj-home {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  flex: 0 0 auto;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--gold2);
  border-radius: 12px;
  padding: 0.32rem 0.55rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.fj-home svg { width: 18px; height: 18px; }
.fj-top h1 {
  margin: 0;
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold2);
}
.fj-top p { margin: .15rem 0 0; color: var(--muted); font-size: .8rem; }
.fj-chip {
  display: inline-block;
  padding: .12rem .45rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold2), var(--gold));
  color: var(--on-gold);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .06em;
  margin-right: .35rem;
}
.fj-main { flex: 1; padding: 0 1rem 5.6rem; }

.fj-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex;
  overflow-x: auto;
  background: color-mix(in srgb, var(--navy) 94%, transparent);
  border-top: 1px solid var(--line);
  padding: 0.35rem 0.1rem calc(0.35rem + env(safe-area-inset-bottom));
  z-index: 20;
}
.fj-nav button {
  flex: 1 0 4.5rem;
  background: none;
  border: 0;
  color: var(--muted);
  display: grid;
  gap: 0.15rem;
  justify-items: center;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 0.35rem 0.1rem;
}
.fj-nav button.activo { color: var(--gold2); }
.fj-nav svg { width: 20px; height: 20px; }

.fj-fut-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0.35rem 0 1rem;
}
.fj-wrap-gold { filter: drop-shadow(0 18px 26px rgba(212,175,55,.52)) drop-shadow(0 0 18px rgba(245,215,110,.18)); }
.fj-wrap-silver { filter: drop-shadow(0 16px 24px rgba(120,140,160,.42)); }
.fj-wrap-bronze { filter: drop-shadow(0 16px 24px rgba(160,90,40,.42)); }
.fj-fut {
  --escudo: polygon(50% 0%, 63% 3.2%, 90% 9%, 100% 24%, 96% 66%, 78% 87%, 50% 100%, 22% 87%, 4% 66%, 0 24%, 10% 9%, 37% 3.2%);
  --hex: polygon(50% 0%, 96% 16%, 96% 68%, 50% 100%, 4% 68%, 4% 16%);
  position: relative;
  width: min(256px, 84vw);
  min-height: 382px;
  margin: 0 auto;
  padding: 9px 9px 10px;
  border: 0;
  text-align: center;
  color: #1a1404;
  isolation: isolate;
  overflow: hidden;
  clip-path: var(--escudo);
  display: flex;
  flex-direction: column;
}
.fj-gold { background: linear-gradient(165deg, #f8e7a0 0%, #8a6a14 38%, #1c1404 100%); }
.fj-silver { background: linear-gradient(165deg, #f4f7fb 0%, #6d7c8b 42%, #1c242c 100%); }
.fj-bronze { background: linear-gradient(165deg, #f3d3b3 0%, #7a4b28 42%, #24140c 100%); }
.fj-fut__placa {
  --escudo: polygon(50% 0%, 63% 3.2%, 90% 9%, 100% 24%, 96% 66%, 78% 87%, 50% 100%, 22% 87%, 4% 66%, 0 24%, 10% 9%, 37% 3.2%);
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  clip-path: var(--escudo);
  padding: 1.85rem 0.7rem 0.7rem;
}
.fj-gold .fj-fut__placa {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,247,208,.55), transparent 42%),
    repeating-linear-gradient(125deg, rgba(255,255,255,.07) 0 2px, transparent 2px 7px),
    linear-gradient(165deg, #fff4b8 0%, #e0b63a 36%, #b8860b 68%, #7a5a10 100%);
}
.fj-silver .fj-fut__placa {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.45), transparent 42%),
    repeating-linear-gradient(125deg, rgba(255,255,255,.08) 0 2px, transparent 2px 7px),
    linear-gradient(165deg, #f8fbff 0%, #c5d0db 40%, #8a97a6 100%);
}
.fj-bronze .fj-fut__placa {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,230,200,.4), transparent 42%),
    repeating-linear-gradient(125deg, rgba(255,255,255,.07) 0 2px, transparent 2px 7px),
    linear-gradient(165deg, #f6d9b8 0%, #c08457 42%, #8a4f28 100%);
}
.fj-fut__placa::before {
  content: '';
  position: absolute;
  inset: 10px 12px 18px;
  border: 1px solid rgba(255,255,255,.28);
  clip-path: var(--escudo);
  pointer-events: none;
  opacity: .7;
}
.fj-fut__placa::after {
  content: '';
  position: absolute;
  top: -30%;
  left: -40%;
  width: 38%;
  height: 160%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.26), transparent);
  transform: rotate(20deg);
  animation: fj-foil 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes fj-foil {
  0%, 18% { transform: translateX(0) rotate(20deg); opacity: 0; }
  32% { opacity: 1; }
  55%, 100% { transform: translateX(420%) rotate(20deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .fj-fut__placa::after { animation: none; display: none; }
}
.fj-fut__cuerpo {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 80%;
  max-width: 12.6rem;
  margin: 0 auto;
  flex: 1 1 auto;
  gap: 0.08rem;
}
.fj-ovr {
  position: relative;
  z-index: 1;
  margin-top: auto;
  display: grid;
  place-items: center;
  padding: 0.12rem 0 0.05rem;
}
.fj-ovr b {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: 'Oswald', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  background: radial-gradient(circle at 32% 28%, #fff8d6, #e8c04a 46%, #6a5208 100%);
  box-shadow: 0 0 0 2px rgba(26,20,4,.4), inset 0 1px 0 rgba(255,255,255,.55);
}
.fj-pos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0.18rem auto 0.04rem;
  padding: .1rem .5rem;
  border-radius: 999px;
  background: rgba(7,16,24,.42);
  color: #fff8d6;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.fj-face-slot {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 0.28rem;
  flex: 0 0 150px;
  align-self: center;
  padding: 0;
  background: none;
  clip-path: none;
}
.fj-fut .fj-face-slot::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #fff6c8, #b8860b 55%, #6a5208);
  clip-path: var(--hex);
  z-index: 0;
}
.fj-fut .fj-face,
.fj-face {
  width: 148px; height: 148px;
  margin: 0 auto;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(7,16,24,.55); color: #fff; font-family: 'Oswald', sans-serif; font-size: 1.5rem;
  border: 2px solid rgba(255,255,255,.45);
  overflow: hidden; position: relative;
}
.fj-fut .fj-face {
  position: absolute;
  inset: 4px;
  width: auto !important;
  height: auto !important;
  margin: 0;
  border: 0;
  border-radius: 0;
  clip-path: var(--hex);
  z-index: 1;
}
.fj-face-slot .fj-face { width: 100%; height: 100%; margin: 0; }
.fj-fut .fj-face-slot .fj-face { width: auto; height: auto; }
.fj-face img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  display: block;
}
.fj-foto-admin {
  position: absolute;
  right: -4px;
  bottom: 6px;
  margin: 0;
  z-index: 3;
}
.fj-foto-ico {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold2), var(--gold));
  color: var(--on-gold);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(7,16,24,.45);
}
.fj-foto-ico svg { width: 18px; height: 18px; }
.fj-foto-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 6px);
  display: grid;
  gap: 0.15rem;
  min-width: 8.4rem;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.3rem;
  z-index: 4;
  box-shadow: 0 10px 22px rgba(0,0,0,.42);
}
.fj-foto-menu[hidden] { display: none !important; }
.fj-foto-menu button {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--gold2);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.42rem 0.5rem;
  border-radius: 8px;
  text-align: left;
}
.fj-foto-menu button:active { background: rgba(212,175,55,.14); }
.fj-foto-menu svg { width: 16px; height: 16px; flex: 0 0 16px; }
.fj-foto-box {
  display: flex; gap: .9rem; align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: .9rem 1rem;
  margin-bottom: 1rem;
}
.fj-foto-box .fj-face-slot {
  margin: 0; width: 108px; height: 108px; flex: 0 0 108px;
  padding: 0; background: none; clip-path: none;
}
.fj-foto-box .fj-face { margin: 0; width: 108px; height: 108px; clip-path: none; border-radius: 50%; border: 2px solid rgba(255,255,255,.45); }
.fj-foto-box .fj-foto-ico { width: 32px; height: 32px; }
.fj-foto-box .fj-foto-ico svg { width: 16px; height: 16px; }
.fj-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  width: 100%;
  text-align: center;
  line-height: 1.1;
}
.fj-meta {
  font-size: .78rem;
  font-weight: 700;
  opacity: .8;
  width: 100%;
  text-align: center;
}
.fj-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .18rem .12rem;
  margin: .4rem auto 0;
  width: 100%;
  font-weight: 800;
  font-size: .78rem;
  justify-items: center;
  text-align: center;
  background: rgba(7,16,24,.22);
  border-radius: 12px;
  padding: .35rem .2rem .3rem;
}
.fj-stats span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  line-height: 1.05;
  text-align: center;
}
.fj-stats span i {
  font-style: normal;
  font-size: .58rem;
  letter-spacing: .06em;
  opacity: .72;
}
.fj-stats span b { font-weight: 800; font-size: .92rem; }
.fj-leyenda {
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.4;
  text-align: center;
  margin: -.55rem 0 1rem;
}

.fj-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin: 0 0 1rem; }
.fj-kpi {
  background: linear-gradient(180deg, rgba(212,175,55,.12), rgba(7,16,24,.6));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .75rem .8rem;
}
.fj-kpi strong { display: block; font-family: 'Oswald', sans-serif; font-size: 1.35rem; color: var(--gold2); }
.fj-kpi span { color: var(--muted); font-size: .75rem; }

.fj-tile, .fj-item {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--ink);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 14px;
  padding: .8rem .9rem;
  margin-bottom: .55rem;
}
.fj-tile strong, .fj-item strong { display: block; font-family: 'Oswald', sans-serif; letter-spacing: .04em; text-transform: uppercase; color: var(--gold2); }
.fj-tile small, .fj-item p { color: var(--muted); }
.fj-tile--foto {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0.7rem 0.45rem 0.45rem;
}
.fj-tile--foto img {
  width: 76px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
  flex: 0 0 76px;
}
.fj-help { margin: .35rem 0 0; color: var(--muted); font-size: .92rem; }
.fj-mkt-prev { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .45rem; }
.fj-mkt-prev img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; background: #fff; }
.fj-mkt-fotos { display: grid; gap: .55rem; margin: 0 0 .9rem; }
.fj-mkt-fotos img { width: 100%; max-height: 320px; object-fit: contain; background: #fff; border-radius: 12px; }
.fj-list { display: grid; gap: .55rem; }
.fj-empty { color: var(--muted); text-align: center; padding: 1.4rem .5rem; }
.fj-row { display: flex; justify-content: space-between; gap: .6rem; padding: .45rem 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.fj-row span { color: var(--muted); }
.fj-ok { color: var(--ok); font-weight: 800; }
#pwa, .fj-pwa-hint { display: none !important; }
body.fj-pwa-puede #pwa { display: inline-flex !important; }
body.fj-pwa-puede .fj-pwa-hint { display: block !important; }
.fj-pwa-on { display: none !important; }
body.fj-pwa-instalada .fj-pwa-on { display: block !important; }
.fj-no { color: var(--no); font-weight: 800; }
.fj-bar { display: grid; grid-template-columns: 7.4rem 1fr 2.4rem; gap: .4rem; align-items: center; margin: .35rem 0; font-size: .8rem; }
.fj-bar i { height: 8px; border-radius: 99px; background: #16304a; display: block; overflow: hidden; }
.fj-bar i em { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold2)); }
.fj-log { padding: .7rem .8rem; border-left: 3px solid var(--gold); background: var(--ink); border-radius: 0 10px 10px 0; margin-bottom: .5rem; }
.fj-log time { display: block; color: var(--gold); font-size: .7rem; letter-spacing: .06em; }
.fj-score { font-family: 'Oswald', sans-serif; font-size: 1.4rem; color: var(--gold2); }
.fj-select {
  width: 100%;
  background: var(--ink);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .6rem .7rem;
  margin: .4rem 0 1rem;
}
.fj-h2 {
  margin: 0.15rem 0 0.9rem;
  font-family: 'Oswald', sans-serif;
  color: var(--gold2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.25rem;
}
.fj-sec { margin: 0 0 1.2rem; }
.fj-portada > .fj-panel,
.fj-portada > .fj-sec,
.fj-portada > .fj-banners,
.fj-portada > .fj-mods {
  margin: 1.65rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid color-mix(in srgb, var(--gold) 42%, var(--line));
}
.fj-portada > .fj-panel > .fj-kicker,
.fj-portada > .fj-sec > .fj-sec__top { margin-bottom: 0.9rem; }
.fj-cargar { margin-top: 0.95rem; }
.fj-sec__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.fj-sec__top .fj-kicker { margin: 0; }
.fj-mini { padding: 0.28rem 0.6rem; font-size: 0.72rem; width: auto; }
.fj-back {
  display: inline-flex;
  background: none;
  border: 0;
  color: var(--gold2);
  font-weight: 800;
  padding: 0 0 0.7rem;
}
.fj-banners {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 0 1.1rem;
  padding-bottom: 0.2rem;
}
.fj-banner {
  flex: 0 0 min(86%, 320px);
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 84px;
  padding: 0.8rem 0.95rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(212,175,55,.18), rgba(21,122,60,.2)),
    var(--ink);
  color: var(--gold2);
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
}
.fj-banner img {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
}
.fj-banner-ico {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold2), var(--gold));
  color: var(--on-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}
.fj-detail { padding-bottom: 0.4rem; }
.fj-cover {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 0.8rem;
  border: 1px solid var(--line);
}
.fj-meta-line { color: var(--muted); margin: 0 0 0.8rem; font-size: 0.8rem; }
.fj-body { color: var(--text); line-height: 1.5; margin-top: 0.8rem; }
.fj-news-rail {
  display: flex;
  gap: 0.7rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.2rem;
}
.fj-news-card {
  flex: 0 0 min(72%, 240px);
  scroll-snap-align: start;
  text-align: left;
  background: var(--ink);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 16px;
  overflow: hidden;
  padding: 0 0 0.75rem;
}
.fj-news-card img, .fj-news-ph {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
}
.fj-news-ph {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--on-gold);
  font-family: 'Oswald', sans-serif;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fj-news-card strong {
  display: block;
  padding: 0.65rem 0.75rem 0.15rem;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gold2);
  font-size: 0.92rem;
}
.fj-news-card small { display: block; padding: 0 0.75rem; color: var(--muted); }
.fj-mods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0 0 1.2rem;
}
.fj-mod {
  text-align: left;
  background: linear-gradient(180deg, rgba(212,175,55,.12), rgba(7,16,24,.7));
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 14px;
  padding: 0.75rem 0.8rem;
}
.fj-mod b {
  display: block;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold2);
  font-size: 0.86rem;
}
.fj-mod small { color: var(--muted); }

.fj-cuenta .fj-panel { margin-bottom: 1rem; }
.fj-cuenta .fj-lead a { color: var(--gold2); }
.fj-h3 {
  margin: 0 0 0.55rem;
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold2);
}
.fj-alert-ok {
  background: rgba(16, 80, 40, .4);
  color: var(--ok);
  border-color: #15803d;
}
.fj-legal a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--gold2);
  text-decoration: none;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  font-weight: 700;
}
.fj-legal a:last-child { border-bottom: 0; }
.fj-legal a span { color: var(--muted); font-weight: 800; }
.fj-cal { margin: 0.2rem 0 1.1rem; }
.fj-cal__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}
.fj-cal__nav strong {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold2);
}
.fj-cal__dow, .fj-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
}
.fj-cal__dow span {
  text-align: center;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 800;
  padding: 0.15rem 0 0.35rem;
}
.fj-cal__cell {
  min-height: 72px;
  background: var(--ink);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  padding: 0.25rem 0.3rem;
}
.fj-cal__cell b { display: block; color: var(--muted); font-size: 0.68rem; }
.fj-cal__cell--on { border-color: var(--line); }
.fj-cal__cell--empty { background: transparent; border-color: transparent; }
.fj-cal__ev {
  display: block;
  width: 100%;
  text-align: left;
  margin-top: 0.18rem;
  padding: 0.12rem 0.2rem;
  border: 0;
  border-radius: 5px;
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--on-gold);
  background: var(--gold);
}
.fj-cal__ev i { font-style: normal; }
.fj-cal__ev--entreno { background: #5ee0a0; }
.fj-cal__ev--asamblea { background: #9ec0ff; }
.fj-fixture { overflow-x: auto; margin: 0.3rem 0 1rem; border: 1px solid var(--line); border-radius: 12px; }
.fj-fixture table { width: 100%; border-collapse: collapse; min-width: 680px; }
.fj-fixture th, .fj-fixture td {
  padding: 0.5rem 0.55rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 0.78rem;
}
.fj-fixture th {
  color: var(--gold2);
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--ink);
}
.fj-vote { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.45rem; }
.fj-vote .fj-ghost { flex: 1; min-width: 5rem; }
.fj-btn-danger {
  width: 100%;
  border: 1px solid #b91c1c;
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-weight: 800;
  background: rgba(127, 29, 29, .45);
  color: #ffb4a2;
}
.fj-alta-logo {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--gold);
  margin: 0 auto 0.6rem;
  display: block;
}
.fj-alta .fj-card { text-align: left; }
.fj-strip, .fj-balance {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin: 0.2rem 0 0.9rem;
}
.fj-kpi {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.7rem 0.75rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}
.fj-kpi strong {
  display: block;
  font-family: 'Oswald', sans-serif;
  color: var(--gold2);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  line-height: 1.15;
}
.fj-kpi span { color: var(--muted); font-size: 0.82rem; }
.fj-desk { display: grid; gap: 0.75rem; margin-bottom: 0.85rem; }
.fj-tabla-sec .fj-kicker { margin-top: 0.85rem; }
.fj-tabla-scroll { overflow-x: auto; margin: 0 0 0.4rem; }
.fj-tabla { width: 100%; border-collapse: collapse; min-width: 36rem; font-size: 0.82rem; }
.fj-tabla th, .fj-tabla td {
  padding: 0.45rem 0.35rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.fj-tabla th {
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.fj-tabla td:nth-child(2), .fj-tabla th:nth-child(2) { text-align: left; }
.fj-tabla td:last-child strong { color: var(--gold2); font-family: 'Oswald', sans-serif; }
.fj-tabla__yo { background: color-mix(in srgb, var(--gold) 16%, transparent); }
.fj-tabla__yo td:nth-child(2) { font-weight: 800; }
.fj-agenda { display: grid; gap: 0.45rem; }
.fj-agenda__item {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  grid-template-areas: 'fecha titulo' 'fecha detalle';
  gap: 0.05rem 0.65rem;
  width: 100%;
  text-align: left;
  background: var(--ink);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.65rem 0.75rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}
.fj-agenda__item em { grid-area: fecha; color: var(--gold); font-style: normal; font-weight: 700; }
.fj-agenda__item strong { grid-area: titulo; font-family: 'Oswald', sans-serif; letter-spacing: 0.03em; }
.fj-agenda__item span { grid-area: detalle; color: var(--muted); font-size: 0.82rem; }
.fj-pos {
  display: grid;
  grid-template-columns: 1.6rem 1fr auto;
  gap: 0.15rem 0.55rem;
  align-items: baseline;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.45rem;
}
.fj-pos b { color: var(--gold); font-family: 'Oswald', sans-serif; }
.fj-pos strong { font-family: 'Oswald', sans-serif; letter-spacing: 0.03em; }
.fj-pos em { color: var(--gold2); font-style: normal; font-weight: 700; }
.fj-pos span { grid-column: 1 / -1; color: var(--muted); font-size: 0.8rem; }
.fj-pos--yo { border-color: var(--gold2); box-shadow: 0 0 0 1px var(--gold); }
.fj-galeria { display: grid; gap: 0.5rem; margin-bottom: 0.8rem; }
.fj-cover--mas { height: 120px; }
.fj-news-ph--mini {
  width: 76px;
  height: 56px;
  flex: 0 0 76px;
  border-radius: 10px;
  font-size: 0.95rem;
}
@media (min-width: 701px) {
  .fj-strip { grid-template-columns: repeat(3, 1fr); }
  .fj-balance { grid-template-columns: repeat(5, 1fr); }
  .fj-desk { grid-template-columns: 1fr 1fr; }
}
.fj-fecha {
  display: grid;
  gap: 0.35rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.75rem 0.8rem;
  margin-bottom: 0.55rem;
}
.fj-fecha__cuando, .fj-fecha__cruce { display: flex; flex-wrap: wrap; gap: 0.35rem 0.5rem; align-items: baseline; }
.fj-fecha__cuando strong, .fj-fecha__cruce strong { font-family: 'Oswald', sans-serif; letter-spacing: 0.03em; }
.fj-fecha__cruce span, .fj-fecha__meta, .fj-fecha__cuando span { color: var(--muted); margin: 0; }
.fj-fecha__icos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; margin-top: 0.25rem; }
.fj-fecha__ico {
  background: color-mix(in srgb, var(--gold) 18%, var(--panel));
  color: var(--gold2);
  border: 1px solid color-mix(in srgb, var(--gold) 62%, var(--line));
  border-radius: 12px;
  padding: 0.55rem 0.3rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 1px 0 color-mix(in srgb, #fff 22%, transparent), 0 8px 16px rgba(0, 0, 0, 0.32);
}
.fj-fechas-tools input {
  width: 100%;
  margin-bottom: 0.75rem;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--text);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
}
.fj-fechas-pie {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  margin: 0.4rem 0 1rem;
  color: var(--muted);
  font-size: 0.82rem;
}
.fj-fechas-pie div { display: flex; gap: 0.4rem; }
.fj-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin: 0.4rem 0 1.2rem;
}
.fj-pitch {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 68 / 105;
  margin-inline: auto;
  border-radius: 14px;
  background: repeating-linear-gradient(180deg, #2aaa4c 0 8%, #1e9440 8% 16%);
  box-shadow: inset 0 0 48px rgba(0, 0, 0, .2), 0 16px 36px rgba(0, 0, 0, .32);
  overflow: hidden;
}
.fj-pitch-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 105'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='0.42'%3E%3Crect x='3' y='3' width='62' height='99'/%3E%3Cline x1='3' y1='52.5' x2='65' y2='52.5'/%3E%3Ccircle cx='34' cy='52.5' r='8.6'/%3E%3Crect x='15.2' y='3' width='37.6' height='15.4'/%3E%3Crect x='24.7' y='3' width='18.6' height='5.1'/%3E%3Crect x='15.2' y='86.6' width='37.6' height='15.4'/%3E%3Crect x='24.7' y='96.9' width='18.6' height='5.1'/%3E%3Cpath d='M26.5 18.4A8.6 8.6 0 0 1 41.5 18.4'/%3E%3Cpath d='M26.5 86.6A8.6 8.6 0 0 0 41.5 86.6'/%3E%3Cpath d='M3 4.3A1.3 1.3 0 0 1 4.3 3'/%3E%3Cpath d='M63.7 3A1.3 1.3 0 0 1 65 4.3'/%3E%3Cpath d='M4.3 102A1.3 1.3 0 0 1 3 100.7'/%3E%3Cpath d='M65 100.7A1.3 1.3 0 0 1 63.7 102'/%3E%3Cpath stroke-width='0.7' d='M29.2 1.5h9.6V3h-9.6zM29.2 102h9.6v1.5h-9.6z'/%3E%3C/g%3E%3Cg fill='%23ffffff'%3E%3Ccircle cx='34' cy='52.5' r='0.65'/%3E%3Ccircle cx='34' cy='13.5' r='0.5'/%3E%3Ccircle cx='34' cy='91.5' r='0.5'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.fj-slot {
  position: absolute;
  width: 78px;
  margin-left: -39px;
  margin-top: -22px;
  text-align: center;
  z-index: 2;
}
.fj-slot .fj-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 78px;
  color: #fff;
}
.fj-camiseta {
  position: relative;
  display: block;
  width: 46px;
  height: 52px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 70'%3E%3Cpath fill='%23ffffff' d='M24 6c2.6 5.2 13.4 5.2 16 0l8 3.2 13 12.2-8.2 6.2-4.8-5.2v39H16V22.4l-4.8 5.2L3 21.4 16 9.2z'/%3E%3Cpath fill='none' stroke='%23d3dae2' stroke-width='1.2' stroke-linecap='round' d='M27 7.2c2.2 3.4 7.8 3.4 10 0'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .4));
}
.fj-camiseta--vacia {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 70'%3E%3Cpath fill='%23ffffff' fill-opacity='0.14' stroke='%23ffffff' stroke-width='1.6' d='M24 6c2.6 5.2 13.4 5.2 16 0l8 3.2 13 12.2-8.2 6.2-4.8-5.2v39H16V22.4l-4.8 5.2L3 21.4 16 9.2z'/%3E%3C/svg%3E");
  filter: none;
}
.fj-dorsal {
  position: absolute;
  inset: 14px 5px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #10283f;
  line-height: 1;
}
.fj-camiseta--vacia .fj-dorsal { color: #fff; font-size: 0.62rem; letter-spacing: 0.02em; }
.fj-mini--cambio { position: relative; }
.fj-cambio-min {
  display: inline-block;
  margin-top: 1px;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: #f5d76e;
  color: #1a1404;
  font-family: 'Oswald', sans-serif;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.fj-mini-row--sale { opacity: 0.72; }
.fj-mini-row--sale small { color: var(--gold2); }
.fj-resultado { margin: 0 0 0.8rem; }
.fj-slot strong {
  display: block;
  max-width: 78px;
  margin-top: 2px;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.05;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fj-banca { min-width: 0; }
.fj-bench { display: grid; gap: 0.45rem; }
.fj-mini-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
}
.fj-mini-row strong { display: block; font-family: 'Oswald', sans-serif; letter-spacing: 0.03em; text-transform: uppercase; color: var(--gold2); }
.fj-mini-row small { display: block; color: var(--muted); }
.fj-ovr {
  font-family: 'Oswald', sans-serif;
  width: 36px;
  text-align: center;
  color: var(--gold2);
  font-size: 1.1rem;
  flex: 0 0 36px;
}
@media (min-width: 860px) {
  .fj-layout { grid-template-columns: minmax(0, 1fr) 280px; align-items: start; }
}
.fj-fondos { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.fj-fondo-op {
  width: 7.2rem;
  display: grid;
  gap: 0.35rem;
  justify-items: center;
  background: var(--ink);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.45rem 0.4rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
}
.fj-fondo-op i {
  display: grid;
  place-items: center;
  width: 100%;
  height: 2.6rem;
  border-radius: 8px;
  font-style: normal;
}
.fj-fondo-op i b { width: 1.1rem; height: 1.1rem; border-radius: 3px; }
.fj-fondo-op.activo { border-color: var(--gold2); box-shadow: 0 0 0 1px var(--gold); }
