/* English Comic Books – wspólny styl całej witryny */
:root {
  --navy: #1f2a44;
  --blue: #286e96;
  --yellow: #ffd65a;
  --cream: #fff9e8;
  --sky: #d6e8f6;
  --red: #c0392b;
  --green: #4c8c4a;
  --ink: #1f2a44;
  --grey: #5f6b80;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Nunito", "Trebuchet MS", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.55;
}
a { color: var(--blue); }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 16px; }

/* nagłówek */
.site-header { background: #fff; border-bottom: 4px solid var(--yellow); }
.site-header .wrap { display: flex; align-items: center; gap: 14px; padding-top: 10px; padding-bottom: 10px; }
.site-header img { width: 92px; }
.site-header a { text-decoration: none; color: var(--navy); font-weight: 800; font-size: 20px; }
.crumbs { font-size: 15px; color: var(--grey); margin: 14px 0 0; }
.crumbs a { color: var(--grey); }

h1, h2, h3 { font-family: "Baloo 2", "Nunito", system-ui, sans-serif; line-height: 1.2; margin: 0 0 .4em; }
h1 { font-size: clamp(30px, 6vw, 46px); color: var(--navy); }
h2 { font-size: clamp(24px, 4.5vw, 32px); color: var(--navy); margin-top: 1.4em; }
h3 { font-size: 21px; }

/* sekcje / karty */
.hero { padding: 28px 0 8px; }
.lead { font-size: 20px; color: var(--grey); max-width: 680px; }
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 3px 0 rgba(31, 42, 68, .12), 0 8px 24px rgba(31, 42, 68, .08);
  padding: 20px;
}
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.pill {
  display: inline-block; background: var(--blue); color: #fff; border-radius: 999px;
  padding: 3px 14px; font-size: 14px; font-weight: 700;
}
.pill.soon { background: #e8ecf3; color: var(--grey); }
.pill.yellow { background: var(--yellow); color: var(--navy); }

/* seria */
.series-card { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: center; }
@media (min-width: 720px) { .series-card { grid-template-columns: 240px 1fr; } }
.characters { display: flex; justify-content: center; align-items: flex-end; gap: 6px; margin: 10px 0 0; }
.characters img { width: 30%; max-width: 150px; }

/* odcinek */
.episode-top { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: start; }
@media (min-width: 760px) { .episode-top { grid-template-columns: 300px 1fr; } }
.cover { border-radius: 10px; box-shadow: 0 8px 24px rgba(31, 42, 68, .25); }
/* telefon (wejście z kodu QR): mała okładka obok tytułu, odtwarzacz od razu widoczny */
@media (max-width: 759px) {
  .episode-top > .cover { width: 120px; float: left; margin: 0 16px 8px 0; }
  .episode-top { display: block; }
  .episode-top .lead { font-size: 17px; }
  .episode-top .player { clear: both; }
}

/* odtwarzacz */
.player { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 18px; }
.player h2 { color: #fff; margin: 0 0 6px; font-size: 24px; }
.player p { margin: 0 0 12px; color: #d9e2f1; font-size: 16px; }
.player audio { width: 100%; }
.now { font-weight: 800; color: var(--yellow); margin: 10px 0 0; min-height: 1.4em; }
.tracks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px;
          grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
.tracks button {
  width: 100%; border: 0; border-radius: 12px; padding: 12px 8px; cursor: pointer;
  background: #2f3d60; color: #fff; font: inherit; font-weight: 700; font-size: 16px;
}
.tracks button:hover, .tracks button:focus-visible { background: var(--blue); outline: none; }
.tracks button.active { background: var(--yellow); color: var(--navy); }
.tracks .note { grid-column: 1 / -1; font-size: 14px; color: #c8d3e6; }
.btn {
  display: inline-block; background: var(--yellow); color: var(--navy); border: 0; border-radius: 999px;
  padding: 10px 20px; font: inherit; font-weight: 800; cursor: pointer; text-decoration: none;
}

/* języki */
.langs { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px;
         grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.langs li { background: #fff; border-radius: 12px; padding: 10px 14px; display: flex;
            justify-content: space-between; align-items: center; gap: 8px; }

.tips { padding-left: 1.1em; }
.tips li { margin-bottom: 6px; }

footer { margin-top: 48px; padding: 24px 0 36px; color: var(--grey); font-size: 14px; border-top: 1px solid #eadfbf; }
