/* Telegram price alert */
.buy__tg{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;padding:8px 12px;text-align:center;line-height:1.25;border:1px solid #229ed9;border-radius:8px;background:#e8f5fc;font:inherit;font-size:.88rem;font-weight:700;color:#0b6a99;cursor:pointer}
.buy__tg svg{flex:none;width:18px;height:18px;fill:currentColor;stroke:none}
.buy__tg:hover{background:#d5eefa}
.dark .buy__tg{background:rgba(34,158,217,.14);color:#7cc8ef;border-color:#2b8fc0}
.tgd{width:min(94vw,460px);padding:0;border:0;border-radius:16px;background:var(--card);color:var(--ink);box-shadow:var(--sh-3)}
.tgd::backdrop{background:rgba(2,6,23,.6)}
.tgd__f{display:flex;flex-direction:column;gap:14px;padding:18px}
.tgd__head{display:flex;align-items:center;gap:10px}
.tgd__head h2{flex:1;margin:0;font-size:1.1rem;font-weight:800}
.tgd__ic{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#229ed9;color:#fff}
.tgd__ic svg{width:18px;height:18px;fill:currentColor}
.tgd__x{display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:8px;background:none;color:var(--muted);cursor:pointer}
.tgd__x:hover{background:var(--tint)}
.tgd__x svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}
.tgd__prod{display:flex;flex-direction:column;gap:2px;margin:0;padding:10px 12px;border-radius:10px;background:var(--tint);font-size:.88rem}
.tgd__prod span{color:var(--muted)}
.tgd__prod span:empty{display:none}
.tgd__now{color:var(--ink)!important;font-weight:600}
.tgd__modes{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;border:0}
.tgd__modes legend{margin-bottom:6px;font-size:.8rem;font-weight:700;color:var(--muted)}
.tgd__opt{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;min-height:46px;padding:8px 12px;border:1px solid var(--line);border-radius:10px;font-size:.9rem;font-weight:600;cursor:pointer}
.tgd__opt:has(input:checked){border-color:var(--brand);background:var(--brand-050)}
.tgd__opt label{display:inline-flex;align-items:center;gap:10px;cursor:pointer}
.tgd__opt input[type=radio]{width:18px;height:18px;margin:0;accent-color:var(--brand)}
.tgd__tgt{display:inline-flex;align-items:center;gap:6px;margin-left:auto}
.tgd__tgt input{width:110px;height:36px;padding:0 10px;border:1px solid var(--line);border-radius:8px;background:var(--card);font:inherit;font-variant-numeric:tabular-nums;color:var(--ink)}
.tgd__tgt input:focus{outline:2px solid var(--brand);outline-offset:0;border-color:transparent}
.tgd__tgt em{font-style:normal;font-weight:500;color:var(--muted)}
.tgd__hint{font-size:.78rem;color:var(--muted)}
.tgd__hint:empty{display:none}
.tgd__err{margin:0;font-size:.84rem;font-weight:600;color:var(--red)}
.tgd__go,.tgd__open{width:100%;height:46px;font-size:.95rem}
.tgd__open{gap:8px;background:#229ed9;border-color:#229ed9}
.tgd__open:hover{background:#1c8cc2;border-color:#1c8cc2}
.tgd__open svg{width:18px;height:18px;fill:currentColor}
.tgd__open[hidden]{display:none}
.tgd__s2{display:flex;flex-direction:column;gap:12px}
.tgd__s2[hidden]{display:none}
.tgd__step{margin:0;font-size:.92rem;line-height:1.45}
.tgd__step:empty{display:none}
.tgd__st{margin:0;font-size:.88rem;color:var(--muted)}
.tgd__st.is-ok{padding:10px 12px;border-radius:10px;background:var(--green-bg);color:var(--green);font-weight:700}
.tgd__note{margin:0;font-size:.76rem;color:var(--muted)}

.tgd button.hbtn,.tgd a.hbtn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:8px;background:var(--brand);color:white;font:inherit;font-weight:700;cursor:pointer}
.tgd button:disabled{opacity:.65;cursor:wait}
