/**
 * Portada del hub en ordenador — 8 oct 2026.
 * A partir de 1.024 px: dos columnas (viva + divisas | módulos a 4).
 * En móvil no pinta nada. Dibujo: dibujo-hub-escritorio-2026-10-08.html
 * No toca hub.css / tokens.css / reglas de móvil de viva ni cuba-hoy.
 */

@media (min-width: 1024px) {
  .app-shell {
    width: min(100%, 1200px);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 32px;
    padding-right: 32px;
  }

  main {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    column-gap: 28px;
    row-gap: 28px;
    align-items: start;
  }

  .portada-col--viva {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
  }

  .portada-col--tools {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
  }

  #marcador,
  #marcador-hueco {
    grid-column: 1 / -1;
  }

  /* —— Pantalla viva, más grande —— */
  .viva {
    height: 300px;
    border-radius: 20px;
    margin-bottom: 0;
  }

  .viva__card {
    padding: 26px 28px;
  }

  .viva__mod {
    gap: 10px;
    font-size: 13px;
  }

  .viva__sello {
    width: 28px;
    height: 28px;
  }

  .viva__eti {
    font-size: 10px;
    padding: 4px 10px;
  }

  .viva__t {
    font-size: 28px;
    line-height: 1.25;
    margin: 18px 0 10px;
    max-width: 560px;
  }

  .viva__a {
    font-size: 15px;
  }

  .viva__f {
    font-size: 12px;
    margin: 8px 0 0;
  }

  .viva__ver {
    right: 24px;
    bottom: 20px;
  }

  .viva__card--amigo .viva__t {
    font-size: 28px;
    max-width: calc(100% - 180px);
  }

  .viva__card--amigo .viva__t2 {
    font-size: 15px;
    max-width: calc(100% - 180px);
  }

  .viva__grid {
    margin-top: 12px;
  }

  /* —— Línea de divisas: una sola fila —— */
  .cuba-hoy {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 26px;
    margin: 0;
    padding: 16px 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: #0f1d3b;
    letter-spacing: 0.06em;
  }

  .cuba-hoy__cambio {
    order: 1;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 26px;
    margin: 0;
    padding: 0;
    border: 0;
    white-space: nowrap;
    font-size: 13px;
    color: #a3b2cc;
    letter-spacing: 0.06em;
  }

  .cuba-hoy__moneda {
    display: flex;
    align-items: baseline;
    gap: 8px;
    white-space: nowrap;
  }

  .cuba-hoy__cod {
    font-size: 13px;
    letter-spacing: 0.06em;
  }

  .cuba-hoy__val {
    color: #fff;
    font-size: 20px;
    letter-spacing: 0;
    font-weight: 700;
  }

  .cuba-hoy__tarjeta {
    order: 2;
    flex: 0 0 auto;
    margin-left: auto;
  }

  .cuba-hoy__boton {
    height: auto;
    min-width: 0;
    white-space: nowrap;
    letter-spacing: 0;
    padding: 8px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    background: transparent;
  }

  .cuba-hoy__boton--hay {
    color: #fff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.15);
  }

  .cuba-hoy__pliegue {
    order: 3;
    flex: 1 0 100%;
    white-space: normal;
    letter-spacing: 0;
  }

  /* —— Módulos: 4 columnas —— */
  .tools-head {
    margin: 0 0 14px;
    font-size: 12px;
    letter-spacing: 0.12em;
    color: #a3b2cc;
  }

  .hub-tiles {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px 12px;
  }

  .hub-tile {
    padding: 14px 6px;
    gap: 8px;
    border-radius: 16px;
    background: #0f1d3b;
    border: 1px solid rgba(255, 255, 255, 0.06);
  }

  .hub-tile__icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .hub-tile__icon img {
    width: 64px;
    height: 64px;
  }

  /* Lugares: mismo lienzo 64 px; su PNG ya es icon-aqui.png */
  .hub-tile[data-tool="lugares"] .hub-tile__icon img {
    width: 64px;
    height: 64px;
  }

  .hub-tile__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
  }
}
