/* Mesajlar (destek.js) stilleri, style.css yüklemeyen kurs ve banka sayfaları için (18.11.2026). Kaynak: style.css "Canlı destek" bloğu;
   orada değişen kural burada da değişmeli. */
:root{--no:#B91C1C;--paper2:var(--bg2,#EEF2F7)}
/* ------------------------------ Canlı destek ------------------------------ */
.ds-dugme{position:fixed;right:16px;bottom:calc(88px + env(safe-area-inset-bottom));z-index:65;width:52px;height:52px;border-radius:50%;border:0;
  background:var(--acc);color:#fff;display:grid;place-items:center;box-shadow:0 6px 20px rgba(9,40,37,.28);cursor:pointer}
.ds-dugme svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ds-dugme:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.ds-dugme[hidden]{display:none}
.ds-dugme:not(.ds-ust-dugme){width:auto;padding:0 18px 0 15px;border-radius:26px;display:flex;align-items:center;gap:8px;font:inherit;font-size:15px;font-weight:700}
.ds-etiket{line-height:1}
.ds-dugme.ds-ust-dugme{flex-direction:column;justify-content:center;gap:2px;width:auto;min-width:44px;padding:0 4px;font:inherit;font-size:10.5px;font-weight:700}
.ds-bildirim .mbox{width:min(260px,100%);padding:18px 16px 14px;text-align:center}
.ds-bildirim h3{margin:0 0 14px;font-size:17px;display:flex;align-items:center;justify-content:center;gap:8px}
.ds-bildirim h3 svg{width:22px;height:22px;fill:none;stroke:var(--acc);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.ds-bildirim h3 svg[viewBox="0 0 256 256"]{color:var(--acc)}
.ds-bildirim .mw-act{gap:8px;margin-top:0}
.ds-bildirim .mw-act .btn{min-width:0;flex:1;min-height:44px;padding:0 12px;font-size:15px}
.ds-bildirim .btn.ghost{background:transparent;color:var(--acc);border:1px solid var(--line);box-shadow:none}
.ds-dugme[hidden]{display:none}
.ds-rozet{position:absolute;top:-3px;right:-3px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:var(--no);color:#fff;
  font-size:11.5px;font-weight:700;display:grid;place-items:center;border:1px solid var(--bg)}
.ds-rozet[hidden]{display:none}
.ds-panel{position:fixed;right:16px;bottom:calc(150px + env(safe-area-inset-bottom));z-index:66;width:min(370px,calc(100vw - 32px));
  height:min(520px,calc(100dvh - 190px));display:flex;flex-direction:column;background:var(--paper);border:1px solid var(--line);
  border-radius:18px;box-shadow:0 18px 50px rgba(9,40,37,.28);overflow:hidden}
.ds-panel[hidden]{display:none}
.ds-ust{display:flex;align-items:center;gap:10px;padding:14px 12px 12px 16px;background:var(--acc);color:#fff}
.ds-ust div{flex:1;min-width:0}
.ds-ust b{display:block;font-size:16px}
.ds-ust span{display:block;font-size:12.5px;opacity:.88;margin-top:2px}
.ds-kapat{width:44px;height:44px;border:0;background:transparent;color:#fff;display:grid;place-items:center;border-radius:10px;cursor:pointer}
.ds-kapat svg,.ds-gonder svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ds-kapat:focus-visible{outline:2px solid #fff;outline-offset:-4px}
.ds-liste{flex:1;overflow-y:auto;padding:14px 12px;display:flex;flex-direction:column;gap:8px;background:var(--paper2)}
.ds-bos{margin:auto 8px;text-align:center;color:var(--ink3);font-size:14px}
.ds-m{max-width:84%;padding:8px 11px 6px;border-radius:14px;font-size:14.5px;line-height:1.4}
.ds-m p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.ds-m a{color:inherit;text-decoration:underline;font-weight:600}
.ds-m time{display:block;font-size:11px;opacity:.7;margin-top:3px;text-align:right}
.ds-o{align-self:flex-start;background:var(--paper);border:1px solid var(--line);border-bottom-left-radius:4px}
.ds-b{align-self:flex-end;background:var(--acc);color:#fff;border-bottom-right-radius:4px}
.ds-ad{display:block;font-size:11.5px;color:var(--acc);margin-bottom:2px}
.ds-form{display:flex;gap:8px;padding:10px;border-top:1px solid var(--line);background:var(--paper)}
.ds-form textarea{flex:1;resize:none;border:1px solid var(--line);border-radius:12px;padding:9px 11px;font:inherit;font-size:15px;
  background:var(--paper);color:var(--ink);min-height:44px;max-height:120px}
.ds-form textarea:focus-visible{outline:2px solid var(--acc);outline-offset:1px}
.ds-gonder{width:44px;height:44px;flex:0 0 auto;border:0;border-radius:12px;background:var(--acc);color:#fff;display:grid;place-items:center;cursor:pointer;align-self:flex-end}
.ds-gonder:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.ds-uyari{margin:0;padding:0 12px 8px;font-size:12.5px;color:var(--no);background:var(--paper)}
.ds-uyari:empty{display:none}
@media (min-width:900px){.ds-dugme{bottom:24px;right:24px}.ds-panel{bottom:88px;right:24px}}
/* Dar ekran: destek düğmesi üst barda (içeriğin üstüne binmez), pencere üstten açılır */
.ds-dugme.ds-ust-dugme{position:relative;right:auto;bottom:auto;z-index:auto;min-width:44px;width:auto;height:44px;border-radius:10px;
  background:transparent;color:var(--acc);box-shadow:none}
.ds-dugme.ds-ust-dugme svg{width:19px;height:19px}
.ds-dugme.ds-ust-dugme .ds-rozet{top:-2px;right:-4px}
.ds-ustte .ds-panel{top:calc(70px + env(safe-area-inset-top));bottom:auto;height:min(520px,calc(100dvh - 90px))}
@media print{.ds{display:none}}
:root[data-theme="dark"] .ds-dugme,:root[data-theme="dark"] .ds-ust,:root[data-theme="dark"] .ds-ust .ds-kapat,:root[data-theme="dark"] .ds-b,:root[data-theme="dark"] .ds-gonder{color:#06201d}
:root[data-theme="dark"] .ds-kapat:focus-visible{outline-color:#06201d}
:root[data-theme="dark"] .ds-dugme.ds-ust-dugme{color:var(--acc)}
/* Telefonda üst çubuk: "Mesajlar" yazısı gizlenir (ikon + rozet kalır), site adı kesilmez */
@media (max-width:480px){
  .ds-dugme.ds-ust-dugme{font-size:0;gap:0}
  .ds-dugme.ds-ust-dugme svg{width:22px;height:22px}
}
.ust-sag .ds-dugme.ds-ust-dugme{display:grid;place-items:center;width:44px;min-width:44px;height:44px;padding:0;gap:0;color:inherit}
.ust-sag .ds-dugme.ds-ust-dugme svg{width:19px !important;height:19px !important;margin:0}
