/* Radio Polonia Toronto — arkusz stylów */

@font-face { font-family: "Bricolage"; font-style: normal; font-display: swap; font-weight: 300 800; font-stretch: 80% 100%;
  src: url(../fonts/bricolage-latin.woff2) format("woff2"); unicode-range: U+0000-00FF,U+2013-2026,U+20AC,U+2212,U+21C4,U+25B2,U+25BC,U+2032; }
@font-face { font-family: "Bricolage"; font-style: normal; font-display: swap; font-weight: 300 800; font-stretch: 80% 100%;
  src: url(../fonts/bricolage-pl.woff2) format("woff2"); unicode-range: U+0104-0107,U+0118-0119,U+0141-0144,U+015A-015B,U+0179-017C; }
@font-face { font-family: "Atkinson"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/atkinson-400-latin.woff2) format("woff2"); unicode-range: U+0000-00FF,U+2013-2026,U+20AC,U+2212,U+21C4,U+25B2,U+25BC,U+2032; }
@font-face { font-family: "Atkinson"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/atkinson-400-pl.woff2) format("woff2"); unicode-range: U+0104-0107,U+0118-0119,U+0141-0144,U+015A-015B,U+0179-017C; }
@font-face { font-family: "Atkinson"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/atkinson-700-latin.woff2) format("woff2"); unicode-range: U+0000-00FF,U+2013-2026,U+20AC,U+2212,U+21C4,U+25B2,U+25BC,U+2032; }
@font-face { font-family: "Atkinson"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/atkinson-700-pl.woff2) format("woff2"); unicode-range: U+0104-0107,U+0118-0119,U+0141-0144,U+015A-015B,U+0179-017C; }
@font-face { font-family: "Atkinson"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(../fonts/atkinson-400i-latin.woff2) format("woff2"); unicode-range: U+0000-00FF,U+2013-2026; }

/* Cyfry z kroju Bricolage (Atkinson ma przekreślone zero, które łatwo wziąć za „Ø”) */
@font-face { font-family: "Digits"; font-style: normal; font-display: swap; font-weight: 300 800;
  src: url(../fonts/bricolage-latin.woff2) format("woff2"); unicode-range: U+0030-0039; }

:root {
  --navy: #0f1d4a;
  --navy-2: #172863;
  --navy-3: #22357a;
  --cobalt: #2445b3;
  --red: #d42a3c;
  --red-dk: #b11f30;
  --amber: #f5b942;
  --amber-soft: #ffe3a3;
  --paper: #f2f4f9;
  --white: #ffffff;
  --ink: #121831;
  --muted: #4a5272;
  --line: #d6dbe8;
  --ok: #17703f;
  --display: "Bricolage", "Arial Narrow", system-ui, sans-serif;
  --body: "Digits", "Atkinson", "Verdana", system-ui, sans-serif;
  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 40px);
  --r-sm: 8px;
  --r-md: 14px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --player-h: 0px;
}

