﻿.safari-guard{--sun:#e8c37e;--sunsoft:#fbf4e7;--blue:#13233a;--bluesoft:#f6f1e7;--red:#b4552f;--dim:#7d8898;--green:#1f8a66;--greensoft:#e3f3ec;--soft:#f1f3f5;--paper:#f7f8f7;--line:#e3e7ec;--muted:#657188;--ink:#172339;--navy:#0d1b2d}
.safari-guard{display:none}
html.sg-on,html.sg-on body{overflow:hidden!important;overscroll-behavior:none}
html.sg-on .site,html.sg-on .read-progress,html.sg-on #backTop{filter:blur(3px);pointer-events:none;user-select:none}
html.sg-on .safari-guard{display:flex}
.safari-guard{position:fixed;top:0;left:0;width:100%;height:100%;max-width:100vw;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;z-index:99999;
  flex-direction:column;align-items:center;justify-content:flex-start;
  padding:calc(env(safe-area-inset-top) + 120px) 16px calc(env(safe-area-inset-bottom) + 24px);
  background:radial-gradient(circle at 100% 0%,rgba(232,195,126,.26),transparent 36%),radial-gradient(circle at 0% 60%,rgba(54,83,120,.35),transparent 45%),rgba(13,27,45,.94);
  animation:sgFade .35s ease both}
html[data-sg-mode="copy"] .safari-guard{padding-top:calc(env(safe-area-inset-top) + 28px)}
@keyframes sgFade{from{opacity:0}to{opacity:1}}
.sg-pointer{position:fixed;top:env(safe-area-inset-top);right:0;width:190px;height:112px;pointer-events:none;z-index:2}
html[data-sg-mode="copy"] .sg-pointer{display:none}
.sg-ring{position:absolute;top:-22px;right:4px;width:48px;height:48px;border-radius:50%;border:2px solid var(--sun);box-shadow:0 0 22px rgba(252,209,22,.55),inset 0 0 14px rgba(252,209,22,.3)}
.sg-ring::after{content:"";position:absolute;inset:-2px;border-radius:50%;border:2px solid var(--sun);animation:sgPulse 1.6s ease-out infinite}
@keyframes sgPulse{0%{transform:scale(1);opacity:.9}100%{transform:scale(2.1);opacity:0}}
.sg-arrow{position:absolute;top:22px;right:18px;width:96px;height:80px;overflow:visible;animation:sgBob 1.4s ease-in-out infinite}
.sg-arrow path.trail{stroke-dasharray:6 7;animation:sgDash 1s linear infinite}
@keyframes sgDash{to{stroke-dashoffset:-26}}
@keyframes sgBob{0%,100%{transform:translate(0,0)}50%{transform:translate(5px,-6px)}}
.sg-tip{position:absolute;top:70px;right:74px;display:inline-flex;align-items:center;gap:6px;white-space:nowrap;padding:8px 12px;border-radius:999px;font-size:13px;font-weight:800;color:var(--navy);background:var(--sun);box-shadow:0 10px 26px -6px rgba(252,209,22,.6)}
.sg-tip b{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:7px;background:rgba(11,31,77,.14);font-size:14px;line-height:1;letter-spacing:-.05em}
.sg-card{position:relative;flex:0 0 auto;width:100%;max-width:min(400px,100%);min-width:0;padding:20px 16px 16px;border-radius:24px;background:#fff;border:1px solid var(--line);box-shadow:0 30px 80px -20px rgba(0,0,0,.55);overflow:hidden}
.sg-card::before{content:"";position:absolute;left:0;right:0;top:0;height:5px;background:linear-gradient(90deg,#b78844,#efc788,#a77c43)}
.sg-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:4px}
.sg-head .brand b{color:var(--ink);font-size:15px}
.sg-head .brand span{color:var(--dim)}
.sg-chip{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:800;color:#8a6a00;background:var(--sunsoft);border:1px solid #f1e2a2;padding:6px 10px;border-radius:999px;white-space:nowrap}
.sg-card h3{margin:16px 0 8px;font-family:var(--sans);font-size:27px;line-height:1.12;font-weight:900;letter-spacing:-.02em;color:var(--ink)}
.sg-card h3 em{font-style:normal;color:var(--blue)}
.sg-lead{margin:0 0 16px;font-size:14px;line-height:1.7;color:var(--muted)}
.sg-lead b{color:var(--ink)}
.sg-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
.sg-step{min-width:0;display:flex;gap:12px;align-items:flex-start;padding:14px;border-radius:16px;background:var(--paper);border:1px solid var(--line)}
.sg-step.on{background:var(--bluesoft);border-color:#c8d6f3}
.sg-num{flex:0 0 30px;height:30px;border-radius:10px;display:grid;place-items:center;font-family:var(--sans);font-size:15px;font-weight:800;color:var(--blue);background:#fff;border:1px solid var(--line)}
.sg-step.on .sg-num{background:var(--blue);border-color:var(--blue);color:#fff}
.sg-body{flex:1;min-width:0}
.sg-body strong{display:block;font-size:15.5px;line-height:1.4;margin:3px 0 3px;color:var(--ink)}
.sg-body strong em{font-style:normal;color:var(--red)}
.sg-body p{margin:0;font-size:13px;line-height:1.6;color:var(--muted)}
.sg-bar{margin-top:10px;display:flex;align-items:center;gap:8px;padding:8px 9px;border-radius:12px;background:#fff;border:1px solid var(--line)}
.sg-bar .x{width:22px;height:22px;display:grid;place-items:center;color:var(--dim);font-size:13px}
.sg-bar .url{flex:1;min-width:0;height:22px;border-radius:7px;background:var(--soft);display:flex;align-items:center;padding:0 8px;font-size:10.5px;color:var(--dim);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.sg-bar .more{flex:0 0 auto;width:30px;height:24px;border-radius:8px;display:grid;place-items:center;font-weight:900;font-size:14px;letter-spacing:-.04em;color:var(--sun);background:var(--blue);box-shadow:0 0 0 3px rgba(0,56,168,.2);animation:sgGlow 1.6s ease-in-out infinite}
@keyframes sgGlow{50%{box-shadow:0 0 0 6px rgba(0,56,168,.1),0 6px 16px rgba(0,56,168,.35)}}
.sg-menu{margin-top:10px;border-radius:12px;overflow:hidden;background:#fff;border:1px solid var(--line)}
.sg-menu div{display:flex;align-items:center;gap:9px;padding:9px 11px;font-size:12.5px;color:var(--dim);border-bottom:1px solid #efece5}
.sg-menu div:last-child{border-bottom:0}
.sg-menu i{font-style:normal;width:18px;text-align:center;opacity:.75}
.sg-menu .hit{color:var(--ink);font-weight:800;background:var(--sunsoft);box-shadow:inset 3px 0 0 var(--red)}
.sg-menu .hit i{opacity:1}
.sg-menu .hit em{margin-left:auto;font-style:normal;font-size:10.5px;color:var(--red);font-weight:800;white-space:nowrap;animation:sgNudge 1.2s ease-in-out infinite}
@keyframes sgNudge{50%{transform:translateX(-4px)}}
.sg-note{margin-top:8px!important;font-size:11.5px!important;color:var(--dim)!important}
.sg-done{display:inline-flex;align-items:center;gap:6px;margin-top:8px;padding:6px 10px;border-radius:999px;font-size:11.5px;font-weight:700;color:var(--green);border:1px solid #c3e5d4;background:var(--greensoft)}
.sg-alt{margin-top:14px;padding-top:14px;border-top:1px dashed var(--line);text-align:center}
.sg-alt small{display:block;margin-bottom:9px;font-size:12px;color:var(--dim)}
.sg-copy{width:100%;min-height:50px;border:0;border-radius:16px;cursor:pointer;color:var(--navy);font-size:15px;font-weight:800;background:var(--sun)}
html[data-sg-mode="menu"] .sg-copy{background:#fff;color:var(--ink);border:1px solid var(--line)}
.sg-ok{margin-top:9px;color:var(--green);font-size:12.5px;line-height:1.5;min-height:18px}
.sg-mode-copy{display:none}
html[data-sg-mode="copy"] .sg-mode-menu{display:none}
html[data-sg-mode="copy"] ol.sg-mode-copy{display:grid}
@media (prefers-reduced-motion:reduce){.safari-guard *,.safari-guard *::after{animation:none!important}}
.sg-brand{display:flex;align-items:center;gap:10px;min-width:0}.sg-brand .mark{width:24px;height:24px;margin:0 4px}.sg-brand .mark span{width:10px;height:10px}.sg-brand b{display:block;font-size:12px;letter-spacing:.08em;color:var(--ink)}.sg-brand div span{display:block;font-size:7.5px;letter-spacing:.24em;font-weight:800;color:#8191a5;margin-top:2px}
.sg-card h3 em{font-family:var(--serif);font-style:italic;font-weight:400;color:#a67b3f}
