/* ME-BUILD: 20260804-0320 | by: Klemens | scope: polskieradio.online dark theme — graphite + gold #eab308, glass cards, sticky player */

:root {
  --gold: #eab308;
  --gold-soft: #facc15;
  --gold-glow: rgba(234, 179, 8, 0.40);
  --royal: #1e3a8a;
  --royal-soft: #2d4bb1;
  --bg-0: #060b26;
  --bg-1: #0c1442;
  --bg-2: #131e5a;
  --bg-3: #1c2a72;
  --line: rgba(234, 179, 8, 0.10);
  --line-strong: rgba(234, 179, 8, 0.24);
  --text: #f4f5f7;
  --text-dim: #b6c0dc;
  --text-muted: #7a86a8;
  --danger: #f87171;
  --radius: 12px;
  --radius-lg: 18px;
  --player-h: 84px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.35);
  --shadow-player: 0 -8px 40px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-0);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.45;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
}
/* overflow-x:clip WYWALONE — lamalo sticky w niektorych silnikach. Horizontal scroll source (orby fixed z negative left/right) juz nie istnieje bo bg to SVG data-URI na body zamiast .me-orb divow. Jesli poziomy scroll wroci na nowej stronie — najpierw znajdz co ekstenduje viewport (transform:translateX jak ratunek), NIE dodawaj overflow-x na body/html. */

body {
  padding-bottom: calc(var(--player-h) + 24px);
  background: linear-gradient(180deg, #02061a 0%, #060b26 50%, #02061a 100%);
  position: relative;
}
/* Decorative glows moved to fixed layer — repaints only on resize, not scroll */
/* Szef.AI login-page style bg: gold+purple radial corners + golden grid */
.me-form-msg {
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: .82rem;
  line-height: 1.4;
}
.me-form-msg--err {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
}
.me-form-msg--ok {
  color: #86efac;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
}

/* Global bg — lżejsze niż poprzednio (było 0.55/0.48/0.14 — za mocno, robiło "fluffy" motion na home).
   Kontakt page ma własne me-orb + me-grid — widoczność tam nie zależy od tych warstw. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(900px 650px at 100% 0%, rgba(234, 179, 8, 0.22), transparent 60%),
    radial-gradient(800px 650px at 0% 100%, rgba(139, 92, 246, 0.18), transparent 65%);
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(234, 179, 8, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 179, 8, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at center, black 25%, transparent 85%);
  mask-image: radial-gradient(ellipse 80% 70% at center, black 25%, transparent 85%);
}

a { color: var(--gold-soft); text-decoration: none; }
a:hover { color: var(--gold); }

button { font-family: inherit; }

/* ---------- Header — ultra compact single row ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 6px 14px;
  background: rgba(2, 6, 26, 0.88);
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  border-bottom: none;
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 44px;
}
.site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(234, 179, 8, 0.15) 15%,
    var(--gold) 50%,
    rgba(234, 179, 8, 0.15) 85%,
    transparent 100%);
  box-shadow: 0 0 10px rgba(234, 179, 8, 0.35);
  pointer-events: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.logo-badge {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}
.brand-name {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
  color: #fff;
}
.brand-name .accent { color: var(--gold); }
.brand-name .neon-red { color: #ef4444; }
.brand-sub {
  font-size: 7.5px;                   /* było 9.5 */
  font-weight: 600;
  letter-spacing: 0.10em;
  color: var(--text-muted);
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  opacity: .8;
}

.brand-count {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-soft);
  background: rgba(234, 179, 8, 0.14);
  padding: 2px 7px;
  border-radius: 999px;
  line-height: 1;
}

.tabs {
  display: flex;
  gap: 4px;
  margin-left: auto;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }

.tab {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--text-dim);
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
  white-space: nowrap;
  line-height: 1;
}

.tab:hover {
  background: rgba(255, 255, 255, 0.09);
  color: var(--text);
  border-color: var(--line-strong);
}

.tab.active {
  background: linear-gradient(135deg, var(--gold) 0%, #d97706 100%);
  color: #0b0d10;
  border-color: transparent;
  box-shadow: 0 0 16px var(--gold-glow);
}
.tab.active .tab-count { color: rgba(11, 13, 16, 0.7); }

.tab-label { font-size: 12.5px; }

.tab-flag {
  width: 16px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
  vertical-align: middle;
  flex-shrink: 0;
}
.tab-icon { font-size: 13px; line-height: 1; color: var(--gold-soft); }
.tab.active .tab-icon { color: #0b0d10; }

.tab-count {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 6px;
  border-radius: 999px;
  min-width: 20px;
  text-align: center;
}
.tab.active .tab-count { background: rgba(11, 13, 16, 0.18); }

.search {
  flex-shrink: 0;
  min-width: 200px;
}

.search input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid var(--gold);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  outline: none;
  transition: all 0.15s ease;
  height: 30px;
  box-shadow: 0 0 8px rgba(234, 179, 8, 0.25);
}

.search input::placeholder { color: var(--text-muted); }
.search input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold-glow);
  background: rgba(255, 255, 255, 0.08);
}
/* White X clear button (Chrome/Safari) — visible on dark background */
.search input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round'><line x1='6' y1='6' x2='18' y2='18'/><line x1='18' y1='6' x2='6' y2='18'/></svg>") center/contain no-repeat;
  cursor: pointer;
  opacity: 0.85;
  margin-left: 6px;
}
.search input::-webkit-search-cancel-button:hover { opacity: 1; }