/* Wielkość liter wybierana przez słuchacza */
html { font-size: 112.5%; -webkit-text-size-adjust: 100%; }
html[data-fs="2"] { font-size: 128%; }
html[data-fs="3"] { font-size: 145%; }

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  padding-bottom: var(--player-h);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cobalt); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--red-dk); }
h1, h2, h3, .h3 { font-family: var(--display); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -0.015em; color: var(--navy); }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); font-weight: 750; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 720; }
h3, .h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 46em; }
.ico { width: 1.2em; height: 1.2em; flex: none; }
.wrap { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--amber); color: var(--navy); padding: 12px 18px; z-index: 100; font-weight: 700; }
.skip:focus { left: 12px; top: 12px; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .7em 1.3em;
  font: 700 1.05rem/1.2 var(--body);
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: scale(.98); }
.btn .ico { width: 1.25em; height: 1.25em; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dk); color: #fff; }
.btn--blue { background: var(--cobalt); color: #fff; }
.btn--blue:hover { background: var(--navy-3); color: #fff; }
.btn--white { background: #fff; color: var(--red-dk); }
.btn--white:hover { background: var(--amber-soft); color: var(--navy); }
.btn--light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.btn--light:hover { background: rgba(255,255,255,.22); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--lg { min-height: 58px; font-size: 1.12rem; padding: .75em 1.5em; }
.btn--xl { min-height: 68px; font-size: 1.25rem; padding: .7em 1.7em .7em 1.4em; }
.btn--xl .ico { width: 1.5em; height: 1.5em; }
.btn__txt { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.btn__sub { display: block; font-weight: 400; font-size: .78em; opacity: .92; margin-top: .1em; }

/* ---------- Pasek górny, nagłówek ---------- */
.announce { background: var(--amber); color: var(--navy); font-weight: 700; }
.announce p { margin: 0; padding: .6em 0; }

.topbar { background: var(--navy); color: #dfe5f7; font-size: .9rem; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; flex-wrap: wrap; }
.topbar__info { display: flex; gap: 1.4em; flex-wrap: wrap; margin: 0; align-items: center; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.topbar a:hover { text-decoration: underline; }
.fs { display: flex; align-items: center; gap: 4px; }
.fs__label { margin-right: 6px; }
.fs button {
  min-width: 40px; height: 36px; padding: 0 6px; border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,.35); background: transparent; color: #fff; cursor: pointer;
  font-family: var(--display); font-weight: 700; line-height: 1;
}
.fs button[data-fs-set="1"] { font-size: 15px; }
.fs button[data-fs-set="2"] { font-size: 19px; }
.fs button[data-fs-set="3"] { font-size: 23px; }
.fs button[aria-pressed="true"] { background: #fff; color: var(--navy); border-color: #fff; }

.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
.brand img { width: 196px; height: auto; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; flex-wrap: wrap; justify-content: flex-end; }
.nav a {
  display: block; padding: .5em .8em; border-radius: 10px; text-decoration: none;
  color: var(--navy); font-weight: 700; font-size: 1rem; position: relative;
}
.nav a:hover { background: var(--paper); color: var(--navy); }
.nav a[aria-current="page"] { color: var(--red-dk); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: .8em; right: .8em; bottom: .2em; height: 3px; border-radius: 2px; background: var(--red); }
.menu-btn { display: none; }

.menu-mobile { position: fixed; inset: 0; z-index: 60; background: rgba(9, 16, 42, .55); }
.menu-mobile__panel {
  position: absolute; inset: 0 0 0 auto; width: min(420px, 100%); background: #fff; padding: 20px var(--gut) 32px;
  overflow-y: auto; animation: panel-in .28s var(--ease-out);
}
@keyframes panel-in { from { transform: translateX(40px); opacity: 0; } }
.menu-mobile__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.menu-mobile__top p { margin: 0; font: 750 1.6rem var(--display); color: var(--navy); }
.menu-mobile__close { display: inline-flex; gap: .4em; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--navy); background: #fff; color: var(--navy); font: 700 1rem var(--body); cursor: pointer; }
.menu-mobile ul { list-style: none; margin: 0 0 24px; padding: 0; }
.menu-mobile li a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font: 700 1.35rem var(--display); color: var(--navy); text-decoration: none; }
.menu-mobile li a[aria-current="page"] { color: var(--red-dk); }
.menu-mobile__phone { display: flex; gap: .5em; align-items: center; justify-content: center; min-height: 58px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; text-decoration: none; font-size: 1.1rem; }
.menu-mobile__phone:hover { color: #fff; background: var(--red-dk); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1000px 420px at 64% 112%, rgba(245, 185, 66, .22), transparent 70%),
    radial-gradient(700px 500px at 0% 0%, rgba(36, 69, 179, .55), transparent 70%),
    var(--navy);
  padding: clamp(40px, 7vw, 84px) 0 0;
}
.hero__in { position: relative; z-index: 1; }
.hero__when { font-weight: 700; color: var(--amber-soft); margin-bottom: .6em; font-size: 1.05rem; }
.hero__title {
  font-size: clamp(3rem, 9.5vw, 7.4rem); line-height: .9; color: #fff; font-weight: 800;
  font-stretch: 82%; letter-spacing: -0.035em; margin: 0 0 .28em; max-width: 9.5em;
}
.hero__title span { display: block; color: #fff; -webkit-text-stroke: 0; opacity: .78; font-weight: 300; font-stretch: 100%; letter-spacing: -0.02em; }
.hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #d8def3; max-width: 36em; margin-bottom: 1.6em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.status { display: flex; flex-wrap: wrap; align-items: center; gap: .3em .6em; font-size: 1.12rem; color: #fff; margin-bottom: 1.1em; }
.status__count { color: var(--amber); font-weight: 700; }
.status--live { font-weight: 700; font-size: 1.3rem; }
.status__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(212, 42, 60, .7); animation: live-pulse 1.6s infinite; }
@keyframes live-pulse { 70% { box-shadow: 0 0 0 14px rgba(212, 42, 60, 0); } 100% { box-shadow: 0 0 0 0 rgba(212, 42, 60, 0); } }

.resume {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 26px;
  padding: 14px 18px; border-radius: var(--r-md); background: rgba(255,255,255,.08); max-width: 40em;
  border: 1px solid rgba(255,255,255,.14);
}
.resume__text { margin: 0; color: #e3e8f8; }
.resume__text b { color: #fff; }

/* ---------- Skala radia FM (animacja) ---------- */
.dial { position: relative; z-index: 1; margin-top: clamp(28px, 4vw, 48px); }
.dial__glass {
  max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 22px var(--gut) 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(5, 11, 32, .55), rgba(5, 11, 32, .85));
}
.dial__scale { position: relative; height: 92px; }
.dial__ticks { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 46px; overflow: visible; }
.dial__ticks line { stroke: var(--amber); vector-effect: non-scaling-stroke; }
.dial__ticks .mj { stroke-width: 2; }
.dial__ticks .mn { stroke-width: 1; opacity: .55; }
.dial__nums { position: absolute; left: 0; right: 0; top: 54px; height: 30px; }
.dial__nums span {
  position: absolute; transform: translateX(-50%); font-family: var(--display); font-stretch: 78%;
  font-weight: 600; font-size: 1.1rem; color: var(--amber-soft); opacity: .85; font-variant-numeric: tabular-nums;
}
.dial__needle { position: absolute; inset: -10px 0 -6px 0; pointer-events: none; transform: translateX(var(--x)); }
.dial__needle i {
  position: absolute; left: -2px; top: 0; bottom: 0; width: 4px; border-radius: 2px; background: var(--red);
  box-shadow: 0 0 10px 2px rgba(212, 42, 60, .65), 0 0 28px 6px rgba(212, 42, 60, .25);
}
.dial__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 4px; }
.dial__lamp { display: inline-flex; align-items: center; gap: .55em; color: rgba(255,255,255,.5); font-weight: 700; font-size: .95rem; }
.dial__lamp i { width: 12px; height: 12px; border-radius: 50%; background: #4a2229; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.is-live .dial__lamp { color: #fff; }
.is-live .dial__lamp i { background: var(--red); box-shadow: 0 0 10px 3px rgba(212, 42, 60, .7); animation: lamp 2.4s ease-in-out infinite; }
@keyframes lamp { 50% { opacity: .6; } }
.dial__readout { font-family: var(--display); color: var(--amber-soft); font-size: 1.05rem; }
.dial__readout b { font-size: 2rem; font-weight: 700; color: var(--amber); font-variant-numeric: tabular-nums; font-stretch: 85%; margin-right: .1em; }
.dial__readout span { opacity: .7; }

/* Wejście: wskazówka przesuwa się od 88 do 100,7 */
.dial.is-tuning .dial__needle { animation: tune 2.1s cubic-bezier(.22, .9, .3, 1.08) both; }
@keyframes tune {
  0% { transform: translateX(2%); }
  55% { transform: translateX(calc(var(--x) + 3%)); }
  78% { transform: translateX(calc(var(--x) - .8%)); }
  100% { transform: translateX(var(--x)); }
}
.dial.is-tuning .dial__ticks { animation: ticks-on 1.1s ease-out both; }
@keyframes ticks-on { from { opacity: .2; } }
.is-live .dial__needle i { animation: needle-live 2.4s ease-in-out infinite; }
@keyframes needle-live { 50% { box-shadow: 0 0 16px 4px rgba(212, 42, 60, .9), 0 0 40px 10px rgba(212, 42, 60, .35); } }

/* ---------- Sekcje ---------- */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section--tight { padding-top: clamp(28px, 4vw, 44px); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.section__head h2 { margin: 0; }
.more { font-weight: 700; font-size: 1.05rem; }

.page-head { background: #fff; border-bottom: 1px solid var(--line); padding: clamp(36px, 6vw, 64px) 0 clamp(28px, 4vw, 44px); }
.page-head h1 { margin-bottom: .3em; }
.page-head .lead { margin-bottom: 0; }
.page-head .hero__actions { margin-top: 24px; }
.crumbs { margin: 0 0 .6em; font-weight: 700; }
.crumbs a::before { content: "‹ "; }

/* Lista audycji — kartka z kalendarza + godziny */
.shows { list-style: none; margin: 0; padding: 0; }
.show {
  display: grid; grid-template-columns: 112px 1fr; gap: 0 clamp(18px, 3vw, 36px);
  padding: 26px 0; border-top: 1px solid var(--line);
}
.show:last-child { border-bottom: 1px solid var(--line); }
.show__date {
  display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--navy);
  background: #fff; border-radius: var(--r-md); padding: 10px 6px 12px; border: 1px solid var(--line);
  border-top: 8px solid var(--red); align-self: start; text-align: center;
}
.show__day { font: 750 2.9rem/1 var(--display); font-stretch: 85%; letter-spacing: -.03em; }
.show__month { font-weight: 700; font-size: .95rem; margin-top: 4px; }
.show__year { color: var(--muted); font-size: .85rem; }
.show__title { margin: 2px 0 2px; font-size: 1.4rem; }
.show__title a { color: var(--navy); text-decoration: none; }
.show__title a:hover { text-decoration: underline; }
.show__meta { color: var(--muted); margin-bottom: .6em; }
.show__desc { max-width: 52em; }
.show__parts { display: flex; flex-wrap: wrap; gap: 10px; }

.part {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: .6em; min-height: 54px; padding: 8px 18px 8px 8px;
  border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--navy);
  font: 700 1.05rem/1.2 var(--body); cursor: pointer; transition: border-color .15s, background-color .15s;
}
.part:hover { border-color: var(--cobalt); }
.part__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; flex: none; transition: background-color .15s; }
.part__icon .ico { width: 18px; height: 18px; grid-area: 1 / 1; }
.part__icon .ico--play { margin-left: 2px; }
.part__icon .ico--pause, .part.is-playing .part__icon .ico--play { display: none; }
.part.is-playing .part__icon .ico--pause { display: block; }
.part:hover .part__icon { background: var(--red); }
.part__len { font-weight: 400; color: var(--muted); font-size: .92em; }
.part__done { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: transparent; }
.part__done span { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--amber); }
.part.is-playing { border-color: var(--red); background: #fff5f6; }
.part.is-playing .part__icon { background: var(--red); }
.part--big { min-height: 64px; font-size: 1.15rem; padding-right: 22px; }
.part--big .part__icon { width: 46px; height: 46px; }

.empty { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(22px, 4vw, 36px); max-width: 52em; }
.empty__title { font: 700 1.4rem var(--display); color: var(--navy); margin-bottom: .4em; }
.empty__embed { margin-top: 18px; border-radius: var(--r-sm); overflow: hidden; }
.empty__embed iframe { border: 0; display: block; }

/* Prowadzący */
.section--hosts { background: #fff; }
.hosts { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hosts__photo { margin: 0; position: relative; }
.hosts__photo picture { display: block; position: relative; }
.hosts__photo picture::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; background: var(--red); border-radius: var(--r-md); }
.hosts__photo img { position: relative; border-radius: var(--r-md); }
.hosts__photo figcaption { position: relative; margin-top: 30px; color: var(--muted); font-size: .95rem; }
.hosts__text .lead { color: var(--ink); }
.hosts--about { align-items: start; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 24px 0 0; }
.facts div { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; }
.facts dt { color: var(--muted); font-size: .9rem; }
.facts dd { margin: 2px 0 0; font: 700 1.15rem var(--display); color: var(--navy); }

/* Pas z wezwaniem */
.band { background: var(--red); color: #fff; padding: clamp(36px, 5vw, 56px) 0; }
.band__in { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; }
.band h2 { color: #fff; margin-bottom: .25em; }
.band p { margin: 0; max-width: 40em; color: #ffe9eb; font-size: 1.1rem; }

/* Jak nas słuchać */
.ways { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.ways li { border-top: 3px solid var(--navy); padding-top: 18px; }
.ways__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--red); border: 1px solid var(--line); margin-bottom: 12px; }
.ways__icon .ico { width: 26px; height: 26px; }
.ways h3 { margin-bottom: .3em; }
.ways p { margin: 0; }

/* Wydarzenia */
.events { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.event { display: grid; grid-template-columns: 96px 1fr; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; }
.event__date { text-align: center; color: var(--navy); border-right: 1px solid var(--line); padding-right: 16px; }
.event__day { display: block; font: 750 2.5rem/1 var(--display); font-stretch: 85%; }
.event__month { font-weight: 700; }
.event h3 { margin-bottom: .3em; }
.event__meta { display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--muted); }
.event__meta span { display: inline-flex; align-items: center; gap: .35em; }

/* Archiwum */
.search { margin-bottom: 20px; max-width: 760px; }
.search label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 1.1rem; }
.search__row { display: flex; gap: 10px; position: relative; }
.search__icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input { flex: 1; min-width: 0; padding-left: 48px !important; }
.years { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.years a { padding: 8px 16px; border-radius: 999px; border: 2px solid var(--line); background: #fff; text-decoration: none; color: var(--navy); font-weight: 700; }
.years a:hover { border-color: var(--cobalt); }
.years a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.results { color: var(--muted); margin-bottom: 8px; }
.month { margin-top: 26px; }
.month__title { font-size: 1.5rem; margin-bottom: .4em; text-transform: none; }

/* Strona audycji */
.show-page { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(24px, 5vw, 64px); align-items: start; }
.prose { max-width: 40em; margin-bottom: 28px; font-size: 1.08rem; }
.parts-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.parts-list__item { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.dl { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; }
.share { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.share a, .share button {
  display: flex; align-items: center; gap: .6em; width: 100%; min-height: 52px; padding: 0 16px; border-radius: var(--r-sm);
  background: #fff; border: 1.5px solid var(--line); color: var(--navy); font: 700 1rem var(--body); text-decoration: none; cursor: pointer;
}
.share a:hover, .share button:hover { border-color: var(--cobalt); color: var(--navy); }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.pager a { display: flex; flex-direction: column; text-decoration: none; padding: 10px 0; }
.pager span { color: var(--muted); font-size: .92rem; }
.pager b { font: 700 1.2rem var(--display); color: var(--navy); }
.pager__prev span::before { content: "‹ "; }
.pager__next { text-align: right; }
.pager__next span::after { content: " ›"; }

/* Piosenki */
.section--songs { background: var(--navy); color: #fff; }
.section--songs h2 { color: #fff; }
.section--songs .lead { color: #cfd6ee; }
.videos { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: var(--r-md); overflow: hidden; cursor: pointer; background: #000; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s, transform .4s var(--ease-out); }
.yt:hover img { opacity: 1; transform: scale(1.03); }
.yt__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 68px; height: 68px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; }
.yt__play .ico { width: 30px; height: 30px; margin-left: 4px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt__title { margin: 10px 0 0; font-weight: 700; }

/* Formularze */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(24px, 5vw, 64px); align-items: start; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(20px, 4vw, 36px); }
.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
.opt { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="search"], input[type="email"], input[type="password"], input[type="date"], input[type="time"], input[type="url"], select, textarea {
  width: 100%; min-height: 54px; padding: 12px 14px; border-radius: var(--r-sm);
  border: 2px solid #b9c1d6; background: #fff; color: var(--ink); font: 400 1.05rem/1.4 var(--body);
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--cobalt); outline: 3px solid rgba(36, 69, 179, .2); outline-offset: 0; }
[aria-invalid="true"] { border-color: var(--red) !important; }
.field__hint { color: var(--muted); font-size: .92rem; margin: 6px 0 0; }
.field__err { color: var(--red-dk); font-weight: 700; margin: 6px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: var(--r-md); padding: 18px 20px; margin-bottom: 20px; }
.notice p:last-child { margin-bottom: 0; }
.notice--ok { background: #e9f6ee; border: 2px solid var(--ok); }
.notice--err { background: #fdecee; border: 2px solid var(--red); color: var(--red-dk); font-weight: 700; }
.notice__title { font: 700 1.35rem var(--display); color: var(--navy); }
.form-aside { padding-top: 6px; }
.form-aside h2 { margin-top: 0; }
.form-aside h2 + p { margin-bottom: 1.6em; }
.bigphone { display: inline-flex; align-items: center; gap: .45em; font: 750 1.7rem var(--display); color: var(--navy); text-decoration: none; letter-spacing: -.01em; }
.bigphone .ico { color: var(--red); }
.bigphone:hover { color: var(--red-dk); }

.contact__cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact__cards li { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 22px; }
.contact__label { color: var(--muted); margin-bottom: .3em; }
.contact__value { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; font-size: 1.15rem; margin: 0; color: var(--navy); }
a.contact__value { color: var(--cobalt); }

/* Stopka */
.footer { background: var(--navy); color: #cfd6ee; padding: 56px 0 28px; margin-top: 0; }
.footer__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer__name { font: 750 1.5rem var(--display); color: #fff; margin-bottom: .4em; }
.footer__head { font-weight: 700; color: #fff; margin-bottom: .6em; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .5em; }
.footer a:hover { text-decoration: underline; color: var(--amber-soft); }
.footer__legal { margin-top: 40px; font-size: .9rem; }
.footer__legal p { margin: 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); }

/* ---------- Odtwarzacz ---------- */
.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; color: #fff;
  background: var(--navy); box-shadow: 0 -10px 30px rgba(9, 16, 42, .28);
  animation: player-in .35s var(--ease-out);
}
@keyframes player-in { from { transform: translateY(100%); } }
.player__progress { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: rgba(255,255,255,.12); }
.player__progress span { display: block; height: 100%; width: 0; background: var(--amber); }
.player__in { display: flex; align-items: center; gap: 18px; min-height: 96px; padding-top: 10px; padding-bottom: 10px; }
.player__play {
  position: relative; flex: none; width: 66px; height: 66px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--red); color: #fff; display: grid; place-items: center; transition: background-color .15s, transform .15s;
}
.player__play:hover { background: var(--red-dk); }
.player__play:active { transform: scale(.95); }
.player__play .ico { width: 30px; height: 30px; grid-area: 1 / 1; transition: opacity .15s, transform .2s; }
.player__play .ico--play { margin-left: 4px; }
.player__play .ico--pause { opacity: 0; transform: scale(.6); }
.player.is-playing .player__play .ico--play { opacity: 0; transform: scale(.6); }
.player.is-playing .player__play .ico--pause { opacity: 1; transform: none; }
.player__spinner { position: absolute; inset: -5px; border-radius: 50%; border: 3px solid transparent; border-top-color: var(--amber); opacity: 0; }
.player.is-loading .player__spinner { opacity: 1; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.player__meta { flex: 1; min-width: 0; }
.player__title { margin: 0; font: 700 1.15rem/1.25 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__sub { margin: 0 0 4px; color: #c9d1ee; display: flex; align-items: center; gap: .5em; font-size: .95rem; }
.player__seek { display: flex; align-items: center; gap: 12px; }
.player__time { font-variant-numeric: tabular-nums; font-size: .9rem; color: #c9d1ee; min-width: 3.6em; }
.player__time:last-child { text-align: right; }
.seek { -webkit-appearance: none; appearance: none; flex: 1; min-width: 0; height: 28px; background: transparent; cursor: pointer; margin: 0; }
.seek::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--amber) var(--fill, 0%), rgba(255,255,255,.2) var(--fill, 0%)); }
.seek::-moz-range-track { height: 8px; border-radius: 4px; background: rgba(255,255,255,.2); }
.seek::-moz-range-progress { height: 8px; border-radius: 4px; background: var(--amber); }
.seek::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -7px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.seek::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 0; }
.player__ctrls { display: flex; align-items: center; gap: 8px; flex: none; }
.pbtn {
  min-width: 56px; height: 48px; padding: 0 12px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.3);
  background: transparent; color: #fff; font: 700 1rem var(--body); cursor: pointer; display: inline-grid; place-items: center;
}
.pbtn:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.pbtn--close { min-width: 48px; border-color: transparent; }
.pbtn--close .ico { width: 24px; height: 24px; }
.player__parts { display: flex; gap: 6px; margin-right: 6px; }
.player__parts button { height: 48px; padding: 0 12px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.3); background: transparent; color: #fff; font: 700 .95rem var(--body); cursor: pointer; }
.player__parts button[aria-pressed="true"] { background: var(--amber); color: var(--navy); border-color: var(--amber); }
.player.is-live .player__seek, .player.is-live [data-act="back"], .player.is-live [data-act="fwd"], .player.is-live [data-act="speed"] { display: none; }

.eq { display: none; gap: 3px; align-items: flex-end; height: 14px; }
.eq i { width: 3px; background: var(--amber); border-radius: 1px; height: 30%; }
.player.is-playing .eq { display: inline-flex; }
.player.is-playing .eq i { animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.4s !important; }
.eq i:nth-child(3) { animation-delay: -.7s !important; }
.eq i:nth-child(4) { animation-delay: -.2s !important; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }

/* Komunikat */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--player-h) + 20px); transform: translate(-50%, 20px); z-index: 70;
  background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 12px; max-width: min(92vw, 560px);
  font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s var(--ease-out);
  display: flex; gap: 16px; align-items: center;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { background: transparent; border: 1.5px solid rgba(255,255,255,.5); color: #fff; border-radius: 999px; padding: 6px 14px; font: 700 .95rem var(--body); cursor: pointer; white-space: nowrap; }

/* Płynna zmiana podstron */
main { transition: opacity .16s ease; }
main.is-leaving { opacity: 0; }

/* ---------- Responsywność ---------- */
@media (max-width: 1220px) {
  .nav { display: none; }
  .menu-btn {
    display: inline-flex; align-items: center; min-height: 52px; padding: 0 22px; border-radius: 999px;
    border: 2px solid var(--navy); background: #fff; color: var(--navy); font: 700 1.1rem var(--body); cursor: pointer;
  }
  .header__in { min-height: 80px; }
  .brand img { width: 168px; }
  .player__parts { display: none; }
}
@media (max-width: 860px) {
  .hosts, .show-page, .form-layout { grid-template-columns: 1fr; }
  .hosts__photo { max-width: 460px; margin-right: 18px; }
  .ways, .videos { grid-template-columns: 1fr; }
  .footer__in { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .contact__cards { grid-template-columns: 1fr; }
  .dial__nums .o { display: none; }
  .player__in { flex-wrap: wrap; gap: 10px 14px; min-height: 0; }
  .player__meta { flex: 1 1 calc(100% - 90px); }
  .player__ctrls { width: 100%; justify-content: space-between; }
  .pbtn { flex: 1; }
  .pbtn--close { flex: 0 0 48px; }
}
@media (max-width: 600px) {
  .topbar__in { justify-content: center; padding-top: 6px; padding-bottom: 6px; }
  .topbar__info { justify-content: center; gap: .3em 1em; font-size: .85rem; }
  .fs__label { font-size: .85rem; }
  .show { grid-template-columns: 76px 1fr; }
  .show__day { font-size: 2.2rem; }
  .show__month { font-size: .8rem; }
  .part { font-size: 1rem; }
  .field-row { grid-template-columns: 1fr; }
  .btn--xl { width: 100%; }
  .hero__actions .btn--ghost { width: 100%; }
  .event { grid-template-columns: 1fr; }
  .event__date { border-right: 0; text-align: left; padding: 0; display: flex; gap: .4em; align-items: baseline; }
  .event__day { display: inline; font-size: 1.8rem; }
  .search__row { flex-direction: column; }
  .search__icon { top: 27px; }
  .dial__scale { height: 80px; }
  .dial__readout b { font-size: 1.6rem; }
  .brand img { width: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

@media print {
  .topbar, .site-header, .footer, .player, .hero .dial, .menu-mobile, .toast { display: none !important; }
  body { background: #fff; padding: 0; }
}

/* =================================================================== */
/*  Wersja 2: panorama Toronto, wiadomości, pogoda, kursy, animacje    */
/* =================================================================== */

/* ---------- Panorama z falami radiowymi z CN Tower ---------- */
.hero { background: #0b1640; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; padding-top: clamp(96px, 14vh, 180px); }
.pano { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.pano__move { position: absolute; inset: 0; container-type: size; transform-origin: 35.73% 4%; animation: kenburns 46s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.07); } }
.pano__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 35.73% 0%; animation: pano-in 1.6s ease-out both; }
@keyframes pano-in { from { opacity: 0; filter: saturate(.4) brightness(.6); } }
.waves { position: absolute; left: 35.73%; top: max(2.6cqw, 4.6cqh); width: 0; height: 0; }
.waves i {
  position: absolute; left: 0; top: 0; width: min(78cqw, 760px); aspect-ratio: 1; border-radius: 50%;
  border: 2px solid rgba(255, 214, 140, .85); box-shadow: 0 0 18px rgba(255, 196, 92, .35), inset 0 0 18px rgba(255, 196, 92, .2);
  translate: -50% -50%; transform: scale(.02); opacity: 0; animation: wave 7.2s cubic-bezier(.2, .6, .35, 1) infinite;
}
.waves i:nth-child(2) { animation-delay: 1.8s; }
.waves i:nth-child(3) { animation-delay: 3.6s; }
.waves i:nth-child(4) { animation-delay: 5.4s; }
@keyframes wave { 0% { transform: scale(.02); opacity: 0; } 8% { opacity: .95; } 100% { transform: scale(1); opacity: 0; } }
.beacon { position: absolute; left: 0; top: 0; width: 9px; height: 9px; translate: -50% -50%; border-radius: 50%; background: #ff3b4e; box-shadow: 0 0 12px 4px rgba(255, 59, 78, .75); animation: beacon 1.8s ease-in-out infinite; }
@keyframes beacon { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.is-live .waves i { border-color: rgba(255, 90, 105, .95); box-shadow: 0 0 22px rgba(255, 59, 78, .5); animation-duration: 4.2s; }
.is-live .waves i:nth-child(2) { animation-delay: 1.05s; }
.is-live .waves i:nth-child(3) { animation-delay: 2.1s; }
.is-live .waves i:nth-child(4) { animation-delay: 3.15s; }
.pano__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 22, 64, 0) 40%, rgba(11, 22, 64, .7) 74%, #0b1640 100%),
    linear-gradient(90deg, rgba(15, 29, 74, .05) 0%, rgba(15, 29, 74, .12) 36%, rgba(15, 29, 74, .72) 54%, rgba(15, 29, 74, .88) 100%);
}
.hero__in { width: 100%; }
.hero__copy { margin-left: 48%; max-width: 640px; }
.hero__title { font-size: clamp(3rem, 5.6vw, 5.6rem); margin-bottom: .22em; text-shadow: 0 2px 30px rgba(5, 11, 32, .45); }
.hero__lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); margin-bottom: 1.2em; }
.hero .status { margin-bottom: .8em; }
.hero__lead { color: #e4e9f8; text-shadow: 0 1px 12px rgba(5, 11, 32, .5); }
.hero__when { text-shadow: 0 1px 10px rgba(5, 11, 32, .6); }
.dial__glass { background: linear-gradient(180deg, rgba(5, 11, 32, .35), rgba(5, 11, 32, .75)); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-top-color: rgba(255,255,255,.16); }

/* Wejście: kolejne elementy pojawiają się po sobie */
.hero__copy > * { animation: rise .9s var(--ease-out) both; }
.hero__copy > :nth-child(1) { animation-delay: .25s; }
.hero__copy > :nth-child(2) { animation-delay: .38s; }
.hero__copy > :nth-child(3) { animation-delay: .52s; }
.hero__copy > :nth-child(4), .hero__copy > :nth-child(5) { animation-delay: .66s; }
.hero__copy > :nth-child(6) { animation-delay: .8s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

@media (max-width: 1000px) {
  .hero__copy { margin-left: 0; }
  .pano__shade { background: linear-gradient(180deg, rgba(15, 29, 74, .1) 0%, rgba(15, 29, 74, .55) 32%, rgba(11, 22, 64, .9) 62%, #0b1640 100%); }
}
@media (max-width: 600px) {
  .hero { padding-top: 190px; }
  .waves i { width: 120cqw; }
}

/* ---------- Pasek najnowszych wiadomości ---------- */
.ticker { position: relative; z-index: 2; display: flex; align-items: stretch; background: #0b1640; color: #fff; border-top: 1px solid rgba(255,255,255,.1); }
.ticker__label { flex: none; display: flex; align-items: center; gap: .5em; padding: 0 20px; background: var(--red); color: #fff; font-weight: 700; text-decoration: none; }
.ticker__label::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: beacon 1.8s ease-in-out infinite; }
.ticker__label:hover { background: var(--red-dk); color: #fff; }
.ticker__viewport { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent); }
.ticker__track { display: flex; width: max-content; animation: tick calc(var(--n, 8) * 7.5s) linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker__list { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker__list li { display: flex; align-items: center; }
.ticker__list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); flex: none; }
.ticker__list a { display: block; padding: 15px 26px; color: #fff; text-decoration: none; white-space: nowrap; font-weight: 700; }
.ticker__list a:hover { color: var(--amber-soft); text-decoration: underline; }
.ticker__list a span { color: var(--amber); font-weight: 400; font-size: .85em; margin-left: .4em; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Pogoda i kursy walut ---------- */
.today { background: linear-gradient(#0b1640 0 70px, var(--paper) 70px); padding: 18px 0 0; }
.today__grid { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 18px; align-items: stretch; }
.wcard, .rcard { background: #fff; border-radius: 20px; padding: 20px 22px 18px; border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(15, 29, 74, .13); }
.wcard { display: flex; flex-direction: column; }
.wcard__days { margin-top: auto !important; }
.wcard--toronto { border-top: 6px solid var(--red); }
.wcard--warszawa { border-top: 6px solid var(--cobalt); }
.rcard { border-top: 6px solid var(--amber); }
.wcard__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.wcard__city { font-size: 1.4rem; margin: 0; }
.wcard__clock { margin: 0; color: var(--muted); font-size: .92rem; }
.wcard__clock time { font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.wcard__now { display: flex; align-items: center; gap: 12px; margin: 10px 0 12px; }
.wcard__temp { font: 750 3.5rem/1 var(--display); font-stretch: 82%; color: var(--navy); margin: 0; letter-spacing: -.02em; }
.wcard__temp span { font-size: .42em; font-weight: 600; vertical-align: top; margin-left: 3px; color: var(--muted); }
.wcard__desc { min-width: 0; }
.wcard__text { font-weight: 700; margin: 0; line-height: 1.25; }
.wcard__more { margin: 2px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.35; }
.wcard__days { list-style: none; margin: 0; padding: 10px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; text-align: center; }
.wcard__days li { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .95rem; }
.wcard__dname { color: var(--muted); font-weight: 700; }
.wcard__range b { color: var(--navy); }
.rates { list-style: none; margin: 10px 0 12px; padding: 0; }
.rate { display: grid; grid-template-columns: 54px 1fr auto auto; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.rate__code { font: 750 1rem var(--display); background: var(--paper); border-radius: 6px; text-align: center; padding: 3px 0; color: var(--navy); }
.rate__name { color: var(--muted); font-size: .9rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rate__val { font: 700 1.2rem var(--display); color: var(--navy); font-variant-numeric: tabular-nums; }
.rate__chg { font-size: .84rem; min-width: 5.4em; text-align: right; font-variant-numeric: tabular-nums; }
.rate__chg--up { color: var(--ok); }
.rate__chg--down { color: var(--red-dk); }
.rate__chg--eq { color: var(--muted); }
.conv__label { margin-bottom: 4px; }
.conv__row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.conv__row input { width: 7.5em; min-height: 46px; padding: 8px 10px; flex: none; }
.conv__row select { width: auto; min-height: 46px; padding: 8px 10px; flex: none; }
.conv__swap { min-width: 46px; min-height: 46px; border-radius: 10px; border: 2px solid var(--line); background: #fff; font-size: 1.2rem; cursor: pointer; color: var(--navy); }
.conv__swap:hover { border-color: var(--cobalt); }
.conv__out { font: 750 1.25rem var(--display); color: var(--navy); flex-basis: 100%; }

/* Ikony pogody */
.wx { flex: none; overflow: visible; }
.wx--big { width: 78px; height: 78px; }
.wx--small { width: 36px; height: 36px; }
.wx--tiny { width: 24px; height: 24px; vertical-align: middle; margin: -4px 4px 0 0; }
.wx-sun circle { fill: #f5b942; }
.wx-rays line { stroke: #f5b942; stroke-width: 3.2; stroke-linecap: round; }
.wx-rays { transform-box: view-box; transform-origin: 32px 32px; animation: spin 22s linear infinite; }
.wx-moon { fill: #ffd98a; }
.wx-cloud { fill: #e3e9f7; stroke: #8f9dbf; stroke-width: 1.6; }
.wx-drift { animation: drift 5s ease-in-out infinite alternate; }
.wx-rain line { stroke: var(--cobalt); stroke-width: 2.6; stroke-linecap: round; animation: drop 1.15s linear infinite; }
.wx-rain line:nth-child(2) { animation-delay: .38s; }
.wx-rain line:nth-child(3) { animation-delay: .76s; }
.wx-snow circle { fill: #8fa6df; animation: flake 2.2s linear infinite; }
.wx-snow circle:nth-child(2) { animation-delay: .7s; }
.wx-snow circle:nth-child(3) { animation-delay: 1.4s; }
.wx-bolt { fill: #f5b942; animation: flash 2.6s infinite; }
.wx-fog line { stroke: #8f9dbf; stroke-width: 3; stroke-linecap: round; animation: drift 3.5s ease-in-out infinite alternate; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { from { transform: translateX(-2px); } to { transform: translateX(3px); } }
@keyframes drop { 0% { transform: translateY(-3px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(7px); opacity: 0; } }
@keyframes flake { 0% { transform: translateY(-4px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(7px); opacity: 0; } }
@keyframes flash { 0%, 70%, 100% { opacity: 1; } 75%, 85% { opacity: .2; } }
.topbar__wx { display: inline; }
.topbar b { color: #fff; }

/* ---------- Wiadomości z Polski ---------- */
.section--news { background: #fff; }
.ntabs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 20px; }
.ntab { min-height: 46px; padding: 8px 18px; border-radius: 999px; border: 2px solid var(--line); background: #fff; font: 700 1rem var(--body); color: var(--navy); cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.ntab:hover { border-color: var(--cobalt); }
.ntab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.ntabs__upd { margin-left: auto; color: var(--muted); font-size: .9rem; }
.news { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 28px; align-items: start; transition: opacity .2s; }
.news.is-swapping { opacity: 0; }
.nlead { display: flex; flex-direction: column; background: var(--paper); border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--ink); }
.nlead__img, .nitem__img, .ncard__img { display: block; overflow: hidden; background: linear-gradient(135deg, #dfe5f3, #eef1f8); }
.nlead__img { aspect-ratio: 16 / 9; }
.nlead img, .nitem img, .ncard img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.nlead:hover img, .nitem:hover img, .ncard:hover img { transform: scale(1.04); }
.nlead__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 22px 22px; }
.nlead__t { font: 750 1.6rem/1.15 var(--display); color: var(--navy); letter-spacing: -.01em; }
.nlead:hover .nlead__t, .nitem:hover .nitem__t, .ncard:hover .ncard__t { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.nlead__d { color: var(--muted); }
.nmeta { font-size: .88rem; color: var(--muted); }
.nmeta b { color: var(--red-dk); }
.nlist { list-style: none; margin: 0; padding: 0; }
.nitem { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); align-items: start; }
.nlist li:first-child .nitem { padding-top: 0; }
.nitem--noimg, .nitem:not(:has(.nitem__img)) { grid-template-columns: minmax(0, 1fr); }
.nitem__img { aspect-ratio: 4 / 3; border-radius: 12px; }
.nitem__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nitem__t { font: 700 1.1rem/1.25 var(--display); color: var(--navy); }
.news--page { display: block; margin-bottom: 8px; }
.news--page .nlead { display: grid; grid-template-columns: 1.2fr 1fr; }
.news--page .nlead__img { aspect-ratio: auto; min-height: 280px; }
.news--page .nlist { display: none; }
.ngrid { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ncard { display: flex; flex-direction: column; gap: 6px; height: 100%; padding-bottom: 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--ink); }
.ncard > span:not(.ncard__img) { padding: 0 18px; }
.ncard__img { aspect-ratio: 16 / 9; margin-bottom: 8px; }
.ncard__t { font: 700 1.15rem/1.25 var(--display); color: var(--navy); }
.ncard__d { color: var(--muted); font-size: .95rem; }

/* Piosenki na głównej */
.section--songs .section__head h2 { color: #fff; }

/* ---------- Odsłanianie przy przewijaniu ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .9s var(--ease-out); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
html.js [data-reveal] .shows > li, html.js [data-reveal] .nlist > li, html.js [data-reveal] .videos > li, html.js .today :is(.wcard, .rcard) { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .7s var(--ease-out); }
html.js [data-reveal].is-in .shows > li, html.js [data-reveal].is-in .nlist > li, html.js [data-reveal].is-in .videos > li, html.js .today.is-in :is(.wcard, .rcard) { opacity: 1; transform: none; }
html.js [data-reveal].is-in :is(.shows, .nlist, .videos) > li:nth-child(2), html.js .today.is-in .wcard--warszawa { transition-delay: .08s; }
html.js [data-reveal].is-in :is(.shows, .nlist, .videos) > li:nth-child(3), html.js .today.is-in .rcard { transition-delay: .16s; }
html.js [data-reveal].is-in :is(.shows, .nlist, .videos) > li:nth-child(4) { transition-delay: .24s; }
html.js [data-reveal].is-in :is(.shows, .nlist, .videos) > li:nth-child(n+5) { transition-delay: .3s; }

/* Responsywność nowych elementów */
@media (max-width: 1000px) {
  .today__grid { grid-template-columns: 1fr 1fr; }
  .rcard { grid-column: 1 / -1; }
  .news { grid-template-columns: 1fr; }
  .ngrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news--page .nlead { grid-template-columns: 1fr; }
  .news--page .nlead__img { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .today__grid { grid-template-columns: 1fr; }
  .ngrid { grid-template-columns: 1fr; }
  .nitem { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
  .nlead__t { font-size: 1.35rem; }
  .ntabs__upd { margin-left: 0; flex-basis: 100%; }
  .ticker__label { padding: 0 12px; }
  .rate { grid-template-columns: 50px 1fr auto; }
  .rate__chg { grid-column: 3; justify-self: end; margin-top: -6px; }
  .rate__name { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__viewport { overflow-x: auto; }
  .ticker__track { animation: none !important; }
  .ticker__list[aria-hidden="true"] { display: none; }
  .waves { display: none; }
  html.js [data-reveal], html.js [data-reveal] *, html.js .today :is(.wcard, .rcard) { opacity: 1 !important; transform: none !important; }
}
@media print {
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .ticker, .pano { display: none !important; }
}
.ncard:not(:has(.ncard__img)) { padding-top: 16px; }
