/*
 * Proyecto Isaías 9.3.0 — CONTENT EXPERIENCE
 * Final content and visual authority for every public Dinasta and Staff screen.
 * Presentation only: existing data, permissions, actions and URLs remain.
 */

:root{
  --fjx-bg:#f3f5fb;
  --fjx-bg-deep:#eaedf7;
  --fjx-surface:#ffffff;
  --fjx-surface-soft:#f8f9fd;
  --fjx-surface-raised:#ffffff;
  --fjx-text:#151827;
  --fjx-text-soft:#34394f;
  --fjx-muted:#626a80;
  --fjx-line:#dfe4ef;
  --fjx-line-strong:#cdd5e4;
  --fjx-purple:#6849e8;
  --fjx-purple-2:#8c72f4;
  --fjx-cyan:#087e9b;
  --fjx-teal:#087c68;
  --fjx-gold:#a96608;
  --fjx-green:#197647;
  --fjx-red:#b72d4b;
  --fjx-orange:#b45614;
  --fjx-accent:#6849e8;
  --fjx-accent-rgb:104,73,232;
  --fjx-shadow-sm:0 8px 22px rgba(34,40,74,.07);
  --fjx-shadow:0 18px 46px rgba(34,40,74,.10);
  --fjx-shadow-lg:0 30px 80px rgba(34,40,74,.15);
  --fjx-radius-sm:14px;
  --fjx-radius:22px;
  --fjx-radius-lg:30px;
}

html[data-fj-theme="night"]{
  --fjx-bg:#090d18;
  --fjx-bg-deep:#060912;
  --fjx-surface:#151b2b;
  --fjx-surface-soft:#1b2234;
  --fjx-surface-raised:#20283b;
  --fjx-text:#f8f9ff;
  --fjx-text-soft:#dce1ef;
  --fjx-muted:#abb4ca;
  --fjx-line:#313b51;
  --fjx-line-strong:#46516a;
  --fjx-purple:#a994ff;
  --fjx-purple-2:#c0b1ff;
  --fjx-cyan:#54d8f1;
  --fjx-teal:#61dfc7;
  --fjx-gold:#ffd172;
  --fjx-green:#78dfaa;
  --fjx-red:#ff8099;
  --fjx-orange:#ffb06f;
  --fjx-shadow-sm:0 10px 26px rgba(0,0,0,.22);
  --fjx-shadow:0 20px 52px rgba(0,0,0,.32);
  --fjx-shadow-lg:0 34px 90px rgba(0,0,0,.46);
}

html.fj-game-ui-v920,
html.fj-game-ui-v920 body{
  background:var(--fjx-bg)!important;
  color:var(--fjx-text)!important;
}

body.fj-game-ui-v920{
  min-height:100vh;
  background:
    radial-gradient(circle at 7% 3%,rgba(104,73,232,.09),transparent 29rem),
    radial-gradient(circle at 94% 14%,rgba(25,185,215,.08),transparent 30rem),
    var(--fjx-bg)!important;
}

html[data-fj-theme="night"] body.fj-game-ui-v920{
  background:
    radial-gradient(circle at 8% 0%,rgba(133,105,255,.13),transparent 30rem),
    radial-gradient(circle at 95% 15%,rgba(31,179,213,.09),transparent 33rem),
    var(--fjx-bg)!important;
}

body.fj-v920-menu-lock{overflow:hidden!important}

/* The legacy drawer is no longer part of the shell. This is a defensive rule
   for cached fragments: it can never flash while the page is loading. */
.fj-game-shell-v920>.fj-app-sidebar,
.fj-game-shell-v920>.fj-sidebar-backdrop,
.fj-game-shell-v920>.fj-mobile-appbar{
  display:none!important;
  visibility:hidden!important;
}

.fj-game-shell-v920{
  --fj-app-sidebar-w:0px!important;
  position:relative!important;
  display:block!important;
  width:min(1480px,100%)!important;
  min-height:100vh!important;
  margin:0 auto!important;
  padding:14px 22px 54px!important;
  background:transparent!important;
  color:var(--fjx-text)!important;
  isolation:isolate;
}

.fj-game-shell-v920>.fj-app-main{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}