/* Menu button + dropdown (desktop) / drawer (mobile) */
.menu-wrap {
  position: relative;
  flex-shrink: 0;
}
.hamburger {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  height: 30px;
  padding: 0 8px 0 8px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.hamburger:hover { border-color: var(--gold); color: var(--gold-soft); background: rgba(234, 179, 8, 0.08); }
.hamburger[aria-expanded="true"] { border-color: var(--gold); color: var(--gold); background: rgba(234, 179, 8, 0.12); }
.menu-caret { font-size: 10px; line-height: 1; opacity: 0.7; }

.drawer[hidden] { display: none; }

/* Desktop: dropdown pod hamburger button (no backdrop, positioned) */
@media (min-width: 901px) {
  .drawer {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 200;
    width: 300px;
  }
  .drawer-backdrop { display: none; }
  .drawer-panel {
    position: relative;
    background: #05091a;                 /* SOLID */
    border: 1px solid rgba(234, 179, 8, 0.35);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    padding: 16px 14px 12px;
    display: flex;
    flex-direction: column;
    animation: dropdown-in 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .drawer-close { display: none; }
}
@keyframes dropdown-in {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Mobile: fullscreen drawer slide-in from right */
@media (max-width: 900px) {
  .drawer {
    position: fixed;
    inset: 0;
    z-index: 200;
  }
  .drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 26, 0.7);
    backdrop-filter: blur(6px);
    cursor: pointer;
    animation: drawer-fade 0.2s ease-out;
  }
  .drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    background: #05091a;                 /* SOLID — było rgba(...,0.98), body glow prześwitywał */
    border-left: 1px solid rgba(234, 179, 8, 0.35);
    box-shadow: -20px 0 40px rgba(0, 0, 0, 0.7);
    padding: 24px 20px;
    animation: drawer-slide 0.24s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
  }
  .drawer-close {
    align-self: flex-end;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 28px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    line-height: 1;
  }
  .drawer-close:hover { color: var(--gold); background: rgba(234, 179, 8, 0.1); }
}
@keyframes drawer-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes drawer-slide { from { transform: translateX(100%); } to { transform: translateX(0); } }

.drawer-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  flex: 1;
}
.drawer-list li { margin-bottom: 0; }
.drawer-list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 5px 14px;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.drawer-list a:hover {
  background: rgba(234, 179, 8, 0.1);
  border-color: rgba(234, 179, 8, 0.28);
  color: var(--gold-soft);
}
.drawer-icon { font-size: 20px; line-height: 1; }
.drawer-hint {
  display: block;
  margin-left: auto;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}
.drawer-list a:hover .drawer-hint { color: var(--text-dim); }

.drawer-foot {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(234, 179, 8, 0.12);
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
}

/* ---------- Grid ---------- */

main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px;
}

.stations {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px;
  color: var(--text-dim);
  font-size: 15px;
}

.station {
  position: relative;
  background: linear-gradient(180deg, rgba(12, 20, 66, 0.55) 0%, rgba(6, 11, 38, 0.78) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  overflow: hidden;
  /* no backdrop-filter here — was GPU-heavy × N cards causing scroll jank.
     Higher alpha on background gradient compensates for lack of blur. */
  contain: content;
}

.station::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(234, 179, 8, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
  will-change: opacity;
}

/* Hover effects only for pointer devices — prevents sticky ":hover puff" on touch */
@media (hover: hover) and (pointer: fine) {
  .station:hover {
    transform: translateY(-2px);
    border-color: var(--gold);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--gold-glow);
  }
  .station:hover::before { opacity: 1; }
}

.station.playing {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold), 0 0 32px var(--gold-glow);
}
.station:focus, .station:focus-visible {
  outline: none;
  border-color: #fff;
  box-shadow: 0 0 0 2px #fff, 0 0 24px rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}
.station.highlight-flash {
  animation: card-flash 1.2s ease-out;
}
@keyframes card-flash {
  0%   { box-shadow: 0 0 0 4px var(--gold), 0 0 48px rgba(234, 179, 8, 0.7); }
  100% { box-shadow: 0 0 0 2px var(--gold), 0 0 32px var(--gold-glow); }
}

.station-logo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  padding: 8px;
  display: block;
}

.station-logo.placeholder {
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.station-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 0;
}

.station-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.station-sub {
  font-size: 12px;
  color: var(--text-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.station-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 2px;
  font-size: 10.5px;
  color: var(--text-muted);
}

.station-tag {
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 600;
}
.station-tag.hires {
  background: rgba(234, 179, 8, 0.15);
  color: var(--gold-soft);
}
.station-tag.flag {
  background: transparent;
  padding: 0;
  border-radius: 2px;
  vertical-align: middle;
  width: 16px;
  height: 12px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}
.station-tag.country {
  background: rgba(234, 179, 8, 0.18);
  color: var(--gold-soft);
  font-weight: 700;
  letter-spacing: 0.03em;
}
.station-tag.lang {
  background: rgba(59, 130, 246, 0.18);
  color: #93c5fd;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.station-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.station-name-row .station-name {
  flex: 1;
  min-width: 0;
}
.station-fav {
  flex-shrink: 0;
  background: transparent;
  border: none;
  color: var(--text-muted);
  width: 26px;
  height: 26px;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
  padding: 0;
  transition: color 0.15s ease, transform 0.15s ease;
}
.station-fav:hover { color: var(--gold); transform: scale(1.15); }
.station-fav.active { color: var(--gold); }

.empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-dim);
}

.btn-ghost {
  margin-top: 12px;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text);
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.15s ease;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- SEO Content Blocks ---------- */

.seo-block {
  max-width: 900px;
  margin: 48px auto 0;
  padding: 32px 24px;
  background: linear-gradient(180deg, rgba(12, 20, 66, 0.55) 0%, rgba(6, 11, 38, 0.75) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--text-dim);
  line-height: 1.6;
  font-size: 14.5px;
  contain: content;
}
.seo-block h2 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
}
.seo-block p { margin: 0 0 12px; }
.seo-block strong { color: var(--text); font-weight: 700; }
.seo-block a { color: var(--gold-soft); text-decoration: none; border-bottom: 1px dotted rgba(234, 179, 8, 0.35); }
.seo-block a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.seo-block code {
  font-family: 'Consolas', ui-monospace, monospace;
  background: rgba(234, 179, 8, 0.10);
  color: var(--gold-soft);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 13px;
}

