@import url('data:text/css;charset=utf-8,');
:root{
  --bg:#020d1d;--bg2:#061a31;--panel:rgba(7,31,57,.88);--panel2:rgba(8,37,67,.9);
  --line:rgba(62,162,226,.30);--line2:rgba(48,189,255,.55);--cyan:#18b9ff;--cyan2:#54d6ff;
  --white:#f7fbff;--muted:#a7b8ca;--muted2:#7f99b2;--green:#34e5a2;--yellow:#ffc842;
}
*{box-sizing:border-box}html{background:var(--bg)}body{margin:0;min-height:100vh;color:var(--white);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;background:radial-gradient(circle at 13% 12%,#0a3155 0,transparent 34%),radial-gradient(circle at 85% 20%,#072b50 0,transparent 27%),linear-gradient(135deg,#020b18 0%,#03152a 54%,#041b33 100%);overflow-x:hidden}
a{text-decoration:none;color:inherit}.ambient{position:fixed;border-radius:50%;filter:blur(100px);opacity:.16;pointer-events:none}.ambient-a{width:420px;height:420px;background:#009cff;top:-160px;left:-160px}.ambient-b{width:520px;height:520px;background:#0077ff;right:-220px;top:180px}.page-shell{position:relative;z-index:1;max-width:1440px;margin:0 auto;padding:22px 38px 22px}
.site-header{display:flex;justify-content:space-between;align-items:center;gap:20px}.brand{display:flex;align-items:center;gap:12px}.brand-icon{position:relative;width:52px;height:47px;display:inline-flex}.brand-icon svg{width:52px;height:47px}.logo-sun{fill:#24bfff}.logo-cloud{fill:#f5fbff}.flag{position:absolute;right:-3px;bottom:0;width:19px;height:13px;border-radius:4px;overflow:hidden;display:flex;border:1px solid rgba(255,255,255,.5);box-shadow:0 2px 8px rgba(0,0,0,.35)}.flag b{flex:1}.flag b:nth-child(1){background:#179447}.flag b:nth-child(2){background:#fff}.flag b:nth-child(3){background:#e53c46}.brand>span:last-child{display:flex;flex-direction:column;line-height:1}.brand strong{font-size:20px;letter-spacing:.04em}.brand em{font-style:normal;font-weight:900;font-size:15px;letter-spacing:.18em;color:var(--cyan);margin-top:5px}.dashboard-btn{display:flex;align-items:center;gap:10px;border:1px solid #0f9cf0;background:linear-gradient(180deg,rgba(7,47,82,.95),rgba(4,28,53,.95));padding:13px 19px;border-radius:13px;font-weight:700;box-shadow:0 0 24px rgba(0,158,255,.12),inset 0 0 18px rgba(38,171,255,.05);transition:.2s}.dashboard-btn:hover{transform:translateY(-1px);box-shadow:0 0 30px rgba(0,174,255,.22)}.dashboard-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}
.intro{display:grid;grid-template-columns:1.16fr .84fr;align-items:center;min-height:178px;margin-top:8px;position:relative}.intro-copy{padding:11px 0 8px}.intro h1{font-size:clamp(46px,4.7vw,68px);letter-spacing:-.045em;line-height:.98;margin:0;font-weight:800}.intro h1 span{background:linear-gradient(180deg,#43d5ff,#0898e9);-webkit-background-clip:text;background-clip:text;color:transparent}.intro p{font-size:18px;line-height:1.45;color:#b5c3d2;margin:13px 0 15px}.auto-pill{width:max-content;max-width:100%;display:flex;align-items:center;gap:11px;border:1px solid rgba(80,174,229,.28);background:rgba(3,23,42,.58);padding:9px 15px;border-radius:999px;color:#a9bfd2;font-size:12px;letter-spacing:.015em}.auto-pill strong{color:var(--green);font-size:11px;letter-spacing:.09em}.auto-pill i{display:block;width:1px;height:16px;background:rgba(139,187,218,.23)}.pulse-dot{width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 0 5px rgba(52,229,162,.10),0 0 14px rgba(52,229,162,.65);flex:0 0 auto}.pulse-dot.small{width:7px;height:7px}.italy-art{height:188px;opacity:.62;display:flex;align-items:center;justify-content:flex-end}.italy-art svg{height:100%;width:100%;max-width:390px}.map-grid path{fill:none;stroke:#1688cc;stroke-width:.45;stroke-dasharray:2 8;opacity:.10}.italy-shape path{fill:url(#italyFill);stroke:#26b8ff;stroke-width:1.25;stroke-linejoin:round;vector-effect:non-scaling-stroke}.map-points circle{fill:#7be2ff;filter:drop-shadow(0 0 6px #2ebdff)}
.update-row{display:flex;align-items:center;justify-content:space-between;gap:18px;color:#91a8bc;font-size:13px;margin:2px 0 8px;padding:0 3px}.update-row>div{display:flex;gap:9px;align-items:center;color:#d7e8f6}.update-row strong{font-size:14px}
.national-card{position:relative;display:grid;grid-template-columns:1.12fr .68fr 1fr;align-items:center;min-height:188px;border:1px solid var(--line);border-radius:19px;padding:21px 30px;background:radial-gradient(circle at 45% 48%,rgba(30,125,193,.16),transparent 25%),linear-gradient(115deg,rgba(8,38,68,.95),rgba(3,22,42,.95));box-shadow:inset 0 1px rgba(255,255,255,.025),0 14px 55px rgba(0,0,0,.18);overflow:hidden}.national-card:before{content:"";position:absolute;top:0;left:25%;width:42%;height:1px;background:linear-gradient(90deg,transparent,#37c6ff,transparent);box-shadow:0 0 16px #25b8f8}.national-copy{position:relative;z-index:1}.kicker{color:var(--cyan);font-weight:700;font-size:12px;letter-spacing:.12em}.national-copy h2{font-size:46px;line-height:1;margin:10px 0 10px;letter-spacing:-.035em}.national-copy p{color:#b9c6d3;line-height:1.45;margin:0;font-size:15px}.national-icon{text-align:center;filter:drop-shadow(0 10px 20px rgba(0,0,0,.25))}.wx-icon{width:56px;height:56px;overflow:visible}.wx-icon-large{width:108px;height:108px}.sun-core{fill:#ffc844;filter:drop-shadow(0 0 6px rgba(255,198,54,.5))}.sun-rays{stroke:#ffd66c;stroke-width:3.5;stroke-linecap:round}.cloud-fill{fill:url(#none);fill:#eaf5ff;filter:drop-shadow(0 4px 5px rgba(0,0,0,.18))}.rain-lines,.fog-lines{stroke:#33c3ff;stroke-width:3;stroke-linecap:round}.bolt{fill:#ffd14e}.snow-dots{fill:#b9edff}.national-data{justify-self:end;min-width:318px}.big-temp{font-weight:800;font-size:70px;line-height:.9;letter-spacing:-.055em}.dominant{margin-top:8px;font-size:16px;color:#dce8f3;text-transform:first-letter}.metrics{display:flex;align-items:center;margin-top:13px}.metrics>div{display:flex;align-items:center;gap:7px;padding:0 16px;border-left:1px solid rgba(131,175,207,.28)}.metrics>div:first-child{padding-left:0;border-left:0}.metrics svg{width:23px;height:23px;fill:none;stroke:var(--cyan);stroke-width:1.8}.metrics span{display:flex;flex-direction:column}.metrics b{font-size:17px}.metrics small{font-size:11px;color:#94a8bb;margin-top:1px}
.city-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:12px}.city-card{min-height:154px;border:1px solid var(--line);border-radius:17px;padding:14px 17px;background:linear-gradient(145deg,rgba(9,40,71,.94),rgba(5,28,51,.97));box-shadow:inset 0 1px rgba(255,255,255,.02),0 9px 28px rgba(0,0,0,.09);transition:.2s}.city-card:hover{transform:translateY(-2px);border-color:rgba(66,187,255,.55);background:linear-gradient(145deg,rgba(10,48,84,.97),rgba(5,32,57,.98))}.city-card h3{font-size:19px;margin:0 0 6px;letter-spacing:-.01em}.city-main{display:flex;align-items:center;gap:12px}.city-main strong{font-size:44px;letter-spacing:-.04em;line-height:1}.city-card p{color:#b8c7d5;margin:5px 0 6px;font-size:14px;min-height:17px}.wind-line{display:flex;align-items:center;gap:7px;color:#a9bfd1;font-size:12px}.wind-line svg{width:18px;height:18px;fill:none;stroke:var(--cyan);stroke-width:1.8;stroke-linecap:round}.no-data{grid-column:1/-1;text-align:center;padding:50px;border:1px dashed var(--line);border-radius:18px;color:var(--muted)}
.live-footer{margin-top:20px;min-height:64px;border:1px solid rgba(45,128,180,.22);border-radius:16px;background:rgba(3,19,36,.55);display:flex;align-items:center;gap:22px;padding:12px 19px;color:#8299ae;font-size:13px}.live-footer>div{display:flex;align-items:center;gap:10px}.live-footer strong{color:var(--green)}.live-ring{width:31px;height:31px;border-radius:50%;border:1px solid rgba(36,214,159,.35);display:grid;place-items:center;box-shadow:0 0 0 7px rgba(36,214,159,.05)}.live-ring i{width:10px;height:10px;background:var(--green);border-radius:50%;box-shadow:0 0 10px var(--green)}.live-footer svg{width:23px;height:23px;fill:none;stroke:#3bbcff;stroke-width:1.7}.footer-divider{width:1px;height:28px;background:rgba(115,160,192,.2)}.footer-time{margin-left:auto!important;color:#5f7990;font-variant-numeric:tabular-nums}
@media(max-width:1100px){.page-shell{padding:20px 24px}.intro{min-height:165px}.intro h1{font-size:55px}.intro p{font-size:17px}.italy-art{height:168px;opacity:.48}.national-card{grid-template-columns:1.05fr .55fr 1fr;min-height:178px;padding:19px 22px}.national-data{min-width:280px}.big-temp{font-size:62px}.metrics>div{padding:0 10px}.city-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.city-card{padding:13px 14px;min-height:148px}.city-card h3{font-size:17px}.city-main strong{font-size:39px}.wx-icon{width:48px;height:48px}}
@media(max-width:820px){.page-shell{padding:18px 16px}.intro{grid-template-columns:1fr;min-height:0}.italy-art{position:absolute;right:-45px;top:-8px;width:46%;height:155px;opacity:.18}.intro-copy{padding:23px 0 15px}.intro h1{font-size:46px}.intro p{font-size:16px}.auto-pill{border-radius:15px;flex-wrap:wrap}.auto-pill i{display:none}.national-card{grid-template-columns:1fr 96px;padding:20px;min-height:0}.national-copy{grid-column:1}.national-icon{grid-column:2;grid-row:1}.national-data{grid-column:1/-1;justify-self:start;min-width:0;margin-top:14px;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:3px 20px}.big-temp{font-size:58px;grid-row:1/3}.dominant{margin:0}.metrics{margin:4px 0 0}.update-row{align-items:center;flex-direction:row;gap:8px;font-size:12px}.desktop-only{display:none}.city-grid{grid-template-columns:repeat(2,1fr)}.live-footer{flex-wrap:wrap}.footer-divider{display:none}.footer-time{margin-left:0!important}}
@media(max-width:560px){.brand strong{font-size:16px}.brand em{font-size:12px}.brand-icon{width:43px}.brand-icon svg{width:43px}.dashboard-btn{padding:10px 11px;font-size:13px}.dashboard-btn svg{width:17px}.intro h1{font-size:39px}.intro p{font-size:15px}.auto-pill span:last-child{width:100%;padding-left:20px}.italy-art{right:-65px;width:58%;opacity:.14}.update-row{align-items:flex-start;flex-direction:column;gap:5px}.national-card{grid-template-columns:1fr;padding:18px}.national-icon{display:none}.national-copy h2{font-size:39px}.national-data{grid-template-columns:auto 1fr;gap:2px 13px}.big-temp{font-size:54px}.metrics{grid-column:1/-1}.metrics>div{padding:0 9px}.city-grid{grid-template-columns:1fr 1fr;gap:9px}.city-card{min-height:145px;padding:12px}.city-card h3{font-size:17px}.wx-icon{width:44px;height:44px}.city-main{gap:7px}.city-main strong{font-size:38px}.city-card p{font-size:12px}.wind-line{font-size:11px}.live-footer>div:nth-of-type(2){display:none}}
@media(max-width:390px){.city-grid{grid-template-columns:1fr}.site-header{align-items:flex-start}.brand>span:last-child{display:none}.city-card{min-height:145px}.metrics b{font-size:16px}.metrics small{font-size:11px}}
/* ===== Meteo Live - Footer legale ===== */
.footer-legal{
  flex:0 0 100%;
  width:100%;
  justify-content:center;
  border-top:1px solid rgba(115,160,192,.14);
  padding-top:10px;
  margin-top:2px;
  font-size:12px;
  color:#68849a;
}

.footer-legal a{
  color:#8eb8d5;
  text-decoration:none;
  transition:.2s;
}

.footer-legal a:hover{
  color:#43cfff;
}

.legal-dot{
  color:#345b76;
}

@media(max-width:560px){
  .footer-legal{
    justify-content:center;
    flex-wrap:wrap;
    gap:6px 9px!important;
    text-align:center;
  }
}

/* ===== Meteo Live V22 - pagina larga + footer compatto ===== */

.page-shell{
    width:100%;
    max-width:none;
    box-sizing:border-box;
}

/* Footer desktop su una sola riga */
.live-footer{
    flex-wrap:nowrap;
    width:100%;
    box-sizing:border-box;
}

.footer-legal{
    flex:0 0 auto;
    width:auto;
    margin-left:auto;
    padding-top:0;
    margin-top:0;
    border-top:0;
    white-space:nowrap;
    justify-content:flex-end;
}

@media(max-width:820px){
    .live-footer{
        flex-wrap:wrap;
    }

    .footer-legal{
        flex:0 0 100%;
        width:100%;
        margin-left:0;
        padding-top:10px;
        margin-top:2px;
        border-top:1px solid rgba(115,160,192,.14);
        justify-content:center;
        white-space:normal;
    }
}

/* ===== Meteo Live - avviso cookie tecnici ===== */

.cookie-notice{
    position:fixed;
    left:18px;
    right:18px;
    bottom:18px;
    z-index:9999;
    max-width:900px;
    margin:0 auto;
    opacity:0;
    transform:translateY(18px);
    pointer-events:none;
    transition:opacity .22s ease,transform .22s ease;
}

.cookie-notice-visible{
    opacity:1;
    transform:translateY(0);
    pointer-events:auto;
}

.cookie-notice-inner{
    display:flex;
    align-items:center;
    gap:16px;
    padding:15px 17px;
    border:1px solid rgba(51,180,244,.34);
    border-radius:16px;
    background:rgba(3,22,40,.96);
    box-shadow:
        0 16px 55px rgba(0,0,0,.45),
        0 0 35px rgba(25,164,231,.10);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
}

.cookie-notice-icon{
    width:42px;
    height:42px;
    flex:0 0 42px;
    display:grid;
    place-items:center;
    border-radius:13px;
    background:rgba(17,138,205,.13);
    border:1px solid rgba(58,190,250,.22);
}

.cookie-notice-icon svg{
    width:25px;
    height:25px;
    fill:none;
    stroke:#41c8ff;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.cookie-notice-text{
    display:flex;
    flex-direction:column;
    gap:3px;
    flex:1;
    min-width:0;
}

.cookie-notice-text strong{
    color:#f1f8fd;
    font-size:14px;
}

.cookie-notice-text span{
    color:#9eb4c5;
    font-size:13px;
    line-height:1.45;
}

.cookie-notice-text a{
    color:#43caff;
    text-decoration:none;
}

.cookie-notice-text a:hover{
    text-decoration:underline;
}

.cookie-notice-ok{
    flex:0 0 auto;
    min-width:62px;
    height:38px;
    padding:0 18px;
    border-radius:10px;
    border:1px solid #169ddd;
    background:linear-gradient(180deg,#117db5,#0a5f91);
    color:#fff;
    font:inherit;
    font-size:13px;
    font-weight:800;
    cursor:pointer;
    transition:.18s;
}

.cookie-notice-ok:hover{
    transform:translateY(-1px);
    border-color:#45caff;
    box-shadow:0 0 20px rgba(38,185,245,.18);
}

@media(max-width:600px){
    .cookie-notice{
        left:10px;
        right:10px;
        bottom:10px;
    }

    .cookie-notice-inner{
        align-items:flex-start;
        gap:11px;
        padding:13px;
    }

    .cookie-notice-icon{
        width:36px;
        height:36px;
        flex-basis:36px;
    }

    .cookie-notice-icon svg{
        width:21px;
        height:21px;
    }

    .cookie-notice-text span{
        font-size:12px;
    }

    .cookie-notice-ok{
        min-width:52px;
        height:36px;
        padding:0 12px;
    }
}