.fj-game-shell-v920 .fj-v8-page-canvas{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
.fj-game-shell-v920 .fj-v8-page-canvas:before{display:none!important}

/* Each world gets its own energy without changing component contracts. */
.fj-game-shell-v920:is(.fj-v9-screen-ficha,.fj-v9-screen-adelanto,.fj-v9-screen-tablero,.fj-v9-screen-equivalencia){--fjx-accent:#6849e8;--fjx-accent-rgb:104,73,232}
.fj-game-shell-v920:is(.fj-v9-screen-ficha_equipo,.fj-v9-screen-tesoreria,.fj-v9-screen-gestion_equipos){--fjx-accent:#087c68;--fjx-accent-rgb:8,124,104}
.fj-game-shell-v920:is(.fj-v9-screen-ranking,.fj-v9-screen-directorio,.fj-v9-screen-directorio_equipos,.fj-v9-screen-muro,.fj-v9-screen-staff){--fjx-accent:#087e9b;--fjx-accent-rgb:8,126,155}
.fj-game-shell-v920:is(.fj-v9-screen-banco,.fj-v9-screen-mercado,.fj-v9-screen-mercado_equipos,.fj-v9-screen-tienda,.fj-v9-screen-insignias){--fjx-accent:#a96608;--fjx-accent-rgb:169,102,8}
.fj-game-shell-v920:is(.fj-v9-screen-admin_panel,.fj-v9-screen-staff_profile,.fj-v9-screen-staff_wall,.fj-v9-screen-admin_solicitudes,.fj-v9-screen-asistencia,.fj-v9-screen-registro,.fj-v9-screen-admin_equivalencias,.fj-v9-screen-admin_fichero,.fj-v9-screen-admin_logo,.fj-v9-screen-admin_config){--fjx-accent:#4058c8;--fjx-accent-rgb:64,88,200}

/* ==========================================================
   TOP NAVIGATION — one calm, persistent orientation layer.
   ========================================================== */
.fj-game-shell-v920>.fj-v8-gamebar{
  position:relative!important;
  z-index:60!important;
  width:100%!important;
  margin:0!important;
  overflow:visible!important;
  border:1px solid color-mix(in srgb,var(--fjx-line) 84%,transparent)!important;
  border-radius:20px!important;
  background:color-mix(in srgb,var(--fjx-surface) 92%,transparent)!important;
  box-shadow:var(--fjx-shadow)!important;
  backdrop-filter:blur(20px) saturate(140%)!important;
}

.fj-game-shell-v920 .fj-v8-gamebar-main{
  display:grid!important;
  grid-template-columns:auto minmax(320px,1fr) auto!important;
  align-items:center!important;
  gap:18px!important;
  min-height:70px!important;
  padding:9px 12px!important;
}

.fj-game-shell-v920 .fj-v8-brand{display:flex!important;align-items:center!important;gap:9px!important;color:var(--fjx-text)!important}
.fj-game-shell-v920 .fj-v8-brand-mark{width:44px!important;height:44px!important;border-radius:14px!important;background:var(--fjx-surface-soft)!important;border:1px solid var(--fjx-line)!important;box-shadow:none!important}
.fj-game-shell-v920 .fj-v8-brand-copy strong{color:var(--fjx-text)!important;letter-spacing:.08em!important}
.fj-game-shell-v920 .fj-v8-brand-copy small{color:var(--fjx-muted)!important}

.fj-game-shell-v920 .fj-v8-worlds{display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-width:0!important}
.fj-game-shell-v920 .fj-v8-world{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  min-height:42px!important;
  padding:9px 13px!important;
  border:1px solid transparent!important;
  border-radius:13px!important;
  background:transparent!important;
  color:var(--fjx-muted)!important;
  font-weight:850!important;
  transition:transform .18s ease,background .18s ease,color .18s ease!important;
}
.fj-game-shell-v920 .fj-v8-world:hover{transform:translateY(-1px)!important;background:var(--fjx-surface-soft)!important;color:var(--fjx-text)!important}
.fj-game-shell-v920 .fj-v8-world.is-active{background:linear-gradient(135deg,var(--fjx-accent),color-mix(in srgb,var(--fjx-accent) 72%,#282254))!important;color:#fff!important;box-shadow:0 9px 24px rgba(var(--fjx-accent-rgb),.24)!important}

.fj-game-shell-v920 .fj-v8-player-hud{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;min-width:0!important}
.fj-game-shell-v920 .fj-v8-hud-stat,.fj-game-shell-v920 .fj-v8-season,.fj-game-shell-v920 .fj-v8-staff-badge{
  border:1px solid var(--fjx-line)!important;
  background:var(--fjx-surface-soft)!important;
  color:var(--fjx-text)!important;
  box-shadow:none!important;
}
.fj-game-shell-v920 .fj-v8-hud-stat small,.fj-game-shell-v920 .fj-v8-season{color:var(--fjx-muted)!important}

.fj-game-shell-v920 .fj-v920-explore,
.fj-game-shell-v920 .fj-v8-theme-toggle{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  min-height:38px!important;
  padding:7px 11px!important;
  border:1px solid var(--fjx-line)!important;
  border-radius:12px!important;
  background:var(--fjx-surface-soft)!important;
  color:var(--fjx-text-soft)!important;
  font:inherit!important;
  font-size:10px!important;
  font-weight:900!important;
  box-shadow:none!important;
  cursor:pointer!important;
}
.fj-game-shell-v920 .fj-v920-explore:hover,.fj-game-shell-v920 .fj-v8-theme-toggle:hover{border-color:rgba(var(--fjx-accent-rgb),.45)!important;background:rgba(var(--fjx-accent-rgb),.08)!important;color:var(--fjx-accent)!important;transform:translateY(-1px)!important}
.fj-game-shell-v920 .fj-v920-explore .dashicons,.fj-game-shell-v920 .fj-v8-theme-toggle .dashicons{width:16px!important;height:16px!important;font-size:16px!important;color:currentColor!important}

/* ==========================================================
   WORLD MAP — replaces the old sidebar completely.
   ========================================================== */
.fj-v920-menu[hidden]{display:none!important}
.fj-v920-menu{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:24px;opacity:0;transition:opacity .18s ease}
.fj-v920-menu.is-open{opacity:1}
.fj-v920-menu-backdrop{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;margin:0!important;border:0!important;border-radius:0!important;background:rgba(7,10,20,.72)!important;backdrop-filter:blur(12px)!important;box-shadow:none!important}
.fj-v920-menu-panel{
  position:relative;
  width:min(1120px,100%);
  max-height:min(850px,calc(100vh - 48px));
  overflow:auto;
  border:1px solid var(--fjx-line-strong);
  border-radius:30px;
  background:var(--fjx-surface);
  color:var(--fjx-text);
  box-shadow:0 42px 120px rgba(0,0,0,.38);
  transform:translateY(14px) scale(.985);
  transition:transform .2s ease;
  scrollbar-width:thin;
  scrollbar-color:rgba(var(--fjx-accent-rgb),.48) transparent;
}
.fj-v920-menu.is-open .fj-v920-menu-panel{transform:none}
.fj-v920-menu-head{position:sticky;top:0;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px;border-bottom:1px solid var(--fjx-line);background:color-mix(in srgb,var(--fjx-surface) 92%,transparent);backdrop-filter:blur(18px)}
.fj-v920-menu-brand{display:flex;align-items:center;gap:15px;min-width:0}
.fj-v920-menu-logo{display:grid;place-items:center;width:58px;height:58px;flex:0 0 58px;overflow:hidden;border:1px solid var(--fjx-line);border-radius:18px;background:var(--fjx-surface-soft)}
.fj-v920-menu-logo img{display:block;width:100%;height:100%;object-fit:contain}
.fj-v920-menu-brand>div>span{display:block;color:var(--fjx-accent);font-size:9px;font-weight:950;letter-spacing:.13em}
.fj-v920-menu-brand h2{margin:3px 0 2px!important;color:var(--fjx-text)!important;font-size:clamp(23px,3vw,34px)!important;line-height:1.05!important;letter-spacing:-.035em!important}
.fj-v920-menu-brand p{margin:0!important;color:var(--fjx-muted)!important;font-size:12px!important}
.fj-v920-menu-close{display:grid!important;place-items:center!important;width:44px!important;height:44px!important;min-width:44px!important;margin:0!important;padding:0!important;border:1px solid var(--fjx-line)!important;border-radius:14px!important;background:var(--fjx-surface-soft)!important;color:var(--fjx-text)!important;box-shadow:none!important;cursor:pointer!important}
.fj-v920-menu-close:hover{background:rgba(var(--fjx-accent-rgb),.1)!important;color:var(--fjx-accent)!important}
.fj-v920-menu-worlds{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:20px 22px 22px;background:linear-gradient(145deg,var(--fjx-surface-soft),var(--fjx-surface))}
.fj-v920-menu-world{min-width:0;padding:15px;border:1px solid var(--fjx-line);border-radius:22px;background:var(--fjx-surface);box-shadow:var(--fjx-shadow-sm)}
.fj-v920-menu-world.is-current{border-color:rgba(var(--fjx-accent-rgb),.38);box-shadow:0 14px 32px rgba(var(--fjx-accent-rgb),.10)}
.fj-v920-menu-world>header{display:flex;align-items:center;gap:10px;margin-bottom:11px;padding:0 2px}
.fj-v920-menu-world>header>.dashicons{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:rgba(var(--fjx-accent-rgb),.10);color:var(--fjx-accent);font-size:19px;line-height:36px}
.fj-v920-menu-world>header div{min-width:0;flex:1}.fj-v920-menu-world>header small{display:block;color:var(--fjx-muted);font-size:8px;font-weight:900;letter-spacing:.12em}.fj-v920-menu-world>header h3{margin:1px 0 0!important;color:var(--fjx-text)!important;font-size:18px!important}.fj-v920-menu-world>header>b{display:grid;place-items:center;width:28px;height:28px;border-radius:10px;background:var(--fjx-surface-soft);color:var(--fjx-muted);font-size:11px}
.fj-v920-menu-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.fj-v920-menu-links>a{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;min-width:0;min-height:62px;padding:9px 10px;border:1px solid transparent;border-radius:15px;background:var(--fjx-surface-soft);color:var(--fjx-text)!important;text-decoration:none!important}
.fj-v920-menu-links>a:hover{border-color:rgba(var(--fjx-accent-rgb),.28);background:rgba(var(--fjx-accent-rgb),.07);transform:translateY(-1px)}
.fj-v920-menu-links>a.is-active{border-color:rgba(var(--fjx-accent-rgb),.42);background:linear-gradient(135deg,rgba(var(--fjx-accent-rgb),.14),rgba(var(--fjx-accent-rgb),.05))}
.fj-v920-menu-links>a>.dashicons{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--fjx-surface);color:var(--fjx-accent);font-size:17px;line-height:34px;box-shadow:inset 0 0 0 1px var(--fjx-line)}
.fj-v920-menu-links>a>span:nth-child(2){display:grid;gap:2px;min-width:0}.fj-v920-menu-links strong{overflow:hidden;color:var(--fjx-text);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.fj-v920-menu-links small{overflow:hidden;color:var(--fjx-muted);font-size:8.5px;text-overflow:ellipsis;white-space:nowrap}.fj-v920-menu-links>a>b{color:var(--fjx-accent);font-size:14px}
.fj-v920-menu-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 24px;border-top:1px solid var(--fjx-line);background:var(--fjx-surface)}
.fj-v920-menu-foot>div{display:flex;align-items:center;gap:9px;min-width:0}.fj-v920-menu-foot .fj-front-avatar{width:38px!important;height:38px!important}.fj-v920-menu-foot .fj-avatar,.fj-v920-menu-foot img{width:38px!important;height:38px!important;object-fit:cover!important;border-radius:50%!important}.fj-v920-menu-foot>div>span{display:grid;gap:1px}.fj-v920-menu-foot small{color:var(--fjx-muted);font-size:8px;font-weight:900;letter-spacing:.1em}.fj-v920-menu-foot strong{color:var(--fjx-text);font-size:11px}
.fj-v920-menu-foot>button{display:inline-flex!important;align-items:center!important;gap:7px!important;min-height:40px!important;margin:0!important;padding:8px 13px!important;border:1px solid var(--fjx-line)!important;border-radius:12px!important;background:var(--fjx-surface-soft)!important;color:var(--fjx-text)!important;font:inherit!important;font-size:10px!important;font-weight:850!important;box-shadow:none!important;cursor:pointer!important}

/* ==========================================================
   SCREEN INTRO — one promise, one action, one local route.
   ========================================================== */
.fj-game-shell-v920 .fj-v9-screen-intro{
  position:relative!important;
  overflow:hidden!important;
  margin:16px 0!important;
  border:1px solid rgba(var(--fjx-accent-rgb),.20)!important;
  border-radius:var(--fjx-radius-lg)!important;
  background:
    radial-gradient(circle at 91% 4%,rgba(var(--fjx-accent-rgb),.17),transparent 19rem),
    radial-gradient(circle at 4% 110%,rgba(31,185,215,.11),transparent 22rem),
    var(--fjx-surface)!important;
  color:var(--fjx-text)!important;
  box-shadow:var(--fjx-shadow)!important;
}
.fj-game-shell-v920 .fj-v9-screen-intro:before{content:"";position:absolute;right:-70px;top:-105px;width:270px;height:270px;border:1px solid rgba(var(--fjx-accent-rgb),.15);border-radius:50%;box-shadow:0 0 0 34px rgba(var(--fjx-accent-rgb),.035),0 0 0 70px rgba(var(--fjx-accent-rgb),.02);pointer-events:none}
.fj-game-shell-v920 .fj-v9-screen-intro:after{display:none!important}
.fj-game-shell-v920 .fj-v9-screen-intro__main{position:relative;z-index:1;display:grid!important;grid-template-columns:auto minmax(0,1fr) minmax(220px,290px)!important;align-items:center!important;gap:18px!important;padding:22px 24px 20px!important}
.fj-game-shell-v920 .fj-v9-screen-icon{display:grid!important;place-items:center!important;width:66px!important;height:66px!important;border-radius:20px!important;background:linear-gradient(145deg,var(--fjx-accent),color-mix(in srgb,var(--fjx-accent) 65%,#25214a))!important;color:#fff!important;box-shadow:0 14px 30px rgba(var(--fjx-accent-rgb),.24)!important}
.fj-game-shell-v920 .fj-v9-screen-copy{min-width:0!important}.fj-game-shell-v920 .fj-v9-screen-kicker{color:var(--fjx-accent)!important;font-size:9px!important;font-weight:950!important;letter-spacing:.12em!important}.fj-game-shell-v920 .fj-v9-screen-copy h1{margin:4px 0 5px!important;color:var(--fjx-text)!important;font-size:clamp(28px,3.5vw,46px)!important;line-height:1!important;letter-spacing:-.045em!important}.fj-game-shell-v920 .fj-v9-screen-copy p{max-width:680px!important;margin:0!important;color:var(--fjx-muted)!important;font-size:13px!important;line-height:1.55!important}
.fj-game-shell-v920 .fj-v9-screen-action{position:relative;z-index:2;display:grid!important;gap:6px!important;align-self:stretch!important;align-content:center!important;padding-left:19px!important;border-left:1px solid var(--fjx-line)!important}.fj-game-shell-v920 .fj-v9-screen-action>span{color:var(--fjx-muted)!important;font-size:8px!important;font-weight:950!important;letter-spacing:.12em!important}.fj-game-shell-v920 .fj-v9-cta{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:48px!important;padding:10px 10px 10px 14px!important;border:1px solid rgba(var(--fjx-accent-rgb),.28)!important;border-radius:15px!important;background:rgba(var(--fjx-accent-rgb),.08)!important;color:var(--fjx-accent)!important;text-decoration:none!important}.fj-game-shell-v920 .fj-v9-cta:hover{transform:translateY(-2px)!important;background:rgba(var(--fjx-accent-rgb),.13)!important}.fj-game-shell-v920 .fj-v9-cta>span{display:grid!important;place-items:center!important;width:30px!important;height:30px!important;border-radius:10px!important;background:var(--fjx-accent)!important;color:#fff!important}
.fj-game-shell-v920 .fj-v9-screen-nav{position:relative;z-index:1;display:flex!important;gap:6px!important;overflow-x:auto!important;padding:0 18px 14px!important;scrollbar-width:none!important}.fj-game-shell-v920 .fj-v9-screen-nav::-webkit-scrollbar{display:none}.fj-game-shell-v920 .fj-v9-screen-nav a{display:inline-flex!important;align-items:center!important;gap:6px!important;min-height:38px!important;padding:8px 11px!important;border:1px solid transparent!important;border-radius:12px!important;background:var(--fjx-surface-soft)!important;color:var(--fjx-muted)!important;white-space:nowrap!important;text-decoration:none!important}.fj-game-shell-v920 .fj-v9-screen-nav a.is-active{border-color:rgba(var(--fjx-accent-rgb),.32)!important;background:rgba(var(--fjx-accent-rgb),.11)!important;color:var(--fjx-accent)!important}.fj-game-shell-v920 .fj-v9-screen-nav a:hover{color:var(--fjx-text)!important;transform:translateY(-1px)!important}

/* ==========================================================
   UNIVERSAL CONTENT LANGUAGE
   ========================================================== */
.fj-game-shell-v920 .fj-v9-screen-body{position:relative!important;display:block!important;color:var(--fjx-text)!important}
.fj-game-shell-v920 .fj-v9-screen-body>.fj-wrap,
.fj-game-shell-v920 .fj-v9-screen-body>.fj-system-fullwidth-host,
.fj-game-shell-v920 .fj-v9-screen-body .fj-wrap-fullwidth{width:100%!important;max-width:none!important;margin-inline:auto!important}

.fj-game-shell-v920 .fj-v9-screen-body :where(h1,h2,h3,h4,h5,h6){color:var(--fjx-text)!important;text-wrap:balance}
.fj-game-shell-v920 .fj-v9-screen-body :where(p,li,label,.description,.fj-muted){color:var(--fjx-muted)!important}
.fj-game-shell-v920 .fj-v9-screen-body :where(a){text-underline-offset:3px}

.fj-game-shell-v920 .fj-v920-chapter-card{
  position:relative!important;
  min-height:0!important;
  margin:0 0 14px!important;
  padding:18px 20px!important;
  border:1px solid var(--fjx-line)!important;
  border-radius:var(--fjx-radius)!important;
  background:linear-gradient(135deg,var(--fjx-surface),var(--fjx-surface-soft))!important;
  color:var(--fjx-text)!important;
  box-shadow:var(--fjx-shadow-sm)!important;
}
.fj-game-shell-v920 .fj-v920-chapter-card:before{content:"PUNTO DE PARTIDA";display:block;margin-bottom:6px;color:var(--fjx-accent);font-size:8px;font-weight:950;letter-spacing:.14em}
.fj-game-shell-v920 .fj-v920-chapter-card :where(h1,h2,h3){color:var(--fjx-text)!important}
.fj-game-shell-v920 .fj-v920-chapter-card :where(p,small){color:var(--fjx-muted)!important}

.fj-game-shell-v920 .fj-v920-module,
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-card,.fj-panel,.fj-dashboard-panel,.fj-team-hub-panel,.fj-market-panel,.fj-desafio-panel,.fj-sp649-panel,.fj-tm658-panel,.fj-sys659-card,.fj-bank-action-card,.fj-economy-card,.fj-profile-panel,.fj-mini-card){
  position:relative!important;
  border:1px solid var(--fjx-line)!important;
  border-radius:var(--fjx-radius)!important;
  background:var(--fjx-surface)!important;
  color:var(--fjx-text)!important;
  box-shadow:var(--fjx-shadow-sm)!important;
}
.fj-game-shell-v920 .fj-v920-module:before{content:"";position:absolute;z-index:2;top:-1px;left:22px;width:50px;height:3px;border-radius:0 0 99px 99px;background:var(--fjx-accent);box-shadow:0 0 18px rgba(var(--fjx-accent-rgb),.34);pointer-events:none}
.fj-game-shell-v920 .fj-v920-module:hover{border-color:rgba(var(--fjx-accent-rgb),.27)!important;box-shadow:var(--fjx-shadow)!important}
.fj-game-shell-v920 .fj-v920-module.is-interactive{background:linear-gradient(145deg,var(--fjx-surface),var(--fjx-surface-soft))!important}

.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-section-head,.fj-dashboard-panel-head,.fj-team-hub-panel-head,.fj-market-section-head,.fj-bank-section-head,.fj-desafio-section-head,.fj-treasury-section-head,.fj-sp649-section-head,.fj-sp651-section-head,.fj-eq654-section-head,.fj-sys659-card-head){
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin-bottom:13px!important;
  padding-bottom:11px!important;
  border-bottom:1px solid var(--fjx-line)!important;
}
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-eyebrow,.fj-kicker,.fj-section-kicker,.fj-dashboard-kicker,.fj-bank-kicker,.fj-treasury-kicker,.fj-eq655-kicker){color:var(--fjx-accent)!important;font-weight:950!important;letter-spacing:.11em!important}

/* Metrics become HUD chips, not spreadsheet cells. */
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-stats,.fj-economy-stats,.fj-prestige-summary,.fj-treasury-staff-stats,.fj-community-overview){gap:10px!important}
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-stat,.fj-economy-card,.fj-market-summary-card,.fj-bank-wallet-card,.fj-treasury-stat,.fj-adv-progress-stat,.fj-next-badge-metric){
  position:relative!important;
  overflow:hidden!important;
  min-height:88px!important;
  padding:15px 16px!important;
  border:1px solid var(--fjx-line)!important;
  border-radius:18px!important;
  background:linear-gradient(145deg,var(--fjx-surface),var(--fjx-surface-soft))!important;
  color:var(--fjx-text)!important;
  box-shadow:none!important;
}
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-stat,.fj-economy-card,.fj-market-summary-card,.fj-bank-wallet-card,.fj-treasury-stat,.fj-adv-progress-stat,.fj-next-badge-metric):after{content:"";position:absolute;right:-18px;bottom:-25px;width:74px;height:74px;border:1px solid rgba(var(--fjx-accent-rgb),.13);border-radius:50%;box-shadow:0 0 0 12px rgba(var(--fjx-accent-rgb),.03);pointer-events:none}
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-stat,.fj-economy-card,.fj-market-summary-card,.fj-bank-wallet-card,.fj-treasury-stat,.fj-adv-progress-stat,.fj-next-badge-metric) :where(strong,b){color:var(--fjx-text)!important}

/* Buttons feel like game actions and retain semantic state colours. */
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-btn,button,input[type="submit"],input[type="button"]){
  min-height:42px!important;
  border-radius:13px!important;
  font-weight:900!important;
  letter-spacing:.01em!important;
  box-shadow:none!important;
  transition:transform .16s ease,box-shadow .16s ease,background .16s ease!important;
}
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-btn-primary,.fj-btn-ok,button[type="submit"],input[type="submit"]){border-color:transparent!important;background:linear-gradient(135deg,var(--fjx-accent),color-mix(in srgb,var(--fjx-accent) 68%,#25204f))!important;color:#fff!important;box-shadow:0 9px 22px rgba(var(--fjx-accent-rgb),.20)!important}
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-btn-secondary,.fj-btn:not(.fj-btn-primary):not(.fj-btn-ok),button:not([type="submit"])){border:1px solid var(--fjx-line)!important;background:var(--fjx-surface-soft)!important;color:var(--fjx-text-soft)!important}
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-btn,button,input[type="submit"],input[type="button"]):hover{transform:translateY(-2px)!important;box-shadow:0 10px 24px rgba(var(--fjx-accent-rgb),.15)!important}

/* Forms read as guided consoles. */
.fj-game-shell-v920 .fj-v920-form{border-radius:var(--fjx-radius)!important}
.fj-game-shell-v920 .fj-v9-screen-body :where(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),select,textarea){
  min-height:46px!important;
  border:1px solid var(--fjx-line-strong)!important;
  border-radius:13px!important;
  background:var(--fjx-surface-soft)!important;
  color:var(--fjx-text)!important;
  box-shadow:inset 0 1px 1px rgba(30,35,60,.025)!important;
}
.fj-game-shell-v920 .fj-v9-screen-body textarea{min-height:112px!important;line-height:1.55!important}
.fj-game-shell-v920 .fj-v9-screen-body :where(input,select,textarea)::placeholder{color:color-mix(in srgb,var(--fjx-muted) 72%,transparent)!important;opacity:1!important}
.fj-game-shell-v920 .fj-v9-screen-body :where(input,select,textarea):focus{outline:3px solid rgba(var(--fjx-accent-rgb),.15)!important;outline-offset:1px!important;border-color:rgba(var(--fjx-accent-rgb),.62)!important;background:var(--fjx-surface)!important}
.fj-game-shell-v920 .fj-v9-screen-body :where(label)>:first-child:not(input):not(select):not(textarea){color:var(--fjx-text-soft)}

/* Tabs are quest choices. */
.fj-game-shell-v920 .fj-v920-quest-tabs,
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-tabs,.fj-adv-tabs,.fj-market-tabs,.fj-desafio-tabs,.fj-admin-tabs,[role="tablist"]){
  display:flex!important;
  gap:7px!important;
  overflow-x:auto!important;
  margin:0 0 15px!important;
  padding:6px!important;
  border:1px solid var(--fjx-line)!important;
  border-radius:16px!important;
  background:var(--fjx-surface-soft)!important;
  scrollbar-width:none!important;
}
.fj-game-shell-v920 .fj-v920-quest-tabs::-webkit-scrollbar{display:none}
.fj-game-shell-v920 .fj-v920-quest-tabs :where(a,button),
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-tabs,.fj-adv-tabs,.fj-market-tabs,.fj-desafio-tabs,.fj-admin-tabs,[role="tablist"]) :where(a,button){flex:0 0 auto!important;min-height:40px!important;padding:9px 13px!important;border:0!important;border-radius:11px!important;background:transparent!important;color:var(--fjx-muted)!important;box-shadow:none!important;white-space:nowrap!important}
.fj-game-shell-v920 .fj-v920-quest-tabs :where(.is-active,[aria-selected="true"]),
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-tabs,.fj-adv-tabs,.fj-market-tabs,.fj-desafio-tabs,.fj-admin-tabs,[role="tablist"]) :where(.is-active,[aria-selected="true"]){background:var(--fjx-surface)!important;color:var(--fjx-accent)!important;box-shadow:var(--fjx-shadow-sm)!important}

