/* AEMET rehecha: azul medido en el icono real; un solo color para el dato y ámbar solo para avisos */
:root { --azul: #1b4f9c; --azul-hondo: #123a76; --azul-claro: #dde8f7; --tinta: #0e1f3a; --fondo: #eef3f9; --lluvia: #2f7fe0; --ambar: #ffc21a; }

.alerta { display: flex; align-items: center; gap: 10px; margin: 4px 0 2px; padding: 10px 14px; border-radius: 14px; background: var(--ambar); color: #3a2a00; font-size: .875rem; line-height: 1.25; }
.alerta b { font-weight: 800; } .alerta svg { stroke-width: 2.2; }
body.sinaviso .alerta { display: none; }
.cabecera { padding-bottom: 6px; }

.ahora { border-radius: var(--r-l); padding: 12px 16px 14px; color: #fff; background: linear-gradient(160deg, #3a78cf 0%, var(--azul) 55%, var(--azul-hondo) 100%); box-shadow: 0 1px 2px rgb(10 40 90 / .3), 0 16px 30px -16px rgb(10 40 90 / .7); }
.a-temp { display: flex; align-items: center; justify-content: space-between; }
.a-temp b { font-size: 5rem; font-weight: 900; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.icono { width: 84px; height: 84px; border-radius: 50%; background: rgb(255 255 255 / .16); display: grid; place-items: center; } .icono svg { stroke-width: 1.6; fill: rgb(255 255 255 / .9); stroke: none; }
.a-frase { margin-top: 2px; font-size: 1.25rem; font-weight: 700; line-height: 1.2; } .a-frase b { font-weight: 900; color: var(--ambar); }

.tarjeta { margin-top: 10px; background: var(--papel); border-radius: var(--r-l); box-shadow: inset 0 0 0 1px var(--linea); padding: 12px 16px 12px; }
.tarjeta h3 { margin: 0 0 8px; font-size: .8125rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--azul); }
.barras { display: grid; grid-template-columns: repeat(12, 1fr); gap: 5px; align-items: end; height: 74px; }
.barras div { display: grid; align-items: end; height: 100%; grid-template-rows: 1fr auto; gap: 4px; }
.barras i { display: block; border-radius: 5px 5px 2px 2px; background: #d5e1f1; min-height: 4px; align-self: end; } .barras i.si { background: var(--lluvia); }
.barras small { font-size: .625rem; font-weight: 700; color: var(--tinta-2); text-align: center; font-variant-numeric: tabular-nums; }
body.sinbarras .barras i { opacity: 0; }

.curva { display: block; width: 100%; height: auto; overflow: visible; }
.curva .max { fill: none; stroke: var(--azul); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; } .curva .min { fill: none; stroke: #9db4d6; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1 6; }
.curva circle { fill: #fff; stroke: var(--azul); stroke-width: 3; } .curva text { font: 800 11px "Overpass", sans-serif; fill: var(--tinta); stroke: none; text-anchor: middle; }
body.sincurva .curva { opacity: 0; }
.dias { list-style: none; padding: 0; margin-top: 4px; display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: .75rem; font-weight: 800; color: var(--tinta-2); }
.dias li.hoy { color: var(--azul); }

.lista-dias { list-style: none; padding: 0; background: var(--papel); border-radius: var(--r-m); box-shadow: inset 0 0 0 1px var(--linea); }
.lista-dias li { display: grid; grid-template-columns: 54px 1fr auto; gap: 10px; align-items: center; padding: 11px 14px; font-size: .9375rem; } .lista-dias li + li { border-top: 1px solid var(--linea); }
.lista-dias b { font-weight: 800; } .lista-dias span { color: var(--tinta-2); } .lista-dias em { font-style: normal; font-weight: 900; font-variant-numeric: tabular-nums; }

.pestanas button[aria-current="page"] { color: var(--azul); } .pestanas button[aria-current="page"] svg { background: var(--azul-claro); }
