/* Motyw strony: Frutiger Aero, układ jak na Bloggerze */
:root { --akcent: #0a84ff; --tekst: #0b2a45; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  font-family: var(--font, 'Segoe UI'), 'Segoe UI', Tahoma, Arial, sans-serif;
  color: var(--tekst);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--akcent); }

/* ---------- scena w tle ---------- */
.scena { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.scena .slonce {
  position: absolute; top: -22vmax; left: 62%; width: 70vmax; height: 70vmax; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255,255,255,.9) 0%, rgba(255,255,255,.35) 22%, rgba(255,255,255,0) 58%);
}
.scena .promienie {
  position: absolute; top: -40%; left: 62%; width: 200vmax; height: 200vmax; transform: translateX(-50%);
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255,255,255,.09) 0deg 5deg, rgba(255,255,255,0) 5deg 15deg);
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 45%); mask-image: radial-gradient(circle, #000 0%, transparent 45%);
  animation: obrot 160s linear infinite;
}
@keyframes obrot { to { transform: translateX(-50%) rotate(360deg); } }
.scena .wzgorza { position: absolute; left: 0; bottom: 0; width: 100%; height: 30vh; min-height: 160px; }
.babel {
  position: absolute; bottom: -140px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.95) 0 8%, rgba(255,255,255,.25) 22%, rgba(140,215,255,.12) 55%, rgba(255,255,255,.55) 100%);
  box-shadow: inset 0 0 14px rgba(255,255,255,.55), 0 0 10px rgba(255,255,255,.25);
  animation: babel linear infinite;
}
@keyframes babel {
  0% { transform: translate(0, 0); }
  50% { transform: translate(28px, -62vh); }
  100% { transform: translate(-12px, -130vh); }
}
@media (prefers-reduced-motion: reduce) { .babel, .scena .promienie { animation: none; } }

/* ---------- układ ---------- */
.kontener { max-width: 1180px; margin: 0 auto; padding: 26px 16px 70px; }
.szklo {
  background: linear-gradient(180deg, rgba(255,255,255,.74), rgba(255,255,255,.44));
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,50,100,.18), inset 0 1px 0 rgba(255,255,255,.95);
  -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
}

.naglowek { position: relative; overflow: hidden; padding: 38px 36px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(120,210,255,.55), rgba(20,130,220,.35)); }
.naglowek::before { /* połysk na górnej połowie */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 52%;
  background: linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,.12)); border-radius: 22px 22px 60% 60% / 22px 22px 30px 30px;
  pointer-events: none;
}
.naglowek-tekst { position: relative; }
.blog-tytul { margin: 0; font-size: clamp(34px, 5.5vw, 60px); line-height: 1.05; letter-spacing: -.5px; }
.blog-tytul a { color: #fff; text-decoration: none;
  text-shadow: 0 2px 0 rgba(0,60,130,.35), 0 0 26px rgba(0,150,255,.8), 0 0 2px rgba(0,60,130,.5); }
