/* Menu lateral comun a todas las paginas del dashboard (Marcador, Partidos guardados, Datos).
   Blanco, a la izquierda; se contrae a solo iconos (side.js lo recuerda) y en pantallas angostas pasa arriba. */
body { padding-left: 252px; transition: padding-left .2s; }
.side { position: fixed; inset: 0 auto 0 0; width: 252px; z-index: 25; display: flex; flex-direction: column; gap: 20px;
  padding: 22px 16px; overflow-y: auto; background: #fff; border-right: 1px solid var(--line); transition: width .2s; }
.side svg.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.side-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.side .brand { display: flex; align-items: center; gap: 10px; padding: 0 8px; font: 700 19px/1 var(--display); letter-spacing: -.01em;
  white-space: nowrap; color: var(--text); text-decoration: none; }
.side .brand .ball { width: 26px; height: 26px; border-radius: 50%; flex: none; background: var(--orange); box-shadow: 0 0 0 3px rgba(249, 115, 22, .2); }
.side .brand .ball::after { display: none; }
.side-tg { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; color: var(--muted); cursor: pointer; }
.side-tg:hover { background: var(--surface); color: var(--text); }
.side-tg .i { transition: transform .2s; }
.nowcard { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: var(--surface); min-width: 0; }
.nowcard .now-txt b { font-size: 16px; }
.nowcard .tech { display: block; font-size: 12px; margin-top: 2px; }
.nav { display: grid; gap: 14px; }
.nav-g { display: grid; gap: 2px; }
.nav-g h3 { margin: 0 0 4px; padding: 0 12px; font: 600 12px/1.2 "Manrope", sans-serif; color: var(--muted); }
.nav-i { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border: 0; border-radius: 12px; background: none;
  color: var(--text); font: 600 15px/1.2 "Manrope", sans-serif; text-decoration: none; text-align: left; cursor: pointer; white-space: nowrap; }
.nav-i:hover { background: var(--surface); }
.nav-i .i { width: 20px; height: 20px; color: var(--muted); }
.nav-i.on { background: var(--green-soft); color: var(--green-ink); }
.nav-i.on .i { color: var(--green-ink); }
.nav-i.video .i { color: var(--orange); }
.side-sec h3 { margin: 0 0 8px; padding: 0 12px; font: 600 13px/1.2 "Manrope", sans-serif; color: var(--muted); }
.side-sec .gchip { width: 100%; justify-content: flex-start; }

/* encabezado de cada pagina (titulo y datos), dentro del contenido */
.pagehead { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; padding: 24px 28px 0; }
.pagehead h1 { margin: 0; font: 700 26px/1.15 var(--display); letter-spacing: -.01em; color: var(--text); }
.pagehead .meta { color: var(--muted); font-size: 14px; }

@media (min-width: 1101px) {
  body.side-min { padding-left: 80px; }
  body.side-min .side { width: 80px; padding: 22px 12px; align-items: center; }
  body.side-min .side-head { flex-direction: column; }
  body.side-min .side .brand { padding: 0; }
  body.side-min .side .brand span:not(.ball), body.side-min .nav-i span, body.side-min .now-txt,
  body.side-min .side-sec h3, body.side-min #gchip-t, body.side-min .nav-g h3 { display: none; }
  body.side-min .side-tg .i { transform: rotate(180deg); }
  body.side-min .nowcard { padding: 14px; justify-content: center; }
  body.side-min .nav-i { justify-content: center; padding: 12px; }
  body.side-min .side-sec .gchip { justify-content: center; padding: 8px; }
}
@media (max-width: 1100px) {
  body { padding-left: 0; }
  .side { position: sticky; top: 0; inset: auto; width: auto; flex-direction: row; align-items: center; gap: 12px;
    padding: 10px 16px; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .side-tg { display: none; }
  .nowcard { padding: 6px 12px; flex: none; }
  .nowcard .tech { display: none; }
  .nav, .nav-g { display: flex; gap: 2px; }
  .nav-g h3 { display: none; }
  .nav-i { width: auto; padding: 9px 10px; }
  .side-sec h3 { display: none; }
  .side-sec .gchip { width: auto; }
}
@media (max-width: 760px) {
  .side .brand span:not(.ball), .nav-i span { display: none; }
  .pagehead { padding: 16px 16px 0; }
  .pagehead h1 { font-size: 22px; }
}
body.board, body.tvlive { padding-left: 0; }
body.board .side, body.tvlive .side { display: none; }
@media (prefers-reduced-motion: reduce) { body, .side, .side-tg .i { transition: none; } }
