/* SzakiRadar – közös fejléc + app/sajtó sáv + világos/sötét téma alap (header.css, 2026-10-10)
   A markup a <!-- SR-HEADER:START --> … <!-- SR-HEADER:END --> blokk minden oldalon,
   a működés a /js/site.js-ben van. Minden osztály sh-/sr- előtagú, hogy a régi
   oldalstílusok ne szóljanak bele. */
:root{
  --sh-bg:rgba(255,255,255,.95);--sh-pop:#fff;--sh-fg:#1F2937;--sh-muted:#6B7280;--sh-line:#E5E7EB;
  --sh-navy:#1E3A8A;--sh-orange:#F97316;--sh-hover:#F3F4F6;--sh-soft:#DCE8FF;--sh-strip:#EEF2FB;
  --sh-strip-fg:#1E3A8A;--sh-strip-m:#475569;--sh-badge:#0F172A;--sh-card:#F8FAFC;--sh-shadow:0 18px 44px rgba(15,23,42,.14);
}
html[data-theme="dark"]{
  color-scheme:dark;
  --sh-bg:rgba(11,17,32,.92);--sh-pop:#131C30;--sh-fg:#E5E7EB;--sh-muted:#9CA3AF;--sh-line:#24304A;
  --sh-navy:#A9BEF5;--sh-hover:#1B2640;--sh-soft:#26386A;--sh-strip:#101A31;
  --sh-strip-fg:#C7D5FB;--sh-strip-m:#94A3B8;--sh-badge:#020617;--sh-card:#16203A;--sh-shadow:0 18px 44px rgba(0,0,0,.5);
}
html[data-theme="dark"] body{background-color:#0B1120;color:#E5E7EB}

/* ── Fejléc ── */
:root body header.sr-hdr{display:block;width:auto;position:sticky;top:0;z-index:100;margin:0;padding:0;height:auto;box-shadow:none;
  background:var(--sh-bg);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  border-bottom:1px solid var(--sh-line);color:var(--sh-fg);text-align:left;line-height:1.4;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-size:15px}
:root body .sr-hdr *,:root body .sh-strip *{box-sizing:border-box}
:root body .sr-hdr a,:root body .sh-strip a{text-decoration:none;color:inherit;margin:0}
:root body .sr-hdr img{max-width:none;display:block}
:root body .sr-hdr svg{display:block;flex:none}
:root body .sr-hdr button{font:inherit;color:inherit;margin:0;cursor:pointer;-webkit-appearance:none;appearance:none}
:root body .sh-in{max-width:1320px;margin:0 auto;padding:0 32px;height:72px;display:flex;align-items:center;gap:36px}
:root body .sh-logo{display:flex;align-items:center;gap:10px;flex:none}
:root body .sh-mark{width:38px;height:38px;object-fit:contain}
:root body .sh-mark-d{display:none!important}
html[data-theme="dark"] body .sh-mark-l{display:none!important}
html[data-theme="dark"] body .sh-mark-d{display:block!important}
:root body .sh-word{font-family:"Space Grotesk",sans-serif;font-weight:700;font-size:23px;letter-spacing:-.02em;line-height:1;white-space:nowrap}
:root body .sh-word .s{color:var(--sh-navy)} :root body .sh-word .r{color:var(--sh-orange)}
:root body .sr-hdr .sh-nav{display:flex;flex-wrap:nowrap;align-items:stretch;align-self:stretch;gap:28px;flex:1;min-width:0;font-size:15px;font-weight:600;
  flex-direction:row;background:none;padding:0;margin:0;border:0}
:root body .sr-hdr .sh-nav>a,:root body .sh-more-btn{display:flex;align-items:center;gap:4px;padding:3px 0 0;border:0;border-bottom:3px solid transparent;
  background:none;color:var(--sh-fg);white-space:nowrap;font-weight:600;font-size:15px;transition:color .15s,border-color .15s;border-radius:0}
:root body .sr-hdr .sh-nav>a:hover,:root body .sh-more-btn:hover{color:var(--sh-navy)}
:root body .sr-hdr .sh-nav>a.sh-on,:root body .sh-more-btn.sh-on{color:var(--sh-navy);border-bottom-color:var(--sh-orange)}
:root body .sh-more-btn{color:var(--sh-muted)}
:root body .sh-more-btn svg{transition:transform .2s}
:root body .sh-more-btn[aria-expanded="true"] svg{transform:rotate(180deg)}
:root body .sh-more,:root body .sh-acct{position:relative;display:flex;align-items:stretch}
:root body .sh-acct{align-items:center}
:root body .sh-acct[hidden]{display:none!important}
:root body .sh-drop{display:none;position:absolute;top:calc(100% + 6px);left:-14px;min-width:240px;background:var(--sh-pop);
  border:1px solid var(--sh-line);border-radius:14px;box-shadow:var(--sh-shadow);padding:8px;z-index:120;flex-direction:column;gap:2px}
:root body .sh-acct .sh-drop{top:calc(100% + 10px)}
:root body .sh-drop.open{display:flex}
:root body .sh-drop-r{left:auto;right:0}
:root body .sh-drop a,:root body .sh-drop button{display:flex;align-items:center;gap:11px;padding:10px 10px;border-radius:9px;font-size:14.5px;font-weight:500;
  color:var(--sh-fg);background:none;border:0;width:100%;text-align:left;white-space:nowrap}
:root body .sh-drop a:hover,:root body .sh-drop button:hover{background:var(--sh-hover);color:var(--sh-navy)}
:root body .sh-drop svg,:root body .sh-plinks svg{width:19px;height:19px;fill:none;stroke:var(--sh-navy);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
:root body .sh-who{display:flex;flex-direction:column;padding:8px 10px 10px;margin-bottom:4px;border-bottom:1px solid var(--sh-line)}
:root body .sh-who b{font-size:14.5px;color:var(--sh-fg)} :root body .sh-who span{font-size:12.5px;color:var(--sh-muted);overflow:hidden;text-overflow:ellipsis;max-width:240px}
:root body .sh-acct-links{display:flex;flex-direction:column;gap:2px}
:root body .sh-drop .sh-x{display:none}
:root body .sh-logout{margin-top:4px;border-top:1px solid var(--sh-line)!important;border-radius:0 0 9px 9px!important}

:root body .sh-actions{display:flex;align-items:center;gap:12px;flex:none;margin-left:auto}
:root body .sh-theme{width:38px;height:38px;border-radius:10px;border:1px solid var(--sh-line);background:transparent;display:flex;align-items:center;justify-content:center;padding:0}
:root body .sh-theme:hover{background:var(--sh-hover)}
:root body .sh-theme svg{width:18px;height:18px;fill:none;stroke:var(--sh-fg);stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
:root body .sh-sun{display:none!important}
html[data-theme="dark"] body .sh-sun{display:block!important}
html[data-theme="dark"] body .sh-moon{display:none!important}
:root body .sh-login{height:44px;padding:0 16px;border-radius:12px;border:1.5px solid var(--sh-line);display:flex;align-items:center;font-weight:600;font-size:14.5px;color:var(--sh-navy)!important;white-space:nowrap}
:root body .sh-login:hover{border-color:var(--sh-navy)}
:root body .sh-chip{height:44px;padding:0 10px 0 4px;border:1px solid var(--sh-line);border-radius:22px;background:transparent;display:flex;align-items:center;gap:8px;font-weight:600;font-size:14px;color:var(--sh-fg)}
:root body .sh-chip:hover{border-color:var(--sh-navy)}
:root body .sh-chip svg{color:var(--sh-muted)}
:root body .sh-fn{display:none;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:root body .sh-av{width:34px;height:34px;border-radius:50%;background:var(--sh-soft);color:var(--sh-navy);display:flex;align-items:center;justify-content:center;
  font-size:13px;font-weight:700;overflow:hidden;flex:none;letter-spacing:.02em}
:root body .sh-av img{width:100%;height:100%;object-fit:cover}
:root body .sh-cta{height:44px;padding:0 20px;border-radius:12px;background:var(--sh-orange);color:#fff!important;font-weight:700;font-size:15px;display:flex;align-items:center;
  white-space:nowrap;box-shadow:0 8px 20px rgba(249,115,22,.25);transition:transform .15s,box-shadow .15s}
:root body .sh-cta:hover{transform:translateY(-1px);box-shadow:0 12px 26px rgba(249,115,22,.34)}
:root body .sh-cta-s{display:none}
:root body .sh-burger{display:none;width:44px;height:44px;border:0;border-radius:12px;background:var(--sh-strip);align-items:center;justify-content:center;padding:0}
:root body .sh-burger svg{width:22px;height:22px;fill:none;stroke:var(--sh-navy);stroke-width:2.2;stroke-linecap:round}
:root body .sh-b-close{display:none!important}
:root body .sh-burger[aria-expanded="true"] .sh-b-open{display:none!important}
:root body .sh-burger[aria-expanded="true"] .sh-b-close{display:block!important}

/* Mobil panel */
:root body .sh-panel{display:none;flex-direction:column;gap:4px;padding:14px 16px calc(24px + env(safe-area-inset-bottom));border-top:1px solid var(--sh-line);
  background:var(--sh-pop);max-height:calc(100dvh - 64px);overflow-y:auto;overscroll-behavior:contain}
:root body .sh-panel.open{display:flex}
:root body .sh-pacct:empty{display:none}
:root body .sh-pacct{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:var(--sh-card);border:1px solid var(--sh-line);margin-bottom:8px}
:root body .sh-pacct .sh-av{width:40px;height:40px;font-size:14px}
:root body .sh-pacct-t{flex:1;min-width:0}
:root body .sh-pacct-t b{display:block;font-size:15px;color:var(--sh-fg);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:root body .sh-pacct-t span{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:13px;color:var(--sh-muted);margin-top:2px}
:root body .sh-pacct-t span a,:root body .sh-pacct-t span button{color:var(--sh-navy);font-weight:600;background:none;border:0;padding:0;font-size:13px}
:root body .sh-pauth{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}
:root body .sh-pauth a{height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:14.5px;border:1.5px solid var(--sh-line);color:var(--sh-navy)}
:root body .sh-pauth a.sh-pri{background:var(--sh-navy);border-color:var(--sh-navy);color:#fff}
html[data-theme="dark"] body .sh-pauth a.sh-pri{background:var(--sh-orange);border-color:var(--sh-orange);color:#fff}
:root body .sh-pacct.sh-pacct-out{background:none;border:0;padding:0}
:root body .sh-plinks{display:flex;flex-wrap:nowrap;align-items:stretch;justify-content:flex-start;flex-direction:column;gap:2px;background:none;padding:0;margin:0}
:root body .sh-plinks a{display:flex;justify-content:flex-start;text-align:left;align-items:center;gap:12px;padding:12px 10px;border-radius:12px;font-weight:600;font-size:16px;color:var(--sh-fg)}
:root body .sh-plinks a:hover,:root body .sh-plinks a.sh-on{background:var(--sh-strip);color:var(--sh-navy)}
:root body .sh-pgrid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px;padding-top:12px;border-top:1px solid var(--sh-line)}
:root body .sh-pgrid a{height:46px;border:1.5px solid var(--sh-line);border-radius:12px;display:flex;align-items:center;justify-content:center;font-weight:600;color:var(--sh-navy)}
:root body .sh-papp{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding:12px;border-radius:14px;background:#0F172A;color:#fff}
html[data-theme="dark"] body .sh-papp{background:#1B2640}
:root body .sh-papp b{display:block;font-size:14px} :root body .sh-papp span{font-size:12px;color:#94A3B8}
:root body .sh-papp-b{display:flex;gap:6px;flex:none}
:root body .sh-papp-b a{background:#fff;color:#0F172A!important;border-radius:8px;padding:6px 9px;font-size:12px;font-weight:700;white-space:nowrap}
:root body .sh-ptheme{display:flex;align-items:center;justify-content:space-between;margin-top:12px;padding:12px 10px;border:0;border-radius:12px;background:none;font-weight:600;font-size:15px;color:var(--sh-fg);width:100%}
:root body .sh-sw{width:42px;height:24px;border-radius:12px;background:var(--sh-line);position:relative;transition:background .2s;flex:none}
:root body .sh-sw::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:transform .2s;box-shadow:0 1px 3px rgba(0,0,0,.25)}
html[data-theme="dark"] body .sh-sw{background:var(--sh-orange)}
html[data-theme="dark"] body .sh-sw::after{transform:translateX(18px)}

/* ── App + sajtó sáv ── */
:root body .sh-strip{background:var(--sh-strip);color:var(--sh-strip-fg);font:13.5px/1.3 Inter,system-ui,sans-serif;text-align:left;margin:0;padding:0}
:root body .sh-strip-in{max-width:1320px;margin:0 auto;padding:0 32px;min-height:40px;display:flex;align-items:center;gap:14px}
:root body .sh-strip b{font-weight:700}
:root body .sh-strip-m,:root body .sh-press{color:var(--sh-strip-m)}
:root body .sh-press b{color:var(--sh-strip-fg)}
:root body .sh-store{background:var(--sh-badge);color:#fff!important;border-radius:7px;padding:4px 10px;font-size:12px;font-weight:600;display:flex;align-items:center;gap:5px;white-space:nowrap;line-height:1.3}
:root body .sh-store:hover{opacity:.85}
:root body .sh-strip-sp{flex:1}
:root body .sh-press-a{font-weight:700;white-space:nowrap}
:root body .sh-press-a:hover{color:var(--sh-orange)!important}

@media (max-width:1260px){
  :root body .sh-in{gap:24px;padding:0 24px} :root body .sr-hdr .sh-nav{gap:20px} :root body .sh-strip-in{padding:0 24px}
  :root body .sr-hdr .sh-nav>a,:root body .sh-more-btn{font-size:14.5px}
}
@media (max-width:1220px){
  :root body .sh-nav>a[data-sh="szaki"],:root body .sh-nav>a[data-sh="ceg"]{display:none!important}
  :root body .sh-fn{display:none}
  :root body .sh-drop .sh-x{display:flex}
}
@media (max-width:1080px){
  :root body .sh-in{height:64px;padding:0 16px;gap:10px}
  :root body .sr-hdr .sh-nav,:root body .sh-theme,:root body .sh-login,:root body .sh-acct{display:none!important}
  :root body .sh-logo{flex:1;min-width:0}
  :root body .sh-mark{width:34px;height:34px}
  :root body .sh-word{font-size:21px}
  :root body .sh-actions{gap:10px}
  :root body .sh-cta{height:40px;padding:0 14px;font-size:14px;border-radius:11px;box-shadow:none}
  :root body .sh-cta-l{display:none} :root body .sh-cta-s{display:inline}
  :root body .sh-burger{display:flex}
  :root body .sh-strip-in{padding:6px 16px;gap:8px 10px;flex-wrap:wrap;justify-content:center;text-align:center}
  :root body .sh-strip-m,:root body .sh-strip-sp,:root body .sh-press,:root body .sh-press-a{display:none}
}
@media (max-width:360px){ :root body .sh-word{font-size:19px} :root body .sh-cta{padding:0 11px} }
@media print{ :root body .sr-hdr,:root body .sh-strip{display:none} }

/* Belépett szaki oldalak (navy fejléc) téma-kapcsolója */
:root body .sr-app-theme{width:34px;height:34px;border-radius:9px;border:1px solid rgba(255,255,255,.25);background:transparent;display:inline-flex;
  align-items:center;justify-content:center;padding:0;cursor:pointer;flex:none}
:root body .sr-app-theme:hover{background:rgba(255,255,255,.1)}
:root body .sr-app-theme svg{width:17px;height:17px;fill:none;stroke:#fff;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;display:block}

/* ── Effektek (Magic UI mintájára, sima CSS) ── */
/* Csillogó gomb */
:root body .sh-cta,:root body .sr-shimmer{position:relative;overflow:hidden}
:root body .sh-cta::after,:root body .sr-shimmer::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.5) 50%,transparent 70%);transform:translateX(-120%);animation:sr-shimmer 3.4s ease-in-out infinite}
@keyframes sr-shimmer{0%,55%{transform:translateX(-120%)}100%{transform:translateX(120%)}}
/* Felpörgő számláló sáv */
:root body .sr-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:-20px 0 40px;padding:22px;border-radius:18px;
  background:var(--sh-pop);border:1px solid var(--sh-line)}
:root body .sr-stat{text-align:center;min-width:0}
:root body .sr-stat .n{font:700 clamp(28px,4vw,40px)/1 "Space Grotesk",sans-serif;color:var(--sh-navy);font-variant-numeric:tabular-nums;letter-spacing:-.02em}
:root body .sr-stat .l{font:500 13.5px/1.4 Inter,system-ui,sans-serif;color:var(--sh-muted);margin-top:8px}
@media (max-width:640px){:root body .sr-stats{grid-template-columns:1fr;gap:18px;margin-top:-10px}}
/* Pöttyös háttér (sötét, színes dobozokon) */
:root body .sr-dots{position:relative;overflow:hidden;isolation:isolate}
:root body .sr-dots::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background-image:radial-gradient(rgba(255,255,255,.22) 1.2px,transparent 1.3px);background-size:18px 18px;
  -webkit-mask-image:radial-gradient(ellipse 75% 90% at 80% 50%,#000 30%,transparent 100%);mask-image:radial-gradient(ellipse 75% 90% at 80% 50%,#000 30%,transparent 100%)}
/* Beúszó lista */
:root body .sr-in{animation:sr-pop .5s cubic-bezier(.2,.9,.3,1.2)}
@keyframes sr-pop{from{transform:translateY(-12px) scale(.96);opacity:.3}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){:root body .sh-cta::after,:root body .sr-shimmer::after,:root body .sr-in{animation:none}}
