:root{
  --bg:#0b0d10;
  --text:#ffffff;
  --muted:#9aa3b2;

  --line:rgba(255,255,255,.10);
  --line2:rgba(255,255,255,.14);

  --shadow: 0 18px 70px rgba(0,0,0,.55);
  --shadow2: 0 12px 40px rgba(0,0,0,.22);

  --r2:24px;

  --accent:#06b6d4;
  --accent2:#7c3aed;

  --wolt:#1ea7fd;
  --glovo:#ffd300;
  --uber:#1df34b;
  --bolt:#22c55e;
  --stuart:#3b82f6;
  --about:#a78bfa;
  --calc:#22d3ee;
  --calpanel:#f97316;

  --footerBg: rgba(255,255,255,.03);
  --footerBg2: rgba(0,0,0,.18);
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(1100px 700px at 20% 10%, rgba(255,255,255,.06), transparent 60%),
    radial-gradient(1100px 700px at 120% 20%, rgba(6,182,212,.10), transparent 60%),
    var(--bg);
  min-height:100svh;
  overflow-x:hidden;
}

a{ color: rgba(255,255,255,.92); text-underline-offset:3px; }
a:hover{ opacity:.9; }

.page{ padding:18px; }
@media (max-width:700px){ .page{ padding:0; } }

.wrap{
  width:100%;
  max-width:none;
  margin:0 auto;
  padding:0 18px;
}
@media (min-width:861px){
  .wrap{ padding:0 26px; }
}
@media (max-width:700px){
  .wrap{ padding:0; }
}

/* HERO */
.hero{
  position:relative;
  border-radius: var(--r2);
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.02);
  min-height: 240px;
}
@media (max-width:700px){
  .hero{ border-radius:0; border-left:0; border-right:0; }
}

.heroImg{
  position:absolute; inset:0;
  background: url("/img/index-bg.avif") center / cover no-repeat;
  filter: saturate(1.05);
}
.heroImg::after{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(900px 600px at 30% 20%, rgba(0,0,0,.22), rgba(0,0,0,.82));
}

@media (max-width:700px){
  .heroImg{ background-position: center 70%; }
  .heroImg::after{
    background: radial-gradient(900px 600px at 30% 20%, rgba(0,0,0,.18), rgba(0,0,0,.72));
  }
}

.heroInner{
  position:relative; z-index:2;
  padding:18px 18px 16px;
  text-align:center;
}

.mark{ display:flex; justify-content:center; margin-top:4px; margin-bottom:12px; }
.markDot{
  width:56px;height:56px;
  border-radius:999px;
  display:grid; place-items:center;
  font-weight:1000;
  color:#0b0d10;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}

.title{ font-size:26px; font-weight:900; letter-spacing:-0.02em; }
.sub{ margin-top:8px; color:rgba(154,163,178,.95); font-size:13px; }

.metaRow{
  display:flex; flex-wrap:wrap; justify-content:center;
  gap:8px; margin-top:12px;
}
.chip{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: rgba(154,163,178,.95);
  font-size:12px;
  font-weight:800;
}
.chip strong{ color: rgba(255,255,255,.92); font-weight:900; }
.chipLink{ text-decoration:none; }
.chipLink:hover{ border-color: var(--line2); }

/* YT promo */
.ytPromo{
  width: fit-content;
  max-width: min(620px, calc(100% - 24px));
  margin: 10px auto 0;
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  padding:8px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.14);
  color: rgba(226,232,240,.95);
}
.ytPromo:hover{ border-color: rgba(255,255,255,.18); filter: brightness(1.03); }
.ytDot{
  width:10px;height:10px;border-radius:99px;
  background:#ff3b30;
  box-shadow:0 0 14px rgba(255,59,48,.35);
  flex:0 0 auto;
}
.ytTxt{
  display:block;
  max-width: 520px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
  font-size:12px;
  color: rgba(226,232,240,.92);
}
.ytGo{ margin-left:auto; opacity:.85; font-weight:900; }

@media (max-width:700px){
  .ytPromo{ width: calc(100% - 24px); max-width:none; }
  .ytTxt{
    max-width:none;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
line-clamp: 2;

    -webkit-box-orient: vertical;
  }
}

/* DASH */
.dash{ margin-top:16px; display:block; }
@media (max-width:700px){ .dash{ margin-top:0; } }

