/* Padownia – portal. Ciemny motyw w stylu kart i banerów z Discorda. */

@font-face { font-family: "Montserrat"; font-weight: 800; font-display: swap; src: url("../fonts/Montserrat-ExtraBold.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 900; font-display: swap; src: url("../fonts/Montserrat-Black.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("../fonts/Inter-Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("../fonts/Inter-Medium.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("../fonts/Inter-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("../fonts/Inter-Bold.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --bg: #090c1a;
  --bg-2: #0d1124;
  --panel: #121833;
  --panel-2: #171e3d;
  --line: #232b52;
  --text: #eef1ff;
  --muted: #9aa4c9;
  --dim: #6c76a0;
  --blue: #4f6bff;
  --blurple: #5865f2;
  --teal: #22c3d6;
  --green: #2fe08a;
  --gold: #ffc83d;
  --orange: #ff8c42;
  --violet: #a970ff;
  --red: #ff5e62;
  --grad: linear-gradient(110deg, var(--blue), var(--teal) 55%, var(--green));
  --radius: 18px;
  --shadow: 0 18px 50px -24px rgba(0, 0, 0, .8);
  --head: "Montserrat", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--body); overflow-x: hidden;
  background-image:
    radial-gradient(900px 500px at 8% -10%, rgba(79, 107, 255, .20), transparent 60%),
    radial-gradient(800px 500px at 100% 0%, rgba(47, 224, 138, .10), transparent 60%);
  background-repeat: no-repeat;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
code { font: 600 .92em ui-monospace, SFMono-Regular, Menlo, monospace; background: rgba(79,107,255,.16); color: #c9d1ff; padding: .1em .4em; border-radius: 6px; }
h1, h2, h3 { font-family: var(--head); font-weight: 900; line-height: 1.15; letter-spacing: -.01em; margin: 0; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(780px, 100% - 32px); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--blue); padding: 8px 14px; border-radius: 10px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* Przyciski i drobiazgi */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 12px;
  font: 800 14px/1 var(--head); letter-spacing: .02em; color: #fff; background: var(--panel-2); border: 1px solid var(--line);
  transition: transform .15s, box-shadow .2s, background .2s; white-space: nowrap; cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; }
.btn--discord { background: linear-gradient(135deg, var(--blurple), var(--blue)); border-color: transparent; box-shadow: 0 10px 30px -12px rgba(88, 101, 242, .9); }
.btn--discord:hover { box-shadow: 0 14px 34px -10px rgba(88, 101, 242, 1); }
.btn--ghost { background: transparent; }
.btn--lg { padding: 16px 26px; font-size: 16px; border-radius: 14px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(47,224,138,.7); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(47,224,138,0); } 100% { box-shadow: 0 0 0 0 rgba(47,224,138,0); } }
.more { font: 800 13px var(--head); color: var(--teal); letter-spacing: .02em; white-space: nowrap; }
.more:hover { color: var(--green); }
.kicker, .eyebrow { font: 800 12px var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--green); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Tagi kategorii */
.tag { display: inline-block; font: 800 11px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px; border-radius: 7px; color: #0b0f22; background: var(--teal); }
.tag--gold { background: var(--gold); } .tag--green { background: var(--green); } .tag--orange { background: var(--orange); }
.tag--teal { background: var(--teal); } .tag--blue { background: var(--blue); color: #fff; } .tag--violet { background: var(--violet); color: #fff; }
.tag--ghost { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.tag--ghost.tag--blue { color: #9fb0ff; } .tag--ghost.tag--green { color: var(--green); } .tag--ghost.tag--teal { color: var(--teal); }
.tag-text--gold { color: var(--gold); } .tag-text--green { color: var(--green); } .tag-text--orange { color: var(--orange); }
.tag-text--teal { color: var(--teal); } .tag-text--blue { color: #9fb0ff; } .tag-text--violet { color: var(--violet); }

/* Górny pasek */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(9, 12, 26, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(35, 43, 82, .7); }
.topbar__in { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo img { border-radius: 11px; }
.logo__word { font: 900 20px var(--head); letter-spacing: .02em; }
.logo__word b { background: linear-gradient(90deg, var(--blue), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; gap: 4px; margin-right: auto; }
.nav a { font: 600 14.5px var(--body); color: var(--muted); padding: 8px 12px; border-radius: 10px; transition: color .15s, background .15s; }
.nav a:hover, .nav a[aria-current] { color: var(--text); background: rgba(79,107,255,.12); }
.topbar__cta { display: flex; align-items: center; gap: 12px; }
.live-pill { display: inline-flex; align-items: center; gap: 7px; font: 600 13px var(--body); color: var(--muted); padding: 7px 12px; border-radius: 999px; background: rgba(47,224,138,.08); border: 1px solid rgba(47,224,138,.22); }
.live-pill b { color: var(--text); font-variant-numeric: tabular-nums; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--panel); border-radius: 12px; position: relative; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; content: ""; transition: transform .2s, top .2s; }
.burger span { top: 21px; } .burger span::before { top: -6px; left: 0; right: 0; } .burger span::after { top: 6px; left: 0; right: 0; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { top: 0; transform: rotate(45deg); } .menu-open .burger span::after { top: 0; transform: rotate(-45deg); }

/* Hero na stronie głównej */
.hero { padding: 32px 0 12px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 24px; }
.feature { position: relative; border-radius: 24px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.feature__img img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; transition: transform .5s; }
.feature:hover .feature__img img { transform: scale(1.02); }
.feature__body { padding: 22px 26px 26px; display: grid; gap: 12px; }
.feature__title { font-size: clamp(24px, 3vw, 34px); }
.feature__title a:hover { color: #cfe3ff; }
.feature__body p { margin: 0; color: var(--muted); font-size: 17px; }
.hero__side { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.hero__side .kicker { margin-bottom: 6px; }
.hero__side .more { margin-top: auto; padding-top: 10px; }

/* Wiersz z miniaturą (listy boczne) */
.row { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; padding: 10px; margin: 0 -10px; border-radius: 14px; transition: background .15s; }
.row:hover { background: rgba(79,107,255,.08); }
.row img { border-radius: 10px; aspect-ratio: 1200/630; object-fit: cover; }
.row strong { display: block; font: 700 15px/1.35 var(--body); margin: 2px 0 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row__tag { font: 800 11px var(--head); letter-spacing: .08em; text-transform: uppercase; }
.row small { color: var(--dim); font-size: 12.5px; }

/* Puls Discorda */
.pulse { padding: 24px 0; }
.pulse__in { display: grid; grid-template-columns: 1.1fr 1fr 1.3fr; gap: 24px; align-items: stretch; background: linear-gradient(135deg, rgba(79,107,255,.16), rgba(34,195,214,.08) 50%, rgba(47,224,138,.12)); border: 1px solid var(--line); border-radius: 24px; padding: 28px; position: relative; overflow: hidden; }
.pulse__intro h2 { font-size: 30px; margin: 8px 0 10px; }
.pulse__intro p { margin: 0; color: var(--muted); }
.pulse__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.pulse__stats div { background: rgba(9,12,26,.55); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column-reverse; justify-content: center; }
.pulse__stats dd { margin: 0; font: 900 32px/1 var(--head); font-variant-numeric: tabular-nums; }
.pulse__stats dt { color: var(--muted); font-size: 13px; margin-top: 6px; }
.pulse__crews { background: rgba(9,12,26,.55); border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.pulse__crews h3 { font-size: 16px; }
.pulse__crews .btn { margin-top: auto; }
.pulse__crews--wide { margin-top: 24px; }
.crews { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.crews li { display: flex; align-items: center; gap: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.crews li b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crews .slots { font: 800 13px var(--head); color: var(--green); font-variant-numeric: tabular-nums; }
.crews .plat { font: 800 10.5px var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.crews .empty { color: var(--muted); justify-content: center; text-align: center; background: transparent; border-style: dashed; }

/* Sekcje i siatki */
.section { padding: 44px 0; }
.section--tight { padding-top: 12px; }
.section--alt { background: linear-gradient(180deg, rgba(18,24,51,.0), rgba(18,24,51,.55) 20%, rgba(18,24,51,.55) 80%, rgba(18,24,51,0)); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section__head h2 { font-size: clamp(24px, 3vw, 32px); position: relative; padding-left: 16px; }
.section__head h2::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 5px; border-radius: 4px; background: var(--grad); }
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Karty wpisów */
.card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); border-color: #34407a; box-shadow: var(--shadow); }
.card__img { display: block; overflow: hidden; }
.card__img img { width: 100%; aspect-ratio: 1200/630; object-fit: cover; transition: transform .4s; }
.card:hover .card__img img { transform: scale(1.03); }
.card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.card__title { font: 800 18px/1.3 var(--head); letter-spacing: -.005em; }
.card__title a:hover { color: #cfe3ff; }
.card__excerpt { margin: 0; color: var(--muted); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.meta { margin-top: auto; color: var(--dim); font-size: 13px; }
.card--article { border-color: rgba(169,112,255,.28); }

/* Kategorie na głównej */
.hub { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 20px; border-top: 4px solid var(--teal); }
.hub--gold { border-top-color: var(--gold); } .hub--green { border-top-color: var(--green); } .hub--orange { border-top-color: var(--orange); }
.hub__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.hub__head h2 { font-size: 22px; }

/* Atuty Discorda */
.perk { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 14px; display: grid; gap: 12px; transition: transform .2s, border-color .2s; }
.perk:hover { transform: translateY(-3px); border-color: #34407a; }
.perk img { border-radius: 12px; }
.perk p { margin: 0 6px 6px; color: var(--muted); font-size: 15px; }

/* Ramka „dołącz” */
.join { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 28px 32px; border-radius: 24px; background: linear-gradient(120deg, #1a2160, #12183a 55%, #0f2a2a); border: 1px solid #2c3672; margin: 8px 0; }
.join__glow { position: absolute; inset: auto -10% -60% 40%; height: 120%; background: radial-gradient(closest-side, rgba(47,224,138,.25), transparent); pointer-events: none; }
.join__icon { border-radius: 18px; box-shadow: 0 10px 30px -10px rgba(79,107,255,.8); position: relative; }
.join__text { position: relative; }
.join__text h2 { font-size: clamp(20px, 2.4vw, 28px); margin-bottom: 6px; }
.join__text p { margin: 0; color: #c2cae8; }
.join__cta { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.join__live { display: inline-flex; align-items: center; gap: 8px; color: #c2cae8; font-size: 13.5px; }
.join__live b { color: var(--text); }

/* Nagłówki podstron */
.page-head { padding: 40px 0 18px; }
.page-head h1 { font-size: clamp(32px, 5vw, 52px); margin: 10px 0 12px; }
.page-head h1 small { font-size: .45em; color: var(--muted); font-weight: 800; }
.lead { color: var(--muted); font-size: clamp(17px, 2vw, 20px); margin: 0; max-width: 62ch; }
.crumbs { font-size: 13.5px; color: var(--dim); }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--teal); }
.pager { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 32px; color: var(--muted); }
.pager a { font: 800 14px var(--head); color: var(--teal); padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; }
.empty { color: var(--muted); padding: 30px; border: 1px dashed var(--line); border-radius: 16px; text-align: center; }
.empty a { color: var(--teal); }

/* Strona wpisu */
.entry__head { padding: 36px 0 22px; }
.entry__head h1 { font-size: clamp(30px, 4.6vw, 46px); margin: 14px 0 14px; }
.entry__head .card__tags { margin-top: 14px; }
.byline { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; margin-top: 18px; }
.byline img { border-radius: 10px; }
.byline b { color: var(--text); }
.entry__cover { margin: 0 0 30px; }
.entry__cover img { border-radius: 20px; border: 1px solid var(--line); width: 100%; aspect-ratio: 1200 / 420; object-fit: cover; }
.prose { font-size: 18px; line-height: 1.75; color: #dfe4fb; }
.prose > * { margin: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose > h2 + *, .prose > h3 + * { margin-top: .6em; }
.prose__lead { font-size: 21px; line-height: 1.6; color: var(--text); }
.prose > h2 { font-size: 27px; margin-top: 1.8em; scroll-margin-top: 110px; }
.prose > h3 { font-size: 21px; margin-top: 1.5em; font-weight: 800; }
.prose a { color: var(--teal); text-decoration: underline; text-decoration-color: rgba(34,195,214,.4); text-underline-offset: 3px; }
.prose a:hover { color: var(--green); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--teal); font-weight: 700; }
.prose strong { color: var(--text); }
.prose blockquote { margin: 0; padding: 14px 20px; border-left: 4px solid var(--teal); background: var(--panel); border-radius: 0 14px 14px 0; color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font: 800 12.5px var(--head); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.prose img { border-radius: 14px; }
.toc { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; margin-bottom: 26px; }
.toc b { font: 800 12px var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.toc ol { margin: 8px 0 0; padding-left: 1.2em; display: grid; gap: 4px; }
.toc a { color: var(--text); } .toc a:hover { color: var(--teal); }
.source { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 28px 0; padding: 18px 22px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); transition: border-color .2s; }
.source:hover { border-color: var(--teal); }
.source span { color: var(--muted); }
.source b { font: 800 15px var(--head); color: var(--teal); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 30px 0; color: var(--muted); font-size: 14px; }
.share a, .share button { font: 600 13.5px var(--body); color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--teal); }

/* Społeczność */
.community-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.community-hero__art { border-radius: 20px; box-shadow: var(--shadow); transform: rotate(1.5deg); }
.community-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 26px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split img { border-radius: 18px; border: 1px solid var(--line); }
.split h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; }
.split p { color: var(--muted); font-size: 17px; margin: 0 0 12px; }
.split--rev > img { order: 2; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; }
.steps li { counter-increment: s; position: relative; padding: 12px 16px 12px 54px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; color: var(--muted); }
.steps li::before { content: counter(s); position: absolute; left: 14px; top: 11px; width: 28px; height: 28px; border-radius: 9px; background: var(--grad); color: #071016; font: 900 14px/28px var(--head); text-align: center; }

/* 404 */
.notfound { padding: 90px 0; text-align: center; }
.notfound__code { font: 900 120px/1 var(--head); margin: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound h1 { font-size: 36px; margin: 10px 0 12px; }
.notfound .lead { margin-inline: auto; }
.notfound__cta { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }

/* Stopka */
.footer { margin-top: 30px; border-top: 1px solid var(--line); background: var(--bg-2); padding: 44px 0 26px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.footer__brand p { color: var(--muted); max-width: 42ch; margin: 14px 0 18px; }
.footer h3 { font: 800 12px var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; }
.footer__grid > div:not(.footer__brand) { display: flex; flex-direction: column; gap: 8px; }
.footer__grid a:not(.btn):not(.logo) { color: var(--muted); } .footer__grid a:not(.btn):not(.logo):hover { color: var(--teal); }
.footer__legal { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; display: grid; gap: 4px; }
.footer__legal p { margin: 0; }
.footer__legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

/* Responsywność */
@media (max-width: 1080px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 2px; padding: 12px 16px 18px; background: rgba(9,12,26,.97); border-bottom: 1px solid var(--line); }
  .menu-open .nav { display: flex; }
  .nav a { padding: 12px 14px; font-size: 16px; }
  .burger { display: block; }
  .topbar__in { gap: 12px; } .topbar__cta { margin-left: auto; }
  .hero__grid { grid-template-columns: 1fr; }
  .pulse__in { grid-template-columns: 1fr 1fr; }
  .pulse__intro { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .hubs { grid-template-columns: 1fr; }
  .split, .community-hero { grid-template-columns: 1fr; gap: 22px; }
  .split--rev > img { order: 0; }
  .join { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 26px 20px; }
  .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .grid--3, .perks { grid-template-columns: 1fr; }
  .pulse__in { grid-template-columns: 1fr; padding: 20px; }
  .live-pill { display: none; }
  .topbar__cta .btn span { display: none; }
  .topbar__cta .btn { padding: 10px 12px; }
  .logo__word { font-size: 18px; }
  .feature__body { padding: 18px; }
  .row { grid-template-columns: 96px 1fr; }
  .prose { font-size: 17px; }
  .prose table { display: block; overflow-x: auto; font-size: 14.5px; }
  .section { padding: 32px 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Mały ruch na starcie: chowamy liczniki (klasę zdejmuje site.js, gdy jest kogo pokazać) */
.is-quiet .live-pill, .is-quiet .pulse__stats, .is-quiet .join__live { display: none; }
.is-quiet .pulse__in { grid-template-columns: 1fr 1.2fr; }
@media (max-width: 1080px) { .is-quiet .pulse__in { grid-template-columns: 1fr; } }

/* ===== Lifting: pasek „Najnowsze”, mozaika, karty z etykietą na zdjęciu ===== */
.accent--gold { --accent: var(--gold); } .accent--green { --accent: var(--green); } .accent--orange { --accent: var(--orange); }
.accent--teal { --accent: var(--teal); } .accent--blue { --accent: var(--blue); } .accent--violet { --accent: var(--violet); }

.ticker { border-bottom: 1px solid rgba(35, 43, 82, .7); background: rgba(13, 17, 36, .85); }
.ticker__in { display: flex; align-items: center; gap: 16px; height: 42px; overflow: hidden; }
.ticker__label { display: inline-flex; align-items: center; gap: 8px; flex: none; font: 900 11px var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.ticker__track { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent); }
.ticker__move { display: flex; gap: 34px; width: max-content; animation: ticker 70s linear infinite; }
.ticker__track:hover .ticker__move { animation-play-state: paused; }
.ticker__move a { font: 600 13.5px var(--body); color: #cdd4f2; white-space: nowrap; }
.ticker__move a:hover { color: #fff; }
.ticker__move a span { font: 800 10.5px var(--head); letter-spacing: .08em; text-transform: uppercase; margin-right: 6px; }
@keyframes ticker { to { transform: translateX(-50%); } }

.hero { padding: 26px 0 8px; }
.mosaic { display: grid; grid-template-columns: 1.7fr 1fr; grid-template-rows: 1fr 1fr; gap: 18px; min-height: 520px; }
.tile { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); isolation: isolate; }
.tile--big { grid-row: span 2; }
.tile a { position: absolute; inset: 0; display: block; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.tile:hover img { transform: scale(1.04); }
.tile__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,12,26,0) 25%, rgba(9,12,26,.55) 55%, rgba(9,12,26,.95) 100%); }
.tile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--accent, var(--teal)); opacity: .9; z-index: 2; }
.tile__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px 24px; display: grid; gap: 10px; z-index: 1; }
.tile__title { font: 900 21px/1.2 var(--head); color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.6); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tile--big .tile__title { font-size: clamp(26px, 3.2vw, 40px); -webkit-line-clamp: 4; }
.tile__excerpt { color: #d3d9f3; font-size: 16px; max-width: 62ch; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile .meta { color: #b9c1e4; }
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.strip .row { margin: 0; background: var(--panel); border: 1px solid var(--line); grid-template-columns: 96px 1fr; padding: 10px; }
.strip .row strong { font-size: 14px; }

.card { position: relative; }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .25s; z-index: 2; }
.card:hover::before { box-shadow: inset 0 0 0 1px var(--accent, var(--teal)), 0 0 40px -18px var(--accent, var(--teal)); }
.card__img { position: relative; }
.card__badge { position: absolute; left: 12px; top: 12px; box-shadow: 0 6px 18px -6px rgba(0,0,0,.6); }
.card__foot { margin-top: auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.card__foot .meta { margin-top: 0; }
.card__title { font-size: 17.5px; }

.entry__cover { position: relative; }
.entry__cover--photo img { aspect-ratio: 1200 / 630; }
.entry__cover figcaption { margin-top: 8px; font-size: 12.5px; color: var(--dim); text-align: right; }
.entry__head .lead { margin-top: 4px; }
.source--quiet { padding: 14px 18px; margin: 34px 0 10px; }
.source--quiet b { font-size: 13.5px; }
.source span b { color: var(--text); font: 700 15px var(--body); }

@media (max-width: 1080px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; min-height: 0; }
  .tile--big { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; }
  .tile:not(.tile--big) { aspect-ratio: 4 / 3; }
  .strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .mosaic { grid-template-columns: 1fr; }
  .tile--big { aspect-ratio: 4 / 5; }
  .tile:not(.tile--big) { aspect-ratio: 16 / 10; }
  .strip { grid-template-columns: 1fr; }
  .ticker__label { font-size: 0; gap: 0; }
}

/* Dyskusja pod wpisem */
.discuss { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 30px 0 6px; padding: 20px 22px; border-radius: 18px; background: linear-gradient(120deg, rgba(88,101,242,.18), rgba(34,195,214,.08)); border: 1px solid #2f3a78; }
.discuss__text { flex: 1 1 320px; }
.discuss__text b { font: 900 19px var(--head); }
.discuss__text p { margin: 6px 0 0; color: #c2cae8; font-size: 15px; }
.discuss__cta { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.discuss__open { font-size: 13px; color: var(--muted); }
.discuss__open:hover { color: var(--teal); }
@media (max-width: 600px) { .discuss__cta { align-items: stretch; width: 100%; } .discuss__open { text-align: center; } }

/* Podgląd szkicu */
.preview-bar { background: repeating-linear-gradient(135deg, rgba(255,200,61,.16) 0 14px, rgba(255,200,61,.08) 14px 28px); border-bottom: 1px solid rgba(255,200,61,.45); color: #ffe7a3; font-size: 14px; padding: 12px 0; }
.preview-bar b { color: var(--gold); }

/* Tekst tylko dla czytników ekranu i wyszukiwarek */
.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; }
