/* Scroll guide island (2026-11-18) — floating overlay, does not change page layout */
.sg{position:fixed;top:16px;left:50%;z-index:90;display:flex;align-items:center;gap:12px;height:52px;padding:0 8px 0 7px;max-width:calc(100vw - 24px);
  border-radius:99px;background:rgba(14,10,22,.82);border:1px solid rgba(255,255,255,.1);color:#f4f1ea;
  -webkit-backdrop-filter:blur(14px) saturate(1.4);backdrop-filter:blur(14px) saturate(1.4);
  box-shadow:0 18px 40px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.06);
  transform:translate(-50%,-90px);opacity:0;pointer-events:none;
  transition:transform .55s cubic-bezier(.2,.9,.25,1.15),opacity .35s,padding .45s cubic-bezier(.2,.8,.2,1)}
.sg.is-on{transform:translate(-50%,0);opacity:1;pointer-events:auto}
.sg-mark{position:relative;flex:none;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;cursor:pointer;border:0;padding:0;background:none;color:inherit}
.sg-mark svg{position:absolute;inset:0;width:38px;height:38px;transform:rotate(-90deg)}
.sg-mark circle{fill:none;stroke-width:2.5}
.sg-track{stroke:rgba(255,255,255,.12)}
.sg-ring{stroke:#c8f25a;stroke-linecap:round;stroke-dasharray:107;stroke-dashoffset:calc(107 - 107*var(--sp,0));transition:stroke-dashoffset .2s linear}
.sg-mark b{font:800 12px/1 Manrope,sans-serif;letter-spacing:-.02em}
.sg-mark i{position:absolute;top:3px;right:3px;width:7px;height:7px;border-radius:50%;background:#c8f25a;box-shadow:0 0 8px #c8f25a;animation:sg-blink 2.4s ease-in-out infinite}
@keyframes sg-blink{50%{opacity:.35}}
.sg-text{display:grid;min-width:0;max-width:340px;overflow:hidden;transition:max-width .45s cubic-bezier(.2,.8,.2,1),opacity .3s}
.sg-text b{font:700 14px/1.15 Manrope,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sg-text small{font-size:12.5px;line-height:1.3;color:rgba(244,241,234,.62);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sg-text b span{color:#c8f25a;margin-right:6px;font-weight:600}
.sg-next{flex:none;height:36px;padding:0 14px;border-radius:99px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.05);color:inherit;font:600 12.5px/1 Manrope,sans-serif;cursor:pointer;white-space:nowrap;transition:background .25s,border-color .25s,max-width .45s,opacity .3s,padding .45s;max-width:140px;overflow:hidden}
.sg-next:hover{background:rgba(200,242,90,.12);border-color:rgba(200,242,90,.5)}
.sg-next:focus-visible,.sg-mark:focus-visible{outline:2px solid #c8f25a;outline-offset:2px}
.sg.is-moving{padding:0 7px}
.sg.is-moving .sg-text,.sg.is-moving .sg-next{max-width:0;opacity:0;padding:0;border-width:0}
.sg.is-moving{gap:0}
.sg-text.swap{animation:sg-swap .45s cubic-bezier(.2,.8,.2,1)}
@keyframes sg-swap{from{opacity:0;transform:translateY(6px)}}
[data-theme="light"] .sg{background:rgba(255,255,255,.86);border-color:rgba(20,16,28,.1);color:#17131c;box-shadow:0 16px 36px rgba(20,16,28,.14)}
[data-theme="light"] .sg-track{stroke:rgba(20,16,28,.12)}
[data-theme="light"] .sg-ring{stroke:#4d7c0f}
[data-theme="light"] .sg-mark i{background:#65a30d;box-shadow:0 0 6px #65a30d}
[data-theme="light"] .sg-text small{color:rgba(20,16,28,.6)}
[data-theme="light"] .sg-text b span{color:#4d7c0f}
[data-theme="light"] .sg-next{border-color:rgba(20,16,28,.14);background:rgba(20,16,28,.04)}
@media (max-width:560px){.sg{top:10px;height:48px}.sg-text{max-width:52vw}.sg-next{padding:0 11px}}
@media (prefers-reduced-motion:reduce){.sg,.sg *{transition:none!important;animation:none!important}}

.sg{width:max-content}
@media (max-width:560px){.sg-text{max-width:none;flex:1 1 auto}.sg-next{font-size:12px}}

/* portrait in the badge */
.sg-face{position:absolute;top:5px;left:5px;width:28px;height:28px;border-radius:50%;object-fit:cover;object-position:50% 30%;opacity:0;transition:opacity .3s}
.sg.has-face .sg-face{opacity:1}
.sg.has-face .sg-mark b{opacity:0}
.sg-mark i{z-index:1;border:2px solid #0e0a16}
[data-theme="light"] .sg-mark i{border-color:#fff}
