/* Juntos — "Juego del día" card on the home page (diario.js renderHub) */
.dz-hub {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 26px; color: #fff; overflow: hidden; isolation: isolate;
  background: radial-gradient(280px 200px at 100% 0%, rgba(255, 107, 74, .45), transparent 70%), radial-gradient(240px 160px at 0% 100%, rgba(255, 154, 60, .2), transparent 70%), linear-gradient(160deg, #3A3D5C, #1F2137);
  box-shadow: 0 26px 44px -24px rgba(31, 33, 55, .9), inset 0 1px 0 rgba(255, 255, 255, .1);
}
.dz-hub.is-new { animation: ndj-pop .35s ease both; }
.dz-hub::after { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: inherit; padding: 2px; background: linear-gradient(135deg, #FF6B4A, #FF9A3C 40%, rgba(255, 210, 63, .2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.dz-hub__top { display: flex; align-items: flex-start; gap: 13px; }
.dz-hub__em { flex: none; width: 62px; height: 62px; border-radius: 20px; box-shadow: 0 0 0 3px rgba(255, 255, 255, .18), 0 14px 22px -12px rgba(0, 0, 0, .7); }
.dz-hub.is-ready .dz-hub__em { animation: dz-bob 2.8s ease-in-out infinite; }
@keyframes dz-bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-4px) rotate(3deg); } }
.dz-hub__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dz-hub__kicker { font-weight: 800; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: #FFD98A; }
.dz-hub__title { font-size: 1.42rem; font-weight: 700; line-height: 1.1; }
.dz-hub__rule { font-size: .9rem; font-weight: 700; color: #C9C7E8; line-height: 1.35; }
.dz-hub__streak {
  flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 58px; min-height: 64px; padding: 6px 8px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 154, 60, .3), rgba(255, 107, 74, .18)); border: 1px solid rgba(255, 154, 60, .45); font-size: 1.15rem; line-height: 1;
}
.dz-hub__streak b { font: 700 1.35rem/1.1 var(--font-display); margin-top: 2px; }
.dz-hub__streak small { font-size: .66rem; font-weight: 800; letter-spacing: .04em; color: #FFD98A; text-transform: uppercase; }
.dz-hub__streak.is-zero { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .12); filter: grayscale(.7); }
.dz-hub__streak.is-risk { animation: dz-glow 1.8s ease-in-out infinite; }
@keyframes dz-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 154, 60, .0); } 50% { box-shadow: 0 0 0 5px rgba(255, 154, 60, .28); } }
.dz-hub__play {
  gap: 10px; min-height: 58px; border-radius: 18px; color: #fff; text-decoration: none; font-size: 1.15rem;
  background: linear-gradient(135deg, #FF6B4A, #FF9A3C); box-shadow: 0 16px 26px -14px rgba(255, 107, 74, .95), inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -3px 0 rgba(0, 0, 0, .12);
}
.dz-hub__play .ndj-ic { width: 22px; height: 22px; }
.dz-hub__mins { font-weight: 600; opacity: .85; font-size: .95rem; }
.dz-hub__done { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 18px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
.dz-hub__res { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dz-hub__check { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #2BD66F; color: #fff; flex: none; }
.dz-hub__check .ndj-ic { width: 18px; height: 18px; }
.dz-hub__score { font: 600 1.05rem var(--font-display); }
.dz-hub__score b { font-size: 1.5rem; color: #FFD23F; }
.dz-hub__grid { font-size: 1.05rem; letter-spacing: 1px; line-height: 1; }
.dz-hub__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dz-hub__acts .btn { min-height: 46px; text-decoration: none; }
.dz-hub__share { color: #fff; background: linear-gradient(135deg, #FF6B4A, #FF9A3C); box-shadow: 0 10px 18px -12px rgba(255, 107, 74, .9); }
.dz-hub__see { color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .16); }
.dz-hub__board { margin: 0; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .06); font-weight: 700; font-size: .94rem; line-height: 1.35; }
.dz-hub__bk { color: #FFD98A; }
.dz-hub__board.is-empty { color: #C9C7E8; font-size: .88rem; }
.dz-hub__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: .84rem; font-weight: 800; color: #A9A6CF; }
.dz-hub__risk { color: #FFB067; }
@media (prefers-reduced-motion: reduce) { .dz-hub.is-ready .dz-hub__em, .dz-hub__streak.is-risk { animation: none; } }

/* hub shell: the compact strip on Inicio (after the games) */
.dz-hub--compact { gap: 10px; padding: 12px 14px; }
.dz-hub--compact .dz-hub__em { width: 46px; height: 46px; border-radius: 15px; }
.dz-hub--compact .dz-hub__title { font-size: 1.12rem; }
.dz-hub--compact .dz-hub__kicker { font-size: .66rem; }
.dz-hub--compact .dz-hub__rule { display: none; }
.dz-hub--compact .dz-hub__streak { padding: 4px 8px; }
.dz-hub--compact .dz-hub__streak b { font-size: 1.05rem; }
.dz-hub--compact .dz-hub__play { min-height: 48px; font-size: 1rem; }
.dz-hub--compact .dz-hub__done { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 10px; }
.dz-hub--compact .dz-hub__res { flex: 1 1 auto; gap: 6px; }
.dz-hub--compact .dz-hub__score b { font-size: 1.2rem; }
.dz-hub--compact .dz-hub__acts { flex: 1 1 100%; }
.dz-hub--compact .dz-hub__acts .btn { min-height: 44px; }
.dz-hub--compact .dz-hub__board { padding: 7px 10px; font-size: .84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dz-hub--compact .dz-hub__foot { font-size: .76rem; }
