.sg-btn{display:flex;align-items:center;gap:12px;width:100%;margin-top:18px;padding:12px 14px;background:#F9F8F6;border:1px solid #E8E4DD;border-radius:2px;color:#191919;font:inherit;text-align:left;cursor:pointer;transition:border-color .25s,background .25s}
.sg-btn:hover{border-color:#AD8C57;background:#fff}
.sg-btn__ic{width:24px;height:24px;flex:none;color:#AD8C57}
.sg-btn__t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.sg-btn__t b{font-size:14px;font-weight:500}
.sg-btn__t small{font-size:12.5px;color:#77716B;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sg-btn__ar{width:16px;height:16px;flex:none;transition:transform .25s}
.sg-btn:hover .sg-btn__ar{transform:translateX(3px);color:#AD8C57}
.sg{width:min(760px,calc(100% - 24px));max-width:none;max-height:calc(100dvh - 24px);margin:auto;padding:0;border:0;border-radius:4px;background:#fff;color:#191919;box-shadow:0 30px 70px rgba(0,0,0,.28);overflow:auto}
.sg::backdrop{background:rgba(17,17,17,.55);backdrop-filter:blur(3px)}
.sg[open]{animation:sgu .35s cubic-bezier(.2,.8,.2,1)}
@keyframes sgu{from{opacity:0;transform:translateY(14px) scale(.98)}}
.sg__in{padding:clamp(16px,3vw,28px)}
.sg__h{position:sticky;top:0;z-index:1;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:0 0 14px;padding-bottom:12px;background:#fff;border-bottom:1px solid #E8E4DD}
.sg__k{font-size:11px;letter-spacing:.22em;text-transform:uppercase;color:#AD8C57;font-weight:500;margin:0 0 4px}
.sg__t{font-size:clamp(20px,3vw,26px);font-weight:500;letter-spacing:-.01em;line-height:1.2;margin:0}
.sg__x{display:grid;place-items:center;flex:none;width:42px;height:42px;border:1px solid #E8E4DD;border-radius:50%;background:#fff;color:#191919;cursor:pointer;transition:transform .25s,background .25s}
.sg__x:hover{background:#F9F8F6;transform:rotate(90deg)}
.sg__x svg{width:18px;height:18px}
.sg__img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(100dvh - 200px);margin:0 auto;object-fit:contain}
.sg__dim{margin:14px 0 0;text-align:center;font-size:15px;font-weight:500}
.sg__n{margin:6px 0 0;text-align:center;font-size:12.5px;color:#77716B}
html.sg-lock{overflow:hidden}
@media (prefers-reduced-motion:reduce){.sg[open]{animation:none}}
