/* 가이드 글 공용 동적 그래프 (홈페이지 trust-visuals 와 같은 금색·보라 선과 스크롤 진입 움직임) */
[data-gm] svg text{font-family:'IBM Plex Sans KR',sans-serif}
.gm-toggle{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.gm-toggle button{padding:7px 14px;border:1px solid var(--line-strong,var(--line));border-radius:999px;background:transparent;color:var(--muted);font:600 13px 'IBM Plex Sans KR',sans-serif;cursor:pointer;transition:border-color .2s,color .2s,background .2s}
.gm-toggle button:hover{color:var(--text)}
.gm-toggle button[aria-pressed="true"]{border-color:var(--gold);color:var(--gold);background:rgba(195,160,106,.1)}
.gm-toggle button:focus-visible,.gm-day:focus-visible{outline:2px solid var(--text);outline-offset:3px}
.gm-badge{display:inline-block;margin-left:8px;padding:2px 8px;border:1px solid var(--violet-line,var(--line));border-radius:999px;color:var(--violet,var(--muted));font-size:11.5px;font-weight:700;vertical-align:middle}
.gm-day{cursor:pointer}
.gm-day .gm-col{fill:var(--panel);stroke:var(--line);transition:stroke .2s,fill .2s}
.gm-day:hover .gm-col{stroke:var(--gold-line)}
.gm-day[aria-pressed="true"] .gm-col{stroke:var(--gold);fill:rgba(195,160,106,.08)}
.gm-bar{fill:var(--gold);transform-box:fill-box;transform-origin:bottom}
.gm-bar.gm-strong{fill:#e7d5b8}
.gm-bar.gm-hold{fill:none;stroke:var(--violet);stroke-width:2;stroke-dasharray:5 4}
.gm-bar.gm-none{fill:none;stroke:var(--line-strong,var(--line));stroke-dasharray:3 4}
.gm-ready .gm-bar{transform:scaleY(0)}
.gm-ready.gm-in .gm-bar{animation:gm-rise .7s cubic-bezier(.2,.8,.2,1) forwards}
.gm-ready.gm-in .gm-day:nth-child(2) .gm-bar{animation-delay:.12s}
.gm-ready.gm-in .gm-day:nth-child(3) .gm-bar{animation-delay:.24s}
.gm-ready.gm-in .gm-day:nth-child(4) .gm-bar{animation-delay:.36s}
.gm-ready.gm-in .gm-day:nth-child(5) .gm-bar{animation-delay:.48s}
.gm-panel{margin-top:12px;padding:14px 16px;border:1px solid var(--gold-line);border-radius:10px;background:var(--panel);font-size:14px;line-height:1.7}
.gm-panel strong{color:var(--gold)}
.gm-needle{transform-box:view-box;transition:transform 1s cubic-bezier(.3,1.3,.4,1)}
.gm-score{font:700 34px 'IBM Plex Mono',monospace;fill:var(--text);text-anchor:middle}
.gm-state{fill:var(--gold);font-size:14px;font-weight:700;text-anchor:middle}
.gm-route path{fill:none;stroke:var(--gold);stroke-width:2;stroke-dasharray:260;stroke-dashoffset:0}
.gm-ready .gm-route path{stroke-dashoffset:260}
.gm-ready.gm-in .gm-route path{animation:gm-line 1.2s ease-out .4s forwards}
.gm-ready.gm-in .gm-route path+path{animation-delay:1s}
.gm-route rect{fill:var(--panel);stroke:var(--violet)}
@keyframes gm-rise{to{transform:scaleY(1)}}
@keyframes gm-line{to{stroke-dashoffset:0}}
@media(prefers-reduced-motion:reduce){.gm-ready .gm-bar{transform:none;animation:none!important}.gm-ready .gm-route path{stroke-dashoffset:0;animation:none!important}.gm-needle{transition:none}}

/* 기존 글의 정적 그림: 문구는 그대로 두고 스크롤 진입 시 차례로 나타나고 선이 그려지며, 마우스를 올리면 강조된다 */
.gm-auto-ready svg .gm-a{opacity:0;transform:translateY(6px);transition:opacity .5s ease,transform .5s ease;transition-delay:calc(var(--gm-i,0)*70ms)}
.gm-auto-ready svg line.gm-a,.gm-auto-ready svg path.gm-a,.gm-auto-ready svg polyline.gm-a{opacity:1;transform:none;stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset .9s ease;transition-delay:calc(var(--gm-i,0)*70ms)}
.gm-auto-in svg .gm-a{opacity:1;transform:none}
.gm-auto-in svg line.gm-a,.gm-auto-in svg path.gm-a,.gm-auto-in svg polyline.gm-a{stroke-dashoffset:0}
.guide-figure svg rect:hover{stroke:var(--gold)}
@media(prefers-reduced-motion:reduce){.gm-auto-ready svg .gm-a{opacity:1;transform:none;transition:none}.gm-auto-ready svg line.gm-a,.gm-auto-ready svg path.gm-a,.gm-auto-ready svg polyline.gm-a{stroke-dashoffset:0;transition:none}}

/* 눌러 보는 그래프 (guide-widgets.js) */
.legal .guide-figure svg.gm-fallback{display:none}
.gm-ui{display:block}
.gm-range{display:flex;align-items:center;gap:12px;margin:0 0 12px;flex-wrap:wrap}
.gm-range-label{color:var(--muted);font-size:13px;font-weight:600}
.gm-range input{flex:1;min-width:140px;accent-color:var(--gold)}
.gm-range-out{min-width:44px;color:var(--gold);font:700 14px 'IBM Plex Mono',monospace}
.gm-ui svg text.gm-t{fill:var(--text);font-size:14px}
.gm-ui svg text.gm-t.muted{fill:var(--muted);font-size:13px}
.gm-ui svg text.gm-t.alt{fill:var(--violet)}
.gm-seg{fill:var(--panel);stroke:var(--line);transition:fill .4s,stroke .3s}
.gm-seg.on{fill:rgba(195,160,106,.45);stroke:var(--gold-line)}
.gm-seg.cur{fill:var(--gold);stroke:var(--gold)}
.gm-circ{fill-opacity:.25;stroke-width:2;transition:cx .3s}
.gm-circ.a{fill:var(--gold);stroke:var(--gold)}
.gm-circ.b{fill:var(--violet);stroke:var(--violet)}
.gm-ovl{fill:var(--text);fill-opacity:.18}
.gm-track{fill:var(--panel);stroke:var(--line)}
.gm-fill{fill:var(--gold);transition:width .3s}
.gm-box{fill:var(--panel);stroke:var(--line-strong,var(--line));transition:stroke .3s}
.gm-hot .gm-box{stroke:var(--gold);fill:rgba(195,160,106,.1)}
.gm-dim{opacity:.35}
.gm-hot,.gm-dim{transition:opacity .3s}
.gm-axis{stroke:var(--line-strong,var(--line));stroke-width:1.5}
.gm-line{stroke:var(--gold);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.gm-line.alt{stroke:var(--violet)}
.gm-avg{stroke:var(--violet);stroke-width:2;stroke-dasharray:6 5}
.gm-dotg{fill:var(--gold);stroke:var(--panel2,#000);stroke-width:2}
.gm-dotv{fill:var(--panel);stroke:var(--violet);stroke-width:2;opacity:.3}
.gm-dotv.on{opacity:1;fill:var(--violet)}
.gm-bar2{fill:var(--gold);transition:all .4s}
.gm-bar2.tot{fill:#e7d5b8}
.gm-bar2.neg{fill:var(--violet)}
.gm-zone{stroke-linecap:butt}
.gm-z1{stroke:var(--violet);opacity:.55}.gm-z2{stroke:var(--gold);opacity:.55}.gm-z3{stroke:#d9715b;opacity:.8}
.gm-hub{fill:var(--panel2,#000);stroke:var(--gold);stroke-width:3}
.gm-dot{fill:var(--panel);stroke:var(--line-strong,var(--line));stroke-width:2;transition:fill .35s,stroke .35s}
.gm-dot.on{fill:var(--gold);stroke:var(--gold)}