.seo-steps {
  padding-left: 20px;
  margin: 0;
}
.seo-steps li {
  margin-bottom: 10px;
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.coverage-cell {
  background: rgba(6, 11, 38, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
}
.coverage-cell.hires { border-color: rgba(234, 179, 8, 0.35); box-shadow: 0 0 20px rgba(234, 179, 8, 0.10); }
.coverage-flag { font-size: 24px; line-height: 1; margin-bottom: 6px; }
.coverage-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 2px;
}
.coverage-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.coverage-cell p {
  font-size: 12.5px;
  color: var(--text-muted);
  text-align: left;
  line-height: 1.45;
  margin: 0;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-item summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  padding: 4px 0;
  list-style: none;
  position: relative;
  padding-left: 24px;
  transition: color 0.15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: '+';
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--gold);
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::before { content: '−'; }
.faq-item summary:hover { color: var(--gold-soft); }
.faq-item p {
  margin: 10px 0 6px;
  padding-left: 24px;
  color: var(--text-dim);
  font-size: 14px;
}

/* ---------- Footer ---------- */

.site-footer {
  max-width: 1400px;
  margin: 40px auto 0;
  padding: 28px 24px 24px;
  border-top: none;
  color: var(--text-dim);
  font-size: 13px;
  position: relative;
  background: rgba(0, 0, 0, 0.4);          /* darker transparent panel — kratka+orby widoczne pod spodem */
  border-radius: 14px 14px 0 0;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(234, 179, 8, 0.15) 15%,
    var(--gold) 50%,
    rgba(234, 179, 8, 0.15) 85%,
    transparent 100%);
  box-shadow: 0 0 12px rgba(234, 179, 8, 0.28);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.5;
}
.footer-legal strong { color: var(--text-dim); font-weight: 700; }

/* ---------- SPA views ---------- */
.view { animation: view-fade 0.25s ease-out; }
.view[hidden] { display: none; }
@keyframes view-fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Sub-page card (kontakt / o-nas / etc — same look as former modal) ---------- */
.page-card {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin: 40px auto 0;
  background: rgba(6, 11, 38, 0.85);
  border: 1px solid rgba(234, 179, 8, 0.20);
  border-radius: 16px;
  padding: 40px 48px 32px;
  box-shadow: 0 0 40px rgba(234, 179, 8, 0.12), 0 20px 60px rgba(0, 0, 0, 0.5);
}
.page-card::before {
  content: ''; position: absolute; inset: -1px; border-radius: 16px; padding: 1px;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.5), transparent 40%, transparent 60%, rgba(139, 92, 246, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.page-card .card-logo {
  width: 60px; height: 60px; border-radius: 50%;
  display: block; margin: 0 auto 18px;
  box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.4), 0 0 24px rgba(234, 179, 8, 0.35);
}
.page-card h1 {
  text-align: center; font-size: 28px; font-weight: 800;
  margin: 0 0 6px; letter-spacing: -0.02em; color: var(--text);
}
.page-card h1 .accent { color: var(--gold); }
.page-sub {
  text-align: center; color: var(--text-dim); font-size: 14px; margin: 0 0 28px;
}
.page-fields {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px;
}
.page-card .field { margin-bottom: 18px; }
.page-card .field-label {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 6px;
}
.page-card .field-value {
  display: flex; align-items: center; gap: 10px;
  background: rgba(2, 6, 26, 0.6);
  border: 1px solid rgba(234, 179, 8, 0.18);
  border-radius: 10px; padding: 12px 14px;
  color: var(--text); font-size: 14.5px;
}
.page-card .field-value a { color: var(--gold-soft); text-decoration: none; word-break: break-all; }
.page-card .field-value a:hover { color: var(--gold); }
.page-card .field-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.page-card .cta {
  display: block; width: 100%; text-align: center;
  background: linear-gradient(135deg, var(--gold) 0%, #d97706 100%);
  color: #0b0d10; font-weight: 800;
  padding: 14px 20px; border-radius: 10px;
  text-decoration: none; margin-top: 8px;
  box-shadow: 0 0 24px rgba(234, 179, 8, 0.35);
  transition: filter 0.15s ease, transform 0.15s ease;
}
.page-card .cta:hover { filter: brightness(1.08); transform: translateY(-1px); }
.page-related {
  margin-top: 24px; padding-top: 22px;
  border-top: 1px solid rgba(234, 179, 8, 0.12);
  text-align: center; font-size: 12.5px; color: var(--text-muted);
}
.page-related a { color: var(--gold-soft); text-decoration: none; }
.page-related a:hover { color: var(--gold); }
.back-home {
  display: block; text-align: center; margin: 20px auto 0;
  color: var(--text-muted); font-size: 13px;
  text-decoration: none; padding: 10px 16px;
}
.back-home:hover { color: var(--gold-soft); }
@media (max-width: 700px) {
  .page-card { padding: 36px 24px 28px; max-width: 460px; margin-top: 20px; }
  .page-fields { grid-template-columns: 1fr; }
}

/* ---------- Modal (legacy, kept for compat if used elsewhere) ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 40px 20px calc(var(--player-h) + 40px);
  overflow-y: auto;
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 26, 0.75);
  backdrop-filter: blur(10px) saturate(140%);
  cursor: pointer;
}
.modal-card {
  position: relative;
  width: 100%;
  max-width: 920px;
  background: rgba(6, 11, 38, 0.85);
  border: 1px solid rgba(234, 179, 8, 0.20);
  border-radius: 16px;
  padding: 40px 48px 36px;
  box-shadow: 0 0 40px rgba(234, 179, 8, 0.12), 0 20px 60px rgba(0, 0, 0, 0.5);
}
/* Desktop wide layout: header full-width, then 2 columns for fields */
.modal-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}
@media (max-width: 700px) {
  .modal-card { padding: 36px 24px 28px; max-width: 460px; }
  .modal-fields { grid-template-columns: 1fr; }
}
.modal-card::before {
  content: ''; position: absolute; inset: -1px; border-radius: 16px; padding: 1px;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.5), transparent 40%, transparent 60%, rgba(139, 92, 246, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.modal-close {
  position: absolute;
  top: 10px; right: 10px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 26px;
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
  transition: color 0.15s ease, background 0.15s ease;
}
.modal-close:hover { color: var(--gold); background: rgba(234, 179, 8, 0.1); }

.modal-card .card-logo {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: block;
  margin: 0 auto 18px;
  box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.4), 0 0 24px rgba(234, 179, 8, 0.35);
}
.modal-card h1 {
  text-align: center;
  font-size: 28px; font-weight: 800;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.modal-card h1 .accent { color: var(--gold); }
.modal-sub {
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
  margin: 0 0 28px;
}
.modal-card .field { margin-bottom: 18px; }
.modal-card .field-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.modal-card .field-value {
  display: flex; align-items: center; gap: 10px;
  background: rgba(2, 6, 26, 0.6);
  border: 1px solid rgba(234, 179, 8, 0.18);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 14.5px;
}
.modal-card .field-value a { color: var(--gold-soft); text-decoration: none; word-break: break-all; }
.modal-card .field-value a:hover { color: var(--gold); }
.modal-card .field-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.modal-card .cta {
  display: block; width: 100%; text-align: center;
  background: linear-gradient(135deg, var(--gold) 0%, #d97706 100%);
  color: #0b0d10; font-weight: 800;
  padding: 14px 20px;
  border-radius: 10px;
  text-decoration: none;
  margin-top: 8px;
  box-shadow: 0 0 24px rgba(234, 179, 8, 0.35);
  transition: filter 0.15s ease, transform 0.15s ease;
}
.modal-card .cta:hover { filter: brightness(1.08); transform: translateY(-1px); }
.modal-card .related {
  margin-top: 24px; padding-top: 22px;
  border-top: 1px solid rgba(234, 179, 8, 0.12);
  text-align: center;
  font-size: 12.5px;
  color: var(--text-muted);
}
.modal-card .related a { color: var(--gold-soft); text-decoration: none; }
.modal-card .related a:hover { color: var(--gold); }

/* ---------- Sticky Player ---------- */

.player[hidden] { display: none; }

/* Gold gradient divider on top of player — matches .site-header::after */
.player::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(234, 179, 8, 0.15) 15%,
    var(--gold) 50%,
    rgba(234, 179, 8, 0.15) 85%,
    transparent 100%);
  box-shadow: 0 0 10px rgba(234, 179, 8, 0.35);
  pointer-events: none;
}