/* CARD */
.card{
  border-radius: var(--r2);
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  box-shadow: var(--shadow2);
  padding:16px;
}
@media (max-width:700px){
  .card{
    border-radius:0;
    border-left:0;
    border-right:0;
    padding:16px;
  }
}

.cardHead h2{
  font-size:18px;
  font-weight:900;
  letter-spacing:-0.01em;
}
.cardHead p{
  margin-top:6px;
  color:rgba(154,163,178,.95);
  font-size:13px;
}

/* CITY BAR */
.cityBar{
  margin-top:12px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  padding:12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.cityBarLeft{display:flex;align-items:center;gap:10px;min-width:0}
.cityIco{
  width:44px;height:44px;
  border-radius:16px;
  display:grid;place-items:center;
  color:#0b0d10;
  font-weight:1000;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}
.cityTxt{ line-height:1.05; min-width:0; }
.cityTitle{ font-weight:1000; }
.citySub{ margin-top:3px; font-size:12px; color:rgba(154,163,178,.95); }
.citySelectBtn{
  border-radius:999px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.14);
  color: rgba(255,255,255,.92);
  font-weight:1000;
  font-size:12px;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:10px;
  white-space:nowrap;
}
.citySelectBtn:hover{ border-color: rgba(255,255,255,.22); }
.citySelectBtn:focus{
  outline:none;
  box-shadow:0 0 0 3px rgba(6,182,212,.18);
  border-color: rgba(6,182,212,.55);
}