.blog-opis { margin: 10px 0 0; font-size: 18px; color: #fff; text-shadow: 0 1px 3px rgba(0,50,110,.6); }

.menu { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 4px 0; }
.pigulka, .przycisk {
  display: inline-block; padding: 7px 18px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 600;
  color: #fff; text-decoration: none; cursor: pointer; border: 1px solid #0c6fbf;
  background: linear-gradient(180deg, #a6e9ff 0%, #3cb2f5 48%, #1386e0 52%, #3fbaff 100%);
  text-shadow: 0 1px 1px rgba(0,50,110,.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 3px 8px rgba(0,60,130,.25);
  transition: filter .15s;
}
.pigulka:hover, .przycisk:hover { filter: brightness(1.08) saturate(1.1); }
.przycisk.zielony { border-color: #2f8f1f; background: linear-gradient(180deg, #d4ffaa 0%, #7ed957 48%, #43b02a 52%, #7be35a 100%); }

.uklad { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; margin-top: 22px; align-items: start; }
@media (max-width: 920px) { .uklad { grid-template-columns: 1fr; } }

/* ---------- posty ---------- */
.data-naglowek {
  display: inline-block; margin: 6px 0 10px; padding: 4px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: #fff; text-shadow: 0 1px 1px rgba(0,50,110,.5);
  background: linear-gradient(180deg, #8fdcff, #1d8fe6); border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 2px 6px rgba(0,60,130,.25);
}
.data-naglowek:first-letter { text-transform: uppercase; }
.wpis + .data-naglowek, .wpis + .wpis { margin-top: 26px; }
.wpis { margin-bottom: 4px; }
.wpis-stopka {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; clear: both;
  margin-top: 22px; padding-top: 12px; border-top: 1px solid rgba(0,60,120,.14); font-size: 13px; opacity: .92;
}
.wpis-stopka a { color: inherit; }
.etykiety a, .etykieta {
  display: inline-block; margin: 2px 2px; padding: 2px 10px; border-radius: 999px; font-size: 12px;
  text-decoration: none; color: #0a4f8f; background: rgba(255,255,255,.65); border: 1px solid rgba(10,100,190,.25);
}
.udostepnij { margin-left: auto; display: flex; gap: 6px; }
.udostepnij a, .udostepnij button {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid rgba(10,100,190,.3); background: rgba(255,255,255,.7); color: #0a4f8f; text-decoration: none; font: 700 12px/1 sans-serif;
}
.czytaj-dalej { margin-top: 10px; }

.stronicowanie { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.stronicowanie .pusty { visibility: hidden; }
.info-filtr { padding: 12px 18px; margin-bottom: 16px; font-size: 15px; }
.pusto { padding: 40px; text-align: center; }

/* ---------- pasek boczny (gadżety) ---------- */
.gadzet { padding: 18px 20px; margin-bottom: 22px; }
.gadzet h2 {
  margin: -4px 0 12px; font-size: 16px; color: #0a4f8f; letter-spacing: .2px;
  padding-bottom: 8px; border-bottom: 1px solid rgba(0,80,160,.15);
}
.szukaj-form { display: flex; gap: 8px; }
.szukaj-form input {
  flex: 1; min-width: 0; padding: 8px 14px; border-radius: 999px; font: inherit; font-size: 14px;
  border: 1px solid rgba(10,100,190,.35); background: rgba(255,255,255,.85); box-shadow: inset 0 2px 4px rgba(0,40,90,.12);
}
.o-mnie-glowa { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.avatar { width: 72px; height: 72px; border-radius: 16px; object-fit: cover; border: 3px solid #fff; box-shadow: 0 4px 12px rgba(0,50,110,.3); background: #cfeeff; }
.o-mnie-nazwa { font-weight: 700; font-size: 17px; }
.o-mnie-tekst { font-size: 14px; line-height: 1.55; white-space: pre-line; }
.archiwum { font-size: 14px; }
.archiwum details { margin-left: 4px; }
.archiwum details details { margin-left: 16px; }
.archiwum summary { cursor: pointer; padding: 2px 0; }
.archiwum summary .ile { opacity: .65; }
.archiwum ul { margin: 2px 0 6px 22px; padding: 0; }
.archiwum li { margin: 3px 0; }
.archiwum a { text-decoration: none; }
.lista-etykiet { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }

.stopka { margin-top: 40px; text-align: center; font-size: 13px; color: #fff; text-shadow: 0 1px 3px rgba(0,50,0,.6); }

.kopiuj-info { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); padding: 10px 18px; z-index: 9; }

@media (max-width: 600px) {
  .kontener { padding-top: 14px; }
  .naglowek { padding: 26px 20px; }
  .udostepnij { margin-left: 0; }
}

/* ---------- pasek boczny po lewej ---------- */
body.pasek-lewo .uklad { grid-template-columns: 320px minmax(0, 1fr); }
body.pasek-lewo #boczny { order: -1; }
@media (max-width: 920px) { body.pasek-lewo .uklad { grid-template-columns: 1fr; } body.pasek-lewo #boczny { order: 0; } }

/* ---------- gadżety: listy, licznik, zegar ---------- */
.g-szary { opacity: .7; font-size: 14px; margin: 0; }
.lista-postow { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lista-postow a { display: flex; gap: 10px; align-items: center; text-decoration: none; color: inherit; }
.lista-postow img, .lp-brak { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; flex: none; box-shadow: 0 2px 6px rgba(0,50,110,.25); }
.lp-brak { display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, #8fe0ff, #1d94ec); }
.lista-postow b { display: block; font-size: 14px; line-height: 1.3; color: var(--akcent); }
.lista-postow small { font-size: 12px; opacity: .7; }
.licznik { display: grid; gap: 8px; }
.licznik-rzad { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.licznik-cyfry { display: inline-flex; gap: 2px; }
.licznik-cyfry i { font-style: normal; font-family: Consolas, 'Courier New', monospace; font-weight: 700; font-size: 16px; color: #fff; width: 18px; text-align: center; border-radius: 4px;
  background: linear-gradient(180deg, #3a4a5a, #0d1620 50%, #000 51%, #1c2834); box-shadow: inset 0 1px 0 rgba(255,255,255,.3); padding: 2px 0; }
.ost-kom { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 13px; }
.ost-kom span { opacity: .85; font-style: italic; }
.lista-linkow { margin: 0; padding-left: 18px; font-size: 14px; } .lista-linkow li { margin: 4px 0; }
.g-obraz { width: 100%; border-radius: 12px; display: block; box-shadow: 0 4px 12px rgba(0,50,110,.25); }
.g-podpis { margin: 8px 0 0; font-size: 13px; text-align: center; }
.zegar { text-align: center; }
.zegar-czas { font-size: 38px; font-weight: 300; letter-spacing: 1px; color: #0a4f8f; text-shadow: 0 1px 0 #fff, 0 0 14px rgba(0,140,255,.35); font-variant-numeric: tabular-nums; }
.zegar-data { font-size: 14px; opacity: .8; }
.zegar-data:first-letter { text-transform: uppercase; }
.tlumacz { display: flex; flex-wrap: wrap; gap: 4px; }
.udostepnij.duze { margin: 0; gap: 10px; }
.udostepnij.duze a, .udostepnij.duze button { width: 40px; height: 40px; font-size: 16px; }
.przycisk.pomaranczowy { border-color: #c95f0b; background: linear-gradient(180deg, #ffd99a 0%, #ff9a2e 48%, #e6700f 52%, #ffab4a 100%); }

/* ---------- liczniki pod postem ---------- */
.wpis-licz { display: inline-flex; gap: 4px; align-items: center; text-decoration: none; }
.wpis-licz b { font-weight: 600; }

/* ---------- post z hasłem ---------- */
.zamek { text-align: center; padding: 30px 10px; }
.zamek-ikona { font-size: 46px; }
.zamek.maly { padding: 6px 0; text-align: left; }
.zamek.maly .zamek-ikona { font-size: 18px; }
.zamek-form { display: flex; gap: 8px; justify-content: center; margin-top: 10px; }
.zamek-form input { padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(10,100,190,.35); font: inherit; min-width: 0; width: 220px; }
.zamek-blad { color: #c62828; min-height: 1.2em; }

/* ---------- komentarze ---------- */
.komentarze { margin-top: 22px; padding: 22px 26px; }
.komentarze h3 { margin: 0 0 14px; color: #0a4f8f; }
.kom { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(0,60,120,.1); }
.kom-odp { margin-left: 52px; border-top: 0; padding-top: 4px; }
.kom-avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 2px 6px rgba(0,0,0,.2); text-shadow: 0 1px 2px rgba(0,0,0,.3); }
.kom-cialo { flex: 1; min-width: 0; }
.kom-glowa { font-size: 14px; }
.kom-data { font-size: 12px; opacity: .65; margin-left: 4px; }
.kom-autor { font-size: 11px; padding: 1px 8px; border-radius: 999px; color: #fff; background: linear-gradient(180deg, #ffb35c, #f57c00); font-weight: 700; }
.kom-tekst { margin: 4px 0; overflow-wrap: anywhere; line-height: 1.55; }
.kom-odpowiedz { border: 0; background: none; color: var(--akcent); cursor: pointer; font: inherit; font-size: 13px; padding: 0; }
.kom-form { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(0,60,120,.15); display: grid; gap: 10px; }
.kom-form h4 { margin: 0; }
.kom-form input, .kom-form textarea { width: 100%; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(10,100,190,.3); font: inherit; background: rgba(255,255,255,.9); box-shadow: inset 0 2px 4px rgba(0,40,90,.08); }
.kom-form textarea { min-height: 100px; resize: vertical; }
.kom-pulapka { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.kom-dol { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.kom-stan { font-size: 14px; }
.kom-odp-info { font-size: 13px; padding: 6px 12px; border-radius: 10px; background: rgba(10,132,255,.1); }
.kom-anuluj { border: 0; background: none; color: #c62828; cursor: pointer; font: inherit; font-size: 13px; }