.player {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--player-h);
  background: linear-gradient(180deg, rgba(6, 11, 38, 0.95) 0%, rgba(2, 6, 26, 0.98) 100%);
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  border-top: none;
  box-shadow: var(--shadow-player);
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
  z-index: 50;
}

.p-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 10px;
  padding: 4px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
@media (hover: hover) and (pointer: fine) {
  .p-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 0 12px var(--gold-glow);
  }
}
.p-logo:active { transform: scale(0.96); }

.p-meta { min-width: 0; }

.p-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.p-sub {
  font-size: 12.5px;
  color: var(--text-dim);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.p-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.p-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 15px;
  display: grid;
  place-items: center;
  transition: all 0.15s ease;
}
.p-btn:hover { border-color: var(--gold); color: var(--gold); }

.p-play {
  position: relative;
  background: linear-gradient(135deg, var(--gold) 0%, #d97706 100%);
  color: #0b0d10;
  border: none;
  width: 48px;
  height: 48px;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 0 24px var(--gold-glow);
  transition: transform 0.12s cubic-bezier(.34,1.56,.64,1), box-shadow 0.15s ease;
  overflow: hidden;
}
/* SVG icons for play/pause — geometrically centered by grid, no unicode optical offset */
.p-play-icon { display: none; position: relative; z-index: 1; }
.p-play:not(.playing) .icon-play { display: block; }
.p-play.playing .icon-pause { display: block; }
.p-play.loading .icon-play,
.p-play.loading .icon-pause { display: none; }
@media (hover: hover) and (pointer: fine) {
  .p-play:hover { color: #0b0d10; filter: brightness(1.1); transform: scale(1.05); }
}
.p-play:active { transform: scale(0.95); }
.p-play.playing {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #fff;
  animation: play-pulse-red 2s ease-in-out infinite;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.6);
}
.p-play.playing:hover { color: #fff; }
@keyframes play-pulse-red {
  0%, 100% { box-shadow: 0 0 24px rgba(239, 68, 68, 0.55), 0 0 0 0 rgba(239, 68, 68, 0.6); }
  50%      { box-shadow: 0 0 32px rgba(239, 68, 68, 0.75), 0 0 0 10px rgba(239, 68, 68, 0); }
}
.p-play.loading {
  font-size: 0;
  background: linear-gradient(135deg, #0c1442 0%, #060b26 100%);
  animation: none;
  transition: none;
  transform: none !important;
  box-shadow: none;
}
/* One red arc — identical geometry to paused so button doesn't grow */
.p-play.loading::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #ef4444;
  border-right-color: #ef4444;
  pointer-events: none;
  animation: spin 0.7s linear infinite;
}

/* Paused: dark navy background, gold play icon centered, ONE bright red arc spinning */
.p-play.paused {
  background: linear-gradient(135deg, #0c1442 0%, #060b26 100%);
  color: var(--gold-soft);
  box-shadow: 0 0 14px rgba(30, 58, 138, 0.55);
  animation: none;
}
.p-play.paused:hover { color: var(--gold); }
.p-play.paused::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #ff3838;
  border-right-color: #ff5050;
  pointer-events: none;
  animation: spin 1.2s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes play-pulse {
  0%, 100% { box-shadow: 0 0 24px var(--gold-glow), 0 0 0 0 rgba(234, 179, 8, 0.55); }
  50%      { box-shadow: 0 0 32px var(--gold-glow), 0 0 0 10px rgba(234, 179, 8, 0); }
}

.p-fav {
  width: 48px;
  height: 48px;
  background: transparent;
  border: none;
  box-shadow: none;
}
.p-fav svg {
  width: 32px;
  height: 32px;
  transition: transform 0.15s ease, fill 0.15s ease, stroke 0.15s ease;
}
.p-fav:hover { background: transparent; border: none; }
.p-fav.active { background: transparent; border: none; box-shadow: none; color: var(--gold); }
.p-fav.active svg { fill: var(--gold); stroke: var(--gold); }

/* Sleep timer button + dropdown */
.p-sleep-wrap { position: relative; }
.p-sleep.active { color: var(--gold); border-color: var(--gold); }
.p-sleep-menu {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  background: rgba(2, 6, 26, 0.98);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  min-width: 120px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  z-index: 60;
}
.p-sleep-menu[hidden] { display: none; }
.p-sleep-menu button {
  background: transparent;
  border: none;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
  font-size: 13px;
}
.p-sleep-menu button:hover { background: rgba(234, 179, 8, 0.15); color: var(--gold-soft); }
@media (hover: hover) and (pointer: fine) {
  .p-fav:hover svg { transform: scale(1.1); }
}

/* Locate now-playing button — jumps grid to currently playing station */
.p-locate {
  display: none; /* only shown when a station is playing */
}
.p-locate.visible { display: grid; }
.p-locate svg { transition: transform 0.2s ease; }
@media (hover: hover) and (pointer: fine) {
  .p-locate:hover svg { transform: scale(1.15); }
}

.p-vol {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
}

.p-vol input[type="range"] {
  width: 90px;
  accent-color: var(--gold);
}

.p-vol-icon { font-size: 14px; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .site-header { flex-wrap: wrap; padding: 6px 10px; }
  .brand { order: 1; }
  .search { order: 2; flex: 1; margin-left: auto; min-width: 0; }
  .menu-wrap { order: 3; }                                 /* hamburger PO PRAWEJ obok search (był na left bo default order 0) */
  .tabs { order: 4; flex-basis: 100%; margin-left: 0; padding: 4px 0 2px; }
  main { padding: 14px; }
  .stations { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
  .station { padding: 12px; }
  .station-name { font-size: 13.5px; }

  /* MOBILE: solid bg (Chrome mobile URL-bar collapse repaintował fixed = pasek). Zostaje 1 orb top-right (wiśniowy) statyczny. */
  body { background: #02061a; }
  body::before, body::after { display: none; }
  .kontakt-scene .me-orb-2, .kontakt-scene .me-orb-3, .kontakt-scene .me-grid { display: none; }
  .kontakt-scene .me-orb-1 { width: 320px; height: 320px; filter: blur(70px); top: -40px; right: -80px; }
}

/* MOBILE HAMBURGER DRAWER = fullscreen frosted overlay (nie 300px panel po prawej) */
@media (max-width: 900px) {
  .drawer-backdrop { display: none; }
  .drawer-panel {
    inset: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100dvh !important;
    background: rgba(5, 9, 26, 0.94) !important;    /* 0.72 → 0.94, prawie solid */
    backdrop-filter: blur(28px) saturate(1.4);
    -webkit-backdrop-filter: blur(28px) saturate(1.4);
    border: none !important;
    box-shadow: none !important;
    padding: 60px 24px 30px !important;
    align-items: center;
    justify-content: center;
    animation: drawer-fade 0.22s ease-out !important;
  }
  .drawer-close {
    position: absolute !important;
    top: 8px !important;
    right: 12px !important;
    align-self: auto !important;
  }
  .drawer-list {
    width: 100%;
    max-width: 340px;
    margin: 0;
    flex: 0 0 auto;
  }
  .drawer-list li { margin-bottom: 2px; }
  .drawer-list a {
    justify-content: center;
    font-size: 15px;
    padding: 7px 16px;
    background: #0a1224;                 /* solid — było rgba(255,255,255,0.03) prześwitujące */
    border: 1px solid rgba(234, 179, 8, 0.28);
  }
  .drawer-list a:hover {
    background: #101a35;
    border-color: rgba(234, 179, 8, 0.55);
  }
  .drawer-foot {
    position: absolute;
    bottom: 20px;
    left: 0; right: 0;
    text-align: center;
    margin: 0;
    padding: 0;
    border: none;
  }
}

@media (max-width: 520px) {
  .tab-label { display: none; }
  .tab { padding: 6px 9px; font-size: 13px; }
  .brand-count { display: none; }
}

@media (max-width: 640px) {
  .player {
    grid-template-columns: 52px 1fr;
    padding: 8px 12px;
    gap: 10px;
    height: 72px;
  }
  .p-logo { width: 52px; height: 52px; border-radius: 12px; }
  /* Text meta hidden on mobile — give controls the whole row */
  .p-meta { display: none; }
  .p-controls {
    justify-content: flex-end;
    gap: 12px;
  }
  .p-vol { display: none; }
  .p-btn {
    width: 44px;
    height: 44px;
    font-size: 15px;
  }
  .p-btn svg { width: 22px; height: 22px; }
  .p-play {
    width: 46px;
    height: 46px;
    font-size: 20px;
  }
  .p-fav { width: 52px; height: 52px; }
  .p-fav svg { width: 34px; height: 34px; stroke-width: 2.2; }
  .p-close { display: none; }
  body { padding-bottom: 92px; }
}

/* ============ /reklama/ layout — sticky form LEFT + scrollable article RIGHT ============ */
/* --wide variant: block layout zamiast flex-column (kontakt-scene default) — flex column + position:sticky child = Chrome sticky NIE dziala. Block + grid child przywraca sticky. */
.me-login-main--wide,
.about-scene .me-login-main--wide,
.kontakt-scene .me-login-main--wide {
  max-width: 1240px;
  width: 100%;
  padding: 20px 20px 40px;
  display: block !important;
  justify-content: initial !important;
  align-items: initial !important;
  flex: initial !important;
  min-height: 0 !important;
  margin: 0 auto;
}

.rk-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 28px;
  align-items: start;
}

.rk-panel {
  background: #0a1122;
  border: 1px solid rgba(240,192,64,0.28);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}

.rk-form-sticky {
  position: sticky;
  top: 60px;                               /* header 44px + 16px breathing */
  padding: 22px 22px 20px;
  align-self: start;
}
.rk-form-title {
  margin: 0 0 14px;
  font-size: 1.05rem;
  text-align: center;
  color: #f1f5f9;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.rk-article {
  padding: 28px 32px;
  color: #cbd5e1;
}
.rk-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rk-card {
  padding: 22px 26px;
  color: #cbd5e1;
}
.rk-card > h2:first-child,
.rk-card > h3:first-child { margin-top: 0; }
.rk-card > p:last-child,
.rk-card > ul:last-child { margin-bottom: 0; }
.rk-card--hero {
  border: 1px solid rgba(240,192,64,0.4);
  background: linear-gradient(180deg, rgba(240,192,64,0.06), #0a1122 60%);
}
.rk-hero {
  text-align: left;
  margin: 0;
  padding: 0;
  border-bottom: none;
}
.rk-h1 {
  margin: 0 0 12px;
  font-size: 1.65rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f1f5f9;
}
.me-gold-text { color: var(--gold, #eab308); }
.rk-lead { margin: 0 0 10px; font-size: .95rem; line-height: 1.6; color: #cbd5e1; }
.rk-tags { margin: 14px 0 10px; font-size: .8rem; color: var(--gold, #eab308); }
.rk-cta { margin: 12px 0 0; font-size: .88rem; color: #e2e8f0; line-height: 1.6; }
.rk-cta a, .rk-article a { color: var(--gold, #eab308); text-decoration: none; }
.rk-cta a:hover, .rk-article a:hover { text-decoration: underline; }

.rk-article h2 {
  margin: 26px 0 10px;
  font-size: 1.15rem;
  color: #f1f5f9;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.rk-article h3 {
  margin: 18px 0 8px;
  font-size: .98rem;
  color: var(--gold, #eab308);
  font-weight: 600;
}
.rk-article p { margin: 0 0 12px; font-size: .9rem; line-height: 1.65; }
.rk-article strong { color: #f1f5f9; }
.rk-article em { color: #94a3b8; font-style: italic; }
.rk-list { margin: 0 0 14px; padding: 0 0 0 20px; }
.rk-list li { font-size: .88rem; line-height: 1.6; margin-bottom: 4px; color: #cbd5e1; }
.rk-example {
  padding: 10px 14px;
  background: rgba(240,192,64,0.08);
  border-left: 3px solid var(--gold, #eab308);
  border-radius: 4px;
  font-style: italic;
}

@media (max-width: 900px) {
  .rk-layout { grid-template-columns: 1fr; gap: 18px; }
  .rk-form-sticky { position: static; padding: 18px 16px; }
  .rk-article { padding: 22px 18px; }
  .rk-h1 { font-size: 1.35rem; }
  .rk-article h2 { font-size: 1.05rem; }
}

/* ═══ NETWORK-WIDE BACKGROUND: SVG kratka + gradient orby na BODY. Dotyczy WSZYSTKICH widokow (home, reklama, about, store, faq, kontakt, thank-you). Zero DOM, zero blur filter, ~1KB CSS. ═══ */
body {
  background-color: #060b26 !important;
  background-image:
    radial-gradient(circle 480px at 82% 140px, rgba(221, 51, 51, 0.62), transparent 72%),
    radial-gradient(circle 400px at 18% 88%, rgba(96, 165, 250, 0.38), transparent 72%),
    radial-gradient(circle 560px at 50% 45%, rgba(168, 85, 247, 0.36), transparent 72%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='44' height='44'><path d='M0 0h44v1H0zM0 0h1v44H0z' fill='rgba(212,160,23,0.14)'/></svg>") !important;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat !important;
  background-size: auto, auto, auto, 44px 44px !important;
  background-attachment: fixed, fixed, fixed, fixed !important;
}
/* About-scene przezroczysta — pokazuje body bg. Kontakt-scene bez about-scene (thank-you) ZOSTAJE solid bg #050912. */
.about-scene { background: transparent !important; }
/* Stare warstwy DOM off TYLKO w about-scene widokach (reklama/about/store/kontakt/faq). */
.about-scene .me-orb, .about-scene .me-grid, .about-scene .me-bar { display: none !important; }

/* ═══ SHARED rk-* layout+typography dla WSZYSTKICH about-scene widokow (reklama/kontakt/faq/about/store) — sticky form left + cards right, spojna typografia kart. Bylo inline tylko w reklama/index.html = kontakt/faq bezposrednio ladowane nie widzialy. ═══ */
.about-scene .me-login-main--wide {
  position: relative;
  display: block;                          /* override .kontakt-scene .me-login-main flex-column align-items:center — psulo sticky w grid child */
  padding: 24px 40px;
  gap: 18px;
  max-width: none;
  margin: 0;
  width: 100%;
  min-height: auto;
}
.about-scene .rk-layout { max-width: 1400px; margin: 0 auto; }
/* FAQ variant — content LEFT, form RIGHT (odwrocona kolejnosc grid columns; na mobile natywnie stacked = form na koncu) */
.about-scene .rk-layout--content-first { grid-template-columns: minmax(0, 1fr) 380px; }
.about-scene .rk-panel {
  background: #0a1122;
  border: 1px solid rgba(240,192,64,0.28);
  box-shadow: 0 12px 40px -14px rgba(0,0,0,0.75), 0 0 30px -8px rgba(240,192,64,0.14);
}
.about-scene .rk-card--hero {
  border: 1px solid rgba(240,192,64,0.4);
  background: linear-gradient(180deg, rgba(240,192,64,0.06), #0a1122 60%);
}
.about-scene .rk-card { padding: 20px 22px; color: #c0ccea; }
.about-scene .rk-card h2 { margin: 0 0 10px; font-size: 1.15rem; color: #eef2ff; font-weight: 700; letter-spacing: -0.01em; }
.about-scene .rk-card h3 { margin: 16px 0 6px; font-size: .98rem; color: #f0c040; font-weight: 600; }
.about-scene .rk-card p { margin: 0 0 10px; font-size: .9rem; line-height: 1.6; }
.about-scene .rk-card strong { color: #eef2ff; }
.about-scene .rk-card em { color: #7a8db5; font-style: italic; }
.about-scene .rk-card a { color: #f0c040; text-decoration: none; }
.about-scene .rk-card a:hover { text-decoration: underline; }
.about-scene .rk-list { margin: 0 0 12px; padding: 0 0 0 20px; }
.about-scene .rk-list li { font-size: .88rem; line-height: 1.55; margin-bottom: 4px; color: #c0ccea; }
.about-scene .rk-form-sticky { padding: 20px 22px; }
.about-scene .rk-form-title { margin: 0 0 14px; font-size: 1.05rem; text-align: center; color: #eef2ff; font-weight: 700; letter-spacing: -0.01em; }

/* PDP buy sidebar (Fiio + future products) — 3-col colors, forced equal image size, sticky-safe height */
.pdp-buy-sticky .pdp-colors { grid-template-columns: repeat(3, 1fr) !important; gap: 8px; }
.pdp-buy-sticky .pdp-color img {
  width: 100% !important;
  height: 90px !important;                  /* wymuszona wysokosc — aspect-ratio nie utrzymywalo rownosci w waskim gridzie */
  aspect-ratio: auto !important;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.pdp-buy-sticky .pdp-color { padding: 5px; }
.pdp-buy-sticky .pdp-color-name { font-size: .68rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.pdp-buy-sticky .pdp-price { font-size: 1.8rem; }
.pdp-buy-sticky .pdp-badge { font-size: .68rem; padding: 4px 8px; }

@media (max-width: 900px) {
  .about-scene .me-login-main--wide { padding: 14px 12px; }
  /* Single column stacked na mobile — override MUSI byc pod .about-scene bo .about-scene .rk-layout--content-first (0,2,0) beats base .rk-layout (0,1,0). Bez tego 380px kolumna wypycha 1fr do 0 = cards niewidoczne. */
  .about-scene .rk-layout,
  .about-scene .rk-layout--content-first { grid-template-columns: 1fr; gap: 18px; }
  .about-scene .rk-form-sticky { position: static; padding: 16px; }
  .about-scene .rk-card { padding: 16px; }
  .about-scene .rk-panel .me-form { padding: 0; box-sizing: border-box; }
  .about-scene .rk-panel .me-form input,
  .about-scene .rk-panel .me-form select,
  .about-scene .rk-panel .me-form textarea,
  .about-scene .rk-panel .me-btn-primary { box-sizing: border-box; width: 100%; }
}

/* ────────────────────────────────────────────────────────────────
   SEO-first DOM, UX-first visual — homepage / only
   Bots (Google/Bing/GPTBot/ClaudeBot) read DOM order → get the H1
   hero + SEO copy FIRST for keyword ranking. Users see the station
   grid FIRST visually (order:1). Hero + bottom SEO block collapse
   into one contiguous section at the bottom (order:2 + order:3).
   CSS-only reorder — Google-approved, not cloaking.
   ──────────────────────────────────────────────────────────────── */
#view-home {
  display: flex;
  flex-direction: column;
}
/* [hidden] must beat display:flex — without this, SPA nav to /about/, /faq/ etc.
   leaves radio tiles visible above the target view. */
#view-home[hidden] { display: none; }
#view-home > .stations,
#view-home > #empty {
  order: 1;
}
#view-home > .home-hero {
  order: 2;
  margin: 40px auto 0 !important;
  padding-top: 32px !important;
  border-top: 1px solid rgba(240, 192, 64, 0.18);
}
#view-home > .home-seo {
  order: 3;
  margin: 0 auto !important;
  padding-top: 8px !important;
  border-top: none !important;
}

/* Bottom SEO section: full width matching .stations grid on all viewports.
   Removes the max-width:1200px constraint that made hero+home-seo look narrower
   than the station grid on wide screens. Padding/margins inherited from parent
   container so text aligns with tile edges. */
#view-home > .home-hero,
#view-home > .home-seo {
  max-width: none !important;
  width: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Bottom SEO panel — gold gradient separator + footer-style dark background.
   Gold line above .home-hero uses EXACT same gradient as .site-footer::before.
   Both hero + home-seo form one continuous dark panel matching footer look.
   Inner 3-tile cards inside home-seo also switched to footer background. */
#view-home > .home-hero {
  position: relative;
  background: rgba(0, 0, 0, 0.4);
  border-top: none !important;
  border-radius: 14px 14px 0 0;
  padding: 32px 24px 20px !important;
  margin-top: 40px !important;
}
#view-home > .home-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(234, 179, 8, 0.15) 15%,
    var(--gold) 50%,
    rgba(234, 179, 8, 0.15) 85%,
    transparent 100%);
  box-shadow: 0 0 12px rgba(234, 179, 8, 0.28);
  border-radius: 14px 14px 0 0;
}
#view-home > .home-seo {
  background: rgba(0, 0, 0, 0.4);
  padding: 8px 24px 32px !important;
  margin-top: 0 !important;
  border-top: none !important;
  border-radius: 0 0 14px 14px;
}
#view-home > .home-seo > div[style*="grid-template-columns"] > div {
  background: rgba(0, 0, 0, 0.4) !important;
  border-color: rgba(234, 179, 8, 0.14) !important;
}

/* ────────────────────────────────────────────────────────────────
   Bottom SEO — PREMIUM MODERN DESIGN: each text block = its own tile
   Dark footer-style bg per tile (rgba(0,0,0,0.55)) with subtle gold
   border + soft shadow. Parent panels transparent so tiles float on
   the page bg. Gold gradient line remains above whole section.
   ──────────────────────────────────────────────────────────────── */

/* Parent panels: transparent, no bg, no border-radius, no side padding */
#view-home > .home-hero,
#view-home > .home-seo {
  background: transparent !important;
  border-radius: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  border-top: none !important;
}

/* Keep the gold gradient line above hero (::before) — restore it visually */
#view-home > .home-hero {
  position: relative;
  padding-top: 32px !important;
  padding-bottom: 0 !important;
  margin-top: 40px !important;
}
#view-home > .home-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(234, 179, 8, 0.15) 15%,
    var(--gold) 50%,
    rgba(234, 179, 8, 0.15) 85%,
    transparent 100%);
  box-shadow: 0 0 12px rgba(234, 179, 8, 0.28);
}
#view-home > .home-seo {
  padding-top: 0 !important;
  padding-bottom: 32px !important;
  margin-top: 0 !important;
}

/* Every direct text block inside hero/seo = its own premium tile */
#view-home > .home-hero > h1,
#view-home > .home-hero > p,
#view-home > .home-seo > h2,
#view-home > .home-seo > p {
  background: rgba(0, 0, 0, 0.55) !important;
  border: 1px solid rgba(234, 179, 8, 0.14) !important;
  border-radius: 14px !important;
  padding: 22px 26px !important;
  margin: 0 0 14px !important;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* H1 tile — larger padding, gold accent kept */
#view-home > .home-hero > h1 {
  padding: 28px 30px !important;
}

/* Inner 3-tile grid inside home-seo — align, restyle to match premium tiles */
#view-home > .home-seo > div[style*="grid-template-columns"] {
  margin: 0 0 14px !important;
}
#view-home > .home-seo > div[style*="grid-template-columns"] > div {
  background: rgba(0, 0, 0, 0.55) !important;
  border: 1px solid rgba(234, 179, 8, 0.14) !important;
  border-radius: 14px !important;
  padding: 20px 22px !important;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.28) !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Subtle hover state — premium feel */
#view-home > .home-hero > h1:hover,
#view-home > .home-hero > p:hover,
#view-home > .home-seo > h2:hover,
#view-home > .home-seo > p:hover,
#view-home > .home-seo > div[style*="grid-template-columns"] > div:hover {
  border-color: rgba(234, 179, 8, 0.28) !important;
  transition: border-color 0.25s ease;
}

/* ────────────────────────────────────────────────────────────────
   Bottom SEO — GROUPED premium tiles (no more per-line tiles).
   Only .home-tile wrappers get the tile treatment. Single-line
   utility text (links, sister-portal row) stays plain. Gold border
   is properly visible ("złota rameczka"), not subtle.
   ──────────────────────────────────────────────────────────────── */

/* Cancel per-child tile styling from earlier pass */
#view-home > .home-hero > h1,
#view-home > .home-hero > p,
#view-home > .home-seo > h2,
#view-home > .home-seo > p {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Premium content tile — visible gold border ("rameczka") */
#view-home .home-tile {
  background: rgba(0, 0, 0, 0.55);
  border: 1.5px solid rgba(234, 179, 8, 0.35);
  border-radius: 16px;
  padding: 28px 32px;
  margin: 0 0 18px;
  box-shadow:
    0 6px 28px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(234, 179, 8, 0.06) inset;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
#view-home .home-tile:hover {
  border-color: rgba(234, 179, 8, 0.65);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(234, 179, 8, 0.12) inset,
    0 0 24px rgba(234, 179, 8, 0.10);
  transform: translateY(-1px);
}

/* Inner 3-card grid — matching gold rameczka */
#view-home > .home-seo > div[style*="grid-template-columns"] > div {
  background: rgba(0, 0, 0, 0.55) !important;
  border: 1.5px solid rgba(234, 179, 8, 0.35) !important;
  border-radius: 14px !important;
  padding: 20px 22px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.30) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
#view-home > .home-seo > div[style*="grid-template-columns"] > div:hover {
  border-color: rgba(234, 179, 8, 0.65) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.40),
              0 0 20px rgba(234, 179, 8, 0.10) !important;
}

/* Reduce mobile padding for tighter look */
@media (max-width: 640px) {
  #view-home .home-tile { padding: 22px 20px; }
}
