/* Wspólne, czytelne elementy wszystkich podstron. */
[hidden] { display: none !important; }
.reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1; transform: none; }
.skip-link { position: fixed; left: 1rem; top: -6rem; z-index: 10000; padding: .7rem 1rem; background: #fff; color: #03040a; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid #f0b400; outline-offset: 4px; }
.main-nav a[aria-current="page"] { color: #f0b400; }
.footer-mini { padding: 2rem 0; border-top: 1px solid var(--clr-border); background: #03040a; }
.footer-mini-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.4rem; }
.footer-mini-nav { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; font-size: .85rem; }
.footer-copy { color: var(--clr-muted); font-size: .8rem; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.8em; margin-top: 1rem; font-size: .9rem; line-height: 1.6; }
.form-status.success { color: #81e5b5; }
.form-status.error { color: #ffb3b3; }
.form-fallback { font-size: .85rem; margin-top: .8rem; color: var(--clr-muted); }
.payment-section { padding: 2rem; border: 1px solid rgba(240,180,0,.22); border-radius: 18px; background: rgba(240,180,0,.04); scroll-margin-top: 100px; }
.payment-section h2 { font-family: var(--font-heading); font-size: 1.8rem; margin: .3rem 0 .6rem; }
.payment-lead, .payment-note { color: var(--clr-muted); font-size: .95rem; line-height: 1.7; }
.payment-data { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: 1rem; margin: 1.5rem 0; }
.payment-data > div { padding: 1rem 1.2rem; background: rgba(255,255,255,.03); border: 1px solid var(--clr-border); border-radius: 12px; }
.payment-data dt { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--clr-muted); margin-bottom: .35rem; }
.payment-data dd { margin: 0; color: var(--clr-text); line-height: 1.6; overflow-wrap: anywhere; }
.payment-data .payment-account { color: #f0b400; font-size: 1.05rem; font-variant-numeric: tabular-nums; user-select: all; }
.payment-note strong { color: var(--clr-text); }
button:disabled { opacity: .65; cursor: wait; }
.home-event-list a { color: #f4f7fb; font-size: .9rem; line-height: 1.5; }
.home-event-list a:hover { color: #f0b400; }
.home-reference-issue img, .sidebar-issue img { object-fit: contain; height: auto; }
.sidebar-issue img { width: 80px; flex-shrink: 0; }
.issue-toc { max-width: 860px; margin: 2rem auto; list-style: none; padding: 0; }
.issue-toc li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1rem; border-bottom: 1px solid var(--clr-border); line-height: 1.6; }
.issue-toc .toc-page { color: #f0b400; font-variant-numeric: tabular-nums; }
.issue-toc .toc-author { display: block; font-size: .86rem; color: var(--clr-muted); }
.issue-intro { max-width: 860px; margin: 0 auto; line-height: 1.8; }
.issue-source { color: var(--clr-muted); font-size: .82rem; }
.blog-card-img img { width: 100%; height: 100%; object-fit: contain; }
.blog-featured-img img { width: 100%; height: 100%; max-height: 480px; object-fit: contain; }
.archive-cover img { height: 100%; width: 100%; object-fit: contain; }
.gal-img > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-img { display: block; padding: 0; border: 0; background: #070a18; }
.gal-like { margin-top: .7rem; }
.gal-meta { flex-wrap: wrap; }
.gal-lightbox:not([open]) { display: none; }
.gal-lightbox[open] { display: block; position: fixed; inset: 0; width: min(900px, 94vw); height: fit-content; max-height: 92vh; padding: 1rem; margin: auto; background: #070a18; color: #f4f7fb; border: 1px solid #394665; border-radius: 12px; overflow: auto; }
.gal-lightbox::backdrop { background: rgba(0,0,0,.85); }
.gal-lightbox-content { position: static; transform: none; width: auto; max-width: none; }
.gal-lightbox img { display: block; max-height: 70vh; max-width: 100%; margin: auto; object-fit: contain; }
.gal-lightbox figcaption { margin-top: 1rem; line-height: 1.6; }
.gal-lightbox-close { position: absolute; top: .5rem; right: .5rem; z-index: 1; }
.next-event-date { margin-top: .8rem; color: #f4f7fb; line-height: 1.7; }
.free-issue-list { margin: 1.5rem 0; padding-left: 1.4rem; line-height: 1.9; }
.home-featured-issue { scroll-margin-top: 100px; }
.home-community-card { grid-column: span 2; }
.readable-home .home-sky-card { background: linear-gradient(135deg, rgba(7,10,24,.76), rgba(7,10,24,.94)), url('../img/cards/orion.webp') center / cover; }
.readable-home .home-community-card { background: linear-gradient(135deg, rgba(7,10,24,.72), rgba(7,10,24,.94)), url('../img/cards/iss.webp') center / cover; }
.readable-home .story-black-hole { background: linear-gradient(135deg, rgba(7,10,24,.4), rgba(7,10,24,.95)), url('../img/cards/andromeda.webp') center / cover; }
.readable-home .story-moon { background: linear-gradient(135deg, rgba(7,10,24,.45), rgba(7,10,24,.95)), url('../img/cards/moon.webp') center / cover; }
.readable-home .story-telescope { background: linear-gradient(135deg, rgba(7,10,24,.4), rgba(7,10,24,.95)), url('../img/cards/orion.webp') center / cover; }
.readable-home .story-galaxy { background: linear-gradient(135deg, rgba(7,10,24,.45), rgba(7,10,24,.95)), url('../img/cards/pillars.webp') center / cover; }
.btn-ghost { color: #c7bcff; border-color: #786ab2; }
/* v2: elementy wstawiane przez site2026/render.php (opis numeru z bazy, pager, blog w bocznym panelu) */
.issue-editorial-body { margin: .4rem 0 1.4rem; }
.issue-editorial-body p { color: #c2c9e0; font-size: .95rem; line-height: 1.75; margin-bottom: .9rem; }
.issue-editorial-body p:last-child { margin-bottom: 0; }
.issue-editorial-body strong { color: var(--clr-text); }
.issue-lead { color: #c2c9e0; font-size: 1rem; line-height: 1.75; max-width: 62ch; }
.issue-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.2rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--clr-border); }
.issue-pager a { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1rem; border: 1px solid #394665; border-radius: 999px; color: #c7bcff; font-size: .92rem; }
.issue-pager a:hover { border-color: var(--clr-accent); color: #fff; }
.issue-pager a[rel="next"] { margin-left: auto; }
.issue-pager .issue-pager-all { color: var(--clr-accent-2); border-color: rgba(0,212,255,.35); }
.sidebar-widget h2 { font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--clr-muted); margin-bottom: 1.1rem; }
.sidebar-posts { display: flex; flex-direction: column; gap: .9rem; margin-bottom: 1.2rem; }
.sidebar-posts li { display: flex; flex-direction: column; gap: .15rem; }
.sidebar-posts a { color: var(--clr-text); font-family: var(--font-heading); font-size: 1rem; line-height: 1.35; }
.sidebar-posts a:hover { color: var(--clr-accent-2); }
.sidebar-posts time { color: #8f99b8; font-size: .78rem; }
@media (min-width: 901px) and (max-width: 1100px) { .header-inner { gap: 1.2rem; } .main-nav a { padding: .45em .6em; font-size: .9rem; } }
@media (max-width: 1120px) { .home-community-card { grid-column: auto; } }
@media (max-width: 900px) { .payment-section { padding: 1.4rem; } .payment-data { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .readable-home .home-reference-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .readable-home .home-reference-actions a { min-height: 64px; }
}
/* v4: strona numeru, okladka i strona ze spisem tresci obok siebie (render.php) + powiekszenie (numer.js) */
.issue-showcase { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: stretch; }
.issue-showcase .blog-featured-img { height: auto; min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; align-content: center; gap: 1.2rem; padding: 1.8rem; background: radial-gradient(ellipse at 30% 15%, rgba(124,92,252,.18), transparent 65%), rgba(3,4,10,.5); border-right: 1px solid var(--clr-border); }
.issue-showcase .issue-pages-single { grid-template-columns: minmax(0, 340px); justify-content: center; }
.issue-page { margin: 0; display: flex; flex-direction: column; gap: .6rem; }
.issue-page-link { display: block; border-radius: 6px; overflow: hidden; background: #070a18; box-shadow: 0 14px 34px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08); transition: transform .25s, box-shadow .25s; cursor: zoom-in; }
.issue-page-link:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.6), 0 0 0 1px rgba(124,92,252,.6); }
.issue-showcase .issue-page img { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; }
.issue-page figcaption { text-align: center; color: var(--clr-muted); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; }
.issue-showcase .blog-featured-body { justify-content: flex-start; padding: 2rem 2.2rem; }
.issue-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .4rem; }
html:has(.issue-zoom[open]) { overflow: hidden; }
.issue-zoom:not([open]) { display: none; }
.issue-zoom[open] { display: flex; flex-direction: column; position: fixed; inset: 0; width: min(1240px, 96vw); max-width: 96vw; height: 94vh; height: 94dvh; max-height: 94dvh; margin: auto; padding: 0; background: #070a18; color: #f4f7fb; border: 1px solid #394665; border-radius: 12px; overflow: hidden; }
.issue-zoom::backdrop { background: rgba(0,0,0,.88); }
.issue-zoom-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .4rem 1rem; padding: .4rem .5rem .4rem 1.1rem; border-bottom: 1px solid #394665; }
.issue-zoom-title { margin: 0; font-size: .9rem; color: #c2c9e0; }
.issue-zoom-tools { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem; }
.issue-zoom-tools button, .issue-zoom-tools a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 .8rem; border: 1px solid transparent; border-radius: 8px; background: none; color: #c7bcff; font: inherit; font-size: .88rem; cursor: pointer; }
.issue-zoom-tools button:hover, .issue-zoom-tools a:hover { border-color: #394665; color: #fff; }
.issue-zoom-tools .issue-zoom-close, .issue-zoom-tools .issue-zoom-prev, .issue-zoom-tools .issue-zoom-next { font-size: 1.6rem; line-height: 1; }
.issue-zoom-view { flex: 1; min-height: 0; overflow: auto; display: grid; place-items: center; padding: .8rem; }
.issue-zoom-view img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(94dvh - 5.5rem); cursor: zoom-in; }
.issue-zoom-view.is-full { place-items: start center; padding: 0; }
.issue-zoom-view.is-full img { width: auto; max-width: none; max-height: none; cursor: zoom-out; }
@media (max-width: 900px) {
  .issue-showcase { grid-template-columns: 1fr; }
  .issue-showcase .blog-featured-img { border-right: 0; border-bottom: 1px solid var(--clr-border); padding: 1.2rem; gap: .9rem; }
  .issue-showcase .issue-pages-single { grid-template-columns: minmax(0, 260px); }
  .issue-showcase .blog-featured-body { padding: 1.5rem 1.3rem; }
}
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav { display: none; position: fixed; top: 72px; left: 0; right: 0; max-height: calc(100dvh - 72px); overflow-y: auto; padding: 1rem 1.5rem; background: rgba(3,4,10,.98); border-bottom: 1px solid #394665; }
  .main-nav.open { display: block; }
  .main-nav ul { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { display: block; padding: .8rem .5rem; font-size: 1rem; }
  .main-nav a::before { display: none; }
}
@media (max-width: 480px) {
  .issue-pager { justify-content: center; }
  .issue-pager a[rel="next"] { margin-left: 0; }
  .home-primary-actions, .home-issue-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
  .btn-primary, .btn-ghost, .btn-outline { white-space: normal; text-align: center; }
  .issue-toc li { grid-template-columns: 2rem 1fr; gap: .6rem; padding: .8rem 0; }
  .footer-mini-inner { flex-direction: column; align-items: flex-start; }
  .gal-meta { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1; transform: none; }
}
/* v6: uwagi Gemini i GPT (07.10): stopka w kolumnach, przyciski o kontrascie 6,5:1, wieksze opisy kart, wezsze akapity */
.footer-mini-inner:has(> .footer-cols) { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(0, 4fr); grid-template-areas: "logo cols" "copy cols"; align-items: start; gap: 1rem 3rem; text-align: left; }
.footer-mini-inner:has(> .footer-cols) > .logo { grid-area: logo; }
.footer-mini-inner:has(> .footer-cols) > .footer-copy { grid-area: copy; align-self: end; }
.footer-cols { grid-area: cols; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem 2rem; text-align: left; font-size: inherit; }
.footer-col-title { margin: 0 0 .8rem; font-family: var(--font-body); font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8f99b8; }
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.footer-col a { color: #c2c9e0; font-size: .95rem; line-height: 1.4; }
.footer-col a:hover { color: #f0b400; }
.btn-primary, .main-nav .nav-cta { background: #5b3fe0; color: #fff; }
.btn-primary:hover, .main-nav .nav-cta:hover { background: #6a4ff0; }
.btn-primary, .btn-outline, .btn-ghost, .btn-sm { font-size: 1rem; }
@media (min-width: 1101px) { .main-nav a { font-size: .95rem; } }
/* etykiety i opisy pomocnicze: min. ok. 12,5 px przy rdzeniu 15 px (raport GPT) */
.section-eyebrow { font-size: .82rem; }
.readable-home .home-label, .readable-home .home-reference-issue .home-label { font-size: .85rem; }
.readable-home .home-section-line a { font-size: .9rem; }
.readable-home .home-dashboard-card p { font-size: 1rem; }
.readable-home .home-article-meta { font-size: .85rem; }
.readable-home .home-article-meta span { font-size: .8rem; }
.readable-home .home-article-grid .home-article-time { font-size: .85rem; }
.readable-home .home-reference-actions a span { font-size: .9rem; }
.readable-home .home-event-list time { font-size: .85rem; }
.readable-home .home-dashboard-card > a { margin-top: .9rem; }
.readable-home .home-reference-issue .home-issue-actions { margin-top: 1rem; }
.issue-toc .toc-author { font-size: .9rem; }
.issue-source { font-size: .86rem; }
.footer-copy { font-size: .85rem; }
.readable-home .home-story-card span { font-size: .85rem; }
.readable-home .home-story-card h3 { font-size: 1.2rem; line-height: 1.3; }
.readable-home .home-story-card p { font-size: 1rem; line-height: 1.5; color: rgba(232,234,246,.86); }
.readable-home .home-story-row { gap: 1.1rem; }
.readable-home .home-dashboard-grid { gap: 1.25rem; }
.readable-home .home-dashboard-card { padding: 1.4rem; }
.readable-home .story-archive { background: linear-gradient(135deg, rgba(7,10,24,.5), rgba(7,10,24,.95)), url('../img/cards/archiwum.webp') center / cover; }
.readable-home .story-messier { background: linear-gradient(135deg, rgba(7,10,24,.4), rgba(7,10,24,.95)), url('../img/cards/m51.webp') center / cover; }
.issue-more-links { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1rem; font-size: .95rem; }
.issue-more-links a { color: #c7bcff; text-decoration: underline; text-underline-offset: 3px; }
.issue-more-links a:hover { color: #f0b400; }
.about-mission-content > p, .bortle-description { max-width: 64ch; }
.issue-source, .post-note { max-width: 66ch; }
@media (max-width: 900px) {
  .footer-mini-inner:has(> .footer-cols) { grid-template-columns: 1fr; grid-template-areas: "logo" "cols" "copy"; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .footer-col a { display: inline-block; padding: .35rem 0; font-size: 1rem; }
  .footer-col ul { gap: .1rem; }
}
body.page-hidden *, body.page-hidden *::before, body.page-hidden *::after { animation-play-state: paused !important; }

/* Pasek Naukowej Przystani: waski, na cala szerokosc kontenera, nad stopka kazdej podstrony i na glownej, link w nowej karcie (07.10) */
.np-strip {
  padding: 1.6rem 0 1.4rem;
}

.np-strip-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 3.6rem;
  padding: 0.55rem 1.1rem;
  color: #ece9e1;
  text-decoration: none;
  background: linear-gradient(100deg, #0d0b1f 0%, #141228 62%, rgba(240, 180, 0, 0.16) 100%);
  border: 1px solid rgba(240, 180, 0, 0.32);
  border-left: 3px solid #f0b400;
  border-radius: 10px;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.np-strip-link:hover {
  border-color: rgba(240, 180, 0, 0.7);
  box-shadow: 0 10px 34px rgba(240, 180, 0, 0.12);
  transform: translateY(-1px);
}

.np-strip-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.np-strip-logo {
  flex: 0 0 auto;
  width: auto;
  height: 36px;
}

.np-strip-text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  font-size: 0.92rem;
  line-height: 1.35;
  color: #b1aec5;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.np-strip-text strong {
  color: #fff;
  font-weight: 700;
}

.np-strip-kicker {
  margin-right: 0.6rem;
  padding: 0.12rem 0.45rem;
  color: #0d0b1f;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: #f0b400;
  border-radius: 4px;
  vertical-align: 0.12em;
}

.np-strip-cta {
  flex: 0 0 auto;
  color: #f0b400;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

.np-strip-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 760px) {
  .np-strip-more,
  .np-strip-kicker {
    display: none;
  }

  .np-strip-link {
    gap: 0.75rem;
    padding: 0.5rem 0.85rem;
  }

  .np-strip-logo {
    height: 30px;
  }

  .np-strip-text {
    white-space: normal;
  }

  .np-strip-cta {
    font-size: 0;
  }

  .np-strip-cta span[aria-hidden] {
    font-size: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .np-strip-link,
  .np-strip-link:hover {
    transition: none;
    transform: none;
  }
}

/* Logo Astronomii zamiast napisu: w naglowku sam znak, w stopce z haslem (07.10) */
.logo-img {
  display: block;
  width: auto;
  height: 40px;
  filter: drop-shadow(0 0 10px rgba(124, 92, 252, 0.35));
  transition: filter 0.25s ease;
}
.logo-img--haslo { height: 60px; }
.logo:hover .logo-img,
.logo:focus-visible .logo-img { filter: drop-shadow(0 0 14px rgba(124, 92, 252, 0.75)); }
@media (max-width: 900px) {
  .logo-img { height: 34px; }
  .logo-img--haslo { height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-img { transition: none; }
}
/* 26.10.2026: karty "Z redakcji i dla obserwatorow" ze zdjeciem u gory i tekstem pod spodem, bez dzielenia wyrazow. */
.readable-home .home-story-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.readable-home .home-story-card { --story-accent: #00d4ff; position: relative; min-height: 0; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(7,10,24,.86); transition: border-color .3s, transform .3s, box-shadow .3s; }
.readable-home .home-story-card a { display: flex; flex-direction: column; justify-content: flex-start; min-height: 100%; padding: 0; background: none; color: inherit; }
.readable-home .home-story-visual { display: block; aspect-ratio: 16 / 10; margin: 0; background: #070a18 center / cover no-repeat; transition: transform .6s ease; }
.readable-home .home-story-card:hover { border-color: color-mix(in srgb, var(--story-accent) 55%, transparent); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.readable-home .home-story-card:hover .home-story-visual { transform: scale(1.05); }
.readable-home .home-story-card:has(:focus-visible) { outline: 3px solid #f0b400; outline-offset: 3px; }
.readable-home .home-story-card :focus-visible { outline: none; }
.readable-home .home-story-body { position: relative; display: flex; flex: 1; flex-direction: column; gap: .45rem; margin: 0; padding: 1rem 1.15rem 1.15rem; background: linear-gradient(180deg, rgba(7,10,24,.6), rgba(7,10,24,.96) 2.5rem); color: inherit; font-size: inherit; letter-spacing: normal; text-transform: none; font-weight: inherit; }
.readable-home .home-story-card .home-story-kicker { margin: 0; color: var(--story-accent); font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.readable-home .home-story-card h3 { margin: 0; color: #fff; font-size: 1.2rem; line-height: 1.3; }
.readable-home .home-story-card p { margin: 0; color: rgba(232,234,246,.82); font-size: .98rem; line-height: 1.5; hyphens: manual; }
.readable-home .home-story-card .home-story-more { margin: auto 0 0; padding-top: .5rem; color: var(--story-accent); font-size: .9rem; font-weight: 800; letter-spacing: normal; text-transform: none; }
.readable-home .story-archive, .readable-home .story-moon, .readable-home .story-messier, .readable-home .story-galaxy { background: rgba(7,10,24,.86); }
.readable-home .story-archive { --story-accent: #f0b400; }
.readable-home .story-moon { --story-accent: #9ee8ff; }
.readable-home .story-messier { --story-accent: #b9a6ff; }
.readable-home .story-galaxy { --story-accent: #ff8fb8; }
.readable-home .story-archive .home-story-visual { background-image: url('../img/cards/archiwum.webp'); background-position: left center; }
.readable-home .story-moon .home-story-visual { background-image: url('../img/cards/moon.webp'); }
.readable-home .story-messier .home-story-visual { background-image: url('../img/cards/m51.webp'); }
.readable-home .story-galaxy .home-story-visual { background-image: url('../img/cards/pillars.webp'); }
@media (max-width: 1100px) { .readable-home .home-story-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .readable-home .home-story-row { grid-template-columns: 1fr; }
  .readable-home .home-story-card a { flex-direction: row; min-height: 0; }
  .readable-home .home-story-visual { flex: 0 0 34%; aspect-ratio: auto; min-height: 128px; }
  .readable-home .home-story-body { padding: .85rem 1rem; background: rgba(7,10,24,.96); }
  .readable-home .home-story-card p { font-size: .92rem; }
}
@media (prefers-reduced-motion: reduce) {
  .readable-home .home-story-card, .readable-home .home-story-visual { transition: none; }
  .readable-home .home-story-card:hover, .readable-home .home-story-card:hover .home-story-visual { transform: none; }
}

/* Dziś na niebie (niebo-dzis.js): skrót na stronie głównej i pełny plan nocy w niebo.html#dzis */
.sky-today { display: flex; flex-direction: column; gap: .55rem; font-size: .95rem; line-height: 1.5; }
.sky-today p { margin: 0; }
.sky-today-date { color: var(--clr-muted, #8892b0); font-size: .85rem; }
.sky-today-date::first-letter { text-transform: uppercase; }
.sky-today-night strong { color: #fff; }
.sky-today-moon { display: flex; align-items: center; gap: .7rem; }
.sky-today-moon span { color: var(--clr-muted, #8892b0); font-size: .88rem; }
.sky-today .moon-phase-icon { width: 34px; height: 34px; flex: none; }
.moon-phase-icon .moon-dark { fill: #1a1f3a; stroke: rgba(255,255,255,.35); stroke-width: .8; }
.moon-phase-icon .moon-lit { fill: #f3ecd2; }
.sky-today-sub { margin: .35rem 0 0; color: #9ee8ff; font-family: inherit; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.sky-today-planets, .sky-today-events, .iss-pass-list { margin: 0; padding: 0; list-style: none; display: grid; gap: .35rem; }
.sky-today-planets li, .sky-today-events li { display: flex; flex-wrap: wrap; gap: .1rem .45rem; }
.sky-today-planets strong { color: #f0b400; }
.sky-today-planets em { color: var(--clr-muted, #8892b0); font-style: normal; }
.sky-today-events time { color: #f0b400; font-weight: 700; white-space: nowrap; }
.sky-today-empty, .sky-today-note { color: var(--clr-muted, #8892b0); font-size: .85rem; }
.sky-today .btn-ghost { align-self: flex-start; margin-top: .3rem; }
.sky-today-advice { padding: .6rem .8rem; border-left: 3px solid #7c5cfc; background: rgba(124,92,252,.1); border-radius: 0 6px 6px 0; }
.sky-panels { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.2rem; align-items: start; }
.sky-panels-side { display: grid; gap: 1.2rem; }
.sky-panel { padding: 1.2rem 1.3rem; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; background: rgba(7,10,24,.74); }
.sky-panel > h3 { margin: 0 0 .7rem; color: #fff; font-size: 1.15rem; }
.sky-panel > p, .sky-panel .sky-today-note { margin: .4rem 0 0; }
.kp-now { font-size: 1.05rem; }
.kp-now.is-low strong { color: #8be28b; }
.kp-now.is-some strong { color: #f0b400; }
.kp-now.is-good strong, .kp-now.is-high strong { color: #ff7a8a; }
.kp-bars { display: flex; align-items: flex-end; gap: 3px; height: 64px; margin-top: .8rem; padding-bottom: 2px; border-bottom: 1px solid rgba(255,255,255,.2); }
.kp-bar { flex: 1; height: calc(var(--kp) * 100%); min-height: 3px; border-radius: 2px 2px 0 0; background: #4f9f6a; }
.kp-bar.is-mid { background: #c9b44a; }
.kp-bar.is-some { background: #f08a24; }
.kp-bar.is-high { background: #e0475b; }
.iss-pass-list li { display: flex; flex-direction: column; padding: .5rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.iss-pass-list li:last-child { border-bottom: 0; }
.iss-pass-list strong { color: #fff; }
.iss-pass-list strong::first-letter { text-transform: uppercase; }
.iss-pass-list span { color: rgba(232,234,246,.82); font-size: .9rem; }
.sky-today .sr-only, .sky-panel .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 820px) { .sky-panels { grid-template-columns: 1fr; } }
/* RSS przy liście artykułów */
.rss-link { display: inline-flex; align-items: center; gap: .3rem; }
.rss-link svg { width: 14px; height: 14px; fill: #f08a24; }
/* Słownik pojęć (slownik.html, generator blog_src/slownik.py) */
.glossary { max-width: 860px; }
.glossary-letters { display: flex; flex-wrap: wrap; gap: .2rem; margin: 0 0 2rem; position: sticky; top: 72px; z-index: 5; padding: .6rem; background: rgba(7,10,24,.9); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; backdrop-filter: blur(6px); }
.glossary-letters a { min-width: 1.95rem; min-height: 2.2rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; color: var(--clr-text,#e6e9f5); text-decoration: none; font-weight: 600; }
.glossary-letters a:hover, .glossary-letters a:focus-visible { background: rgba(158,232,255,.14); color: #9ee8ff; }
.glossary-group { margin: 0 0 2rem; scroll-margin-top: 170px; }
.glossary-letter { font-family: var(--font-heading, inherit); color: #9ee8ff; font-size: 1.6rem; margin: 0 0 .6rem; padding-bottom: .3rem; border-bottom: 1px solid rgba(255,255,255,.1); scroll-margin-top: 170px; }
.glossary-list { margin: 0; }
.glossary-item { padding: .9rem 1rem; margin: 0 0 .6rem; background: rgba(7,10,24,.74); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; scroll-margin-top: 170px; }
.glossary-item:target { border-color: #9ee8ff; box-shadow: 0 0 0 2px rgba(158,232,255,.25); }
.glossary-item dt { font-weight: 700; font-size: 1.08rem; margin: 0 0 .3rem; }
.glossary-anchor { color: var(--clr-text,#e6e9f5); text-decoration: none; }
.glossary-anchor:hover { color: #9ee8ff; text-decoration: underline; }
.glossary-item dd { margin: 0; color: var(--clr-muted,#8892b0); line-height: 1.6; }
.glossary-link { display: inline-block; margin-left: .25rem; color: #9ee8ff; white-space: nowrap; }
.glossary-link::before { content: "→ "; }
.glossary-more { margin-top: 2rem; color: var(--clr-muted,#8892b0); }
@media (max-width: 600px) { .glossary-letters { top: 60px; gap: .2rem; padding: .4rem; } .glossary-letters a { min-width: 2rem; min-height: 2rem; font-size: .9rem; } }

/* Najczęściej czytane i Wybór redakcji (blog_src/polecane.py) */
.home-picks-section { padding: 1.6rem 0 .8rem; background: #02040b; }
.home-picks { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 1.6rem; }
.home-picks-note { color: rgba(255, 255, 255, .6); font-size: .8rem; }
.home-picks ol, .home-picks ul { margin: 0; padding: 0; list-style: none; }
.home-picks a { color: inherit; text-decoration: none; }
.home-picks-title { display: block; color: #fff; font-weight: 700; line-height: 1.3; }
.home-picks-meta { display: block; color: rgba(158, 232, 255, .8); font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.home-picks-top { counter-reset: picks; }
.home-picks-top li { counter-increment: picks; border-top: 1px solid rgba(255, 255, 255, .1); }
.home-picks-top li:first-child { border-top: 0; }
.home-picks-top a { display: grid; grid-template-columns: 2.2rem 1fr; column-gap: .6rem; padding: .62rem 0; }
.home-picks-top a::before { content: counter(picks); grid-row: span 2; color: rgba(158, 232, 255, .55); font-family: var(--font-heading); font-size: 1.6rem; font-weight: 800; line-height: 1; }
.home-picks-top .home-picks-meta { margin-top: .2rem; }
.home-picks-editor { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.home-picks-editor a { display: flex; flex-direction: column; height: 100%; border: 1px solid rgba(255, 255, 255, .1); border-radius: 8px; overflow: hidden; background: rgba(7, 10, 24, .78); }
.home-picks-editor img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.home-picks-editor a > span { display: block; padding: .6rem .7rem .75rem; }
.home-picks-editor .home-picks-meta { margin-bottom: .25rem; }
.home-picks a:hover .home-picks-title, .home-picks a:focus-visible .home-picks-title { color: #9ee8ff; text-decoration: underline; }
.home-picks a:focus-visible { outline: 2px solid #9ee8ff; outline-offset: 2px; }
@media (max-width: 860px) { .home-picks { grid-template-columns: 1fr; gap: 1.2rem; } }
@media (max-width: 420px) { .home-picks-editor { gap: .55rem; } .home-picks-editor .home-picks-title { font-size: .92rem; } }

/* 01.11.2026: stopka z kolumna Sledz nas = 5 kolumn na desktopie */
@media (min-width: 901px) { .footer-cols:has(> .footer-col:nth-child(5)) { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
