/* Wspólny wygląd całego działu archiwum klimatycznego. */
:root{
  --climate-bg-1:#18365f;
  --climate-bg-2:#09172a;
  --climate-bg-3:#030811;
  --climate-panel:rgba(13,24,41,.9);
  --climate-panel-2:rgba(16,29,49,.94);
  --climate-border:rgba(141,170,211,.2);
  --climate-text:#f1f6ff;
  --climate-muted:#99afd0;
  --climate-muted-2:#c0cee2;
  --climate-link:#d9e9ff;
  --climate-accent:#63a5ff;
  --climate-radius:22px;
  --climate-font:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
}

*{box-sizing:border-box}
html{min-height:100%;background:#030811}
body{
  min-height:100vh;
  margin:0;
  color:var(--climate-text);
  font-family:var(--climate-font);
  background-color:#030811;
  background-image:
    radial-gradient(900px 520px at 4% -5%,rgba(49,112,190,.52),transparent 66%),
    radial-gradient(760px 500px at 96% 4%,rgba(41,78,139,.28),transparent 68%),
    linear-gradient(180deg,var(--climate-bg-2) 0%,var(--climate-bg-3) 100%);
  background-repeat:no-repeat;
  background-attachment:fixed;
}
a{color:var(--climate-link)}
.climate-page-shell{min-height:100vh;display:flex;flex-direction:column}

/* GLOBALNY HEADER */
.climate-site-header{
  position:sticky;
  top:0;
  z-index:50;
  padding:14px 16px 0;
}
.climate-header-inner{
  width:min(1560px,100%);
  min-height:88px;
  margin:0 auto;
  padding:8px 14px 8px 14px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:20px;
  border:1px solid rgba(255,255,255,.15);
  border-radius:22px;
  background:rgba(6,15,29,.76);
  box-shadow:0 18px 55px rgba(0,0,0,.34);
  backdrop-filter:blur(22px) saturate(145%);
  -webkit-backdrop-filter:blur(22px) saturate(145%);
}
.climate-brand{display:flex;align-items:center;color:#fff;text-decoration:none;min-width:max-content;position:relative;padding:2px 4px;border-radius:16px;isolation:isolate}
.climate-brand::before{content:"";position:absolute;inset:-8px;border-radius:22px;background:radial-gradient(circle at 50% 50%,rgba(76,147,255,.34),rgba(76,147,255,.09) 46%,transparent 72%);opacity:0;transform:scale(.92);transition:opacity .24s ease,transform .24s ease;z-index:-1}
.climate-brand img{width:214px;height:82px;object-fit:contain;object-position:left center;filter:drop-shadow(0 9px 20px rgba(0,0,0,.36));transform-origin:center;transition:transform .24s cubic-bezier(.2,.75,.2,1),filter .24s ease}
.climate-brand:hover::before{opacity:1;transform:scale(1)}
.climate-brand:hover img{transform:scale(1.035);filter:drop-shadow(0 0 18px rgba(74,148,255,.58)) drop-shadow(0 11px 22px rgba(0,0,0,.4)) brightness(1.08)}
.climate-brand:focus-visible{outline:2px solid #7fb5ff;outline-offset:4px}
.climate-site-nav{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;position:relative}
.climate-site-nav>a,.climate-nav-more>summary{flex:0 0 auto;padding:11px 14px;border-radius:12px;color:var(--climate-muted-2);text-decoration:none;font-size:13px;font-weight:850;white-space:nowrap;transition:color .18s ease,background .18s ease,box-shadow .18s ease;cursor:pointer;list-style:none}
.climate-nav-more>summary::-webkit-details-marker{display:none}
.climate-site-nav>a:hover,.climate-nav-more>summary:hover{color:#fff;background:rgba(255,255,255,.075)}
.climate-site-nav>a.is-active,.climate-nav-more.is-active>summary,.climate-nav-more[open]>summary{color:#fff;background:rgba(71,139,239,.19);box-shadow:inset 0 0 0 1px rgba(113,171,255,.3)}
.climate-nav-more{position:relative}
.climate-nav-more>summary span{display:inline-block;margin-left:4px;transition:transform .18s ease}
.climate-nav-more[open]>summary span{transform:rotate(180deg)}
.climate-nav-dropdown{position:absolute;top:calc(100% + 10px);right:0;z-index:80;min-width:230px;padding:8px;border:1px solid rgba(255,255,255,.14);border-radius:16px;background:rgba(6,15,29,.96);box-shadow:0 22px 60px rgba(0,0,0,.46);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
.climate-nav-dropdown a{display:block;padding:11px 12px;border-radius:10px;color:var(--climate-muted-2);text-decoration:none;font-size:13px;font-weight:800;white-space:nowrap}
.climate-nav-dropdown a:hover{color:#fff;background:rgba(255,255,255,.075)}
.climate-nav-dropdown a.is-active{color:#fff;background:rgba(71,139,239,.2)}
.climate-back-home{padding:11px 14px;border:1px solid rgba(255,255,255,.13);border-radius:13px;color:#fff;text-decoration:none;font-size:13px;font-weight:850;background:rgba(255,255,255,.06);white-space:nowrap}
.climate-back-home:hover{background:rgba(255,255,255,.11)}

/* GŁÓWNA TREŚĆ */
.climate-wrap{width:min(1500px,calc(100% - 28px));margin:0 auto;padding:36px 0 72px;flex:1}
.climate-page-heading{position:relative;padding:28px 30px;margin-bottom:20px;border:1px solid var(--climate-border);border-radius:26px;background:linear-gradient(135deg,rgba(28,58,99,.66),rgba(10,22,39,.78));box-shadow:0 20px 65px rgba(0,0,0,.3);overflow:hidden}
.climate-page-heading:after{content:"";position:absolute;width:280px;height:280px;right:-80px;top:-150px;border-radius:50%;background:radial-gradient(circle,rgba(81,151,255,.22),transparent 70%);pointer-events:none}
.climate-heading-kicker{margin-bottom:9px;color:#7fb5ff;font-size:11px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
h1{font-size:clamp(34px,4vw,54px);margin:0;letter-spacing:-.045em;line-height:1.02}
.climate-subtitle{max-width:850px;color:var(--climate-muted-2);margin-top:9px;font-weight:650;line-height:1.55}

.climate-panel{background:var(--climate-panel);border:1px solid var(--climate-border);border-radius:var(--climate-radius);overflow:hidden;box-shadow:0 18px 55px rgba(0,0,0,.29);margin:16px 0}
.climate-section-title{font-size:22px;margin:0;padding:18px 20px;background:rgba(18,33,55,.95);border-bottom:1px solid var(--climate-border);text-align:left}
.climate-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.climate-grid.padded{padding:16px}
.climate-tables{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.climate-small{font-size:12px;color:var(--climate-muted);margin-top:6px}

.climate-card{background:linear-gradient(180deg,rgba(30,49,77,.96),rgba(12,23,40,.96));border:1px solid rgba(148,177,218,.18);border-radius:18px;padding:18px;min-height:128px;box-shadow:0 12px 30px rgba(0,0,0,.22);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.climate-card:hover{transform:translateY(-3px);border-color:rgba(103,165,255,.48);box-shadow:0 18px 38px rgba(0,0,0,.32)}
.climate-card.hot{background:linear-gradient(180deg,rgba(126,38,34,.9),rgba(24,32,49,.98))}
.climate-card.cold{background:linear-gradient(180deg,rgba(26,79,162,.9),rgba(24,32,49,.98))}
.climate-card.rain{background:linear-gradient(180deg,rgba(24,74,151,.9),rgba(24,32,49,.98))}
.climate-card.wind{background:linear-gradient(180deg,rgba(61,79,106,.96),rgba(18,28,45,.98))}
.climate-card-title{color:var(--climate-muted-2);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.climate-card-value{font-size:32px;font-weight:950;margin:12px 0 6px;letter-spacing:-.025em;line-height:1.08}
.climate-card-desc{color:var(--climate-muted-2);font-size:13px;line-height:1.45}

/* KAFLE NAWIGACYJNE W TREŚCI */
.climate-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}
.climate-nav a{display:block;text-decoration:none;color:var(--climate-text);background:var(--climate-panel-2);border:1px solid var(--climate-border);border-radius:18px;padding:18px;min-height:106px;transition:.18s ease}
.climate-nav a:hover{transform:translateY(-3px);border-color:#60a5fa;box-shadow:0 16px 40px rgba(37,99,235,.18)}
.climate-nav a.is-active{border-color:rgba(96,165,250,.7);background:linear-gradient(145deg,rgba(32,75,137,.65),rgba(15,29,49,.95))}
.climate-nav strong{display:block;font-size:18px;margin-bottom:7px}
.climate-nav span{display:block;color:var(--climate-muted);font-size:13px;line-height:1.4}

/* TABELE */
.climate-table-wrap{overflow:auto}
.climate-table,.climate-record-card table{width:100%;border-collapse:separate;border-spacing:0}
.climate-table th,.climate-table td,.climate-record-card th,.climate-record-card td{padding:13px 15px;border-bottom:1px solid rgba(255,255,255,.075);text-align:left;vertical-align:middle}
.climate-table th,.climate-record-card th{position:sticky;top:0;z-index:2;background:#122039;color:var(--climate-muted);text-transform:uppercase;font-size:11px;letter-spacing:.07em}
.climate-table td,.climate-record-card td{background:rgba(12,24,42,.7);font-weight:720}
.climate-table tbody tr:hover td,.climate-record-card tbody tr:hover td{background:rgba(33,57,91,.68)}
.climate-table .num,.climate-record-card .num{text-align:center;font-weight:950}
.climate-record-card .idx{width:54px;color:var(--climate-muted);font-weight:900}
.climate-record-card td a{text-decoration:none;font-weight:850}
.climate-record-card td a:hover{text-decoration:underline}
.climate-value-badge{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;padding:7px 13px;font-weight:950;min-width:88px;min-height:32px;text-align:center;box-shadow:0 2px 8px rgba(0,0,0,.18);line-height:1}
.climate-empty{color:rgba(255,255,255,.35)}
.climate-sticky-year{position:sticky;left:0;z-index:3!important;background:#122039!important}

/* REKORDY ABSOLUTNE */
.climate-records-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}
.climate-record-card{overflow:hidden;border:1px solid var(--climate-border);border-radius:20px;background:var(--climate-panel);box-shadow:0 16px 45px rgba(0,0,0,.28)}
.climate-record-card h2{min-height:66px;display:flex;align-items:center;margin:0;padding:16px 18px;font-size:18px;line-height:1.25;background:linear-gradient(135deg,rgba(28,57,96,.95),rgba(16,30,51,.98));border-bottom:1px solid var(--climate-border)}

/* FORMULARZE */
.climate-controls{padding:16px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.climate-controls label{display:flex;align-items:center;gap:9px;color:var(--climate-muted-2);font-weight:800}
.climate-controls select,.climate-controls input,.climate-controls button{min-height:42px;border:1px solid #2b405f;border-radius:11px;background:#0c1728;color:#fff;padding:0 13px;font-weight:800}
.climate-controls button{cursor:pointer;background:linear-gradient(135deg,#2563eb,#1d4ed8);border-color:#4f84ef}

/* FOOTER */
.climate-site-footer{margin-top:auto;padding:0 16px 18px}
.climate-footer-inner{width:min(1560px,100%);margin:0 auto;padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid rgba(255,255,255,.1);border-radius:22px;background:rgba(6,15,28,.82);box-shadow:0 18px 55px rgba(0,0,0,.28);color:var(--climate-muted)}
.climate-footer-inner strong{display:block;color:#fff;margin-bottom:5px}
.climate-footer-inner span{font-size:13px}
.climate-footer-links{display:flex;gap:10px}
.climate-footer-links a{padding:9px 12px;border-radius:11px;text-decoration:none;background:rgba(255,255,255,.06);font-size:13px;font-weight:800}
.climate-footer-links a:hover{background:rgba(255,255,255,.11)}

@media(max-width:1260px){
  .climate-header-inner{grid-template-columns:auto 1fr}
  .climate-site-nav{grid-column:1/-1;justify-content:flex-start;padding-top:2px}
  .climate-back-home{grid-column:2;grid-row:1;justify-self:end}
  .climate-records-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:960px){
  .climate-grid,.climate-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
  .climate-tables{grid-template-columns:1fr}
}
@media(max-width:640px){
  .climate-site-header{padding:8px 8px 0;position:relative}
  .climate-header-inner{min-height:auto;padding:10px;gap:10px;border-radius:17px}
  .climate-brand img{width:176px;height:68px}
  .climate-back-home{font-size:11px;padding:9px 10px}
  .climate-site-nav{grid-column:1/-1;justify-content:flex-start;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}
  .climate-site-nav::-webkit-scrollbar{display:none}
  .climate-site-nav>a,.climate-nav-more>summary{font-size:12px;padding:9px 10px}
  .climate-nav-dropdown{position:fixed;left:12px;right:12px;top:116px;min-width:0;max-height:calc(100vh - 140px);overflow:auto}
  .climate-wrap{width:calc(100% - 16px);padding:18px 0 48px}
  .climate-page-heading{padding:22px 19px;border-radius:20px}
  h1{font-size:32px}
  .climate-grid,.climate-nav,.climate-records-grid{grid-template-columns:1fr}
  .climate-table th,.climate-table td,.climate-record-card th,.climate-record-card td{padding:10px;font-size:12px}
  .climate-footer-inner{align-items:flex-start;flex-direction:column;padding:18px}
}

/* CENTRUM KLIMATU */
.climate-live-alert{display:grid;gap:5px;padding:18px 20px;background:linear-gradient(135deg,rgba(168,35,43,.94),rgba(219,91,24,.76))}
.climate-live-alert strong{font-size:17px}.climate-live-alert span{font-weight:750}.climate-live-alert small{opacity:.76}
.climate-dashboard-panel{padding:0 20px 20px}
.climate-dashboard-head,.climate-classification-head{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:22px 2px 12px}
.climate-dashboard-head h2,.climate-classification-head h2{margin:0;font-size:27px;letter-spacing:-.025em}
.climate-dashboard-head p{margin:7px 0 0;color:var(--climate-muted-2)}
.climate-year-switch{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;max-width:760px}
.climate-year-switch button{border:1px solid rgba(150,180,220,.17);border-radius:12px;background:rgba(255,255,255,.055);color:var(--climate-muted-2);padding:9px 12px;font:inherit;font-size:12px;font-weight:850;cursor:pointer;transition:.18s ease}
.climate-year-switch button:hover{color:#fff;background:rgba(255,255,255,.1);transform:translateY(-1px)}
.climate-year-switch button.is-active{color:#fff;background:linear-gradient(135deg,#2563eb,#1d4ed8);border-color:#5f91f5;box-shadow:0 8px 22px rgba(37,99,235,.28)}
.climate-chart{height:430px;border:1px solid rgba(148,177,218,.13);border-radius:19px;background:linear-gradient(180deg,rgba(15,30,51,.76),rgba(8,18,32,.86));overflow:hidden}
.climate-classification-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.climate-classification-panel{padding:0 18px 18px}
.climate-classification-head>span{display:inline-flex;padding:7px 12px;border-radius:999px;background:rgba(255,255,255,.065);color:#dce8f7;font-weight:900}
.climate-month-classification{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.climate-class-cell{min-height:104px;padding:12px;border-radius:15px;border:1px solid rgba(255,255,255,.12);display:flex;flex-direction:column;justify-content:space-between;box-shadow:inset 0 1px rgba(255,255,255,.08)}
.climate-class-cell strong{font-size:12px;letter-spacing:.08em;text-transform:uppercase;opacity:.76}
.climate-class-cell span{font-size:13px;font-weight:900;line-height:1.25}.climate-class-cell small{font-size:11px;font-weight:800;opacity:.78}
.climate-class-cell.unknown{background:#233044;color:#c3cfde}.climate-class-cell.normal{background:#edf3f9;color:#142033}
.climate-class-cell.cold-1{background:#c1deff;color:#10213a}.climate-class-cell.cold-2{background:#a9d2ff;color:#10213a}.climate-class-cell.cold-3{background:#91c0ff;color:#10213a}.climate-class-cell.cold-4{background:#5c9aff;color:#fff}.climate-class-cell.cold-5{background:#1671ff;color:#fff}.climate-class-cell.cold-6{background:#002a7f;color:#fff}
.climate-class-cell.warm-1{background:#fff5b8;color:#2c240b}.climate-class-cell.warm-2{background:#ffe09e;color:#2c240b}.climate-class-cell.warm-3{background:#ffc285;color:#301b0e}.climate-class-cell.warm-4{background:#ffa46c;color:#32160a}.climate-class-cell.warm-5{background:#ff6843;color:#fff}.climate-class-cell.warm-6{background:#8b1c1c;color:#fff}
.climate-class-cell.wet-2{background:#5c9aff;color:#fff}.climate-class-cell.wet-3{background:#1671ff;color:#fff}.climate-class-cell.wet-4{background:#002a7f;color:#fff}.climate-class-cell.dry-2{background:#ffc285;color:#301b0e}.climate-class-cell.dry-3{background:#ff6843;color:#fff}.climate-class-cell.dry-4{background:#8b1c1c;color:#fff}
.climate-ranking-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1040px){.climate-dashboard-head{flex-direction:column}.climate-year-switch{justify-content:flex-start}.climate-classification-grid{grid-template-columns:1fr}}
@media(max-width:720px){.climate-chart{height:350px}.climate-month-classification{grid-template-columns:repeat(2,minmax(0,1fr))}.climate-ranking-grid{grid-template-columns:1fr}.climate-dashboard-panel{padding:0 10px 10px}.climate-dashboard-head{padding:18px 8px 10px}}

/* PREMIUM MACIERZE KLIMATYCZNE */
.climate-matrix-panel{padding:0;overflow:hidden}
.climate-matrix-head{display:flex;align-items:flex-end;justify-content:space-between;gap:26px;padding:26px 28px 20px;border-bottom:1px solid rgba(148,177,218,.12);background:linear-gradient(135deg,rgba(24,43,72,.72),rgba(10,23,41,.38))}
.climate-matrix-head h2{margin:2px 0 0;font-size:28px;letter-spacing:-.03em}
.climate-matrix-head p{margin:8px 0 0;max-width:720px;color:var(--climate-muted-2);font-size:13px;line-height:1.55}
.climate-legend{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.climate-legend span{display:inline-flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid rgba(255,255,255,.1);border-radius:999px;background:rgba(255,255,255,.045);color:#cbd8e9;font-size:11px;font-weight:850}
.climate-legend i{width:11px;height:11px;border-radius:4px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.3)}
.climate-legend i.cold-5{background:#1671ff}.climate-legend i.normal{background:#edf3f9}.climate-legend i.warm-5{background:#ff6843}
.climate-legend i.dry-4{background:#8b1c1c}.climate-legend i.wet-4{background:#002a7f}
.climate-matrix-scroll{overflow:auto;padding:18px 18px 20px;scrollbar-color:#38547a #091426;scrollbar-width:thin}
.climate-matrix{width:100%;min-width:1320px;border-collapse:separate;border-spacing:6px;table-layout:fixed}
.climate-matrix th{position:static;background:transparent;border:0;color:#9fb2cb;padding:5px 7px;text-align:center;font-size:11px;font-weight:950;letter-spacing:.08em;text-transform:uppercase}
.climate-matrix .climate-matrix-year{position:sticky;left:0;z-index:4;width:72px;min-width:72px;border-radius:12px;background:#12213a;color:#fff;box-shadow:8px 0 18px rgba(2,8,19,.45)}
.climate-matrix tbody .climate-matrix-year{font-size:14px;letter-spacing:0}
.climate-matrix-cell{height:74px;padding:8px 7px;border:1px solid rgba(255,255,255,.12);border-radius:13px;text-align:center;vertical-align:middle;overflow:hidden;box-shadow:inset 0 1px rgba(255,255,255,.12),0 6px 14px rgba(0,0,0,.12);transition:transform .16s ease,box-shadow .16s ease,filter .16s ease,border-color .16s ease}
.climate-matrix-cell strong{display:block;font-size:11px;line-height:1.16;font-weight:950;overflow-wrap:anywhere}
.climate-matrix-cell small{display:block;margin-top:5px;font-size:10px;font-weight:900;opacity:.78;white-space:nowrap}
.climate-matrix-cell:hover{position:relative;z-index:5;transform:translateY(-3px) scale(1.035);filter:saturate(1.12) brightness(1.05);border-color:rgba(255,255,255,.46);box-shadow:0 14px 28px rgba(0,0,0,.34),inset 0 1px rgba(255,255,255,.2)}
.climate-matrix tr.is-selected .climate-matrix-cell{outline:2px solid rgba(104,166,255,.75);outline-offset:1px}
.climate-matrix tr.is-selected .climate-matrix-year{background:linear-gradient(135deg,#2563eb,#1d4ed8)}
.climate-matrix-cell.unknown{background:#26344a;color:#aebed1}.climate-matrix-cell.normal{background:#edf3f9;color:#142033}
.climate-matrix-cell.cold-1{background:#c1deff;color:#10213a}.climate-matrix-cell.cold-2{background:#a9d2ff;color:#10213a}.climate-matrix-cell.cold-3{background:#91c0ff;color:#10213a}.climate-matrix-cell.cold-4{background:#5c9aff;color:#fff}.climate-matrix-cell.cold-5{background:#1671ff;color:#fff}.climate-matrix-cell.cold-6{background:#002a7f;color:#fff}
.climate-matrix-cell.warm-1{background:#fff5b8;color:#2c240b}.climate-matrix-cell.warm-2{background:#ffe09e;color:#2c240b}.climate-matrix-cell.warm-3{background:#ffc285;color:#301b0e}.climate-matrix-cell.warm-4{background:#ffa46c;color:#32160a}.climate-matrix-cell.warm-5{background:#ff6843;color:#fff}.climate-matrix-cell.warm-6{background:#8b1c1c;color:#fff}
.climate-matrix-cell.wet-2{background:#5c9aff;color:#fff}.climate-matrix-cell.wet-3{background:#1671ff;color:#fff}.climate-matrix-cell.wet-4{background:#002a7f;color:#fff}.climate-matrix-cell.dry-2{background:#ffc285;color:#301b0e}.climate-matrix-cell.dry-3{background:#ff6843;color:#fff}.climate-matrix-cell.dry-4{background:#8b1c1c;color:#fff}
@media(max-width:820px){.climate-matrix-head{align-items:flex-start;flex-direction:column;padding:22px 18px 16px}.climate-legend{justify-content:flex-start}.climate-matrix-scroll{padding:12px 10px 16px}.climate-matrix{min-width:1180px;border-spacing:4px}.climate-matrix-cell{height:68px}}


/* =========================================================
   CENTRUM KLIMATU — PREMIUM OVERRIDES v7
   Cel: czytelny panel wykresu i pełne, kolorowe macierze.
   ========================================================= */
.climate-dashboard-panel{
  position:relative;
  padding:0 24px 24px;
  background:
    radial-gradient(760px 260px at 12% 0%,rgba(70,135,255,.13),transparent 72%),
    linear-gradient(180deg,rgba(14,28,48,.97),rgba(7,16,29,.98));
  border-color:rgba(123,166,226,.25);
}
.climate-dashboard-panel::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius:inherit;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.055);
}
.climate-dashboard-head{
  position:relative;
  z-index:1;
  align-items:center;
  padding:26px 4px 18px;
}
.climate-dashboard-head h2{
  font-size:32px;
  line-height:1.05;
  letter-spacing:-.045em;
}
.climate-dashboard-head p{
  max-width:620px;
  font-size:14px;
  line-height:1.6;
  color:#afc1d9;
}
.climate-year-switch{
  gap:7px;
  padding:7px;
  border:1px solid rgba(141,177,228,.16);
  border-radius:17px;
  background:rgba(2,10,21,.42);
  box-shadow:inset 0 1px rgba(255,255,255,.035);
}
.climate-year-switch button{
  min-height:36px;
  padding:8px 13px;
  border:1px solid transparent;
  border-radius:10px;
  background:transparent;
  color:#aebed4;
  box-shadow:none;
}
.climate-year-switch button:hover{
  color:#fff;
  background:rgba(255,255,255,.075);
  border-color:rgba(255,255,255,.06);
}
.climate-year-switch button.is-active{
  color:#07111f;
  background:linear-gradient(135deg,#f3f7ff,#a9c9ff);
  border-color:rgba(255,255,255,.8);
  box-shadow:0 8px 22px rgba(53,112,215,.28),inset 0 1px rgba(255,255,255,.8);
}
.climate-chart{
  position:relative;
  height:470px;
  border:1px solid rgba(141,177,228,.19);
  border-radius:22px;
  background:
    radial-gradient(560px 220px at 80% 0%,rgba(36,94,174,.15),transparent 72%),
    linear-gradient(180deg,rgba(8,20,36,.96),rgba(5,14,27,.98));
  box-shadow:inset 0 1px rgba(255,255,255,.035),0 18px 44px rgba(0,0,0,.22);
}

.climate-matrix-panel{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(720px 260px at 6% 0%,rgba(59,126,231,.12),transparent 72%),
    linear-gradient(180deg,rgba(14,27,47,.97),rgba(7,16,29,.98));
  border-color:rgba(123,166,226,.23);
}
.climate-matrix-head{
  align-items:center;
  padding:28px 30px 22px;
  background:linear-gradient(135deg,rgba(31,56,91,.82),rgba(10,22,39,.42));
}
.climate-matrix-head h2{
  font-size:30px;
  line-height:1.05;
  letter-spacing:-.04em;
}
.climate-matrix-head p{
  font-size:13px;
  color:#aec0d7;
}
.climate-legend{
  max-width:420px;
}
.climate-legend span{
  padding:9px 12px;
  border-color:rgba(255,255,255,.12);
  background:rgba(255,255,255,.055);
  box-shadow:inset 0 1px rgba(255,255,255,.04);
}
.climate-legend i{
  width:13px;
  height:13px;
  border-radius:5px;
}
.climate-matrix-scroll{
  padding:20px 20px 24px;
  background:linear-gradient(180deg,rgba(1,8,18,.16),rgba(1,8,18,.34));
}
.climate-matrix{
  min-width:1440px;
  border-spacing:7px;
}
.climate-matrix thead th{
  height:38px;
  color:#8fa6c2;
  font-size:11px;
  letter-spacing:.11em;
}
.climate-matrix .climate-matrix-year{
  width:78px;
  min-width:78px;
  border:1px solid rgba(122,165,224,.21);
  background:linear-gradient(180deg,#162943,#0e1c31);
  box-shadow:10px 0 24px rgba(1,8,19,.52),inset 0 1px rgba(255,255,255,.05);
}
.climate-matrix tbody .climate-matrix-year{
  height:82px;
  font-size:15px;
}
.climate-matrix-cell{
  height:82px;
  padding:10px 8px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:15px;
  box-shadow:inset 0 1px rgba(255,255,255,.2),0 8px 18px rgba(0,0,0,.18);
}
.climate-matrix-cell strong{
  font-size:11px;
  line-height:1.22;
  letter-spacing:-.01em;
}
.climate-matrix-cell small{
  margin-top:7px;
  font-size:10px;
  opacity:.82;
}
.climate-matrix-cell.unknown{
  background:linear-gradient(180deg,#2a384d,#1d2a3d);
  color:#a9b7ca;
  border-style:dashed;
}
.climate-matrix-cell.normal{
  background:linear-gradient(180deg,#f7fafc,#dfe9f3);
  color:#142033;
}
.climate-matrix-cell.cold-1{background:linear-gradient(180deg,#d7ebff,#b7d8ff);color:#10213a}
.climate-matrix-cell.cold-2{background:linear-gradient(180deg,#bedfff,#91c5ff);color:#10213a}
.climate-matrix-cell.cold-3{background:linear-gradient(180deg,#99cbff,#69aef7);color:#10213a}
.climate-matrix-cell.cold-4{background:linear-gradient(180deg,#6ca6ff,#377ee8);color:#fff}
.climate-matrix-cell.cold-5{background:linear-gradient(180deg,#2f7cff,#0755d8);color:#fff}
.climate-matrix-cell.cold-6{background:linear-gradient(180deg,#12468e,#07245c);color:#fff}
.climate-matrix-cell.warm-1{background:linear-gradient(180deg,#fff9cf,#f8e893);color:#30260b}
.climate-matrix-cell.warm-2{background:linear-gradient(180deg,#ffeaa9,#ffd270);color:#33220a}
.climate-matrix-cell.warm-3{background:linear-gradient(180deg,#ffd094,#ffae5f);color:#361b09}
.climate-matrix-cell.warm-4{background:linear-gradient(180deg,#ffae7d,#f47c45);color:#381506}
.climate-matrix-cell.warm-5{background:linear-gradient(180deg,#ff7756,#df3d2b);color:#fff}
.climate-matrix-cell.warm-6{background:linear-gradient(180deg,#aa312c,#681515);color:#fff}
.climate-matrix-cell.wet-2{background:linear-gradient(180deg,#73b1ff,#3d82e8);color:#fff}
.climate-matrix-cell.wet-3{background:linear-gradient(180deg,#337cff,#0755d8);color:#fff}
.climate-matrix-cell.wet-4{background:linear-gradient(180deg,#174b99,#08265e);color:#fff}
.climate-matrix-cell.dry-2{background:linear-gradient(180deg,#ffd297,#ffad5e);color:#331c09}
.climate-matrix-cell.dry-3{background:linear-gradient(180deg,#ff7758,#dc3e2e);color:#fff}
.climate-matrix-cell.dry-4{background:linear-gradient(180deg,#a8312d,#651414);color:#fff}
.climate-matrix-cell:hover{
  transform:translateY(-4px) scale(1.045);
  border-color:rgba(255,255,255,.72);
  box-shadow:0 18px 36px rgba(0,0,0,.42),inset 0 1px rgba(255,255,255,.28);
}
.climate-matrix tr.is-selected .climate-matrix-cell{
  outline:3px solid rgba(105,170,255,.92);
  outline-offset:1px;
}

@media(max-width:1040px){
  .climate-dashboard-panel{padding:0 14px 16px}
  .climate-dashboard-head{align-items:flex-start}
  .climate-year-switch{max-width:none}
  .climate-chart{height:410px}
}
@media(max-width:720px){
  .climate-dashboard-head h2,.climate-matrix-head h2{font-size:26px}
  .climate-chart{height:360px;border-radius:17px}
  .climate-matrix-head{padding:22px 18px 18px}
  .climate-matrix{min-width:1320px;border-spacing:5px}
  .climate-matrix-cell,.climate-matrix tbody .climate-matrix-year{height:74px}
}

/* Performance pass for the large climate matrices.
   Keep the premium appearance without forcing the browser to repaint
   hundreds of large shadows and filters during every scroll frame. */
.climate-matrix-panel{
  content-visibility:auto;
  contain-intrinsic-size:980px;
}
.climate-matrix-scroll{
  overscroll-behavior-inline:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-gutter:stable;
}
.climate-matrix-cell{
  /* Outer shadows on every cell were the main repaint cost. */
  box-shadow:inset 0 1px rgba(255,255,255,.18);
  transition:border-color .14s ease,transform .14s ease;
  backface-visibility:hidden;
}
.climate-matrix .climate-matrix-year{
  /* A short, solid separator is much cheaper than a large blurred shadow. */
  box-shadow:3px 0 0 rgba(1,8,19,.52),inset 0 1px rgba(255,255,255,.05);
}
.climate-matrix tr.is-selected .climate-matrix-cell{
  outline-width:2px;
}

@media (hover:hover) and (pointer:fine){
  .climate-matrix-cell:hover{
    transform:translateY(-2px);
    filter:none;
    border-color:rgba(255,255,255,.62);
    box-shadow:0 8px 18px rgba(0,0,0,.25),inset 0 1px rgba(255,255,255,.24);
  }
}

/* Disable decorative effects only while the user is actively scrolling. */
.climate-matrix-scroll.is-scrolling .climate-matrix-cell,
.climate-matrix-scroll.is-scrolling .climate-matrix-cell:hover{
  transform:none!important;
  filter:none!important;
  transition:none!important;
  box-shadow:inset 0 1px rgba(255,255,255,.15)!important;
}
.climate-matrix-scroll.is-scrolling .climate-matrix-year{
  box-shadow:2px 0 0 rgba(1,8,19,.5),inset 0 1px rgba(255,255,255,.05)!important;
}

@media (prefers-reduced-motion:reduce){
  .climate-matrix-cell{transition:none!important}
  .climate-matrix-cell:hover{transform:none!important}
}

/* Analiza okresów */
.period-filter{display:grid;grid-template-columns:minmax(260px,1fr) minmax(180px,230px) minmax(180px,230px) auto;gap:18px;align-items:end;padding:26px 28px;background:linear-gradient(135deg,rgba(15,35,59,.92),rgba(10,22,39,.96));border-color:rgba(101,163,255,.24)}
.period-filter__intro h2,.period-section-head h2,.period-overview h2{margin:4px 0 7px;font-size:clamp(1.35rem,2vw,2rem)}
.period-filter__intro p,.period-section-head p,.period-overview p{margin:0;color:var(--climate-muted);line-height:1.65}
.period-filter label{display:grid;gap:8px}.period-filter label span{font-size:.76rem;font-weight:900;text-transform:uppercase;letter-spacing:.1em;color:#9fb0c7}
.period-filter input{width:100%;min-height:48px;padding:0 14px;border-radius:13px;border:1px solid rgba(255,255,255,.14);background:rgba(5,14,26,.8);color:#fff;color-scheme:dark;font:inherit}
.period-filter button{min-height:48px;padding:0 22px;border:0;border-radius:13px;background:linear-gradient(135deg,#ffb34f,#ff7a50);color:#1a1208;font-weight:900;cursor:pointer;box-shadow:0 12px 30px rgba(255,127,74,.22);transition:transform .18s ease,box-shadow .18s ease}
.period-filter button:hover{transform:translateY(-2px);box-shadow:0 16px 36px rgba(255,127,74,.3)}
.period-overview{display:flex;justify-content:space-between;gap:28px;align-items:center;padding:30px;background:radial-gradient(circle at 90% 20%,rgba(63,139,255,.18),transparent 34%),linear-gradient(135deg,rgba(12,29,50,.96),rgba(7,18,33,.98))}
.period-overview__copy{max-width:900px}.period-overview__days{display:grid;justify-items:center;min-width:150px;padding:18px 24px;border-radius:20px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.1)}
.period-overview__days strong{font-size:2.6rem;line-height:1;color:#fff}.period-overview__days span{margin-top:7px;color:#9fb0c7;font-size:.82rem;text-transform:uppercase;letter-spacing:.08em;font-weight:800}
.period-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:18px 0}.period-stat-grid .climate-card{min-height:150px}
.period-counter-panel,.period-chart-panel,.period-table-panel{padding:28px}.period-section-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:22px}.period-section-head>span{padding:8px 11px;border-radius:999px;background:rgba(255,255,255,.07);color:#aebdd0;font-size:.8rem;font-weight:800}
.period-counter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.period-counter-grid>div{display:flex;align-items:center;gap:15px;min-height:82px;padding:15px 17px;border-radius:16px;background:linear-gradient(145deg,rgba(255,255,255,.065),rgba(255,255,255,.025));border:1px solid rgba(255,255,255,.08)}
.period-counter-grid strong{font-size:1.8rem;min-width:42px;color:#fff}.period-counter-grid span{color:#b6c3d5;font-size:.9rem;line-height:1.35}
.period-chart{height:480px;border-radius:19px;background:linear-gradient(180deg,rgba(4,12,23,.7),rgba(7,18,32,.34));border:1px solid rgba(255,255,255,.075);overflow:hidden}
.period-table-scroll{overflow:auto;max-height:720px;border-radius:16px;border:1px solid rgba(255,255,255,.08)}.period-table{margin:0;min-width:980px}.period-table thead th{position:sticky;top:0;z-index:3;background:#11243a}.period-table tbody tr:nth-child(even){background:rgba(255,255,255,.018)}
.period-empty{padding:45px;text-align:center}.period-empty h2{margin:0 0 8px}.period-empty p{color:var(--climate-muted)}
@media(max-width:1050px){.period-filter{grid-template-columns:1fr 1fr}.period-filter__intro{grid-column:1/-1}.period-filter button{align-self:end}.period-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.period-filter{grid-template-columns:1fr;padding:20px}.period-filter__intro{grid-column:auto}.period-overview{align-items:flex-start;flex-direction:column}.period-overview__days{min-width:0;width:100%}.period-stat-grid{grid-template-columns:1fr}.period-counter-grid{grid-template-columns:1fr}.period-chart{height:390px}.period-counter-panel,.period-chart-panel,.period-table-panel{padding:20px}}

/* MENU V11 — lżejsze, bez zewnętrznej ramki */
.climate-site-header{
  padding:12px 18px 0;
  background:linear-gradient(180deg,rgba(3,8,17,.78),rgba(3,8,17,0));
}
.climate-header-inner{
  width:min(1480px,100%);
  min-height:82px;
  padding:5px 6px;
  gap:28px;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
.climate-brand{
  padding:0;
  border-radius:0;
}
.climate-brand::before{
  inset:-11px -14px;
  border-radius:28px;
  background:radial-gradient(circle at 50% 50%,rgba(255,180,50,.25),rgba(255,180,50,.08) 48%,transparent 74%);
}
.climate-brand img{
  width:232px;
  height:84px;
  filter:drop-shadow(0 8px 18px rgba(0,0,0,.32));
  transition:transform .2s ease,filter .2s ease;
}
.climate-brand:hover img{
  transform:scale(1.045);
  filter:drop-shadow(0 0 16px rgba(255,181,48,.62)) drop-shadow(0 10px 20px rgba(0,0,0,.38)) brightness(1.06);
}
.climate-site-nav{
  justify-content:center;
  gap:4px;
}
.climate-site-nav>a,
.climate-nav-more>summary{
  padding:10px 15px;
  border-radius:11px;
  font-size:13px;
  font-weight:820;
  letter-spacing:.005em;
}
.climate-site-nav>a:hover,
.climate-nav-more>summary:hover{
  background:rgba(255,255,255,.055);
}
.climate-site-nav>a.is-active,
.climate-nav-more.is-active>summary,
.climate-nav-more[open]>summary{
  background:rgba(74,143,241,.14);
  box-shadow:inset 0 0 0 1px rgba(116,174,255,.22);
}
.climate-nav-dropdown{
  top:calc(100% + 8px);
  left:50%;
  right:auto;
  transform:translateX(-50%);
  min-width:235px;
  padding:7px;
  border:1px solid rgba(154,184,225,.16);
  border-radius:15px;
  background:rgba(5,14,27,.97);
  box-shadow:0 20px 50px rgba(0,0,0,.42);
}
.climate-nav-dropdown::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:-10px;
  height:10px;
}
.climate-nav-dropdown a{
  padding:11px 13px;
  border-radius:10px;
}
.climate-back-home{
  border:0;
  background:rgba(255,255,255,.055);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.09);
}
.climate-back-home:hover{
  background:rgba(255,255,255,.1);
}

@media(max-width:1260px){
  .climate-header-inner{gap:16px}
  .climate-brand img{width:208px;height:76px}
}
@media(max-width:640px){
  .climate-site-header{padding:7px 9px 0;background:rgba(3,8,17,.86)}
  .climate-header-inner{padding:4px 0;gap:8px}
  .climate-brand img{width:182px;height:66px}
  .climate-site-nav{padding-top:5px}
  .climate-nav-dropdown{
    position:fixed;
    left:12px;
    right:12px;
    top:112px;
    transform:none;
    min-width:0;
  }
}

/* Roczny kalendarz danych */
.year-calendar-toolbar{display:flex;justify-content:space-between;gap:28px;align-items:end;padding:28px;background:radial-gradient(circle at 88% 10%,rgba(64,144,255,.15),transparent 38%),linear-gradient(135deg,rgba(13,31,53,.96),rgba(7,18,33,.98))}
.year-calendar-toolbar__copy{max-width:760px}.year-calendar-toolbar h2{margin:4px 0 8px;font-size:clamp(1.5rem,2.5vw,2.25rem)}.year-calendar-toolbar p{margin:0;color:var(--climate-muted);line-height:1.6}
.year-calendar-controls{display:flex;gap:12px;align-items:end}.year-calendar-controls label{display:grid;gap:7px}.year-calendar-controls span{font-size:.72rem;text-transform:uppercase;letter-spacing:.1em;color:#9fb0c7;font-weight:900}.year-calendar-controls select{min-width:170px;height:46px;padding:0 38px 0 13px;border-radius:12px;border:1px solid rgba(255,255,255,.13);background:#081627;color:#fff;font:inherit}
.year-calendar-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:16px 0}.year-calendar-summary .climate-card{min-height:128px}
.year-calendar-panel{padding:18px}.year-calendar-scroll{overflow:auto;border-radius:18px;border:1px solid rgba(255,255,255,.08);background:#071321;overscroll-behavior-x:contain;overscroll-behavior-y:auto;scrollbar-gutter:stable}
.year-calendar-table{width:100%;min-width:1360px;border-collapse:separate;border-spacing:3px;font-size:12px}.year-calendar-table thead th{position:sticky;top:0;z-index:4;height:48px;padding:8px;background:#13233a;color:#e9f2ff;border-radius:9px;font-weight:900}.year-calendar-table .year-day-head{left:0;z-index:6}.year-calendar-table tbody th.year-day{position:sticky;left:0;z-index:3;width:64px;min-width:64px;background:#0e1d31;border-radius:9px;color:#fff;text-align:center;box-shadow:3px 0 0 rgba(1,7,16,.55)}.year-day strong{display:block;font-size:14px}.year-day span{display:block;margin-top:2px;color:#8fa3be;font-size:9px;text-transform:uppercase}
.year-cell{height:54px;min-width:96px;padding:5px 7px;text-align:center;border-radius:9px;background:var(--cell-bg,#132136);color:var(--cell-fg,#dce8f7);border:1px solid rgba(255,255,255,.07);cursor:pointer;transition:transform .12s ease,border-color .12s ease;box-shadow:inset 0 1px rgba(255,255,255,.14)}.year-cell strong{display:inline;font-size:13px}.year-cell small{margin-left:2px;font-size:9px;opacity:.72}.year-cell.is-empty{cursor:default;background:#101c2e;color:#53647a}.year-cell.is-invalid{background:transparent;border-color:transparent;box-shadow:none;cursor:default}
@media(hover:hover){.year-cell[data-day]:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.64);z-index:2;box-shadow:0 8px 20px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.2)}}
.year-calendar-legend{display:flex;justify-content:space-between;gap:14px;padding:14px 6px 0;color:#8fa3ba;font-size:.78rem}
.year-day-modal[hidden]{display:none}.year-day-modal{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:20px}.year-day-modal__backdrop{position:absolute;inset:0;border:0;background:rgba(1,6,14,.76);backdrop-filter:blur(8px)}.year-day-modal__card{position:relative;width:min(660px,100%);padding:28px;border-radius:24px;background:linear-gradient(145deg,#10243b,#071626);border:1px solid rgba(255,255,255,.15);box-shadow:0 35px 90px rgba(0,0,0,.55)}.year-day-modal__close{position:absolute;right:16px;top:13px;width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);color:#fff;font-size:26px;cursor:pointer}.year-day-modal__card h2{margin:6px 0 18px}.year-day-modal__hero{display:flex;justify-content:space-between;align-items:end;gap:20px;padding:18px;border-radius:17px;background:rgba(255,255,255,.055)}.year-day-modal__hero span{color:#9eb0c7}.year-day-modal__hero strong{font-size:2rem}.year-day-modal__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.year-day-modal__grid>div{padding:13px 15px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.07)}.year-day-modal__grid span{display:block;color:#8fa3ba;font-size:.75rem}.year-day-modal__grid strong{display:block;margin-top:4px;font-size:1.05rem}.has-modal{overflow:hidden}

/* Zmiany klimatu */
.climate-change-hero{display:flex;justify-content:space-between;gap:28px;align-items:center;padding:32px;background:radial-gradient(circle at 90% 0,rgba(255,105,72,.18),transparent 38%),linear-gradient(135deg,rgba(16,34,56,.98),rgba(7,18,32,.98))}.climate-change-hero>div:first-child{max-width:820px}.climate-change-hero h2{margin:4px 0 10px;font-size:clamp(1.7rem,3vw,2.6rem)}.climate-change-hero p{margin:0;color:var(--climate-muted);line-height:1.68}.climate-change-hero code{color:#ffd36c}.climate-change-trend{min-width:250px;padding:22px;border-radius:21px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.1);text-align:center}.climate-change-trend span,.climate-change-trend small{display:block;color:#9fb0c7}.climate-change-trend strong{display:block;margin:8px 0;font-size:2rem;color:#ff9a77}.climate-change-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:16px 0}.climate-change-stat-grid .climate-card{min-height:140px}.climate-change-chart-panel{padding:28px}.climate-change-head{margin-bottom:18px}.climate-change-head h2{margin:4px 0 7px;font-size:clamp(1.4rem,2.4vw,2rem)}.climate-change-head p{margin:0;color:var(--climate-muted)}.climate-change-chart{height:460px;border-radius:18px;border:1px solid rgba(255,255,255,.07);background:linear-gradient(180deg,rgba(4,12,23,.6),rgba(7,18,32,.28));overflow:hidden}.climate-change-chart--compact{height:350px}.climate-change-chart--small{height:360px}.climate-change-two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:16px 0}.climate-change-notes{padding:30px}.climate-change-notes h2{margin:5px 0 20px}.climate-change-note-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.climate-change-note-grid article{padding:18px;border-radius:16px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.07)}.climate-change-note-grid strong{display:block;margin-bottom:6px}.climate-change-note-grid p{margin:0;color:#9fb0c7;line-height:1.58}

@media(max-width:1000px){.year-calendar-toolbar,.climate-change-hero{align-items:flex-start;flex-direction:column}.year-calendar-controls{width:100%}.year-calendar-controls label{flex:1}.year-calendar-summary,.climate-change-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.climate-change-two-col{grid-template-columns:1fr}}
@media(max-width:650px){.year-calendar-controls{display:grid;grid-template-columns:1fr}.year-calendar-controls select{width:100%}.year-calendar-summary,.climate-change-stat-grid,.climate-change-note-grid{grid-template-columns:1fr}.year-calendar-table{min-width:1180px}.year-cell{min-width:82px;height:50px}.year-day-modal__grid{grid-template-columns:1fr}.climate-change-chart{height:380px}.climate-change-chart--compact,.climate-change-chart--small{height:330px}}
.climate-view-switch{display:inline-flex;gap:5px;margin:0 0 14px;padding:5px;border-radius:14px;background:rgba(7,18,32,.72);border:1px solid rgba(255,255,255,.08)}
.climate-view-switch a{padding:9px 14px;border-radius:10px;color:#9fb0c7;text-decoration:none;font-size:.8rem;font-weight:850;transition:background .15s ease,color .15s ease}
.climate-view-switch a:hover{color:#fff;background:rgba(255,255,255,.055)}
.climate-view-switch a.is-active{color:#fff;background:rgba(70,142,242,.18);box-shadow:inset 0 0 0 1px rgba(114,175,255,.22)}

/* v13 — sticky glass header jak na stronie głównej */
.climate-site-header{
  position:sticky !important;
  top:0;
  z-index:1200;
  padding:8px 16px 6px !important;
  background:
    radial-gradient(620px 120px at 30% 0,rgba(255,171,70,.15),transparent 68%),
    linear-gradient(180deg,rgba(3,8,18,.88),rgba(3,8,18,.67)) !important;
  border-bottom:1px solid rgba(148,174,213,.13);
  box-shadow:0 16px 42px rgba(0,0,0,.27);
  backdrop-filter:blur(24px) saturate(1.25);
  -webkit-backdrop-filter:blur(24px) saturate(1.25);
  isolation:isolate;
}
.climate-site-header::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:-28px;
  height:28px;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(3,8,18,.34),transparent);
  z-index:-1;
}
.climate-header-inner{
  width:min(1480px,100%) !important;
  min-height:70px !important;
  padding:3px 8px !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}
.climate-site-nav{
  padding:5px !important;
  border:1px solid rgba(255,255,255,.1);
  border-radius:17px;
  background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.035));
  box-shadow:inset 0 1px rgba(255,255,255,.08),0 10px 30px rgba(0,0,0,.18);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}
.climate-nav-dropdown{
  backdrop-filter:blur(22px) saturate(1.2);
  -webkit-backdrop-filter:blur(22px) saturate(1.2);
}
.climate-back-home{
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}

/* Dzień tygodnia zależny od miesiąca wskazanego kursorem */
.year-calendar-table thead th.is-hovered{
  color:#fff;
  background:linear-gradient(180deg,#27548a,#17375e);
  box-shadow:inset 0 0 0 1px rgba(129,187,255,.36),0 8px 20px rgba(0,0,0,.22);
}
.year-calendar-table tbody th.year-day{
  transition:background .13s ease,color .13s ease,box-shadow .13s ease;
}
.year-calendar-table tbody th.year-day.is-hovered{
  background:linear-gradient(180deg,#25538a,#17365d);
  box-shadow:inset 0 0 0 1px rgba(129,187,255,.34),3px 0 0 rgba(1,7,16,.55);
}
.year-day-weekday{
  min-height:11px;
  transition:color .12s ease,transform .12s ease;
}
.year-day.is-hovered .year-day-weekday{
  color:#d9ebff;
  transform:scale(1.08);
}
.year-cell[data-date]:hover,
.year-cell[data-date]:focus{
  outline:none;
}

/* Czytelniejsze wykresy zmian klimatu */
.climate-change-chart-panel{
  background:
    radial-gradient(circle at 90% 0,rgba(75,151,255,.08),transparent 38%),
    linear-gradient(145deg,rgba(13,28,48,.97),rgba(7,17,31,.98));
}
.climate-change-trend small{
  line-height:1.4;
}

@media(max-width:640px){
  .climate-site-header{
    padding:6px 8px 4px !important;
    background:rgba(3,8,18,.91) !important;
  }
  .climate-site-nav{
    border-radius:14px;
    background:rgba(255,255,255,.055);
  }
}

/* Klasyfikacja termiczna dnia */
.dtc-hero{padding:28px;background:radial-gradient(circle at 90% 0,rgba(255,164,82,.19),transparent 40%),linear-gradient(145deg,rgba(18,35,58,.98),rgba(7,17,30,.98));overflow:hidden}
.dtc-hero-date{font-size:14px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--climate-muted-2);margin-bottom:18px}
.dtc-hero-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.dtc-hero-grid>div{padding:18px;border-radius:17px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.08)}
.dtc-hero-grid span,.dtc-hero-grid small{display:block;color:var(--climate-muted-2)}
.dtc-hero-grid strong{display:block;margin-top:8px;font-size:clamp(1.65rem,4vw,2.65rem);line-height:1}
.dtc-hero-grid small{margin-top:8px;font-size:12px}
.dtc-verdict{display:flex;align-items:center;gap:12px;margin-top:18px;padding:16px 18px;border-radius:16px;background:rgba(255,255,255,.06);font-size:1.1rem}
.dtc-verdict>span{font-size:1.5rem}
.dtc-method{padding:26px}.dtc-method p{color:var(--climate-muted);line-height:1.65;max-width:980px}
.dtc-scale{display:grid;grid-template-columns:repeat(9,minmax(130px,1fr));gap:8px;margin-top:18px;overflow:auto;padding-bottom:4px}
.dtc-scale>span{padding:12px;border-radius:13px;min-width:130px;font-size:11px;line-height:1.5;border:1px solid rgba(255,255,255,.08)}
.dtc-scale b{font-size:12px}.dtc-count{display:block;color:var(--climate-muted-2);margin-top:3px}
.dtc-class-badge{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;font-size:12px;font-weight:900;white-space:nowrap;border:1px solid rgba(255,255,255,.1)}
.dtc-message{display:flex;flex-direction:column;gap:7px;padding:22px}.dtc-message span{color:var(--climate-muted)}
.extreme-cold{background:rgba(22,76,168,.34)!important}.very-cold{background:rgba(37,104,191,.3)!important}.cold{background:rgba(52,132,207,.26)!important}.slightly-cold{background:rgba(74,157,201,.21)!important}.dtc-hero.normal,.dtc-scale .normal,.dtc-class-badge.normal{background:#fff!important;color:#111827!important;border-color:#d1d5db!important}.slightly-warm{background:rgba(188,150,42,.22)!important}.warm{background:rgba(217,128,38,.25)!important}.very-warm{background:rgba(207,78,37,.29)!important}.extreme-warm{background:rgba(176,35,34,.36)!important}.no-reference{background:rgba(124,137,158,.18)!important}
.dtc-row-extreme-cold td:first-child{box-shadow:inset 4px 0 #356dd4}.dtc-row-extreme-warm td:first-child{box-shadow:inset 4px 0 #db4a3f}
@media(max-width:760px){.dtc-hero-grid{grid-template-columns:1fr}.dtc-hero{padding:20px}.dtc-method{padding:20px}.dtc-scale{grid-template-columns:repeat(9,145px)}}

/* v14 — sprawne menu mobilne i prawdziwa stopka */
.climate-site-footer{
  margin-top:auto;
  padding:54px 0 0;
  border-top:1px solid rgba(137,169,212,.14);
  background:
    radial-gradient(650px 220px at 16% 0,rgba(47,112,196,.12),transparent 70%),
    linear-gradient(180deg,rgba(4,11,21,.3),rgba(2,7,14,.96));
}
.climate-footer-inner{
  width:min(1480px,calc(100% - 40px));
  margin:0 auto;
  padding:30px 0 26px;
  display:grid;
  grid-template-columns:minmax(280px,1.4fr) minmax(260px,1fr) auto;
  align-items:center;
  gap:24px 42px;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  color:var(--climate-muted);
}
.climate-footer-brand{display:flex;align-items:center;gap:18px;min-width:0}
.climate-footer-brand img{width:150px;height:58px;object-fit:contain;object-position:left center;filter:drop-shadow(0 8px 18px rgba(0,0,0,.28))}
.climate-footer-brand strong{display:block;margin:0 0 5px;color:#fff;font-size:16px}
.climate-footer-brand span{display:block;font-size:13px;line-height:1.55}
.climate-footer-source{margin:0;color:var(--climate-muted);font-size:12px;line-height:1.65}
.climate-footer-links{display:flex;align-items:center;justify-content:flex-end;gap:18px}
.climate-footer-links a{padding:0;border-radius:0;background:none;color:var(--climate-muted-2);font-size:13px;font-weight:800;text-decoration:none}
.climate-footer-links a:hover{background:none;color:#fff;text-decoration:underline;text-underline-offset:4px}
.climate-footer-copy{grid-column:1/-1;padding-top:20px;border-top:1px solid rgba(255,255,255,.08);color:rgba(185,202,225,.62);font-size:11px;letter-spacing:.03em}

@media(max-width:800px){
  .climate-footer-inner{grid-template-columns:1fr auto;gap:20px 24px}
  .climate-footer-source{grid-column:1/-1}
}

@media(max-width:640px){
  .climate-header-inner{overflow:visible!important}
  .climate-site-nav{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr));
    width:100%;
    overflow:visible!important;
    gap:4px!important;
  }
  .climate-site-nav>a,.climate-nav-more>summary{
    width:100%;
    min-width:0;
    padding:10px 5px!important;
    text-align:center;
    font-size:12px!important;
  }
  .climate-nav-more{position:static!important;min-width:0}
  .climate-nav-dropdown{
    position:fixed!important;
    z-index:2500!important;
    left:10px!important;
    right:10px!important;
    top:var(--climate-mobile-menu-top,132px)!important;
    width:auto!important;
    min-width:0!important;
    max-height:calc(100dvh - var(--climate-mobile-menu-top,132px) - 14px)!important;
    overflow-y:auto!important;
    transform:none!important;
    padding:9px!important;
    border-radius:17px!important;
    background:rgba(5,14,27,.985)!important;
    box-shadow:0 24px 70px rgba(0,0,0,.62)!important;
    -webkit-overflow-scrolling:touch;
  }
  .climate-nav-dropdown a{padding:13px 14px!important;font-size:14px!important;white-space:normal!important}

  .climate-site-footer{padding-top:38px}
  .climate-footer-inner{width:calc(100% - 36px);grid-template-columns:1fr;padding:25px 0 22px;gap:18px}
  .climate-footer-brand{align-items:flex-start;gap:14px}
  .climate-footer-brand img{width:112px;height:44px}
  .climate-footer-brand strong{font-size:15px}
  .climate-footer-brand span{font-size:12px}
  .climate-footer-source{grid-column:auto;font-size:11px}
  .climate-footer-links{justify-content:flex-start;gap:22px}
  .climate-footer-copy{padding-top:17px}
}

/* v16 — miesięczna klasyfikacja termiczna */
.dtc-controls{align-items:end}
.dtc-month-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:16px 0}
.dtc-month-summary .climate-card{min-height:128px}
.dtc-month-summary .climate-card span{display:block;color:var(--climate-muted-2);font-size:.74rem;font-weight:900;letter-spacing:.07em;text-transform:uppercase}
.dtc-month-summary .climate-card strong{display:block;margin:9px 0 5px;font-size:clamp(1.55rem,3vw,2.25rem);line-height:1}
.dtc-month-summary .climate-card small{color:var(--climate-muted)}
.dtc-month-panel{padding:0}
.dtc-month-head{display:flex;align-items:end;justify-content:space-between;gap:20px;padding:24px 26px 18px;border-bottom:1px solid rgba(255,255,255,.07);background:radial-gradient(circle at 88% 0,rgba(66,137,235,.12),transparent 38%)}
.dtc-month-head h2{margin:4px 0 0;font-size:clamp(1.45rem,2.7vw,2rem)}
.dtc-month-count{padding:8px 11px;border-radius:999px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.08);color:var(--climate-muted-2);font-size:.78rem;font-weight:850;white-space:nowrap}
.dtc-table-wrap{margin:0;border-radius:0;box-shadow:none;border:0}
.dtc-month-table{min-width:760px;font-size:13px}
.dtc-month-table th,.dtc-month-table td{padding:11px 13px;vertical-align:middle}
.dtc-month-table thead th{position:sticky;top:0;z-index:3;background:#13233a}
.dtc-month-table tbody tr:nth-child(even){background:rgba(255,255,255,.018)}
.dtc-month-table tbody tr:hover{background:rgba(96,165,250,.055)}
.dtc-month-table .num{text-align:center;white-space:nowrap}
.dtc-day-col{position:sticky;left:0;z-index:2;min-width:105px;background:#0f1d30!important;text-align:left!important}
.dtc-month-table thead .dtc-day-col{z-index:4;background:#13233a!important}
.dtc-day-number{display:block;font-size:1rem;font-weight:900;color:#fff}
.dtc-day-col small{display:block;margin-top:3px;color:var(--climate-muted-2);font-size:.69rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.dtc-month-table .dtc-class-badge{min-width:168px;justify-content:center}
.dtc-row-extreme-cold .dtc-day-col{box-shadow:inset 4px 0 #356dd4}
.dtc-row-extreme-warm .dtc-day-col{box-shadow:inset 4px 0 #db4a3f}

/* Pionowe kółko myszy nie może zostać uwięzione nad szeroką tabelą. */
.year-calendar-scroll{
  overscroll-behavior-x:contain;
  overscroll-behavior-y:auto;
}

@media(max-width:900px){
  .dtc-month-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .dtc-month-summary{grid-template-columns:1fr 1fr;gap:10px}
  .dtc-month-summary .climate-card{min-height:112px;padding:17px}
  .dtc-month-head{align-items:flex-start;padding:20px 18px 15px}
  .dtc-month-count{display:none}
  .dtc-month-table{min-width:700px}
  .dtc-month-table th,.dtc-month-table td{padding:10px 9px}
}


/* v17 — kompaktowe menu mobilne i wspólna skala NOAA dla klasyfikacji dobowej */
.dtc-class-badge.cold-1{background:linear-gradient(180deg,#d7ebff,#b7d8ff);color:#10213a;border-color:rgba(16,33,58,.14)}
.dtc-class-badge.cold-2{background:linear-gradient(180deg,#bedfff,#91c5ff);color:#10213a;border-color:rgba(16,33,58,.14)}
.dtc-class-badge.cold-3{background:linear-gradient(180deg,#99cbff,#69aef7);color:#10213a;border-color:rgba(16,33,58,.14)}
.dtc-class-badge.cold-4{background:linear-gradient(180deg,#6ca6ff,#377ee8);color:#fff;border-color:rgba(255,255,255,.16)}
.dtc-class-badge.cold-5{background:linear-gradient(180deg,#2f7cff,#0755d8);color:#fff;border-color:rgba(255,255,255,.16)}
.dtc-class-badge.cold-6{background:linear-gradient(180deg,#12468e,#07245c);color:#fff;border-color:rgba(255,255,255,.16)}
.dtc-class-badge.normal{background:#fff!important;color:#111827!important;border-color:#d1d5db!important}
.dtc-class-badge.warm-1{background:linear-gradient(180deg,#fff9cf,#f8e893);color:#30260b;border-color:rgba(48,38,11,.14)}
.dtc-class-badge.warm-2{background:linear-gradient(180deg,#ffeaa9,#ffd270);color:#33220a;border-color:rgba(51,34,10,.14)}
.dtc-class-badge.warm-3{background:linear-gradient(180deg,#ffd094,#ffae5f);color:#361b09;border-color:rgba(54,27,9,.14)}
.dtc-class-badge.warm-4{background:linear-gradient(180deg,#ffae7d,#f47c45);color:#381506;border-color:rgba(56,21,6,.14)}
.dtc-class-badge.warm-5{background:linear-gradient(180deg,#ff7756,#df3d2b);color:#fff;border-color:rgba(255,255,255,.16)}
.dtc-class-badge.warm-6{background:linear-gradient(180deg,#aa312c,#681515);color:#fff;border-color:rgba(255,255,255,.16)}

@media(max-width:640px){
  .climate-site-nav{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:5px!important;
    padding:5px!important;
  }
  .climate-site-nav>a,.climate-nav-more>summary{
    padding:10px 3px!important;
    font-size:11.5px!important;
    border-radius:11px!important;
  }
  .climate-nav-more{position:static!important}
  .climate-nav-dropdown{
    left:12px!important;
    right:12px!important;
    width:auto!important;
    padding:8px!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px!important;
    max-height:min(46dvh,330px)!important;
    border-radius:15px!important;
  }
  .climate-nav-dropdown a{
    display:flex!important;
    align-items:center!important;
    min-height:50px!important;
    padding:10px 11px!important;
    font-size:12.5px!important;
    line-height:1.25!important;
    border:1px solid rgba(255,255,255,.055)!important;
    background:rgba(255,255,255,.025)!important;
  }
  .climate-nav-dropdown a:hover{background:rgba(255,255,255,.07)!important}
  .climate-nav-dropdown a.is-active{
    background:rgba(47,111,205,.3)!important;
    border-color:rgba(101,164,255,.22)!important;
  }
}

/* v18 — Menu 2.0: lekkie, nowoczesne, bez wielkiej kapsuły */
@media(min-width:641px){
  .climate-site-header{
    padding:10px 22px 8px!important;
    background:rgba(3,8,18,.88)!important;
    border-bottom:1px solid rgba(146,175,216,.11);
    box-shadow:0 12px 34px rgba(0,0,0,.24);
    backdrop-filter:blur(20px) saturate(1.2);
    -webkit-backdrop-filter:blur(20px) saturate(1.2);
  }
  .climate-site-header::after{display:none!important}
  .climate-header-inner{
    grid-template-columns:auto 1fr auto!important;
    min-height:72px!important;
    gap:38px!important;
    padding:0!important;
  }
  .climate-brand img{
    width:224px!important;
    height:74px!important;
  }
  .climate-site-nav{
    justify-self:center;
    width:auto!important;
    padding:0!important;
    gap:26px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }
  .climate-site-nav>a,
  .climate-nav-more>summary{
    position:relative;
    padding:13px 2px 12px!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#aebdd2!important;
    font-size:13px!important;
    font-weight:780!important;
    letter-spacing:.015em!important;
    transition:color .18s ease,transform .18s ease!important;
  }
  .climate-site-nav>a::after,
  .climate-nav-more>summary::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:3px;
    width:0;
    height:2px;
    border-radius:999px;
    background:linear-gradient(90deg,#5ca6ff,#8fc6ff);
    transform:translateX(-50%);
    transition:width .2s ease;
    box-shadow:0 0 12px rgba(92,166,255,.38);
  }
  .climate-site-nav>a:hover,
  .climate-nav-more>summary:hover{
    color:#fff!important;
    transform:translateY(-1px);
  }
  .climate-site-nav>a:hover::after,
  .climate-nav-more>summary:hover::after{width:70%}
  .climate-site-nav>a.is-active,
  .climate-nav-more.is-active>summary,
  .climate-nav-more[open]>summary{
    color:#fff!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  .climate-site-nav>a.is-active::after,
  .climate-nav-more.is-active>summary::after,
  .climate-nav-more[open]>summary::after{width:100%}
  .climate-nav-more>summary span{
    width:8px;
    height:8px;
    margin-left:7px!important;
    border-right:1.5px solid currentColor;
    border-bottom:1.5px solid currentColor;
    transform:translateY(-2px) rotate(45deg)!important;
    font-size:0;
    vertical-align:middle;
    opacity:.8;
  }
  .climate-nav-more[open]>summary span{
    transform:translateY(2px) rotate(225deg)!important;
  }
  .climate-nav-dropdown{
    top:calc(100% + 14px)!important;
    min-width:268px!important;
    padding:9px!important;
    border:1px solid rgba(149,181,225,.18)!important;
    border-radius:18px!important;
    background:linear-gradient(180deg,rgba(11,24,42,.985),rgba(5,13,25,.985))!important;
    box-shadow:0 26px 70px rgba(0,0,0,.55),inset 0 1px rgba(255,255,255,.06)!important;
  }
  .climate-nav-dropdown a{
    position:relative;
    padding:13px 14px 13px 17px!important;
    border-radius:12px!important;
    color:#b7c6da!important;
    font-size:13px!important;
    font-weight:760!important;
    transition:background .16s ease,color .16s ease,transform .16s ease!important;
  }
  .climate-nav-dropdown a::before{
    content:"";
    position:absolute;
    left:7px;
    top:50%;
    width:3px;
    height:0;
    border-radius:999px;
    background:#67aaff;
    transform:translateY(-50%);
    transition:height .16s ease;
  }
  .climate-nav-dropdown a:hover{
    color:#fff!important;
    background:rgba(101,166,255,.095)!important;
    transform:translateX(2px);
  }
  .climate-nav-dropdown a:hover::before,
  .climate-nav-dropdown a.is-active::before{height:22px}
  .climate-nav-dropdown a.is-active{
    color:#fff!important;
    background:rgba(70,139,235,.17)!important;
  }
  .climate-back-home{
    padding:11px 16px!important;
    border:1px solid rgba(255,255,255,.12)!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.045)!important;
    box-shadow:none!important;
    color:#eaf2ff!important;
    transition:background .18s ease,border-color .18s ease,transform .18s ease!important;
  }
  .climate-back-home:hover{
    background:rgba(255,255,255,.085)!important;
    border-color:rgba(134,183,255,.28)!important;
    transform:translateY(-1px);
  }
}

@media(max-width:640px){
  .climate-site-nav{
    border:1px solid rgba(255,255,255,.08)!important;
    background:rgba(255,255,255,.035)!important;
    box-shadow:none!important;
  }
  .climate-site-nav>a,
  .climate-nav-more>summary{
    background:transparent!important;
    box-shadow:none!important;
  }
  .climate-site-nav>a.is-active,
  .climate-nav-more.is-active>summary,
  .climate-nav-more[open]>summary{
    background:rgba(74,143,241,.17)!important;
    box-shadow:inset 0 0 0 1px rgba(116,174,255,.2)!important;
  }
}

/* =========================================================
   KOMPAKTOWA NAWIGACJA CENTRUM KLIMATU v1
   Jeden wspólny układ na każdej podstronie.
   ========================================================= */
.climate-quick-nav{
  position:relative;
  z-index:35;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:14px 0 22px;
  padding:10px;
  border:1px solid rgba(130,169,224,.18);
  border-radius:18px;
  background:linear-gradient(180deg,rgba(14,28,48,.86),rgba(7,17,31,.9));
  box-shadow:inset 0 1px rgba(255,255,255,.035),0 12px 30px rgba(0,0,0,.16);
}
.climate-quick-primary,
.climate-quick-groups{
  display:flex;
  align-items:center;
  gap:7px;
  min-width:0;
}
.climate-quick-primary a,
.climate-quick-more>summary{
  min-height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:9px 14px;
  border:1px solid transparent;
  border-radius:11px;
  color:#b9c8dc;
  text-decoration:none;
  font-size:13px;
  font-weight:850;
  line-height:1.15;
  white-space:nowrap;
  cursor:pointer;
  list-style:none;
  transition:color .16s ease,background .16s ease,border-color .16s ease,transform .16s ease;
}
.climate-quick-more>summary::-webkit-details-marker{display:none}
.climate-quick-primary a:hover,
.climate-quick-more>summary:hover{
  color:#fff;
  background:rgba(255,255,255,.06);
  transform:translateY(-1px);
}
.climate-quick-primary a.is-active{
  color:#fff;
  border-color:rgba(105,166,255,.42);
  background:linear-gradient(135deg,rgba(38,94,174,.72),rgba(22,51,91,.82));
  box-shadow:inset 0 1px rgba(255,255,255,.08),0 8px 20px rgba(14,74,160,.2);
}
.climate-quick-more{position:relative}
/* Niewidoczny mostek nad przerwą między przyciskiem a listą.
   Dzięki niemu kursor nie opuszcza grupy podczas przejazdu do dropdownu. */
.climate-quick-more[open]::after{
  content:"";
  position:absolute;
  z-index:119;
  top:100%;
  left:0;
  right:0;
  height:12px;
}
.climate-quick-more>summary span{
  width:7px;
  height:7px;
  margin-left:8px;
  border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;
  transform:translateY(-2px) rotate(45deg);
  transition:transform .16s ease;
  opacity:.78;
}
.climate-quick-more[open]>summary span{transform:translateY(2px) rotate(225deg)}
.climate-quick-more.is-active>summary,
.climate-quick-more[open]>summary{
  color:#fff;
  border-color:rgba(104,166,255,.24);
  background:rgba(74,143,241,.13);
}
.climate-quick-dropdown{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  z-index:120;
  min-width:230px;
  padding:8px;
  border:1px solid rgba(143,179,229,.18);
  border-radius:16px;
  background:linear-gradient(180deg,rgba(11,24,42,.99),rgba(5,13,25,.99));
  box-shadow:0 24px 64px rgba(0,0,0,.5),inset 0 1px rgba(255,255,255,.05);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}
.climate-quick-dropdown a{
  display:block;
  padding:11px 12px;
  border-radius:10px;
  color:#b8c7da;
  text-decoration:none;
  font-size:13px;
  font-weight:780;
  white-space:nowrap;
}
.climate-quick-dropdown a:hover{color:#fff;background:rgba(104,166,255,.1)}
.climate-quick-dropdown a.is-active{color:#fff;background:rgba(70,139,235,.18)}

/* stara ściana kafelków nie jest już używana */
.climate-nav{display:none!important}

@media(max-width:900px){
  .climate-quick-nav{align-items:stretch;flex-direction:column;gap:8px}
  .climate-quick-primary,.climate-quick-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
  .climate-quick-primary a,.climate-quick-more>summary{width:100%;padding-left:8px;padding-right:8px;text-align:center}
  .climate-quick-dropdown{left:0;right:auto;min-width:min(270px,calc(100vw - 38px))}
  .climate-quick-more:last-child .climate-quick-dropdown{left:auto;right:0}
}
@media(max-width:560px){
  .climate-quick-nav{margin-top:10px;padding:8px;border-radius:15px}
  .climate-quick-primary{grid-template-columns:1fr 1fr}
  .climate-quick-primary a:first-child{grid-column:1/-1}
  .climate-quick-groups{grid-template-columns:repeat(3,minmax(0,1fr))}
  .climate-quick-primary a,.climate-quick-more>summary{min-height:38px;font-size:12px;border-radius:10px}
  .climate-quick-dropdown{position:fixed;top:var(--climate-mobile-menu-top,150px);left:14px!important;right:14px!important;width:auto;min-width:0;max-height:calc(100vh - var(--climate-mobile-menu-top,150px) - 20px);overflow:auto}
}

/* v21 — mobilny dropdown bez dużej przerwy: zakotwiczony bezpośrednio pod paskiem menu. */
@media(max-width:640px){
  .climate-site-nav{
    position:relative!important;
    overflow:visible!important;
  }
  .climate-nav-more{position:static!important}
  .climate-nav-dropdown{
    position:absolute!important;
    top:calc(100% + 6px)!important;
    left:0!important;
    right:0!important;
    width:auto!important;
    margin:0!important;
    max-height:min(330px,calc(100dvh - 210px))!important;
    overflow-y:auto!important;
  }
}

/* v22 — kalendarz zachmurzenia i serie dni */
.cloud-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.cloud-toolbar h2{margin:4px 0 8px}.cloud-toolbar p{margin:0;color:#9fb0c6}.cloud-year-form label{display:grid;gap:7px;color:#9fb0c6;font-size:12px;font-weight:750}.cloud-year-form select{min-width:130px;padding:11px 38px 11px 13px;border:1px solid rgba(143,179,229,.18);border-radius:12px;background:#0b192c;color:#fff;font:inherit}.cloud-map-panel{overflow:hidden}.cloud-map-legend{display:grid;grid-template-columns:auto minmax(150px,330px) auto;align-items:center;gap:10px;margin-bottom:20px;color:#dce8f7;font-weight:800}.cloud-map-legend small{color:#90a4bd;font-weight:650}.cloud-legend-end{grid-column:3;text-align:right}.cloud-gradient{display:block;height:14px;border-radius:99px;background:linear-gradient(90deg,#87ceeb 0%,#a5dcf2 25%,#c5e9f7 50%,#e3f5fb 75%,#fff 100%);border:1px solid rgba(255,255,255,.25)}.cloud-year-map{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.cloud-month{padding:14px;border:1px solid rgba(143,179,229,.14);border-radius:16px;background:rgba(6,18,33,.58)}.cloud-month header{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:11px}.cloud-month header strong{color:#f4f8ff}.cloud-month header span{color:#9fb0c6;font-size:12px;font-weight:800}.cloud-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.cloud-day{aspect-ratio:1;border-radius:6px;background:var(--cloud-bg);color:var(--cloud-fg);display:grid;place-items:center;border:1px solid rgba(255,255,255,.18);font-size:10px;cursor:default;transition:transform .14s ease,box-shadow .14s ease}.cloud-day:hover{transform:scale(1.16);z-index:2;box-shadow:0 7px 18px rgba(0,0,0,.32)}.cloud-day b{font-weight:850}.cloud-day.is-empty{background:rgba(255,255,255,.025);border-style:dashed;border-color:rgba(143,179,229,.09)}.cloud-month footer{display:flex;gap:13px;margin-top:10px;color:#9fb0c6;font-size:11px;font-weight:750}.cloud-streak-heroes,.cloud-top-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}.cloud-streak-hero{position:relative;overflow:hidden}.cloud-streak-hero:after{content:"";position:absolute;inset:auto -70px -100px auto;width:240px;height:240px;border-radius:50%;pointer-events:none}.cloud-streak-hero.is-clear:after{background:rgba(74,190,255,.12)}.cloud-streak-hero.is-cloudy:after{background:rgba(255,255,255,.07)}.cloud-streak-hero h2{max-width:480px}.cloud-streak-number{font-size:48px;line-height:1;font-weight:900;color:#fff;margin:22px 0 8px}.cloud-streak-number small{font-size:16px;color:#9fb0c6}.cloud-streak-dates{font-size:17px;font-weight:850;color:#dce8f7}.cloud-streak-hero p{color:#9fb0c6}.cloud-top h2{margin-top:0}.cloud-top ol{list-style:none;counter-reset:rank;margin:0;padding:0}.cloud-top li{counter-increment:rank;display:grid;grid-template-columns:34px 1fr auto;gap:4px 10px;align-items:center;padding:11px 0;border-bottom:1px solid rgba(143,179,229,.11)}.cloud-top li:last-child{border-bottom:0}.cloud-top li:before{content:counter(rank);grid-row:1/3;width:27px;height:27px;display:grid;place-items:center;border-radius:9px;background:rgba(103,169,255,.11);color:#91c7ff;font-weight:900}.cloud-top li strong{color:#fff}.cloud-top li small{grid-column:2;color:#8296af}.cloud-rank-dates{font-weight:750;color:#c9d6e6}.cloud-definitions{margin-top:16px}.cloud-definitions h2{margin-top:0}.cloud-definitions>div{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center}.cloud-definitions strong{padding:6px 9px;border-radius:8px;background:rgba(109,174,255,.1);color:#fff}.cloud-definitions p{margin-bottom:0;color:#92a6bd}
@media(max-width:980px){.cloud-year-map{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.cloud-toolbar{align-items:stretch;flex-direction:column}.cloud-year-form select{width:100%}.cloud-year-map,.cloud-streak-heroes,.cloud-top-grid{grid-template-columns:1fr}.cloud-days{gap:4px}.cloud-day{font-size:9px}.cloud-map-legend{grid-template-columns:auto 1fr auto}.cloud-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:430px){.cloud-month{padding:11px}.cloud-days{gap:3px}.cloud-day{border-radius:4px}.cloud-day b{font-size:8px}.cloud-summary{grid-template-columns:1fr}.cloud-streak-number{font-size:40px}}