/* APP GRID */
.appGrid{
  margin-top:12px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
@media (max-width:380px){ .appGrid{ grid-template-columns:1fr; } }

.appTile{
  text-decoration:none;
  color:var(--text);
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  padding:12px;
  transition: transform .12s ease, border-color .12s ease, filter .12s ease;
}
.appTile:hover{
  border-color: rgba(255,255,255,.18);
  filter: brightness(1.03);
  transform: translateY(-2px);
}

.tileTop{display:flex;gap:10px;align-items:center}
.tileMeta{min-width:0}
.tileTitle{font-weight:1000}
.tileSub{margin-top:2px;color:rgba(154,163,178,.95);font-size:12px}

.tileIcon{
  width:44px;height:44px;
  border-radius:16px;
  display:grid;place-items:center;
  font-weight:1000;
  color:#0b0d10;
  font-size:18px;
  line-height:1;
  aspect-ratio:1/1;
}

.tileFoot{
  margin-top:10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.chipMini{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.14);
  font-size:12px;
  font-weight:900;
  color:rgba(255,255,255,.92);
}
.arrow{ font-weight:1000; color:rgba(255,255,255,.82); }

.t1 .tileIcon{ background: var(--wolt); }
.t2 .tileIcon{ background: var(--glovo); }
.t3 .tileIcon{ background: var(--uber); color:#000; }
.t4 .tileIcon{ background: var(--bolt); }
.t5 .tileIcon{ background: var(--stuart); }
.t7 .tileIcon{ background: var(--calc); color:#0b0d10; font-size:17px; }
.t8 .tileIcon{ background: var(--calpanel); color:#0b0d10; font-size:17px; }

/* PROMO */
.promo{
  margin-top:14px;
  padding:12px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(34,197,94,.10), rgba(255,255,255,.02));
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.promoTitle{ font-weight:1000; }
.promoSub{ margin-top:4px; color:rgba(154,163,178,.95); font-size:12px; line-height:1.3; }
.promoRight{ display:flex; gap:8px; align-items:center; }
.promoBtn{
  padding:9px 12px;
  border-radius:12px;
  background:#22c55e;
  color:#04130a;
  font-weight:1000;
  text-decoration:none;
}
.promoGhost{
  padding:9px 10px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color:#fff;
  font-weight:900;
  cursor:pointer;
}
.promoX{
  padding:7px 10px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.20);
  color:#fff;
  opacity:.75;
  font-size:16px;
  line-height:1;
  cursor:pointer;
}
@media (max-width:420px){
  .promo{ flex-direction:column; }
  .promoRight{ width:100%; justify-content:flex-end; }
}

/* DESKTOP layout */
.panel{ display:none; }
@media (min-width:861px){
  .dash{
    display:grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap:20px;
    align-items:start;
  }

  #apki{
    position:sticky;
    top:18px;
    align-self:start;
    max-height: calc(100vh - 36px);
    overflow:auto;
  }

  .panel{
    display:block;
    border-radius: var(--r2);
    border:1px solid var(--line);
    background: rgba(255,255,255,.02);
    box-shadow: var(--shadow2);
    padding:16px;
    min-height: calc(100vh - 36px);
  }

  /* desktop: apki 1 kolumna */
  .appGrid{ grid-template-columns: 1fr; }
}

/* PANEL TOP */
.panelTop{ display:flex; flex-direction:column; gap:10px; }
.tabs{ display:flex; gap:10px; flex-wrap:wrap; }
.tabBtn{
  border-radius:999px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.14);
  color: rgba(255,255,255,.92);
  font-weight:1000;
  font-size:12px;
  cursor:pointer;
}
.tabBtn:hover{ border-color: rgba(255,255,255,.18); }
.tabBtn.active{
  border:0;
  color:#0b0d10;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}
.panelHint{
  color:rgba(154,163,178,.95);
  font-size:12px;
  line-height:1.35;
  border-top:1px solid rgba(255,255,255,.10);
  padding-top:10px;
}

/* PANEL CONTENT */
.panelContent{
  margin-top:12px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  overflow:hidden;
  background: rgba(0,0,0,.12);
  padding:14px;
}
.panelSection{ display:none; }
.panelSection.active{ display:block; }

/* Sections common */
.secTitle{
  font-size:18px;
  font-weight:1000;
  letter-spacing:-.01em;
}
.secSub{
  margin-top:6px;
  color: rgba(154,163,178,.95);
  font-size:12px;
  line-height:1.4;
}

/* ✅ NEW: desktop “dłuższa treść” wygląda lepiej */
.panelGrid{
  margin-top:12px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
@media (max-width: 980px){
  .panelGrid{ grid-template-columns: 1fr; }
}
.pCard{
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  padding:12px;
}
.pCard h3{
  font-size:13px;
  font-weight:1000;
  margin-bottom:8px;
}
.pCard p{
  color: rgba(154,163,178,.96);
  font-size:13px;
  line-height:1.6;
}
.pCard ul{
  margin-top:10px;
  padding-left:18px;
  color: rgba(154,163,178,.95);
  line-height:1.55;
  font-size:13px;
}

.panelCallout{
  margin-top:12px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(6,182,212,.12), rgba(255,255,255,.02));
  padding:12px;
}
.callTitle{ font-weight:1000; font-size:13px; }
.callText{ margin-top:6px; color: rgba(226,232,240,.90); font-size:13px; line-height:1.55; }

.miniCard{
  margin-top:12px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  padding:12px;
}
.miniCard h3{
  font-size:13px;
  font-weight:1000;
  margin-bottom:8px;
}
.miniCard ul{
  padding-left:18px;
  color: rgba(154,163,178,.95);
  line-height:1.55;
  font-size:13px;
}
.miniBtn{
  margin-top:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.14);
  color: rgba(255,255,255,.92);
  text-decoration:none;
  font-weight:1000;
  font-size:12px;
}
.miniBtn:hover{ border-color: rgba(255,255,255,.18); filter: brightness(1.04); }

.adsenseText{
  margin-top:12px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  padding:12px;
}
.adsenseText h3{
  font-size:13px;
  font-weight:1000;
  margin-bottom:8px;
}
.adsenseText p{
  color: rgba(154,163,178,.96);
  font-size:13px;
  line-height:1.6;
  margin-top:10px;
}
.adsenseText p:first-of-type{ margin-top:0; }
.miniLinks{ margin-top:10px; display:flex; gap:10px; flex-wrap:wrap; }

/* ARTICLES UI (wspólne) */
.articlesTop{
  margin-top:12px;
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.seg{
  display:inline-flex;
  gap:8px;
  padding:6px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.segBtn{
  border-radius:999px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.12);
  color: rgba(255,255,255,.92);
  font-weight:1000;
  font-size:12px;
  cursor:pointer;
}
.segBtn.active{
  border:0;
  color:#0b0d10;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}
.searchWrap{
  flex:1 1 260px;
  display:flex;
  align-items:center;
  gap:10px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.12);
  padding:10px 12px;
}
.searchIco{ opacity:.85; }
.search{
  width:100%;
  border:0;
  outline:none;
  background:transparent;
  color: rgba(255,255,255,.92);
  font-weight:900;
}
.stateBox{
  margin-top:12px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  padding:12px;
  display:flex;
  align-items:center;
  gap:10px;
}
.spinner{
  width:18px;height:18px;
  border-radius:99px;
  border:2px solid rgba(255,255,255,.14);
  border-top-color: rgba(255,255,255,.55);
  animation: spin .9s linear infinite;
}
@keyframes spin{ to{ transform: rotate(360deg);} }
.stateTxt{ color: rgba(154,163,178,.95); font-weight:900; font-size:12px; }

.articlesGrid{
  margin-top:12px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.aCard{
  text-decoration:none;
  color: rgba(255,255,255,.92);
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  padding:12px;
}
.aCard:hover{ border-color: rgba(255,255,255,.18); filter: brightness(1.03); }
.aTitle{ font-weight:1000; }
.aSub{
  margin-top:6px;
  color: rgba(154,163,178,.95);
  font-size:12px;
  line-height:1.4;
}
.aMeta{
  margin-top:10px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.mChip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.12);
  font-size:12px;
  font-weight:1000;
  color: rgba(226,232,240,.92);
}
.voteBtn{
  border-radius:999px;
  padding:6px 10px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.12);
  color: rgba(226,232,240,.92);
  font-weight:1000;
  cursor:pointer;
}
.voteBtn.active{
  border:0;
  color:#0b0d10;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}
.mRight{
  margin-left:auto;
  color: rgba(154,163,178,.95);
  font-size:12px;
  font-weight:900;
}

.pager{
  margin-top:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}
.pagerBtn{
  width:44px;height:40px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.14);
  color: rgba(255,255,255,.92);
  font-weight:1000;
  cursor:pointer;
}
.pagerBtn:disabled{ opacity:.45; cursor:not-allowed; }
.pagerTxt{ font-weight:1000; color: rgba(226,232,240,.92); }

/* SEO static */
.seoStaticMap{
  margin-top:12px;
  border-radius:18px;
  border:1px dashed rgba(255,255,255,.14);
  background: rgba(255,255,255,.015);
  padding:12px;
}
.seoTitle{ font-size:13px; font-weight:1000; }
.seoStaticMap ul{ margin-top:8px; padding-left:18px; color: rgba(154,163,178,.95); line-height:1.55; }
.seoStaticMap a{ color: rgba(226,232,240,.92); }

/* MOBILE articles under app card */
.mobileArticles{ display:block; margin-top:14px; }
@media (min-width:861px){
  .mobileArticles{ display:none; }
}

/* FOOTER (desktop only) */
.footer{
  margin-top:14px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, var(--footerBg), var(--footerBg2));
  padding:16px;
}