/* Tables become mission logs / scoreboards with breathing room. */
.fj-game-shell-v920 .fj-v920-table-zone{max-width:100%;overflow-x:auto;border-radius:18px;scrollbar-width:thin;scrollbar-color:rgba(var(--fjx-accent-rgb),.4) transparent}
.fj-game-shell-v920 .fj-v920-table{width:100%!important;border:0!important;border-collapse:separate!important;border-spacing:0 7px!important;background:transparent!important}
.fj-game-shell-v920 .fj-v920-table thead th{padding:8px 12px!important;border:0!important;background:transparent!important;color:var(--fjx-muted)!important;font-size:8.5px!important;font-weight:950!important;letter-spacing:.1em!important;text-transform:uppercase!important;white-space:nowrap!important}
.fj-game-shell-v920 .fj-v920-table tbody tr{filter:drop-shadow(0 5px 10px rgba(30,35,60,.04))}
.fj-game-shell-v920 .fj-v920-table tbody :where(td,th){padding:12px!important;border-top:1px solid var(--fjx-line)!important;border-bottom:1px solid var(--fjx-line)!important;background:var(--fjx-surface)!important;color:var(--fjx-text-soft)!important;vertical-align:middle!important}
.fj-game-shell-v920 .fj-v920-table tbody :where(td,th):first-child{border-left:1px solid var(--fjx-line)!important;border-radius:13px 0 0 13px!important}.fj-game-shell-v920 .fj-v920-table tbody :where(td,th):last-child{border-right:1px solid var(--fjx-line)!important;border-radius:0 13px 13px 0!important}
.fj-game-shell-v920 .fj-v920-table tbody tr:hover :where(td,th){border-color:rgba(var(--fjx-accent-rgb),.30)!important;background:rgba(var(--fjx-accent-rgb),.045)!important}

/* Status and feedback are unmistakable in both themes. */
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-badge,.fj-chip,.fj-pill,.fj-market-pill,.fj-team-hub-chip,.fj-team-private-chip,.fj-market-state-badge,.fj-muted-badge){border:1px solid var(--fjx-line)!important;border-radius:999px!important;background:var(--fjx-surface-soft)!important;color:var(--fjx-text-soft)!important;font-weight:850!important}
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-msg,.fj-alert,.fj-notice,.fj-ajax-msg,.notice){border:1px solid var(--fjx-line)!important;border-left:4px solid var(--fjx-accent)!important;border-radius:16px!important;background:var(--fjx-surface)!important;color:var(--fjx-text-soft)!important;box-shadow:var(--fjx-shadow-sm)!important}
.fj-game-shell-v920 .fj-v9-screen-body :where(.success,.is-success,.fj-success){--fjx-accent:var(--fjx-green)}
.fj-game-shell-v920 .fj-v9-screen-body :where(.warning,.is-warning,.fj-warning){--fjx-accent:var(--fjx-orange)}
.fj-game-shell-v920 .fj-v9-screen-body :where(.error,.is-error,.fj-error,.danger){--fjx-accent:var(--fjx-red)}
.fj-game-shell-v920 .fj-v920-empty-state{display:grid!important;place-items:center!important;gap:6px!important;min-height:150px!important;padding:25px!important;border:1px dashed var(--fjx-line-strong)!important;border-radius:20px!important;background:var(--fjx-surface-soft)!important;color:var(--fjx-muted)!important;text-align:center!important}

/* ==========================================================
   PAGE FAMILIES — every screen receives a recognisable genre.
   ========================================================== */

/* Mi avance: profile, progress route and current priorities. */
.fj-game-shell-v920:is(.fj-v9-screen-ficha,.fj-v9-screen-adelanto,.fj-v9-screen-tablero,.fj-v9-screen-equivalencia) .fj-v9-screen-body :where(.fj-profile-portal,.fj-adv-page,.fj-dashboard,.fj-equivalence-page){display:grid;gap:14px}
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-profile-hero,.fj-dinasta-hero){border-radius:26px!important;box-shadow:var(--fjx-shadow)!important}
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-profile-next-task,.fj-dashboard-mission,.fj-adv-mission,.fj-v920-primary-mission){border:1px solid rgba(var(--fjx-accent-rgb),.28)!important;border-radius:22px!important;background:linear-gradient(135deg,rgba(var(--fjx-accent-rgb),.11),var(--fjx-surface) 68%)!important;box-shadow:var(--fjx-shadow-sm)!important}
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-dashboard-action-card,.fj-mini-card-link){border-radius:18px!important;background:var(--fjx-surface)!important;color:var(--fjx-text)!important;box-shadow:var(--fjx-shadow-sm)!important}
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-adv-step-label,.fj-v9-quest-step){display:inline-flex!important;align-items:center!important;gap:7px!important;width:auto!important;padding:7px 10px!important;border-radius:999px!important;background:rgba(var(--fjx-accent-rgb),.10)!important;color:var(--fjx-accent)!important;font-weight:950!important}
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-progress,.fj-profile-progress,.fj-dashboard-track,.fj-adv-progress-track){overflow:hidden!important;height:9px!important;border-radius:999px!important;background:color-mix(in srgb,var(--fjx-line) 70%,transparent)!important}.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-progress,.fj-profile-progress,.fj-dashboard-track,.fj-adv-progress-track)>span{height:100%!important;border-radius:inherit!important;background:linear-gradient(90deg,var(--fjx-accent),color-mix(in srgb,var(--fjx-accent) 48%,#6fe3f0))!important;box-shadow:0 0 16px rgba(var(--fjx-accent-rgb),.28)!important;transition:width .8s cubic-bezier(.2,.7,.2,1)!important}

/* Dinastía: squad identity, people first, resources second. */
.fj-game-shell-v920:is(.fj-v9-screen-ficha_equipo,.fj-v9-screen-tesoreria,.fj-v9-screen-gestion_equipos) .fj-v9-screen-body :where(.fj-dynasty-profile,.fj-team-hub,.fj-treasury-page,.fj-tm658-page){display:grid;gap:14px}
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-dynasty-roster-card,.fj-team-member-card,.fj-treasury-team-card){overflow:hidden!important;border:1px solid var(--fjx-line)!important;border-radius:20px!important;background:var(--fjx-surface)!important;box-shadow:var(--fjx-shadow-sm)!important}
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-dynasty-avatar,.fj-team-avatar,.fj-avatar-frame) :where(img,.fj-avatar){object-fit:cover!important;border-radius:18px!important}
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-treasury-team-cards,.fj-dynasty-roster-grid){gap:11px!important}
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-treasury-team-card-balance,.fj-treasury-team-id){background:var(--fjx-surface-soft)!important;color:var(--fjx-text)!important}

/* Comunidad: arena, players, Dinastías and conversations. */
.fj-game-shell-v920:is(.fj-v9-screen-ranking,.fj-v9-screen-directorio,.fj-v9-screen-directorio_equipos,.fj-v9-screen-muro,.fj-v9-screen-staff) .fj-v9-screen-body :where(.fj-ranking-page,.fj-community-directory,.fj-wall641-page,.fj-staff646-page){display:grid;gap:14px}
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-ranking-step,.fj-ranking-row,.fj-community-player-card,.fj-community-team-card,.fj-wall641-post,.fj-staff646-card){border:1px solid var(--fjx-line)!important;border-radius:20px!important;background:var(--fjx-surface)!important;color:var(--fjx-text)!important;box-shadow:var(--fjx-shadow-sm)!important}
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-ranking-you-badge,.fj-ranking-rank,.fj-community-number){background:rgba(var(--fjx-accent-rgb),.12)!important;color:var(--fjx-accent)!important}
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-community-grid,.fj-market-player-grid,.fj-staff646-grid){gap:12px!important}
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-wall641-composer,.fj-wall641-spotlight,.fj-muro-profile-card){border:1px solid var(--fjx-line)!important;border-radius:22px!important;background:linear-gradient(145deg,var(--fjx-surface),var(--fjx-surface-soft))!important;box-shadow:var(--fjx-shadow-sm)!important}
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-wall641-post-avatar,.fj-community-avatar,.fj-staff646-avatar) :where(img,.fj-avatar){object-fit:cover!important}

/* Reino: wallets, shop objects, challenges and transfers. */
.fj-game-shell-v920:is(.fj-v9-screen-banco,.fj-v9-screen-mercado,.fj-v9-screen-mercado_equipos,.fj-v9-screen-tienda,.fj-v9-screen-insignias) .fj-v9-screen-body :where(.fj-bank-page,.fj-market-page,.fj-store636-page,.fj-badge636-page,.fj-desafio-page){display:grid;gap:14px}
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-bank-wallet-card,.fj-market-player-card,.fj-store636-card,.fj-badge636-card,.fj-desafio-card){overflow:hidden!important;border:1px solid var(--fjx-line)!important;border-radius:22px!important;background:var(--fjx-surface)!important;color:var(--fjx-text)!important;box-shadow:var(--fjx-shadow-sm)!important}
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-store636-grid,.fj-badge636-grid,.fj-desafio-grid,.fj-market-player-grid){gap:13px!important}
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-desafio-icon-cut,.fj-badge-cut,.fj-bank-wallet-icon){background:rgba(var(--fjx-accent-rgb),.11)!important;color:var(--fjx-accent)!important;box-shadow:inset 0 0 0 1px rgba(var(--fjx-accent-rgb),.16)!important}
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-desafio-countdown,.fj-deadline){border-radius:13px!important;background:var(--fjx-surface-soft)!important;color:var(--fjx-text)!important}
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-price,.fj-balance,.fj-prestige){color:var(--fjx-gold)!important}

/* Staff: operational screens become command missions, not spreadsheets. */
.fj-game-shell-v920[data-fj-segment="administrador"] .fj-v9-screen-body :where(.fj-sp649-wrap,.fj-sp650-wrap,.fj-sp651-page,.fj-applications652,.fj-intake653-page,.fj-eq654-page,.fj-attendance-v656,.fj-rw657-page,.fj-tm658-page,.fj-sys659-page){display:grid;gap:14px}
.fj-game-shell-v920[data-fj-segment="administrador"] .fj-v9-screen-body :where(.fj-sp649-panel,.fj-sp651-card,.fj-app652-card,.fj-intake653-card,.fj-eq654-block,.fj-att-card,.fj-rw657-card,.fj-tm658-panel,.fj-sys659-card){border:1px solid var(--fjx-line)!important;border-radius:20px!important;background:var(--fjx-surface)!important;color:var(--fjx-text)!important;box-shadow:var(--fjx-shadow-sm)!important}
.fj-game-shell-v920[data-fj-segment="administrador"] .fj-v9-screen-body :where(.fj-sp649-stats,.fj-sp651-stats,.fj-app652-stats,.fj-att-stats,.fj-rw657-stats){gap:10px!important}
.fj-game-shell-v920[data-fj-segment="administrador"] .fj-v9-screen-body :where(.fj-app652-state,.fj-intake653-state,.fj-eq654-decision-label,.fj-kp-state){border-radius:999px!important;font-weight:900!important}
.fj-game-shell-v920[data-fj-segment="administrador"] .fj-v9-screen-body details{overflow:hidden;border:1px solid var(--fjx-line)!important;border-radius:16px!important;background:var(--fjx-surface)!important}.fj-game-shell-v920[data-fj-segment="administrador"] .fj-v9-screen-body summary{padding:13px 15px!important;color:var(--fjx-text)!important;font-weight:900!important;cursor:pointer!important}.fj-game-shell-v920[data-fj-segment="administrador"] .fj-v9-screen-body details[open] summary{border-bottom:1px solid var(--fjx-line)!important;background:var(--fjx-surface-soft)!important}

