.ww-box { color:#e6e9ec; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); border-radius:8px; padding:10px 14px; font-size:.9rem; }
.ww-pop { position:fixed; left:90px; bottom:20px; z-index:10000; width:270px; background:#2f3a45; box-shadow:0 4px 18px rgba(0,0,0,.5); }
.ww-head { display:flex; align-items:center; gap:12px; margin-bottom:8px; }
.ww-big { font-size:1.6rem; white-space:nowrap; }
.ww-city { line-height:1.2; } .ww-city small { opacity:.75; }
.ww-day { display:flex; padding:3px 0; border-top:1px solid rgba(255,255,255,.07); }
.ww-d { width:85px; } .ww-i { width:28px; text-align:center; } .ww-t { flex:1; text-align:right; white-space:nowrap; }
.ww-credit { margin-top:6px; font-size:.7rem; opacity:.55; text-align:right; }
#taskmenu a.ww-btn { text-align:center; font-size:.95rem; white-space:nowrap; }
#taskmenu a.ww-btn:before { content:none !important; }
@media (max-width:480px) { .ww-pop { left:10px; right:10px; width:auto; } }
.ww-login { position:static; max-width:340px; margin:16px auto 0; background:#2f3a45; }
.ww-dow { color:#ff6b6b; }
.ww-cold { color:#5fb3ff; }
.ww-sub { font-size:.75rem; opacity:.7; margin:2px 0 4px; }
.ww-hours { display:flex; gap:4px; overflow-x:auto; padding-bottom:8px; margin-bottom:4px; }
.ww-h { flex:0 0 46px; text-align:center; font-size:.8rem; line-height:1.4; }
.ww-h small { display:block; opacity:.75; font-size:.7rem; }
.ww-hi { display:block; font-size:1.1rem; }
.ww-tm { opacity:.55; }
.ww-pop { width:300px; }
body.task-login .ww-login { max-width:416px; font-size:1.08rem; }
body.task-login .ww-login { font-size:1.51rem; }
/* розміри відносно шрифту картки, щоб усе масштабувалось разом */
.ww-d { width:auto; min-width:6.5em; white-space:nowrap; }
.ww-i { width:2em; }
.ww-big { font-size:1.6em; }
.ww-sub { font-size:.8em; text-align:center; }
.ww-hours { justify-content:space-between; }
.ww-h { flex:1 1 0; min-width:3.2em; font-size:.85em; }
.ww-h small { font-size:.8em; }
.ww-hi { font-size:1.3em; }
.ww-credit { font-size:.6em; }
.ww-anim { display:flex; gap:6px; align-items:center; margin-top:8px; font-size:.85em; cursor:pointer; }
/* великий значок погоди і кнопка анімації в лівому меню */
#taskmenu a.ww-btn { padding:.45em 0; }
#taskmenu a.ww-btn .ww-ico { display:block; font-size:1.7rem; line-height:1.15; }
#taskmenu a.ww-btn .inner { display:block; font-size:.8rem; }
/* хвиля після входу: пункти меню по черзі блимають зеленим, потім «Анімація погоди» 3 рази червоним */
@keyframes wwWave     { 50% { color:#3ddc84; background-color:rgba(61,220,132,.18); } }
@keyframes wwWaveIco  { 50% { filter:drop-shadow(0 0 6px #3ddc84); } }
@keyframes wwBlink    { 50% { color:#ff4d4d; background-color:rgba(255,77,77,.18); } }
@keyframes wwBlinkIco { 50% { filter:drop-shadow(0 0 6px #ff4d4d) drop-shadow(0 0 2px #ff4d4d); } }
#taskmenu a.ww-wave, #taskmenu a.ww-wave .inner { animation:wwWave .6s ease-in-out var(--ww-d, 0s) 1; }
#taskmenu a.ww-wave .ww-ico { animation:wwWaveIco .6s ease-in-out var(--ww-d, 0s) 1; }
#taskmenu a.ww-animbtn.ww-blink, #taskmenu a.ww-animbtn.ww-blink .inner { animation:wwBlink 1s ease-in-out var(--ww-d, 0s) 3; }
#taskmenu a.ww-animbtn.ww-blink .ww-ico { animation:wwBlinkIco 1s ease-in-out var(--ww-d, 0s) 3; }
.ww-sun { font-size:.8em; opacity:.8; text-align:center; margin:2px 0 8px; }
/* повітряна тривога */
@keyframes wwAlertPulse { 50% { background-color:rgba(220,40,40,.34); } }
@keyframes wwAlertIco   { 50% { filter:drop-shadow(0 0 8px #ff3b30) drop-shadow(0 0 3px #ff3b30); } }
.ww-alert { background:rgba(220,40,40,.18); border:1px solid rgba(255,80,80,.6); border-radius:6px; padding:8px 10px;
            margin-bottom:10px; text-align:center; color:#ffd6d6; line-height:1.4; animation:wwAlertPulse 2s ease-in-out infinite; }
.ww-alerting { border-color:rgba(255,80,80,.75) !important; box-shadow:0 0 18px rgba(255,60,60,.35); }
.ww-alertbar { position:fixed; top:0; left:50%; transform:translateX(-50%); z-index:10001; max-width:92vw;
               background:#b3261e; color:#fff; padding:7px 42px 7px 16px; border-radius:0 0 8px 8px;
               font-size:.95rem; box-shadow:0 2px 12px rgba(0,0,0,.45); animation:wwAlertPulse 2s ease-in-out infinite; }
.ww-alertbar button { position:absolute; right:10px; top:3px; background:none; border:0; color:#fff; font-size:1.3rem; cursor:pointer; }
#taskmenu a.ww-btn { position:relative; }
#taskmenu a.ww-btn.ww-btn-alert .ww-ico { animation:wwAlertIco 1.2s ease-in-out infinite; }
#taskmenu a.ww-btn.ww-btn-alert::after { content:''; position:absolute; top:6px; right:14px; width:9px; height:9px;
                                         border-radius:50%; background:#ff3b30; box-shadow:0 0 6px #ff3b30; }
/* анімовані значки Meteocons */
.ww-svg { width:1.7em; height:1.7em; vertical-align:middle; }
.ww-big .ww-svg { width:2.6em; height:2.6em; }
.ww-hi .ww-svg { width:2.2em; height:2.2em; }
#taskmenu a.ww-btn .ww-ico .ww-svg { width:2.4rem; height:2.4rem; }
/* небо за часом доби на сторінці входу */
html.ww-sky body.task-login { background-attachment:fixed; background-color:#0a0f1e; min-height:100vh; transition:background .8s; }
html.ww-sky body.task-login #layout, html.ww-sky body.task-login #layout-content { background:transparent !important; }
/* підпис «Анімація погоди» у два рядки */
#taskmenu a.ww-animbtn .inner { white-space:normal; overflow:visible; text-overflow:clip; line-height:1.15; }