.footCols{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap:18px;
}
.brandRow{ display:flex; gap:12px; align-items:flex-start; }
.brandMark{
  width:42px;height:42px;
  border-radius:14px;
  display:grid;place-items:center;
  font-weight:1000;
  color:#0b0d10;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  flex:0 0 auto;
}
.brandTitle{ color: rgba(226,232,240,.98); }

.footTitle{ font-weight:1000; margin-bottom:10px; }
.footText{ color:rgba(154,163,178,.95); font-size:12px; line-height:1.45; }
.footSmall{ margin-top:10px; color:rgba(154,163,178,.95); font-size:12px; }

.socialRow{ margin-top:10px; display:flex; gap:8px; flex-wrap:wrap; }
.socBtn{
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  color: #fff;
  transition: transform .15s ease, opacity .15s ease;
}
.socBtn:hover { opacity: .85; transform: translateY(-1px); }
.socBtn.yt   { background: #ff0000; }
.socBtn.tt   { background: #000000; }
.socBtn.ig   { background: linear-gradient(45deg,#f58529,#dd2a7b,#8134af,#515bd4); }
.socBtn.tip  { background: #22c55e; }
.socBtn.mail { background: #555; }

.footLink{
  display:block;
  width:100%;
  text-align:left;
  margin-top:8px;
  padding:0;
  border:0;
  background:transparent;
  color:rgba(255,255,255,.92);
  font-weight:900;
  cursor:pointer;
  text-decoration:none;
}
.footLink:hover{ opacity:.9; text-decoration:underline; text-underline-offset:3px; }
.footLink.asLink{ display:block; padding:0; }

.aLink{
  display:block;
  margin-top:8px;
  color:rgba(154,163,178,.95);
  text-decoration:none;
  font-weight:800;
  font-size:12px;
}
.aLink:hover{ color:#fff; text-decoration:underline; text-underline-offset:3px; }

.footBottom{
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid rgba(255,255,255,.08);
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  color:rgba(154,163,178,.95);
  font-size:12px;
}
.sep{ opacity:.6; }

/* CITY MODAL + LOGIN MODAL */
.modal{ position:fixed; inset:0; z-index:9999; }
.modal.hidden{ display:none; }
.modalBackdrop{
  position:absolute; inset:0;
  background:rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
}
.modalCard{
  position:relative;
  width:min(420px, calc(100vw - 24px));
  margin: 12vh auto 0;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(8,12,24,.92);
  box-shadow: 0 30px 90px rgba(0,0,0,.75);
  overflow:hidden;
}
.modalHead{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:14px 14px 10px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.modalTitle{ font-weight:1000; letter-spacing:-.02em; }
.modalSub{ margin-top:4px; color:rgba(167,176,198,.95); font-size:12px; }
.modalClose{
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.06);
  color:rgba(238,242,255,.95);
  width:36px;height:36px;
  border-radius:14px;
  cursor:pointer;
}
.modalBody{ padding:12px 14px 14px; }
.modalInput{
  width:100%;
  border-radius:16px;
  padding:12px 12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.25);
  color:rgba(238,242,255,.95);
  font-weight:900;
  outline:none;
}
.modalInput:focus{
  border-color:rgba(6,182,212,.55);
  box-shadow:0 0 0 3px rgba(6,182,212,.18);
}
.suggestions{
  margin-top:10px;
  display:flex;
  flex-direction:column;
  gap:8px;
  max-height: 46vh;
  overflow:auto;
  padding-right:2px;
}
.sug{
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.05);
  padding:10px 12px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.sug:hover{ border-color:rgba(255,255,255,.16); transform:translateY(-1px); }
.sug strong{ font-weight:1000; }
.sug .mini{ color:rgba(167,176,198,.95); font-size:12px; }
.sug.active{
  border-color:rgba(6,182,212,.40);
  box-shadow:0 0 0 3px rgba(6,182,212,.12);
}
.modalFoot{
  margin-top:12px;
  display:flex;
  gap:10px;
  justify-content:flex-end;
}
.modalBtn{
  border-radius:14px;
  padding:10px 12px;
  font-weight:1000;
  cursor:pointer;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  color:rgba(238,242,255,.95);
}
.modalBtn.primary{
  border:none;
  color:#0b0d10;
  background:linear-gradient(135deg,var(--accent), var(--accent2));
}
.modalBtn:disabled{ opacity:.45; cursor:not-allowed; }

/* Login modal */
.modalBox{
  position:relative;
  width:min(420px, calc(100vw - 24px));
  margin: 18vh auto 0;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(8,12,24,.92);
  box-shadow: 0 30px 90px rgba(0,0,0,.75);
  padding:14px;
}
.mTitle{ font-weight:1000; }
.mText{ margin-top:8px; color: rgba(154,163,178,.95); font-size:12px; line-height:1.45; }
.mActions{ margin-top:12px; display:flex; gap:10px; justify-content:flex-end; flex-wrap:wrap; }
.iconPill{
  border-radius:999px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(238,242,255,.95);
  font-weight:1000;
  cursor:pointer;
}
.iconPill.primary{
  border:0;
  color:#0b0d10;
  background: linear-gradient(135deg,var(--accent), var(--accent2));
}
.iconPill.ghost:hover{ border-color: rgba(255,255,255,.18); }
.iconPill.primary:hover{ filter: brightness(1.03); }

/* HAMBURGER MENU */
.srMenuBtn{
  position: fixed;
  right: 12px;
  top: 12px;
  z-index: 9998;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.95);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
  backdrop-filter: blur(8px);
}
.srMenuBtn:hover{ border-color: rgba(255,255,255,.18); filter: brightness(1.05); }
.srMenuIco{ font-size: 18px; font-weight: 1000; line-height: 1; }

.srMenuOverlay{
  position: fixed;
  inset: 0;
  z-index: 9997;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
}
.hidden{ display:none !important; }

.srMenu{
  position: fixed;
  right: 12px;
  top: 12px;
  z-index: 9999;
  width: min(360px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  overflow: auto;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(8,12,24,.92);
  box-shadow: 0 30px 90px rgba(0,0,0,.75);
}

.srMenuHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 12px 12px 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.srMenuBrand{ display:flex; align-items:center; gap:10px; }
.srMenuMark{
  width: 34px; height: 34px;
  border-radius: 12px;
  display:grid; place-items:center;
  font-weight: 1000;
  color:#0b0d10;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}
.srMenuTitle{ font-weight: 1000; letter-spacing: -.01em; }

.srMenuClose{
  width: 36px; height: 36px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color: rgba(238,242,255,.95);
  cursor:pointer;
}
.srMenuClose:hover{ border-color: rgba(255,255,255,.18); }

.srMenuNav{ padding: 10px 12px 12px; display:flex; flex-direction:column; gap:8px; }
.srMenuLink{
  text-decoration:none;
  color: rgba(238,242,255,.95);
  font-weight: 900;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
}
.srMenuLink:hover{ border-color: rgba(255,255,255,.18); filter: brightness(1.04); }

.srMenuSep{
  height: 1px;
  background: rgba(255,255,255,.10);
  margin: 4px 0;
}

.srMenuFoot{
  padding: 10px 12px 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.srMenuSmall{
  color: rgba(154,163,178,.95);
  font-size: 12px;
}

html.srMenuOpen{ overflow: hidden; }

@media (max-width:768px){
  .srMenuBtn{ top: env(safe-area-inset-top, 0px); right: env(safe-area-inset-right, 0px); margin: 10px; }
  .srMenu{ top: env(safe-area-inset-top, 0px); right: env(safe-area-inset-right, 0px); margin: 10px; }
}
/* =========================================================
   HOME: lepszy wygląd sekcji artykułów + szybkie linki
   Wklej NA SAM DÓŁ index.css (nadpisuje stare)
========================================================= */

/* ---------- 1) SZYBKIE LINKI / POLECANE ARTYKUŁY ---------- */

.seoStaticMap{
  margin-top:12px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(900px 260px at 10% 0%, rgba(6,182,212,.10), transparent 55%),
    radial-gradient(900px 260px at 90% 0%, rgba(124,58,237,.10), transparent 55%),
    rgba(255,255,255,.02);
  padding:14px;
  box-shadow: 0 10px 40px rgba(0,0,0,.22);
}

.seoTitle{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:13px;
  font-weight:1000;
  letter-spacing:-.01em;
  color: rgba(226,232,240,.96);
  margin-bottom:10px;
}
.seoTitle::before{
  content:"🔗";
  width:26px;height:26px;
  border-radius:10px;
  display:grid; place-items:center;
  color:#0b0d10;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}

/* zamień klasyczną listę w “chipsy” */
.seoStaticMap ul{
  margin-top:10px;
  padding-left:0;
  list-style:none;
  display:grid;
  grid-template-columns: 1fr;
  gap:8px;
}

@media (min-width:861px){
  .seoStaticMap ul{
    grid-template-columns: 1fr 1fr; /* 2 kolumny na desktop */
    gap:10px;
  }
}

.seoStaticMap li{
  margin:0;
}

.seoStaticMap a{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color: rgba(238,242,255,.95);
  font-weight:900;
  font-size:12px;
  line-height:1.2;

  padding:10px 12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.16);
  transition: transform .12s ease, border-color .12s ease, filter .12s ease, background .12s ease;
}

.seoStaticMap a::before{
  content:"";
  width:8px;height:8px;
  border-radius:99px;
  background: rgba(255,255,255,.38);
  box-shadow: 0 0 0 3px rgba(255,255,255,.06);
  flex:0 0 auto;
}

.seoStaticMap a:hover{
  border-color: rgba(255,255,255,.18);
  filter: brightness(1.05);
  transform: translateY(-1px);
  background: rgba(255,255,255,.04);
}

.seoStaticMap a:active{
  transform: translateY(0px) scale(.99);
}


/* ---------- 2) LISTA ARTYKUŁÓW: lepsze “karty” ---------- */

.articlesGrid{
  margin-top:12px;
  display:grid;
  grid-template-columns: 1fr;
  gap:10px;
}

/* desktop: 2 kolumny (czytelniej) */
@media (min-width:861px){
  .articlesGrid{
    grid-template-columns: 1fr 1fr;
    gap:12px;
  }
}

/* duży desktop: 3 kolumny, jeśli jest miejsce */
@media (min-width:1200px){
  .articlesGrid{
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* karta artykułu */
.aCard{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:10px;

  text-decoration:none;
  color: rgba(255,255,255,.92);

  border-radius:20px;
  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(700px 240px at 20% 0%, rgba(6,182,212,.08), transparent 55%),
    rgba(255,255,255,.02);
  padding:14px;

  transition: transform .14s ease, border-color .14s ease, filter .14s ease, background .14s ease;
  box-shadow: 0 10px 40px rgba(0,0,0,.18);
}

.aCard:hover{
  border-color: rgba(255,255,255,.18);
  filter: brightness(1.04);
  transform: translateY(-2px);
  background:
    radial-gradient(700px 240px at 20% 0%, rgba(124,58,237,.10), transparent 55%),
    rgba(255,255,255,.03);
}

.aTitle{
  font-weight:1000;
  letter-spacing:-.01em;
  font-size:13px;
  line-height:1.25;
  color: rgba(238,242,255,.96);

  /* 2 linie max – ładniej */
  display: -webkit-box;
  -webkit-line-clamp: 2;
line-clamp: 2;

line-clamp: 2;

  -webkit-box-orient: vertical;
  overflow:hidden;
}

.aSub{
  margin-top:0;
  color: rgba(154,163,178,.95);
  font-size:12px;
  line-height:1.45;

  /* 3 linie max */
  display: -webkit-box;
  -webkit-line-clamp: 3;
line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow:hidden;
}

/* meta na dole karty */
.aMeta{
  margin-top:auto;
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  padding-top:10px;
  border-top:1px solid rgba(255,255,255,.08);
}

.mChip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  font-size:11px;
  font-weight:1000;
  color: rgba(226,232,240,.92);
}

.voteBtn{
  border-radius:999px;
  padding:7px 10px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  color: rgba(226,232,240,.92);
  font-weight:1000;
  cursor:pointer;
  transition: transform .12s ease, filter .12s ease, border-color .12s ease;
}
.voteBtn:hover{
  border-color: rgba(255,255,255,.18);
  filter: brightness(1.05);
  transform: translateY(-1px);
}
.voteBtn:active{ transform: translateY(0px) scale(.99); }

.voteBtn.active{
  border:0;
  color:#0b0d10;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}

.mRight{
  margin-left:auto;
  color: rgba(154,163,178,.95);
  font-size:11px;
  font-weight:1000;
  opacity:.95;
}


/* ---------- 3) Drobne poprawki nagłówków sekcji ---------- */

.secTitle{
  display:flex;
  align-items:center;
  gap:10px;
}
.secTitle::after{
  content:"";
  height:1px;
  flex:1;
  background: linear-gradient(90deg, rgba(255,255,255,.12), transparent);
  margin-left:6px;
}

/* ---------- 4) Na bardzo małych ekranach: mniej “ciężko” ---------- */
@media (max-width:420px){
  .aCard{ padding:12px; border-radius:18px; }
  .seoStaticMap{ padding:12px; border-radius:18px; }
  .seoStaticMap a{ padding:9px 10px; border-radius:14px; }
}
/* =====================================================
   DESKTOP — hamburger ma być w obszarze layoutu
===================================================== */

@media (min-width:861px){

  .srMenuBtn{
    position: absolute;       /* zamiast fixed */
    right: 70px;
    top: 100px;

    /* ważne — żeby liczył pozycję względem strony */
    margin: 0;
  }

  /* rodzic musi być punktem odniesienia */
  body{
    position: relative;
  }

  /* menu też nie do rogu ekranu tylko pod przyciskiem */
  .srMenu{
    position: absolute;
    right: 18px;
    top: 70px;
  }

  .srMenuOverlay{
    position: fixed; /* overlay nadal na cały ekran */
  }
}
/* =========================================================
   UNIVERSAL PANEL HERO (WKLEJ NA SAM DÓŁ KAŻDEGO CSS)
   Cel: każdy panel ma identyczny HERO + czytelne przyciski
========================================================= */

/* 0) stały, identyczny rozmiar HERO na desktop */
.hero{ 
  min-height: 240px !important;   /* jeden rozmiar dla wszystkich paneli */
}
.heroInner{
  padding: 18px 18px 16px !important;
}

/* 1) czytelność elementów na zdjęciu (desktop + mobile) */
.metaRow{
  display:inline-flex !important;
  width: fit-content !important;
  max-width: calc(100% - 16px) !important;
  padding: 10px 12px !important;
  border-radius: 18px !important;
  background: rgba(0,0,0,.58) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  box-shadow: 0 18px 60px rgba(0,0,0,.45) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
}
.metaRow::before{ content:none !important; } /* zabija stare pseudo-tła */

.chip{
  background: rgba(0,0,0,.72) !important;
  border-color: rgba(255,255,255,.22) !important;
  color: rgba(255,255,255,.98) !important;
  font-weight: 900 !important;
  text-shadow: 0 2px 14px rgba(0,0,0,.70) !important;
}
.chip strong{ color:#fff !important; }

.ytPromo{
  background: rgba(0,0,0,.58) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  box-shadow: 0 16px 55px rgba(0,0,0,.40) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
}
.ytPromo::before{ content:none !important; }
.ytTxt{ text-shadow: 0 2px 14px rgba(0,0,0,.70) !important; }

/* 2) mobile: ten sam (mniejszy) rozmiar HERO + zoom tła */
@media (max-width:700px){
  .hero{ min-height: 140px !important; }          /* identycznie na każdym panelu */
  .heroInner{ padding: 14px 14px 12px !important; }

  /* zoomuje samo zdjęcie w okienku (nie zmienia wysokości hero) */
  .heroImg{
    background-size: 200% auto !important;
    background-position: 1% 1% !important;
  }

  /* opcjonalnie: identyczny wygląd na mobile (bez kółka) */
  .mark{ display:none !important; }

  .title{ font-size:22px !important; }
  .sub{ margin-top:6px !important; font-size:12px !important; }
  .metaRow{ margin-top:10px !important; }
}
/* =========================================================
   DESKTOP ONLY — pozycja/zoom zdjęcia w HERO (bez ruszania mobile)
   Wklej NA SAM DÓŁ CSS
========================================================= */

/* 1) kontrola przez zmienne (łatwo zmienisz bez grzebania w regułach) */
:root{
  --hero-bg-x: 10%;     /* lewo/prawo: 0%..100% (np. 40%) */
  --hero-bg-y: 15%;     /* góra/dół: 0%..100% (np. 35%) */
  --hero-bg-zoom: 110%; /* zoom: 100%..130% (np. 112%) */
}

/* 2) tylko desktop */
@media (min-width: 861px){
  .heroImg{
    background-position: var(--hero-bg-x) var(--hero-bg-y) !important;
    background-size: var(--hero-bg-zoom) auto !important; /* lub: cover */
  }
}

/* 3) opcjonalnie: ultra-duże ekrany możesz doprecyzować osobno */
/* @media (min-width: 1200px){
  .heroImg{
    background-position: 45% 40% !important;
  }
} */
/* =========================================================
   PROFIL obok hamburgera — TYLKO dla zalogowanych
   (JS dodaje/usuwa .hidden)
========================================================= */

.srProfileBtn{
  position: fixed;
  right: 62px;            /* obok hamburgera */
  top: 12px;
  z-index: 9998;

  height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.95);
  text-decoration: none;

  box-shadow: 0 12px 40px rgba(0,0,0,.35);
  backdrop-filter: blur(8px);
}
.srProfileBtn:hover{ border-color: rgba(255,255,255,.18); filter: brightness(1.05); }
.srProfileIco{ font-size: 16px; line-height: 1; }
.srProfileTxt{ font-weight: 1000; font-size: 12px; letter-spacing: -.01em; }

@media (max-width:768px){
  .srProfileBtn{
    top: env(safe-area-inset-top, 0px);
    right: calc(env(safe-area-inset-right, 0px) + 54px);
    margin: 10px;
  }
}

/* desktop masz hamburger ustawiony absolute — więc profil też w tym trybie */
@media (min-width:861px){
  .srProfileBtn{
    position: absolute;
    right: 120px;   /* obok hamburgera który masz right:70px */
    top: 100px;
    margin: 0;
  }
}
/* =========================================================
   MOBILE — mniejszy hamburger + nie nachodzi na dolną nawigację
   Wklej NA SAM DÓŁ CSS
========================================================= */

@media (max-width:768px){

  /* mniejszy przycisk hamburgera */
  .srMenuBtn{
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
  }
  .srMenuIco{ font-size: 16px !important; }

  /* menu: niech nie wchodzi pod dolny pasek nawigacji */
  .srMenu{
    max-height: calc(100vh - 24px - 74px) !important; /* 74px = nav + margines */
    padding-bottom: 12px !important;
  }

  /* jeśli overlay zasłania — zostaje jak jest */

  /* kluczowe: podnieś hamburger nad dolną nawigację */
  .srMenuBtn,
  .srProfileBtn{
    top: env(safe-area-inset-top, 0px) !important;
    bottom: auto !important;
    margin: 10px !important;
  }

  /* A JEŚLI masz hamburger ustawiony u dołu w innych plikach, to wymuś jego pozycję:
     (odkomentuj, gdyby dalej nachodził) */
  /*
  .srMenuBtn{
    top: 10px !important;
    right: 10px !important;
  }
  */
}