/* Sala de Dinastías: identity banners and a playable roster. */
.fj-game-shell-v920 .fj-dynasty-gallery{display:grid!important;gap:14px!important}
.fj-game-shell-v920 .fj-dynasty-gallery .fj-dynasty-gallery-hero{position:relative;display:grid!important;grid-template-columns:minmax(0,1.65fr) minmax(240px,.55fr)!important;align-items:center!important;gap:28px!important;min-height:278px!important;padding:34px 38px!important;overflow:hidden!important;border:1px solid rgba(139,165,255,.24)!important;border-radius:30px!important;background:linear-gradient(90deg,rgba(112,82,225,.26),transparent 43%),radial-gradient(circle at 93% 88%,rgba(41,195,221,.22),transparent 35%),#0b1325!important;color:#fff!important;box-shadow:var(--fjx-shadow-lg)!important}
.fj-game-shell-v920 .fj-dynasty-gallery-hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:30px 30px;mask-image:linear-gradient(90deg,#000,transparent 80%);pointer-events:none}
.fj-game-shell-v920 .fj-dynasty-gallery-hero-copy{position:relative;z-index:2;min-width:0}.fj-game-shell-v920 .fj-dynasty-gallery-hero .fj-community-eyebrow{color:#a8b5ff!important;font-size:9px!important;font-weight:950!important;letter-spacing:.14em!important}.fj-game-shell-v920 .fj-dynasty-gallery-hero h2{max-width:810px;margin:10px 0 9px!important;color:#fff!important;font-size:clamp(32px,5vw,60px)!important;line-height:.98!important;letter-spacing:-.05em!important}.fj-game-shell-v920 .fj-dynasty-gallery-hero p{max-width:730px;margin:0!important;color:#c7d1e5!important;font-size:13px!important;line-height:1.62!important}.fj-game-shell-v920 .fj-dynasty-gallery-hero-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:18px}.fj-game-shell-v920 .fj-dynasty-gallery-hero-tags span{padding:5px 9px;border:1px solid rgba(255,255,255,.13);border-radius:999px;background:rgba(255,255,255,.07);color:#e8ecff!important;font-size:8px;font-weight:950}
.fj-game-shell-v920 .fj-dynasty-gallery-portal{position:relative;z-index:2;display:grid;place-items:center;align-content:center;min-height:190px;padding:24px;border:1px solid rgba(255,255,255,.15);border-radius:25px;background:rgba(255,255,255,.07)}.fj-game-shell-v920 .fj-dynasty-gallery-orbit{position:absolute;inset:20px;border:1px dashed rgba(148,196,255,.28);border-radius:50%;transform:rotate(-9deg)}.fj-game-shell-v920 .fj-dynasty-gallery-emblems{position:relative;z-index:2;display:flex;justify-content:center;padding-left:18px}.fj-game-shell-v920 .fj-dynasty-gallery-emblems>span{display:grid;place-items:center;width:52px;height:52px;margin-left:-18px;border:3px solid #18233a;border-radius:16px;background:#f8fbff;box-shadow:0 9px 22px rgba(0,0,0,.3)}.fj-game-shell-v920 .fj-dynasty-gallery-emblems :where(.fj-team-icon,.fj-team-icon-wrap,.fj-team-icon-image-wrap,img){width:100%!important;height:100%!important;object-fit:cover!important;border-radius:13px!important}.fj-game-shell-v920 .fj-dynasty-gallery-portal>strong{position:relative;z-index:2;margin-top:9px;color:#fff!important;font-size:43px!important;line-height:1!important}.fj-game-shell-v920 .fj-dynasty-gallery-portal>small{position:relative;z-index:2;color:#abb9d2!important;font-size:8px!important;font-weight:950!important;text-align:center!important}
.fj-game-shell-v920 .fj-dynasty-gallery .fj-community-switch{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin:0!important;padding:6px!important;border:1px solid var(--fjx-line)!important;border-radius:18px!important;background:var(--fjx-surface)!important;box-shadow:var(--fjx-shadow-sm)!important}.fj-game-shell-v920 .fj-dynasty-gallery .fj-community-switch a{min-height:54px!important;border:0!important;border-radius:13px!important;background:transparent!important;color:var(--fjx-muted)!important}.fj-game-shell-v920 .fj-dynasty-gallery .fj-community-switch a.is-active{background:rgba(var(--fjx-accent-rgb),.11)!important;color:var(--fjx-accent)!important}.fj-game-shell-v920 .fj-dynasty-gallery .fj-community-switch small{color:inherit!important}
.fj-game-shell-v920 .fj-dynasty-gallery-scoreboard{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;overflow:hidden!important;margin:0!important;padding:0!important;border:1px solid var(--fjx-line)!important;border-top:3px solid var(--fjx-accent)!important;border-radius:20px!important;background:var(--fjx-surface)!important;box-shadow:var(--fjx-shadow-sm)!important}.fj-game-shell-v920 .fj-dynasty-gallery-scoreboard article{min-height:92px!important;padding:16px 18px!important;border:0!important;border-right:1px solid var(--fjx-line)!important;background:transparent!important}.fj-game-shell-v920 .fj-dynasty-gallery-scoreboard article:last-child{border-right:0!important}.fj-game-shell-v920 .fj-dynasty-gallery-scoreboard span{color:var(--fjx-accent)!important;font-size:8px!important;font-weight:950!important}.fj-game-shell-v920 .fj-dynasty-gallery-scoreboard strong{display:block;margin:4px 0 2px;color:var(--fjx-text)!important;font-size:23px!important}.fj-game-shell-v920 .fj-dynasty-gallery-scoreboard small{color:var(--fjx-muted)!important}
.fj-game-shell-v920 .fj-dynasty-gallery-controls{display:grid!important;grid-template-columns:minmax(260px,1fr) minmax(220px,320px) auto auto!important;align-items:end!important;gap:9px!important;margin:0!important;padding:14px!important;border:1px solid var(--fjx-line)!important;border-radius:19px!important;background:var(--fjx-surface)!important;box-shadow:var(--fjx-shadow-sm)!important}.fj-game-shell-v920 .fj-dynasty-gallery-controls label{display:grid!important;gap:5px!important;margin:0!important}.fj-game-shell-v920 .fj-dynasty-gallery-controls label>span:not(.dashicons){color:var(--fjx-muted)!important;font-size:8px!important;font-weight:950!important}.fj-game-shell-v920 .fj-dynasty-gallery-controls .fj-community-chip{min-height:46px!important;white-space:nowrap!important}.fj-game-shell-v920 .fj-dynasty-gallery-results{display:flex!important;align-items:end!important;justify-content:space-between!important;gap:14px!important}.fj-game-shell-v920 .fj-dynasty-gallery-results>div{display:flex!important;align-items:baseline!important;gap:5px!important;flex-wrap:wrap!important}.fj-game-shell-v920 .fj-dynasty-gallery-results .fj-community-eyebrow{flex:0 0 100%;color:var(--fjx-accent)!important}.fj-game-shell-v920 .fj-dynasty-gallery-results strong{color:var(--fjx-text)!important;font-size:28px!important}.fj-game-shell-v920 .fj-dynasty-gallery-list{display:grid!important;grid-template-columns:1fr!important;gap:17px!important}
.fj-game-shell-v920 .fj-dynasty-gallery-card{position:relative!important;overflow:hidden!important;margin:0!important;padding:0!important;border:1px solid rgba(var(--fj-dynasty-rgb),.25)!important;border-radius:26px!important;background:var(--fjx-surface)!important;box-shadow:var(--fjx-shadow)!important;transition:transform .2s ease,border-color .2s ease!important}.fj-game-shell-v920 .fj-dynasty-gallery-card:before{display:none!important}.fj-game-shell-v920 .fj-dynasty-gallery-card:hover{transform:translateY(-3px)!important;border-color:rgba(var(--fj-dynasty-rgb),.46)!important}.fj-game-shell-v920 .fj-dynasty-card-watermark{position:absolute;z-index:1;right:5%;top:-14px;color:rgba(255,255,255,.045)!important;font-size:210px!important;font-weight:1000!important;line-height:1!important;pointer-events:none!important}
.fj-game-shell-v920 .fj-dynasty-card-hero{position:relative;z-index:2;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;gap:22px!important;min-height:174px!important;padding:24px 28px!important;background:radial-gradient(circle at 3% 50%,rgba(var(--fj-dynasty-rgb),.36),transparent 35%),radial-gradient(circle at 100% 100%,rgba(var(--fj-dynasty-rgb),.22),transparent 35%),#0b1325!important;color:#fff!important}.fj-game-shell-v920 .fj-dynasty-card-crest{position:relative;display:grid;place-items:center;width:112px;height:112px;padding:7px;border:1px solid rgba(255,255,255,.25);border-radius:27px;background:rgba(255,255,255,.10)}.fj-game-shell-v920 .fj-dynasty-card-crest :where(.fj-team-icon,.fj-team-icon-wrap,.fj-team-icon-image-wrap,img){width:98px!important;height:98px!important;object-fit:cover!important;border-radius:21px!important}.fj-game-shell-v920 .fj-dynasty-card-crest>span:last-child{position:absolute;right:-6px;bottom:-6px;display:grid;place-items:center;width:31px;height:31px;border:3px solid #0b1325;border-radius:11px;background:var(--fj-dynasty-color);color:#fff!important}
.fj-game-shell-v920 .fj-dynasty-card-identity{min-width:0}.fj-game-shell-v920 .fj-dynasty-card-identity .fj-community-kickers{display:flex;gap:6px}.fj-game-shell-v920 .fj-dynasty-card-identity .fj-community-kickers span{padding:3px 7px;border:1px solid rgba(255,255,255,.14);border-radius:6px;background:rgba(255,255,255,.07);color:#d9e0ef!important;font-size:7px;font-weight:950}.fj-game-shell-v920 .fj-dynasty-card-identity h3{margin:7px 0 5px!important;color:#fff!important;font-size:clamp(27px,3.4vw,43px)!important;line-height:1!important}.fj-game-shell-v920 .fj-dynasty-card-identity p{display:flex;gap:5px;margin:0!important;color:#bcc7db!important;font-size:11px!important}.fj-game-shell-v920 .fj-dynasty-card-identity p strong{color:#fff!important}.fj-game-shell-v920 .fj-dynasty-card-progress{max-width:560px;margin-top:14px}.fj-game-shell-v920 .fj-dynasty-card-progress>div{display:flex;justify-content:space-between;margin-bottom:5px;color:#b8c3d7;font-size:8px}.fj-game-shell-v920 .fj-dynasty-card-progress>i{display:block;overflow:hidden;height:7px;border-radius:99px;background:rgba(255,255,255,.12)}.fj-game-shell-v920 .fj-dynasty-card-progress>i b{display:block;height:100%;background:linear-gradient(90deg,var(--fj-dynasty-color),#fff)}
.fj-game-shell-v920 .fj-dynasty-card-level{display:grid;justify-items:center;align-content:center;min-width:92px;min-height:100px;padding:12px;border:1px solid rgba(255,255,255,.17);border-radius:20px;background:rgba(255,255,255,.09)}.fj-game-shell-v920 .fj-dynasty-card-level small{color:#b9c4d8!important;font-size:8px!important}.fj-game-shell-v920 .fj-dynasty-card-level strong{color:#fff!important;font-size:42px!important;line-height:1!important}.fj-game-shell-v920 .fj-dynasty-card-level span{color:#9daac2!important;font-size:9px!important}
.fj-game-shell-v920 .fj-dynasty-card-power{position:relative;z-index:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid var(--fjx-line);background:var(--fjx-surface)}.fj-game-shell-v920 .fj-dynasty-card-power>div{padding:15px 20px;border-right:1px solid var(--fjx-line)}.fj-game-shell-v920 .fj-dynasty-card-power>div:last-child{border-right:0}.fj-game-shell-v920 .fj-dynasty-card-power span{color:var(--fj-dynasty-color)!important;font-size:8px!important;font-weight:950!important}.fj-game-shell-v920 .fj-dynasty-card-power strong{display:block;margin-top:4px;color:var(--fjx-text)!important;font-size:18px!important}.fj-game-shell-v920 .fj-dynasty-card-power small{margin-left:5px;color:var(--fjx-muted)!important}
.fj-game-shell-v920 .fj-dynasty-card-roster{position:relative;z-index:2;padding:20px 22px;background:linear-gradient(145deg,var(--fjx-surface-soft),var(--fjx-surface))}.fj-game-shell-v920 .fj-dynasty-card-roster-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:12px}.fj-game-shell-v920 .fj-dynasty-card-roster-head>div{display:grid;gap:2px}.fj-game-shell-v920 .fj-dynasty-card-roster-head span{color:var(--fj-dynasty-color)!important;font-size:8px!important;font-weight:950!important}.fj-game-shell-v920 .fj-dynasty-card-roster-head strong{color:var(--fjx-text)!important}.fj-game-shell-v920 .fj-dynasty-card-roster-head>small{color:var(--fjx-muted)!important}.fj-game-shell-v920 .fj-dynasty-card-members{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.fj-game-shell-v920 .fj-dynasty-card-member{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;min-width:0;min-height:76px;padding:9px;border:1px solid var(--fjx-line);border-radius:16px;background:var(--fjx-surface);color:var(--fjx-text)!important;text-decoration:none!important}.fj-game-shell-v920 a.fj-dynasty-card-member:before{content:"";position:absolute;inset:10px auto 10px 0;width:3px;background:var(--fj-dynasty-color)}.fj-game-shell-v920 a.fj-dynasty-card-member:hover{transform:translateY(-2px);border-color:rgba(var(--fj-dynasty-rgb),.4)}.fj-game-shell-v920 .fj-dynasty-card-avatar{position:relative;width:56px;height:56px}.fj-game-shell-v920 .fj-dynasty-card-avatar :where(.fj-avatar-wrap,.fj-avatar,img){width:52px!important;height:52px!important;object-fit:cover!important;border-radius:15px!important}.fj-game-shell-v920 .fj-dynasty-card-avatar>b{position:absolute;top:-5px;left:-4px;display:grid;place-items:center;width:18px;height:18px;border-radius:7px;background:#f4c447;color:#4b3200!important;font-size:9px}.fj-game-shell-v920 .fj-dynasty-card-member-copy{display:grid;gap:2px;min-width:0}.fj-game-shell-v920 .fj-dynasty-card-member-copy strong,.fj-game-shell-v920 .fj-dynasty-card-member-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fj-game-shell-v920 .fj-dynasty-card-member-copy strong{color:var(--fjx-text)!important;font-size:10.5px!important}.fj-game-shell-v920 .fj-dynasty-card-member-copy small{color:var(--fjx-muted)!important;font-size:8.5px!important}.fj-game-shell-v920 .fj-dynasty-card-member-level{display:grid;place-items:center;min-width:34px;min-height:38px;border-radius:11px;background:rgba(var(--fj-dynasty-rgb),.08);color:var(--fjx-text)!important;font-size:11px;font-weight:950}.fj-game-shell-v920 .fj-dynasty-card-member-level small{color:var(--fj-dynasty-color)!important;font-size:7px!important}.fj-game-shell-v920 .fj-dynasty-card-member.is-empty{border-style:dashed;background:transparent}.fj-game-shell-v920 .fj-dynasty-card-member.is-empty>i{display:grid;place-items:center;width:42px;height:42px;border:1px dashed rgba(var(--fj-dynasty-rgb),.45);border-radius:13px;color:var(--fj-dynasty-color);font-style:normal}
.fj-game-shell-v920 .fj-dynasty-card-footer{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 20px;border-top:1px solid var(--fjx-line);background:var(--fjx-surface)}.fj-game-shell-v920 .fj-dynasty-card-achievements{display:flex;align-items:center;gap:7px;min-width:0}.fj-game-shell-v920 .fj-dynasty-card-achievements>span{color:var(--fjx-muted)!important;font-size:8px!important;font-weight:950!important}.fj-game-shell-v920 .fj-dynasty-card-enter{display:inline-flex;align-items:center;gap:11px;min-height:42px;padding:7px 8px 7px 13px;border:1px solid rgba(var(--fj-dynasty-rgb),.32);border-radius:13px;background:rgba(var(--fj-dynasty-rgb),.07);color:var(--fj-dynasty-color)!important;font-size:9px;font-weight:950;text-decoration:none!important}.fj-game-shell-v920 .fj-dynasty-card-enter>b{display:grid;place-items:center;width:27px;height:27px;border-radius:9px;background:var(--fj-dynasty-color);color:#fff!important}

/* ==========================================================
   NIGHT MODE — explicit coverage for legacy hard-coded whites.
   ========================================================== */
html[data-fj-theme="night"] .fj-game-shell-v920 .fj-v9-screen-body :where(
  .fj-card,.fj-panel,.fj-dashboard-panel,.fj-team-hub-panel,.fj-market-panel,.fj-desafio-panel,
  .fj-sp649-panel,.fj-tm658-panel,.fj-sys659-card,.fj-bank-action-card,.fj-economy-card,
  .fj-profile-panel,.fj-mini-card,.fj-community-player-card,
  .fj-ranking-step,.fj-ranking-row,.fj-wall641-post,.fj-staff646-card,.fj-market-player-card,
  .fj-store636-card,.fj-badge636-card,.fj-desafio-card,.fj-treasury-team-card
){background:var(--fjx-surface)!important;border-color:var(--fjx-line)!important;color:var(--fjx-text)!important}

html[data-fj-theme="night"] .fj-game-shell-v920 .fj-v9-screen-body :where(
  .fj-card,.fj-panel,.fj-dashboard-panel,.fj-team-hub-panel,.fj-market-panel,.fj-desafio-panel,
  .fj-profile-panel,.fj-community-player-card,.fj-ranking-step,
  .fj-ranking-row,.fj-wall641-post,.fj-staff646-card,.fj-market-player-card,.fj-store636-card,
  .fj-badge636-card,.fj-desafio-card,.fj-treasury-team-card
) :where(h1,h2,h3,h4,h5,h6,strong,b){color:var(--fjx-text)!important}

html[data-fj-theme="night"] .fj-game-shell-v920 .fj-v9-screen-body :where(
  .fj-card,.fj-panel,.fj-dashboard-panel,.fj-team-hub-panel,.fj-market-panel,.fj-desafio-panel,
  .fj-profile-panel,.fj-community-player-card,.fj-ranking-step,
  .fj-ranking-row,.fj-wall641-post,.fj-staff646-card,.fj-market-player-card,.fj-store636-card,
  .fj-badge636-card,.fj-desafio-card,.fj-treasury-team-card
) :where(p,small,span:not(.dashicons):not(.fj-badge):not(.fj-chip),label,li,.description,.fj-muted){color:var(--fjx-muted)!important}

html[data-fj-theme="night"] .fj-game-shell-v920 .fj-v9-screen-body :where(.fj-muted-bg,.fj-soft-bg,.fj-form,.fj-filter,.fj-controls,.fj-toolbar,.fj-bank-preview,.fj-market-search,.fj-bank-search){background:var(--fjx-surface-soft)!important;color:var(--fjx-text)!important;border-color:var(--fjx-line)!important}
html[data-fj-theme="night"] .fj-game-shell-v920 .fj-v9-screen-body .fj-v920-chapter-card{background:linear-gradient(135deg,var(--fjx-surface),var(--fjx-surface-soft))!important;border-color:var(--fjx-line)!important;color:var(--fjx-text)!important}
html[data-fj-theme="night"] .fj-game-shell-v920 .fj-v9-screen-body .fj-v920-chapter-card :where(h1,h2,h3,h4,strong){color:var(--fjx-text)!important}
html[data-fj-theme="night"] .fj-game-shell-v920 .fj-v9-screen-body .fj-v920-chapter-card :where(p,small,span){color:var(--fjx-muted)!important}
html[data-fj-theme="night"] .fj-game-shell-v920 .fj-v9-screen-body :where(select,option,input,textarea){color-scheme:dark}
html[data-fj-theme="night"] .fj-game-shell-v920 .fj-v9-screen-body img{filter:none}

/* Final control contrast: legacy declarations cannot wash out actions. */
.fj-game-shell-v920 .fj-v9-cta>strong{color:var(--fjx-accent)!important}
.fj-game-shell-v920 .fj-v9-screen-body .fj-v920-form{padding:20px!important;border:1px solid var(--fjx-line)!important;border-radius:var(--fjx-radius)!important;background:var(--fjx-surface)!important;box-shadow:var(--fjx-shadow-sm)!important}
.fj-game-shell-v920 .fj-v9-screen-body .fj-btn:not(.fj-btn-primary):not(.fj-btn-ok){display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:8px 13px!important;border:1px solid var(--fjx-line)!important;border-radius:13px!important;background:var(--fjx-surface-soft)!important;color:var(--fjx-text-soft)!important;text-decoration:none!important}
.fj-game-shell-v920 .fj-v9-screen-body :is(.fj-btn-primary,.fj-btn-ok,button[type="submit"],input[type="submit"]){padding:8px 14px!important;border-color:transparent!important;background:linear-gradient(135deg,var(--fjx-accent),color-mix(in srgb,var(--fjx-accent) 68%,#25204f))!important;color:#fff!important;box-shadow:0 9px 22px rgba(var(--fjx-accent-rgb),.20)!important}

/* Focus and tactile response. */
.fj-game-shell-v920 :where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid rgba(var(--fjx-accent-rgb),.32)!important;outline-offset:3px!important}
.fj-game-shell-v920 .fj-v920-pressed{transform:scale(.975)!important}

/* ==========================================================
   RESPONSIVE EXPERIENCE
   ========================================================== */
@media(max-width:1180px){
  .fj-game-shell-v920{padding-inline:16px!important}
  .fj-game-shell-v920 .fj-v8-gamebar-main{grid-template-columns:auto minmax(260px,1fr) auto!important;gap:10px!important}
  .fj-game-shell-v920 .fj-v8-world{padding-inline:9px!important}
  .fj-game-shell-v920 .fj-v8-player-name,.fj-game-shell-v920 .fj-v8-hud-stat:nth-of-type(2){display:none!important}
  .fj-v920-menu-links{grid-template-columns:1fr}
  .fj-game-shell-v920 .fj-dynasty-card-members{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(max-width:900px){
  .fj-game-shell-v920{padding:10px 12px 92px!important}
  .fj-game-shell-v920 .fj-v8-gamebar-main{grid-template-columns:auto minmax(0,1fr) auto!important}
  .fj-game-shell-v920 .fj-v8-worlds{justify-content:flex-start!important;overflow-x:auto!important;scrollbar-width:none!important}
  .fj-game-shell-v920 .fj-v8-worlds::-webkit-scrollbar{display:none}
  .fj-game-shell-v920 .fj-v8-world b{display:none!important}
  .fj-game-shell-v920 .fj-v8-world{justify-content:center!important;width:42px!important;min-width:42px!important;padding:8px!important}
  .fj-game-shell-v920 .fj-v8-hud-stat,.fj-game-shell-v920 .fj-v8-season{display:none!important}
  .fj-game-shell-v920 .fj-v9-screen-intro__main{grid-template-columns:auto minmax(0,1fr)!important}
  .fj-game-shell-v920 .fj-v9-screen-action{grid-column:1/-1!important;padding:13px 0 0!important;border-left:0!important;border-top:1px solid var(--fjx-line)!important}
  .fj-game-shell-v920 .fj-v9-cta{width:min(420px,100%)!important}
  .fj-v920-menu{padding:14px}.fj-v920-menu-worlds{grid-template-columns:1fr}.fj-v920-menu-panel{max-height:calc(100vh - 28px);border-radius:24px}
  .fj-game-shell-v920 .fj-dynasty-gallery .fj-dynasty-gallery-hero{grid-template-columns:1fr!important;padding:28px!important}.fj-game-shell-v920 .fj-dynasty-gallery-portal{min-height:150px}.fj-game-shell-v920 .fj-dynasty-gallery-scoreboard{grid-template-columns:repeat(2,minmax(0,1fr))!important}.fj-game-shell-v920 .fj-dynasty-gallery-scoreboard article:nth-child(2){border-right:0!important}.fj-game-shell-v920 .fj-dynasty-gallery-controls{grid-template-columns:1fr 1fr!important}.fj-game-shell-v920 .fj-dynasty-card-members{grid-template-columns:repeat(2,minmax(0,1fr))}.fj-game-shell-v920 .fj-dynasty-card-hero{grid-template-columns:auto minmax(0,1fr)!important}.fj-game-shell-v920 .fj-dynasty-card-level{grid-column:1/-1;grid-template-columns:auto auto auto;justify-content:center;align-items:center;gap:8px;min-height:58px}
}

@media(max-width:680px){
  .fj-game-shell-v920{padding:8px 8px calc(90px + env(safe-area-inset-bottom))!important}
  .fj-game-shell-v920>.fj-v8-gamebar{border-radius:17px!important}
  .fj-game-shell-v920 .fj-v8-gamebar-main{grid-template-columns:auto 1fr auto!important;min-height:60px!important;padding:7px 8px!important}
  .fj-game-shell-v920 .fj-v8-brand-mark{width:40px!important;height:40px!important}.fj-game-shell-v920 .fj-v8-brand-copy{display:none!important}
  .fj-game-shell-v920 .fj-v8-worlds{display:none!important}
  .fj-game-shell-v920 .fj-v8-player-hud{grid-column:3!important}
  .fj-game-shell-v920 .fj-v8-player-hud>.fj-front-avatar,.fj-game-shell-v920 .fj-v8-player-name,.fj-game-shell-v920 .fj-v8-staff-badge{display:none!important}
  .fj-game-shell-v920 .fj-v920-explore,.fj-game-shell-v920 .fj-v8-theme-toggle{width:40px!important;min-width:40px!important;height:40px!important;padding:0!important;border-radius:12px!important}.fj-game-shell-v920 .fj-v920-explore b,.fj-game-shell-v920 .fj-v8-theme-toggle b{display:none!important}
  .fj-game-shell-v920 .fj-v9-screen-intro{margin:10px 0 12px!important;border-radius:22px!important}
  .fj-game-shell-v920 .fj-v9-screen-intro__main{grid-template-columns:1fr!important;gap:11px!important;padding:18px 17px 14px!important}
  .fj-game-shell-v920 .fj-v9-screen-icon{width:48px!important;height:48px!important;border-radius:15px!important}.fj-game-shell-v920 .fj-v9-screen-copy h1{font-size:30px!important}.fj-game-shell-v920 .fj-v9-screen-copy p{font-size:12px!important}
  .fj-game-shell-v920 .fj-v9-screen-action{grid-column:auto!important}
  .fj-game-shell-v920 .fj-v9-screen-nav{padding:0 12px 12px!important}
  .fj-game-shell-v920 .fj-v920-chapter-card{padding:16px!important;border-radius:18px!important}
  .fj-game-shell-v920 .fj-v920-module,.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-card,.fj-panel,.fj-dashboard-panel,.fj-team-hub-panel,.fj-market-panel,.fj-desafio-panel,.fj-profile-panel,.fj-mini-card){border-radius:18px!important}
  .fj-game-shell-v920 .fj-v920-table-zone{margin-inline:-2px;border-radius:14px}
  .fj-game-shell-v920 .fj-v920-table{min-width:620px!important}
  .fj-game-shell-v920 .fj-v9-screen-body{max-width:100%!important;overflow-x:hidden!important}.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-dashboard,.fj-dashboard-grid-main,.fj-grid,.fj-stats,.fj-dashboard-panel,.fj-adv-page,.fj-adv-mission){min-width:0!important;max-width:100%!important;width:100%!important}.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-dashboard-mission,.fj-adv-mission) p{max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important}
  .fj-game-shell-v920 .fj-game-mobile-nav{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;position:fixed!important;z-index:9990!important;right:8px!important;bottom:8px!important;left:8px!important;width:auto!important;padding:6px calc(6px + env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) calc(6px + env(safe-area-inset-left))!important;border:1px solid var(--fjx-line)!important;border-radius:19px!important;background:color-mix(in srgb,var(--fjx-surface) 94%,transparent)!important;box-shadow:0 18px 50px rgba(10,15,30,.24)!important;backdrop-filter:blur(20px)!important}
  .fj-game-shell-v920 .fj-game-mobile-nav :where(a,button){display:grid!important;justify-items:center!important;align-content:center!important;gap:3px!important;min-width:0!important;min-height:52px!important;padding:5px 2px!important;border:0!important;border-radius:13px!important;background:transparent!important;color:var(--fjx-muted)!important;box-shadow:none!important}.fj-game-shell-v920 .fj-game-mobile-nav :where(a,button).is-active{background:rgba(var(--fjx-accent-rgb),.12)!important;color:var(--fjx-accent)!important}.fj-game-shell-v920 .fj-game-mobile-nav .dashicons{width:20px!important;height:20px!important;font-size:20px!important}.fj-game-shell-v920 .fj-game-mobile-nav b{max-width:100%;overflow:hidden;font-size:8px!important;text-overflow:ellipsis;white-space:nowrap}
  .fj-v920-menu{padding:0}.fj-v920-menu-panel{width:100%;height:100%;max-height:none;border:0;border-radius:0}.fj-v920-menu-head{padding:16px}.fj-v920-menu-logo{width:48px;height:48px;flex-basis:48px}.fj-v920-menu-brand h2{font-size:24px!important}.fj-v920-menu-brand p{display:none}.fj-v920-menu-worlds{padding:13px;gap:10px}.fj-v920-menu-world{padding:12px;border-radius:18px}.fj-v920-menu-links>a{min-height:58px}.fj-v920-menu-foot{position:sticky;bottom:0;padding:11px 14px}
  .fj-game-shell-v920 .fj-dynasty-gallery .fj-dynasty-gallery-hero{min-height:0!important;padding:22px 18px!important;border-radius:22px!important}.fj-game-shell-v920 .fj-dynasty-gallery-hero h2{font-size:34px!important}.fj-game-shell-v920 .fj-dynasty-gallery-portal{min-height:130px;padding:16px}.fj-game-shell-v920 .fj-dynasty-gallery-controls{grid-template-columns:1fr!important}.fj-game-shell-v920 .fj-dynasty-gallery-results{align-items:flex-start!important;flex-direction:column!important}.fj-game-shell-v920 .fj-dynasty-gallery-card{border-radius:21px!important}.fj-game-shell-v920 .fj-dynasty-card-watermark{font-size:150px!important}.fj-game-shell-v920 .fj-dynasty-card-hero{grid-template-columns:70px minmax(0,1fr)!important;gap:12px!important;min-height:0!important;padding:18px 14px!important}.fj-game-shell-v920 .fj-dynasty-card-crest{width:70px;height:70px;padding:4px;border-radius:19px}.fj-game-shell-v920 .fj-dynasty-card-crest :where(.fj-team-icon,.fj-team-icon-wrap,.fj-team-icon-image-wrap,img){width:62px!important;height:62px!important;border-radius:15px!important}.fj-game-shell-v920 .fj-dynasty-card-identity h3{font-size:25px!important}.fj-game-shell-v920 .fj-dynasty-card-progress{grid-column:1/-1}.fj-game-shell-v920 .fj-dynasty-card-level{grid-column:1/-1!important}.fj-game-shell-v920 .fj-dynasty-card-power{grid-template-columns:repeat(2,minmax(0,1fr))}.fj-game-shell-v920 .fj-dynasty-card-power>div:nth-child(2){border-right:0}.fj-game-shell-v920 .fj-dynasty-card-power>div:last-child{grid-column:1/-1;border-top:1px solid var(--fjx-line)}.fj-game-shell-v920 .fj-dynasty-card-roster{padding:17px 13px}.fj-game-shell-v920 .fj-dynasty-card-roster-head{align-items:flex-start;flex-direction:column}.fj-game-shell-v920 .fj-dynasty-card-members{grid-template-columns:1fr}.fj-game-shell-v920 .fj-dynasty-card-footer{align-items:stretch;flex-direction:column}.fj-game-shell-v920 .fj-dynasty-card-enter{justify-content:space-between}
}

@media(max-width:420px){
  .fj-game-shell-v920 .fj-v9-screen-copy h1{font-size:27px!important}
  .fj-game-shell-v920 .fj-v9-screen-nav a{padding-inline:9px!important}
  .fj-v920-menu-head{gap:10px}.fj-v920-menu-brand{gap:9px}.fj-v920-menu-logo{width:42px;height:42px;flex-basis:42px}.fj-v920-menu-brand h2{font-size:21px!important}.fj-v920-menu-brand>div>span{font-size:7px}.fj-v920-menu-close{width:40px!important;height:40px!important;min-width:40px!important}.fj-v920-menu-links strong{font-size:10px}.fj-v920-menu-links small{font-size:8px}
}

@media(prefers-reduced-motion:reduce){
  .fj-game-shell-v920 *, .fj-v920-menu *{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}

@media(max-width:680px){
  .fj-game-shell-v920 .fj-v9-screen-body :where(.fj-dashboard-mission,.fj-adv-mission,.fj-v920-primary-mission){display:block!important;min-width:0!important;width:100%!important}
  .fj-game-shell-v920 .fj-v9-screen-body :where(.fj-dashboard-mission,.fj-adv-mission,.fj-v920-primary-mission)>*{max-width:100%!important}
  .fj-game-shell-v920 .fj-v9-screen-body :where(.fj-dashboard-mission,.fj-adv-mission,.fj-v920-primary-mission) p{overflow-wrap:anywhere!important}
}

/* ==========================================================
   v9.3 — CONTENT EXPERIENCE
   The interface borrows the clarity and feedback of a game without
   describing Proyecto Isaías as a game or its Dinastas as characters.
   ========================================================== */

/* One stage width: navigation, introduction and every page section align. */
.fj-game-shell-v920{
  --fjx-stage-width:1440px;
  width:min(calc(var(--fjx-stage-width) + 44px),100%)!important;
}
.fj-game-shell-v920>.fj-v8-gamebar,
.fj-game-shell-v920 .fj-v8-page-canvas,
.fj-game-shell-v920 .fj-v9-screen-intro,
.fj-game-shell-v920 .fj-v9-screen-body{
  width:100%!important;
  max-width:var(--fjx-stage-width)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
html.fj-game-ui-v920 .fj-game-shell-v920 .fj-v9-screen-body :where(
  .fj-wrap,.fj-wrap-fullwidth,.fj-profile-portal,.fj-adv-page,.fj-dashboard,.fj-dynasty-profile,
  .fj-team-hub,.fj-ranking-page,.fj-community-directory,.fj-wall641-page,.fj-bank-page,
  .fj-market-page,.fj-store636-page,.fj-badge636-page,.fj-desafio-page,.fj-treasury-page,
  .fj-front-admin-page,.fj-sp647-wrap,.fj-sp649-wrap,.fj-sp650-wrap,.fj-sp651-wrap,
  .fj-applications652,.fj-intake653-page,.fj-eq654-page,.fj-eq655-page,.fj-attendance-v656,
  .fj-rw657-page,.fj-tm658-page,.fj-team658-page,.fj-sys659-page
){width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box!important}

/* Remove decorations that can cross or clip copy. Depth now comes from light,
   borders and spacing, not from shapes placed over text. */
.fj-game-shell-v920 .fj-v9-screen-intro:before,
.fj-game-shell-v920 .fj-v920-module:before{display:none!important}
.fj-game-shell-v920 .fj-v9-screen-body :where(
  .fj-page-hero,.fj-dinasta-hero,.fj-profile-hero,.fj-ranking-hero,.fj-community-hero,
  .fj-bank-hero,.fj-market-hero,.fj-store636-hero,.fj-badge636-hero,.fj-desafio-hero,
  .fj-treasury-hero,.fj-team-hub-hero,.fj-front-admin-hero,.fj-sp647-hero,.fj-sp649-hero,
  .fj-sp650-hero,.fj-sp651-hero,.fj-staff646-hero,.fj-rw657-hero,.fj-att-hero,
  .fj-eq654-hero,.fj-eq655-hero,.fj-tm658-hero,.fj-sys659-hero,.fj-intake653-hero,
  .fj-app652-hero,.fj-profile-next-card,.fj-profile-transfer-card
){isolation:isolate!important;overflow:hidden!important}
.fj-game-shell-v920 .fj-v9-screen-body :where(
  .fj-page-hero,.fj-dinasta-hero,.fj-profile-hero,.fj-ranking-hero,.fj-community-hero,
  .fj-bank-hero,.fj-market-hero,.fj-store636-hero,.fj-badge636-hero,.fj-desafio-hero,
  .fj-treasury-hero,.fj-team-hub-hero,.fj-front-admin-hero,.fj-sp647-hero,.fj-sp649-hero,
  .fj-sp650-hero,.fj-sp651-hero,.fj-staff646-hero,.fj-rw657-hero,.fj-att-hero,
  .fj-eq654-hero,.fj-eq655-hero,.fj-tm658-hero,.fj-sys659-hero,.fj-intake653-hero,
  .fj-app652-hero,.fj-profile-next-card,.fj-profile-transfer-card
)::before,
.fj-game-shell-v920 .fj-v9-screen-body :where(
  .fj-page-hero,.fj-dinasta-hero,.fj-profile-hero,.fj-ranking-hero,.fj-community-hero,
  .fj-bank-hero,.fj-market-hero,.fj-store636-hero,.fj-badge636-hero,.fj-desafio-hero,
  .fj-treasury-hero,.fj-team-hub-hero,.fj-front-admin-hero,.fj-sp647-hero,.fj-sp649-hero,
  .fj-sp650-hero,.fj-sp651-hero,.fj-staff646-hero,.fj-rw657-hero,.fj-att-hero,
  .fj-eq654-hero,.fj-eq655-hero,.fj-tm658-hero,.fj-sys659-hero,.fj-intake653-hero,
  .fj-app652-hero,.fj-profile-next-card,.fj-profile-transfer-card
)::after{z-index:0!important;pointer-events:none!important;opacity:.34!important}
.fj-game-shell-v920 .fj-v9-screen-body :where(
  .fj-page-hero,.fj-dinasta-hero,.fj-profile-hero,.fj-ranking-hero,.fj-community-hero,
  .fj-bank-hero,.fj-market-hero,.fj-store636-hero,.fj-badge636-hero,.fj-desafio-hero,
  .fj-treasury-hero,.fj-team-hub-hero,.fj-front-admin-hero,.fj-sp647-hero,.fj-sp649-hero,
  .fj-sp650-hero,.fj-sp651-hero,.fj-staff646-hero,.fj-rw657-hero,.fj-att-hero,
  .fj-eq654-hero,.fj-eq655-hero,.fj-tm658-hero,.fj-sys659-hero,.fj-intake653-hero,
  .fj-app652-hero,.fj-profile-next-card,.fj-profile-transfer-card
)>*{position:relative!important;z-index:1!important}

/* Navigation popup: comfortable, legible destinations rather than cramped tiles. */
.fj-v920-menu-panel{width:min(1220px,100%)!important}
.fj-v920-menu-worlds{gap:16px!important;padding:22px!important}
.fj-v920-menu-world{--fj-menu-accent:var(--fjx-accent);padding:17px!important;border-radius:22px!important}
.fj-v920-menu-world--progreso{--fj-menu-accent:#6849e8}
.fj-v920-menu-world--dinastia,.fj-v920-menu-world--dinastas{--fj-menu-accent:#087c68}
.fj-v920-menu-world--comunidad{--fj-menu-accent:#087e9b}
.fj-v920-menu-world--reino{--fj-menu-accent:#a96608}
.fj-v920-menu-world--centro{--fj-menu-accent:#4058c8}
.fj-v920-menu-world--sistema{--fj-menu-accent:#765394}
.fj-v920-menu-world>header>.dashicons{background:color-mix(in srgb,var(--fj-menu-accent) 12%,transparent)!important;color:var(--fj-menu-accent)!important}
.fj-v920-menu-world.is-current{border-color:color-mix(in srgb,var(--fj-menu-accent) 42%,var(--fjx-line))!important}
.fj-v920-menu-links{grid-template-columns:1fr!important;gap:8px!important}
.fj-v920-menu-links>a{min-height:68px!important;padding:11px 12px!important;border-color:var(--fjx-line)!important;background:var(--fjx-surface-soft)!important}
.fj-v920-menu-links>a:hover,.fj-v920-menu-links>a.is-active{border-color:color-mix(in srgb,var(--fj-menu-accent) 44%,var(--fjx-line))!important;background:color-mix(in srgb,var(--fj-menu-accent) 8%,var(--fjx-surface))!important}
.fj-v920-menu-links>a>.dashicons{color:var(--fj-menu-accent)!important}
.fj-v920-menu-links>a>span:nth-child(2){gap:3px!important}
.fj-v920-menu-links strong,.fj-v920-menu-links small{overflow:visible!important;text-overflow:clip!important;white-space:normal!important}
.fj-v920-menu-links strong{font-size:12px!important;line-height:1.25!important}
.fj-v920-menu-links small{font-size:9.5px!important;line-height:1.35!important}
.fj-v920-menu-links>a>b{color:var(--fj-menu-accent)!important}

/* Page route: a quick, adolescent-friendly reading map generated from the
   real sections already present on each screen. */
.fj-game-shell-v920 .fj-v930-section-route{
  display:grid!important;
  grid-template-columns:minmax(210px,auto) minmax(0,1fr)!important;
  align-items:center!important;
  gap:14px!important;
  margin:0 0 14px!important;
  padding:11px 12px!important;
  border:1px solid var(--fjx-line)!important;
  border-radius:18px!important;
  background:color-mix(in srgb,var(--fjx-surface) 94%,transparent)!important;
  color:var(--fjx-text)!important;
  box-shadow:var(--fjx-shadow-sm)!important;
  backdrop-filter:blur(16px)!important;
}
.fj-game-shell-v920 .fj-v930-section-route__head{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important;padding:3px 10px 3px 3px!important;border-right:1px solid var(--fjx-line)!important}
.fj-game-shell-v920 .fj-v930-section-route__head>.dashicons{display:grid!important;place-items:center!important;width:38px!important;height:38px!important;flex:0 0 38px!important;border-radius:12px!important;background:rgba(var(--fjx-accent-rgb),.11)!important;color:var(--fjx-accent)!important}
.fj-game-shell-v920 .fj-v930-section-route__head>span:last-child{display:grid!important;gap:1px!important;min-width:0!important}
.fj-game-shell-v920 .fj-v930-section-route__head small{color:var(--fjx-accent)!important;font-size:7.5px!important;font-weight:950!important;letter-spacing:.11em!important}
.fj-game-shell-v920 .fj-v930-section-route__head strong{color:var(--fjx-text)!important;font-size:11px!important;line-height:1.25!important}
.fj-game-shell-v920 .fj-v930-section-route__links{display:flex!important;gap:7px!important;min-width:0!important;overflow-x:auto!important;padding:2px!important;scrollbar-width:none!important;scroll-snap-type:x proximity!important}
.fj-game-shell-v920 .fj-v930-section-route__links::-webkit-scrollbar{display:none!important}
.fj-game-shell-v920 .fj-v930-section-route__links>a{display:grid!important;grid-template-columns:auto auto minmax(84px,auto)!important;align-items:center!important;gap:7px!important;min-height:43px!important;padding:6px 10px 6px 7px!important;border:1px solid transparent!important;border-radius:12px!important;background:var(--fjx-surface-soft)!important;color:var(--fjx-muted)!important;text-decoration:none!important;scroll-snap-align:start!important;white-space:nowrap!important}
.fj-game-shell-v920 .fj-v930-section-route__links>a:hover,.fj-game-shell-v920 .fj-v930-section-route__links>a.is-active{border-color:rgba(var(--fjx-accent-rgb),.32)!important;background:rgba(var(--fjx-accent-rgb),.09)!important;color:var(--fjx-accent)!important}
.fj-game-shell-v920 .fj-v930-section-route__number{display:grid!important;place-items:center!important;width:27px!important;height:27px!important;border-radius:9px!important;background:var(--fjx-surface)!important;color:var(--fjx-muted)!important;font-size:8px!important;font-weight:950!important;box-shadow:inset 0 0 0 1px var(--fjx-line)!important}
.fj-game-shell-v920 .fj-v930-section-route__links .dashicons{width:16px!important;height:16px!important;font-size:16px!important;color:currentColor!important}
.fj-game-shell-v920 .fj-v930-section-route__links b{overflow:hidden!important;max-width:180px!important;color:currentColor!important;font-size:9.5px!important;text-overflow:ellipsis!important}

/* Every content region becomes a readable scene with a single accent and
   generous text space. No label is positioned on top of its content. */
.fj-game-shell-v920 .fj-v930-content-section{
  --fj-section-accent:var(--fjx-accent);
  scroll-margin-top:22px!important;
  border-left:4px solid var(--fj-section-accent)!important;
}
.fj-game-shell-v920 .fj-v930-content-section.is-dynasty{--fj-section-accent:var(--fjx-teal)}
.fj-game-shell-v920 .fj-v930-content-section.is-progress{--fj-section-accent:var(--fjx-purple)}
.fj-game-shell-v920 .fj-v930-content-section.is-action{--fj-section-accent:var(--fjx-cyan)}
.fj-game-shell-v920 .fj-v930-content-section.is-transfer{--fj-section-accent:var(--fjx-orange)}
.fj-game-shell-v920 .fj-v930-content-section.is-challenge{--fj-section-accent:var(--fjx-gold)}
.fj-game-shell-v920 .fj-v930-content-section.is-reward{--fj-section-accent:var(--fjx-gold)}
.fj-game-shell-v920 .fj-v930-content-section.is-community{--fj-section-accent:var(--fjx-cyan)}
.fj-game-shell-v920 .fj-v930-content-section.is-resources{--fj-section-accent:var(--fjx-green)}
.fj-game-shell-v920 .fj-v930-content-section.is-attention{--fj-section-accent:var(--fjx-red)}

/* Global readable contrast. Individual status colours keep their own class,
   while all ordinary copy uses the semantic palette. */
.fj-game-shell-v920 .fj-v9-screen-body :where(h1,h2,h3,h4,h5,h6,strong){color:var(--fjx-text)!important}
.fj-game-shell-v920 .fj-v9-screen-body :where(p,li,dd,label,small,.description,.fj-muted){color:var(--fjx-muted)!important}
.fj-game-shell-v920 .fj-v9-screen-body a:not(.fj-btn):not([class*="badge"]):not([class*="chip"]){color:var(--fjx-accent)}
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-section-kicker,.fj-eyebrow,.fj-kicker,.fj-profile-kicker,.fj-dashboard-kicker,.fj-card-kicker){color:var(--fjx-accent)!important}
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-v920-module,.fj-v930-content-section){min-width:0!important}
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-v920-module,.fj-v930-content-section) :where(p,span,small,strong,a,label){overflow-wrap:anywhere}

/* Legacy heroes are normalized to the same high-contrast surface. */
.fj-game-shell-v920 .fj-v9-screen-body :where(
  .fj-page-hero,.fj-dinasta-hero,.fj-profile-hero,.fj-ranking-hero,.fj-community-hero,
  .fj-bank-hero,.fj-market-hero,.fj-store636-hero,.fj-badge636-hero,.fj-desafio-hero,
  .fj-treasury-hero,.fj-team-hub-hero,.fj-front-admin-hero,.fj-sp647-hero,.fj-sp649-hero,
  .fj-sp650-hero,.fj-sp651-hero,.fj-staff646-hero,.fj-rw657-hero,.fj-att-hero,
  .fj-eq654-hero,.fj-eq655-hero,.fj-tm658-hero,.fj-sys659-hero,.fj-intake653-hero,.fj-app652-hero
){border:1px solid rgba(var(--fjx-accent-rgb),.24)!important;background:linear-gradient(135deg,rgba(var(--fjx-accent-rgb),.10),var(--fjx-surface) 56%,var(--fjx-surface-soft))!important;color:var(--fjx-text)!important;box-shadow:var(--fjx-shadow)!important}
.fj-game-shell-v920 .fj-v9-screen-body :where(
  .fj-page-hero,.fj-dinasta-hero,.fj-profile-hero,.fj-ranking-hero,.fj-community-hero,
  .fj-bank-hero,.fj-market-hero,.fj-store636-hero,.fj-badge636-hero,.fj-desafio-hero,
  .fj-treasury-hero,.fj-team-hub-hero,.fj-front-admin-hero,.fj-sp647-hero,.fj-sp649-hero,
  .fj-sp650-hero,.fj-sp651-hero,.fj-staff646-hero,.fj-rw657-hero,.fj-att-hero,
  .fj-eq654-hero,.fj-eq655-hero,.fj-tm658-hero,.fj-sys659-hero,.fj-intake653-hero,.fj-app652-hero
) :where(h1,h2,h3,h4,strong,b){color:var(--fjx-text)!important}
.fj-game-shell-v920 .fj-v9-screen-body :where(
  .fj-page-hero,.fj-dinasta-hero,.fj-profile-hero,.fj-ranking-hero,.fj-community-hero,
  .fj-bank-hero,.fj-market-hero,.fj-store636-hero,.fj-badge636-hero,.fj-desafio-hero,
  .fj-treasury-hero,.fj-team-hub-hero,.fj-front-admin-hero,.fj-sp647-hero,.fj-sp649-hero,
  .fj-sp650-hero,.fj-sp651-hero,.fj-staff646-hero,.fj-rw657-hero,.fj-att-hero,
  .fj-eq654-hero,.fj-eq655-hero,.fj-tm658-hero,.fj-sys659-hero,.fj-intake653-hero,.fj-app652-hero
) :where(p,small){color:var(--fjx-muted)!important}

/* Mi ficha: one visual priority, then a set of clearly distinct choices. */
.fj-game-shell-v920 .fj-profile-portal{display:grid!important;gap:15px!important}
.fj-game-shell-v920 .fj-profile-guide-row{display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr)!important;gap:14px!important;margin:0!important;padding:0!important}
.fj-game-shell-v920 .fj-profile-next-card{display:grid!important;grid-template-columns:58px minmax(0,1fr) auto!important;align-items:center!important;gap:16px!important;min-height:142px!important;padding:20px!important;border:1px solid rgba(var(--fjx-accent-rgb),.30)!important;border-left:5px solid var(--fjx-accent)!important;border-radius:22px!important;background:linear-gradient(135deg,rgba(var(--fjx-accent-rgb),.12),var(--fjx-surface) 72%)!important;box-shadow:var(--fjx-shadow-sm)!important}
.fj-game-shell-v920 .fj-profile-next-icon{display:grid!important;place-items:center!important;width:54px!important;height:54px!important;border-radius:17px!important;background:var(--fjx-accent)!important;color:#fff!important;font-size:23px!important;box-shadow:0 12px 25px rgba(var(--fjx-accent-rgb),.22)!important}
.fj-game-shell-v920 .fj-profile-next-copy h3{margin:3px 0 5px!important;font-size:clamp(20px,2vw,28px)!important}.fj-game-shell-v920 .fj-profile-next-copy p{margin:0!important;line-height:1.55!important}
.fj-game-shell-v920 .fj-profile-help{margin:0!important;border:1px solid var(--fjx-line)!important;border-radius:22px!important;background:var(--fjx-surface)!important;box-shadow:var(--fjx-shadow-sm)!important}
.fj-game-shell-v920 .fj-profile-help summary{min-height:76px!important;padding:15px 17px!important;background:var(--fjx-surface-soft)!important;color:var(--fjx-text)!important}.fj-game-shell-v920 .fj-profile-help[open] summary{border-bottom:1px solid var(--fjx-line)!important}
.fj-game-shell-v920 .fj-profile-help-content{background:var(--fjx-surface)!important}
.fj-game-shell-v920 .fj-profile-main-grid{display:grid!important;grid-template-columns:minmax(0,1.45fr) minmax(320px,.72fr)!important;gap:15px!important;margin:0!important;padding:0!important}
.fj-game-shell-v920 .fj-profile-side-stack{display:grid!important;align-content:start!important;gap:13px!important}
.fj-game-shell-v920 .fj-profile-panel{padding:19px!important;border-radius:22px!important}
.fj-game-shell-v920 .fj-profile-advance-card{background:linear-gradient(145deg,var(--fjx-surface),color-mix(in srgb,var(--fjx-purple) 4%,var(--fjx-surface-soft)))!important}
.fj-game-shell-v920 .fj-profile-progress-list{display:grid!important;gap:8px!important}
.fj-game-shell-v920 .fj-profile-progress-row{display:grid!important;gap:8px!important;min-height:72px!important;padding:12px 42px 12px 13px!important;border:1px solid var(--fjx-line)!important;border-radius:15px!important;background:var(--fjx-surface-soft)!important;color:var(--fjx-text)!important;text-decoration:none!important;box-shadow:none!important}
.fj-game-shell-v920 .fj-profile-progress-row:hover{border-color:rgba(var(--fjx-accent-rgb),.34)!important;background:rgba(var(--fjx-accent-rgb),.055)!important}.fj-game-shell-v920 .fj-profile-progress-row.is-priority{border-color:rgba(var(--fjx-accent-rgb),.34)!important;background:rgba(var(--fjx-accent-rgb),.07)!important;box-shadow:inset 4px 0 0 var(--fjx-accent)!important}
.fj-game-shell-v920 .fj-profile-team-card{border-left:4px solid var(--fjx-teal)!important;background:linear-gradient(145deg,var(--fjx-surface),color-mix(in srgb,var(--fjx-teal) 5%,var(--fjx-surface-soft)))!important}
.fj-game-shell-v920 .fj-profile-store-card{border-left:4px solid var(--fjx-gold)!important;background:linear-gradient(145deg,var(--fjx-surface),color-mix(in srgb,var(--fjx-gold) 5%,var(--fjx-surface-soft)))!important}
.fj-game-shell-v920 .fj-profile-transfer-card{padding:19px!important;border-left:4px solid var(--fjx-orange)!important;background:linear-gradient(145deg,var(--fjx-surface),color-mix(in srgb,var(--fjx-orange) 5%,var(--fjx-surface-soft)))!important}.fj-game-shell-v920 .fj-profile-transfer-card:before{display:none!important}
.fj-game-shell-v920 .fj-profile-transfer-card>.fj-profile-explain{margin:0!important;padding-left:0!important}
.fj-game-shell-v920 .fj-transfer-request-box,.fj-game-shell-v920 .fj-leader-transfer-member{border-color:var(--fjx-line)!important;background:var(--fjx-surface)!important;color:var(--fjx-text)!important}
.fj-game-shell-v920 .fj-profile-active-section,.fj-game-shell-v920 .fj-profile-team-active-section,.fj-game-shell-v920 .fj-profile-wall-card{margin:0!important}
.fj-game-shell-v920 .fj-ficha-detalle{display:grid!important;gap:15px!important;margin-top:0!important;padding:20px!important}
.fj-game-shell-v920 .fj-ficha-radar-overview{margin:0!important;border:1px solid var(--fjx-line)!important;border-radius:22px!important;background:linear-gradient(145deg,var(--fjx-surface-soft),var(--fjx-surface))!important}

/* Plan de Adelanto: progress path, choice cards and actions instead of a form sheet. */
.fj-game-shell-v920 .fj-adv-page{display:grid!important;gap:15px!important}
.fj-game-shell-v920 .fj-adv-mission{min-height:112px!important;padding:18px!important;border-left:5px solid var(--fjx-accent)!important}
.fj-game-shell-v920 .fj-adv-summary,.fj-game-shell-v920 .fj-adv-summary-v2{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:9px!important;padding:0!important;overflow:visible!important;border:0!important;background:transparent!important;box-shadow:none!important}
.fj-game-shell-v920 .fj-adv-summary>div,.fj-game-shell-v920 .fj-adv-summary-v2>div{min-height:96px!important;padding:15px!important;border:1px solid var(--fjx-line)!important;border-radius:17px!important;background:linear-gradient(145deg,var(--fjx-surface),var(--fjx-surface-soft))!important;box-shadow:var(--fjx-shadow-sm)!important}
.fj-game-shell-v920 .fj-adv-rules,.fj-game-shell-v920 .fj-adv-progress-panel{padding:19px!important;border-color:var(--fjx-line)!important;background:var(--fjx-surface)!important}
.fj-game-shell-v920 .fj-adv-rules-grid>div{border-color:var(--fjx-line)!important;border-radius:15px!important;background:var(--fjx-surface-soft)!important}
.fj-game-shell-v920 .fj-adv-vertiente-card{margin:0 0 14px!important;padding:0!important;border:1px solid var(--fjx-line)!important;border-left:5px solid var(--fjx-accent)!important;border-radius:22px!important;background:var(--fjx-surface)!important;box-shadow:var(--fjx-shadow-sm)!important}
.fj-game-shell-v920 .fj-adv-vertiente-head{padding:18px 18px 14px!important;border-bottom:1px solid var(--fjx-line)!important;background:linear-gradient(135deg,rgba(var(--fjx-accent-rgb),.08),var(--fjx-surface))!important}
.fj-game-shell-v920 .fj-adv-task-toolbar-wrap,.fj-game-shell-v920 .fj-adv-task-toolbar{border-color:var(--fjx-line)!important;background:var(--fjx-surface-soft)!important}
.fj-game-shell-v920 .fj-adv-task-list{display:grid!important;gap:9px!important;padding:11px!important;background:var(--fjx-surface-soft)!important}
.fj-game-shell-v920 .fj-adv-task{padding:15px!important;border:1px solid var(--fjx-line)!important;border-left:4px solid color-mix(in srgb,var(--fjx-accent) 55%,var(--fjx-line))!important;border-radius:16px!important;background:var(--fjx-surface)!important;color:var(--fjx-text)!important;box-shadow:none!important}
.fj-game-shell-v920 .fj-adv-task:hover{border-color:rgba(var(--fjx-accent-rgb),.30)!important;box-shadow:var(--fjx-shadow-sm)!important}
.fj-game-shell-v920 .fj-adv-task-details,.fj-game-shell-v920 .fj-adv-staff-validation{border-color:var(--fjx-line)!important;background:var(--fjx-surface-soft)!important}.fj-game-shell-v920 .fj-adv-task-details>summary,.fj-game-shell-v920 .fj-adv-staff-validation>summary{color:var(--fjx-text)!important}
.fj-game-shell-v920 .fj-adv-skill-grid,.fj-game-shell-v920 .fj-adv-skill-grid-v2{gap:9px!important}.fj-game-shell-v920 .fj-adv-skill-card,.fj-game-shell-v920 .fj-adv-skill-grid>.fj-stat{border:1px solid var(--fjx-line)!important;border-radius:16px!important;background:var(--fjx-surface)!important;box-shadow:var(--fjx-shadow-sm)!important}

/* Remaining screen families share the same organic content rhythm. */
.fj-game-shell-v920 .fj-v9-screen-body :where(
  .fj-dashboard-grid-main,.fj-dashboard-bottom-grid,.fj-team-hub-main-grid,.fj-bank-actions-grid,
  .fj-bank-wallet-grid,.fj-market-player-grid,.fj-store636-grid,.fj-badge636-grid,.fj-desafio-grid,
  .fj-desafio-arena-grid,.fj-desafio-battle-grid,.fj-desafio-results-grid,.fj-community-grid,
  .fj-staff646-grid,.fj-front-admin-grid,.fj-sp649-main-grid,.fj-sp649-bottom-grid,
  .fj-sp651-work-grid,.fj-app652-list,.fj-intake653-list,.fj-eq654-list,.fj-rw657-action-grid,
  .fj-tm658-grid
){gap:14px!important}
.fj-game-shell-v920 .fj-v9-screen-body :where(
  .fj-dashboard-action-card,.fj-dashboard-discipline,.fj-dashboard-attention-item,
  .fj-team-member-card,.fj-team-role-card,.fj-market-player-card,.fj-bank-action-card,
  .fj-store636-card,.fj-badge636-card,.fj-desafio-arena-card,.fj-desafio-battle-card,
  .fj-desafio-result-card,.fj-community-person-card,.fj-wall641-post,.fj-staff646-card,
  .fj-sp649-team-card,.fj-sp651-agenda-card,.fj-app652-card,.fj-intake653-card,.fj-eq654-card,
  .fj-rw657-action-card,.fj-tm658-card
){border:1px solid var(--fjx-line)!important;border-radius:18px!important;background:var(--fjx-surface)!important;color:var(--fjx-text)!important;box-shadow:var(--fjx-shadow-sm)!important}
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-dashboard-action-card,.fj-community-person-card,.fj-market-player-card,.fj-store636-card,.fj-badge636-card):hover{transform:translateY(-2px)!important;border-color:rgba(var(--fjx-accent-rgb),.32)!important;box-shadow:var(--fjx-shadow)!important}
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-dashboard-team-stats,.fj-team-hub-stats,.fj-market-summary-grid,.fj-bank-staff-summary,.fj-desafio-hero-stats,.fj-tm658-statgrid,.fj-sys659-statgrid)>*{border:1px solid var(--fjx-line)!important;background:linear-gradient(145deg,var(--fjx-surface),var(--fjx-surface-soft))!important;color:var(--fjx-text)!important}

/* Complete day/night surface coverage for hard-coded legacy whites. */
html[data-fj-theme="night"] .fj-game-shell-v920 .fj-v9-screen-body :where(
  .fj-profile-next-card,.fj-profile-help,.fj-profile-help-content,.fj-profile-progress-row,
  .fj-transfer-request-box,.fj-leader-transfer-member,.fj-ficha-radar-overview,
  .fj-adv-rules,.fj-adv-rules-grid>div,.fj-adv-summary>div,.fj-adv-summary-v2>div,
  .fj-adv-vertiente-card,.fj-adv-vertiente-head,.fj-adv-task-toolbar-wrap,.fj-adv-task-toolbar,
  .fj-adv-task-list,.fj-adv-task,.fj-adv-task-details,.fj-adv-staff-validation,
  .fj-adv-skill-card,.fj-adv-skill-grid>.fj-stat,.fj-table-scroll,.fj-responsive-table,
  .fj-dashboard-action-card,.fj-dashboard-discipline,.fj-dashboard-attention-item,
  .fj-team-member-card,.fj-team-role-card,.fj-market-player-card,.fj-bank-action-card,
  .fj-store636-card,.fj-badge636-card,.fj-desafio-arena-card,.fj-desafio-battle-card,
  .fj-desafio-result-card,.fj-community-person-card,.fj-wall641-post,.fj-staff646-card,
  .fj-sp649-team-card,.fj-sp651-agenda-card,.fj-app652-card,.fj-intake653-card,.fj-eq654-card,
  .fj-rw657-action-card,.fj-tm658-card
){background:var(--fjx-surface)!important;border-color:var(--fjx-line)!important;color:var(--fjx-text)!important}
html[data-fj-theme="night"] .fj-game-shell-v920 .fj-v9-screen-body :where(.fj-adv-task-list,.fj-adv-task-toolbar,.fj-adv-task-toolbar-wrap,.fj-profile-help summary){background:var(--fjx-surface-soft)!important}
html[data-fj-theme="night"] .fj-game-shell-v920 .fj-v9-screen-body :where(input,select,textarea,option){background:var(--fjx-surface-soft)!important;color:var(--fjx-text)!important;border-color:var(--fjx-line-strong)!important}

/* Keep intentionally dark identity banners readable after global contrast rules. */
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-dynasty-gallery-hero,.fj-dynasty-card-hero) :where(h1,h2,h3,h4,strong,b){color:#fff!important}
.fj-game-shell-v920 .fj-v9-screen-body :where(.fj-dynasty-gallery-hero,.fj-dynasty-card-hero) :where(p,small){color:#c7d1e5!important}

@media(max-width:1080px){
  .fj-game-shell-v920 .fj-profile-guide-row,.fj-game-shell-v920 .fj-profile-main-grid{grid-template-columns:1fr!important}
  .fj-game-shell-v920 .fj-profile-side-stack{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .fj-game-shell-v920 .fj-profile-side-stack .fj-profile-transfer-card{grid-column:1/-1!important}
  .fj-game-shell-v920 .fj-adv-summary,.fj-game-shell-v920 .fj-adv-summary-v2{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}

@media(max-width:760px){
  .fj-game-shell-v920 .fj-v930-section-route{grid-template-columns:1fr!important;gap:8px!important;padding:9px!important}
  .fj-game-shell-v920 .fj-v930-section-route__head{padding:1px 3px 8px!important;border-right:0!important;border-bottom:1px solid var(--fjx-line)!important}
  .fj-game-shell-v920 .fj-v930-section-route__links>a{grid-template-columns:auto auto minmax(74px,auto)!important}
  .fj-game-shell-v920 .fj-profile-next-card{grid-template-columns:48px minmax(0,1fr)!important;min-height:0!important;padding:16px!important}.fj-game-shell-v920 .fj-profile-next-card>.fj-btn{grid-column:1/-1!important;width:100%!important}.fj-game-shell-v920 .fj-profile-next-icon{width:46px!important;height:46px!important}
  .fj-game-shell-v920 .fj-profile-side-stack{grid-template-columns:1fr!important}.fj-game-shell-v920 .fj-profile-side-stack .fj-profile-transfer-card{grid-column:auto!important}
  .fj-game-shell-v920 .fj-profile-panel,.fj-game-shell-v920 .fj-profile-transfer-card,.fj-game-shell-v920 .fj-ficha-detalle{padding:15px!important}
  .fj-game-shell-v920 .fj-adv-summary,.fj-game-shell-v920 .fj-adv-summary-v2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* On phones, data tables become labelled cards. Desktop keeps the compact
   scoreboard/log treatment. */
@media(max-width:680px){
  .fj-game-shell-v920 .fj-v920-table-zone.fj-v930-card-table-zone{overflow:visible!important;border-radius:0!important}
  .fj-game-shell-v920 table.fj-v930-card-table{display:block!important;min-width:0!important;width:100%!important;border-spacing:0!important}
  .fj-game-shell-v920 .fj-v930-card-table thead{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
  .fj-game-shell-v920 .fj-v930-card-table tbody{display:grid!important;gap:10px!important;width:100%!important}
  .fj-game-shell-v920 .fj-v930-card-table tbody tr{display:block!important;overflow:hidden!important;width:100%!important;border:1px solid var(--fjx-line)!important;border-left:4px solid var(--fjx-accent)!important;border-radius:17px!important;background:var(--fjx-surface)!important;filter:none!important;box-shadow:var(--fjx-shadow-sm)!important}
  .fj-game-shell-v920 .fj-v930-card-table tbody :where(td,th){display:grid!important;grid-template-columns:minmax(88px,34%) minmax(0,1fr)!important;align-items:center!important;gap:10px!important;width:100%!important;min-height:42px!important;padding:9px 11px!important;border:0!important;border-bottom:1px solid var(--fjx-line)!important;border-radius:0!important;background:transparent!important;text-align:left!important;white-space:normal!important}
  .fj-game-shell-v920 .fj-v930-card-table tbody :where(td,th):last-child{border-bottom:0!important}
  .fj-game-shell-v920 .fj-v930-card-table tbody td:before{content:attr(data-fj-label);color:var(--fjx-muted)!important;font-size:8px!important;font-weight:950!important;letter-spacing:.08em!important;text-transform:uppercase!important}
  .fj-game-shell-v920 .fj-v930-card-table tbody td:empty{display:none!important}
  .fj-v920-menu-worlds{padding:12px!important}.fj-v920-menu-world{padding:12px!important}.fj-v920-menu-links>a{min-height:64px!important}
}

@media(max-width:460px){
  .fj-game-shell-v920 .fj-adv-summary,.fj-game-shell-v920 .fj-adv-summary-v2{grid-template-columns:1fr!important}
  .fj-game-shell-v920 .fj-v930-section-route__head strong{font-size:10px!important}
  .fj-game-shell-v920 .fj-v930-section-route__links b{max-width:135px!important}
}
