/* SEOANALIZIN HOME SEO GUIDE V1C — decorative background and sticky TOC only.
   Safe overlay on the already installed V1B guide; no animation, no other site selectors. */
.saz-home-guide{
  overflow:clip; /* unlike overflow:hidden, does not trap position:sticky */
  background:
    radial-gradient(ellipse 38% 28% at -4% 31%,rgba(249,192,78,.19),transparent 94%),
    radial-gradient(ellipse 37% 29% at 103% 68%,rgba(94,130,194,.17),transparent 95%),
    radial-gradient(ellipse 35% 20% at 48% 102%,rgba(246,193,105,.12),transparent 98%),
    linear-gradient(145deg,#f9fbff 0%,#fffaf0 40%,#f6f8ff 72%,#fffaf4 100%);
  border-top-color:#ecd9b1;
}
.saz-home-guide .saz-home-guide-art{
  opacity:1;
  mask-image:radial-gradient(ellipse 45% 33% at 100% 0%,#000 0 8%,transparent 99%),radial-gradient(ellipse 40% 30% at 0% 100%,#000 0 8%,transparent 99%);
  -webkit-mask-image:radial-gradient(ellipse 45% 33% at 100% 0%,#000 0 8%,transparent 99%),radial-gradient(ellipse 40% 30% at 0% 100%,#000 0 8%,transparent 99%);
  background:
    repeating-radial-gradient(circle at 101% 0%, transparent 0 29px,rgba(191,140,46,.18) 30px 31px,transparent 32px 46px),
    repeating-radial-gradient(circle at -2% 100%, transparent 0 33px,rgba(195,144,45,.16) 34px 35px,transparent 36px 51px),
    radial-gradient(circle at 10% 18%,rgba(239,177,40,.44) 0 3px,transparent 4px),
    radial-gradient(circle at 89% 23%,rgba(239,177,40,.38) 0 3px,transparent 4px),
    radial-gradient(circle at 7% 78%,rgba(225,165,40,.24) 0 4px,transparent 5px),
    radial-gradient(ellipse 21% 18% at 104% 13%,rgba(110,142,203,.14),transparent 100%),
    radial-gradient(ellipse 30% 19% at -4% 64%,rgba(216,224,245,.37),transparent 100%);
}
.saz-home-guide .saz-home-guide-art::before,
.saz-home-guide .saz-home-guide-art::after{
  content:"";
  position:absolute;
  display:block;
  pointer-events:none;
}
.saz-home-guide .saz-home-guide-art::before{
  width:340px;height:340px;left:-185px;top:37%;border-radius:46% 54% 62% 38%;
  background:linear-gradient(145deg,rgba(128,153,209,.16),rgba(242,197,105,.075));
  border:1px solid rgba(134,159,208,.17);transform:rotate(-22deg);
}
.saz-home-guide .saz-home-guide-art::after{
  width:410px;height:410px;right:-250px;bottom:8%;border-radius:56% 44% 47% 53%;
  background:linear-gradient(35deg,rgba(119,152,211,.17),rgba(241,196,105,.06));
  border:1px solid rgba(143,166,212,.18);transform:rotate(18deg);
}
/* Keep the entire pale TOC rail, but let its CONTENT stick within this card. */
.saz-home-guide .shg-body{
  background:linear-gradient(to right,#f3f7fc 0 265px,#fff 265px 100%);
}
.saz-home-guide .shg-toc{
  position:sticky;top:96px;align-self:start;
  max-height:calc(100vh - 112px);overflow-x:hidden;overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;scrollbar-color:#c5cfdb transparent;
  background:transparent;
}
.saz-home-guide .shg-toc a:focus-visible{outline-offset:-2px}
/* Respect the actual current theme and legacy dark-theme variants. */
html[data-theme="dark"] .saz-home-guide,
body[data-theme="dark"] .saz-home-guide,
html.dark .saz-home-guide,
body.dark .saz-home-guide{
  background:
    radial-gradient(ellipse 36% 26% at -4% 35%,rgba(178,117,20,.10),transparent 94%),
    radial-gradient(ellipse 33% 28% at 103% 70%,rgba(61,101,168,.13),transparent 95%),
    linear-gradient(150deg,#091323 0%,#101d31 52%,#0b1729 100%);
  border-top-color:#2b394c;
}
html[data-theme="dark"] .saz-home-guide .saz-home-guide-art,
body[data-theme="dark"] .saz-home-guide .saz-home-guide-art,
html.dark .saz-home-guide .saz-home-guide-art,
body.dark .saz-home-guide .saz-home-guide-art{
  opacity:1;
  background:
    repeating-radial-gradient(circle at 101% 0%,transparent 0 29px,rgba(189,141,50,.10) 30px 31px,transparent 32px 46px),
    repeating-radial-gradient(circle at -2% 100%,transparent 0 33px,rgba(189,141,50,.085) 34px 35px,transparent 36px 51px),
    radial-gradient(circle at 10% 18%,rgba(231,164,32,.29) 0 2px,transparent 3px),
    radial-gradient(circle at 89% 23%,rgba(231,164,32,.22) 0 2px,transparent 3px),
    radial-gradient(ellipse 26% 18% at 100% 48%,rgba(58,88,145,.11),transparent 98%);
}
html[data-theme="dark"] .saz-home-guide .saz-home-guide-art::before,
body[data-theme="dark"] .saz-home-guide .saz-home-guide-art::before,
html.dark .saz-home-guide .saz-home-guide-art::before,
body.dark .saz-home-guide .saz-home-guide-art::before{
  background:linear-gradient(145deg,rgba(41,64,105,.14),rgba(145,100,30,.045));
  border-color:rgba(104,128,171,.11);
}
html[data-theme="dark"] .saz-home-guide .saz-home-guide-art::after,
body[data-theme="dark"] .saz-home-guide .saz-home-guide-art::after,
html.dark .saz-home-guide .saz-home-guide-art::after,
body.dark .saz-home-guide .saz-home-guide-art::after{
  background:linear-gradient(145deg,rgba(48,80,137,.13),rgba(145,103,29,.045));
  border-color:rgba(102,122,166,.13);
}
html[data-theme="dark"] .saz-home-guide .shg-body,
body[data-theme="dark"] .saz-home-guide .shg-body,
html.dark .saz-home-guide .shg-body,
body.dark .saz-home-guide .shg-body{
  background:linear-gradient(to right,#101c2f 0 265px,#111e32 265px 100%);
}
/* Narrow desktop/tablet: rail width matches existing grid width. */
@media(max-width:980px) and (min-width:741px){
  .saz-home-guide .shg-body{background:linear-gradient(to right,#f3f7fc 0 210px,#fff 210px 100%)}
  html[data-theme="dark"] .saz-home-guide .shg-body,
  body[data-theme="dark"] .saz-home-guide .shg-body,
  html.dark .saz-home-guide .shg-body,
  body.dark .saz-home-guide .shg-body{background:linear-gradient(to right,#101c2f 0 210px,#111e32 210px 100%)}
}
/* Mobile: TOC stays readable at the top; no sticky panel blocking the screen. */
@media(max-width:740px){
  .saz-home-guide .shg-body{background:var(--shg-card)}
  .saz-home-guide .shg-toc{position:static;max-height:none;overflow:visible;align-self:auto;
    background:linear-gradient(180deg,#f4f7fc,#f9fafc)}
  html[data-theme="dark"] .saz-home-guide .shg-body,
  body[data-theme="dark"] .saz-home-guide .shg-body,
  html.dark .saz-home-guide .shg-body,
  body.dark .saz-home-guide .shg-body{background:#111e32}
  html[data-theme="dark"] .saz-home-guide .shg-toc,
  body[data-theme="dark"] .saz-home-guide .shg-toc,
  html.dark .saz-home-guide .shg-toc,
  body.dark .saz-home-guide .shg-toc{background:#101c2f}
  .saz-home-guide .saz-home-guide-art::before{width:200px;height:200px;left:-125px}
  .saz-home-guide .saz-home-guide-art::after{width:240px;height:240px;right:-170px}
}
