/* Виджет техподдержки: плавающая кнопка справа снизу, частые вопросы и ссылка на форму обращений */
.sup { --sup-bg: #151219; --sup-line: #352d3d; --sup-soft: #b9b1c0; position: fixed; z-index: 50; right: max(20px, env(safe-area-inset-right, 0px)); bottom: max(20px, env(safe-area-inset-bottom, 0px)); font-family: var(--font-text); }
.sup svg { width: 22px; height: 22px; flex: none; }
.sup-fab { display: flex; align-items: center; gap: 10px; padding: 14px 20px 14px 16px; border: 0; border-radius: 100px; background: var(--purple); color: #1c0e25; font-weight: 800; font-size: .95rem; box-shadow: 0 10px 34px #a54bce55, 0 0 0 1px #ffffff26 inset; }
.sup-fab:hover { background: #ddaafd; }
.sup.is-open .sup-fab { background: #241e29; color: #fff; box-shadow: 0 0 0 1px #56405f inset; }
.sup-panel { position: absolute; right: 0; bottom: calc(100% + 12px); width: min(380px, calc(100vw - 40px)); max-height: min(620px, calc(100vh - 110px)); overflow: auto; background: var(--sup-bg); border: 1px solid var(--sup-line); border-radius: 18px; box-shadow: 0 24px 60px #00000099; animation: sup-in .22s cubic-bezier(.2,.72,.24,1); }
@keyframes sup-in { from { opacity: 0; translate: 0 10px; } }
.sup-head { position: sticky; top: 0; display: flex; align-items: center; gap: 10px; padding: 16px 16px 14px 20px; background: linear-gradient(135deg, #2b1640, var(--sup-bg) 70%); border-bottom: 1px solid var(--sup-line); }
.sup-head > div { flex: 1; min-width: 0; }
.sup-head h2 { margin: 0; font: 800 1.15rem/1.2 var(--font-text); letter-spacing: -.006em; }
.sup-status { margin: 3px 0 0; color: var(--sup-soft); font-size: .8rem; display: flex; align-items: center; gap: 7px; }
.sup-status i { width: 8px; height: 8px; border-radius: 50%; background: #5ee08a; box-shadow: 0 0 0 3px #5ee08a2e; }
.sup-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--sup-line); background: #1d1823; }
.sup-icon:hover { border-color: var(--purple); }
.sup-icon svg { width: 18px; height: 18px; }
.sup-view { padding: 18px 20px 20px; }
.sup-lead { margin: 0 0 12px; font-weight: 800; font-size: 1rem; }
.sup-send { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 13px; border: 0; border-radius: 12px; background: var(--purple); color: #1c0e25; font-weight: 800; }
.sup-send svg { width: 18px; height: 18px; }
.sup-note { margin: 8px 0 0; color: var(--sup-soft); font-size: .82rem; }
.sup-send:hover { background: #ddaafd; }
@media (max-width: 560px) {
  .sup-fab span { display: none; }
  .sup-fab { padding: 15px; }
}
.sup-lead-2 { margin-top: 18px; }
.sup-faqs { display: grid; gap: 6px; }
.sup-faqs details { border: 1px solid var(--sup-line); border-radius: 12px; background: #1b1720; padding: 0 14px; }
.sup-faqs summary { cursor: pointer; padding: 11px 0; font-weight: 700; font-size: .92rem; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.sup-faqs summary::-webkit-details-marker { display: none; }
.sup-faqs summary::after { content: "+"; color: var(--purple); font-weight: 800; }
.sup-faqs details[open] summary::after { content: "−"; }
.sup-faqs p { margin: 0 0 12px; color: var(--sup-soft); font-size: .86rem; }
.sup-faqs a { color: var(--purple); text-decoration: underline; }
.sup-channels { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sup-ch { display: grid; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--sup-line); background: #1b1720; }
.sup-ch:hover { border-color: var(--purple); }
.sup-ch small { color: var(--sup-soft); font-size: .78rem; }
.sup-ch[data-link=discord] b { color: #9aa3ff; } .sup-ch[data-link=telegram] b { color: #7cc7f5; }
