/* Compact homepage only. Shared administration/game layouts keep their styles. */
body.portal-compact .site-header{min-height:62px;padding-block:3px;position:relative}
body.portal-compact .site-header .logo-image{width:56px;height:56px}
body.portal-compact main{max-width:1080px}
body.portal-compact .portal-intro{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:19px 0 14px}
body.portal-compact .portal-intro h1{margin:0;color:#172033;font-size:clamp(1.35rem,3vw,1.75rem);line-height:1.2;letter-spacing:-.035em}
body.portal-compact .portal-intro p{margin:5px 0 0;color:#667085;font-size:.82rem;line-height:1.4}
body.portal-compact .section-nav{padding:0 0 15px;margin:0;gap:7px;border:0;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}
body.portal-compact .section-nav a{min-height:36px;padding:0 11px;gap:6px;font-size:.76rem;white-space:nowrap;flex:none}
body.portal-compact .shortcut-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px;padding-bottom:24px}
body.portal-compact .shortcut-section{min-width:0;scroll-margin-top:16px}
body.portal-compact .shortcut-juegos,body.portal-compact .shortcut-apps{grid-column:1/-1}
body.portal-compact .shortcut-heading{display:flex;align-items:center;gap:8px;margin-bottom:9px}
body.portal-compact .shortcut-heading h2{margin:0;font-size:.95rem;line-height:1.3;letter-spacing:-.015em}
body.portal-compact .shortcut-heading>span{display:inline-grid;place-items:center;min-width:20px;height:20px;border-radius:6px;background:#eaf0fa;color:#566b89;font-size:.68rem}
body.portal-compact .shortcut-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.portal-compact .shortcut-ingenieria .shortcut-grid,body.portal-compact .shortcut-diseno .shortcut-grid,body.portal-compact .shortcut-aprendizaje .shortcut-grid{grid-template-columns:minmax(0,1fr)}
body.portal-compact .shortcut{display:flex;align-items:center;gap:12px;min-height:84px;min-width:0;border:1px solid #dfe6ef;border-radius:13px;padding:15px 16px;background:#fff;color:#172033;text-decoration:none;box-shadow:0 2px 7px #1e293b03;transition:border-color .15s,background .15s}
body.portal-compact .shortcut:hover{border-color:#9bb9ec;background:#f9fbff}
body.portal-compact .shortcut img,body.portal-compact .shortcut-monogram{flex:none;width:38px;height:38px;border-radius:10px;object-fit:contain}
body.portal-compact .shortcut-monogram{display:grid;place-items:center;background:#eaf6ff;color:#1769aa;font-size:.87rem;font-weight:800;letter-spacing:-.035em}
body.portal-compact .shortcut.violet .shortcut-monogram{background:#f2edff;color:#6d43bd}
body.portal-compact .shortcut-name{min-width:0;font-size:.94rem;font-weight:720;line-height:1.3;overflow-wrap:break-word}
body.portal-compact .shortcut-arrow{margin-left:auto;color:#98a6bb;font-size:.9rem;flex:none}
body.portal-compact .shortcut-extras{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:7px;min-width:0}
body.portal-compact .shortcut-extras a{display:inline-flex;align-items:center;min-height:36px;color:#53677f;font-size:.75rem;text-decoration:none}
body.portal-compact .shortcut-extras a:hover{color:#2563eb;text-decoration:underline}
body.portal-compact .compact-admin{padding:0 0 20px;border-top:1px solid #dfe6ef}
body.portal-compact .status-shortcut{display:inline-flex;align-items:center;min-height:44px;padding:6px 0;font-size:.83rem;font-weight:650;color:#2563eb;text-decoration:none}
body.portal-compact .compact-admin summary{cursor:pointer;min-height:44px;align-content:center;color:#53677f;font-size:.85rem}
body.portal-compact .compact-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:5px}
body.portal-compact .compact-admin-grid a{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:54px;padding:11px 14px;background:#fff;border:1px solid #dfe6ef;border-radius:10px;color:#334155;text-decoration:none;font-size:.8rem;line-height:1.4}
body.portal-compact .compact-admin-grid strong{font-weight:600}
body.portal-compact footer{padding-block:14px;font-size:.7rem}
@media(min-width:760px){
  body.portal-compact .shortcut-juegos .shortcut-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.portal-compact .shortcut-sections{gap:22px 18px}
}
@media(min-width:900px){
  body.portal-compact .shortcut-sections{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:600px){
  body.portal-compact .site-header{padding-inline:12px}
  body.portal-compact main{width:calc(100% - 24px)}
  body.portal-compact .portal-intro{padding:16px 0 12px}
  body.portal-compact .shortcut-sections{gap:17px 10px;padding-bottom:18px}
  body.portal-compact .shortcut-ingenieria,body.portal-compact .shortcut-diseno,body.portal-compact .shortcut-aprendizaje{grid-column:1/-1}
  body.portal-compact .shortcut-grid{gap:9px}
  body.portal-compact .shortcut{min-height:80px;padding:11px 10px;gap:9px;border-radius:11px}
  body.portal-compact .shortcut img,body.portal-compact .shortcut-monogram{width:34px;height:34px;border-radius:9px}
  body.portal-compact .shortcut-name{font-size:.83rem}
  body.portal-compact .shortcut-arrow{display:none}
  body.portal-compact .shortcut-heading h2{font-size:.88rem}
}
@media(max-width:350px){
  body.portal-compact .shortcut{gap:7px;padding-inline:8px}
  body.portal-compact .shortcut img,body.portal-compact .shortcut-monogram{width:29px;height:29px}
  body.portal-compact .shortcut-name{font-size:.78rem}
  body.portal-compact .compact-admin-grid{grid-template-columns:minmax(0,1fr)}
}

/* Imágenes originales elegidas para los seis juegos; mismo tamaño que las demás apps. */
body.portal-compact .shortcut .shortcut-icon{display:block;flex:none;width:38px;height:38px;border-radius:10px;overflow:hidden}
@media(max-width:600px){body.portal-compact .shortcut .shortcut-icon{width:34px;height:34px;border-radius:9px}}
@media(max-width:350px){body.portal-compact .shortcut .shortcut-icon{width:29px;height:29px}}

/* Versión Mus en portada: solo administradores y sin ampliar las tarjetas. */
body.portal-compact .home-mus-status{margin:0 0 8px;color:#53677f;font-size:.76rem;line-height:1.5;overflow-wrap:anywhere}

