 
  /* ---- Wrapper principale ---- */
  .wx-wrapper {
    background: var(--wx-bg);
    border-radius: var(--wx-radius);
    padding: 1.5rem;
    box-shadow: var(--wx-shadow);
    color: var(--wx-text);
    font-family: 'Segoe UI', system-ui, sans-serif;
    max-width: 90vw;
    margin: 1rem auto 3rem;
  }

  /* ---- Header ---- */
  .wx-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1.25rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--wx-border);
  }
  .wx-header h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--wx-accent);
  }
  .wx-update {
    font-size: .75rem;
    color: var(--wx-muted);
  }

  /* ---- Card singola ---- */
  .wx-card {
    background: var(--wx-card);
    border: 1px solid var(--wx-border);
    border-radius: var(--wx-radius);
    padding: 1rem 1.1rem;
    height: 100%;
    transition: transform .18s, box-shadow .18s;
  }
  .wx-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,.5);
  }
  .wx-card-icon {
    font-size: 1.6rem;
    margin-bottom: .3rem;
    display: block;
    line-height: 1;
  }
  .wx-card-label {
    font-size: .98rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--wx-muted);
    margin-bottom: .15rem;
  }
  .wx-card-value {
    font-size: 2.15rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--wx-text);
  }
  .wx-card-value small {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--wx-muted);
  }
  .wx-minmax {
    display: flex;
    gap: .6rem;
    margin-top: .5rem;
    font-size: .75rem;
  }
  .wx-minmax span {
    background: rgba(255,255,255,.06);
    border-radius: 6px;
    padding: .15rem .4rem;
    color: var(--wx-muted);
  }
  .wx-minmax .max { color: #f6ad55; }
  .wx-minmax .min { color: #63b3ed; }

  /* ---- Barra vento ---- */
  .wx-wind-bar {
    height: 5px;
    border-radius: 3px;
    background: rgba(255,255,255,.1);
    margin-top: .6rem;
    overflow: hidden;
  }
  .wx-wind-bar-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, #63b3ed, #f6ad55);
    transition: width .6s ease;
  }

  /* ---- Sezione vento direzione ---- */
  .wx-compass {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 2px solid var(--wx-accent);
    display: flex; align-items: center; justify-content: center;
    font-size: .75rem; font-weight: 700;
    color: var(--wx-accent);
    flex-shrink: 0;
  }

  /* ---- Radiazione solare ---- */
  .wx-rad-bar {
    height: 8px;
    border-radius: 4px;
    background: rgba(255,255,255,.08);
    margin-top: .6rem;
    overflow: hidden;
  }
  .wx-rad-bar-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, #f6e05e, #ed8936);
  }

  /* ---- Responsive tweaks ---- */
  @media (max-width: 576px) {
    .wx-card-value { font-size: 1.4rem; }
  }