/* AsilNetwork – bildirimler (ana sayfa kartı, açılır bildirim, rozet). İki modda da çalışır. */

/* ---- ana sayfadaki küçük bildirim kartı ---- */
.mc-nth{ margin:10px 0 0; }
.mc-nth[hidden]{ display:none !important; }
.mc-nth__in{
    display:flex; align-items:center; gap:10px; padding:8px 8px 8px 10px; border-radius:16px;
    background:linear-gradient(135deg,rgba(245,179,1,.2),rgba(245,179,1,.08));
    border:1px solid rgba(245,179,1,.5); animation:mc-nt-in .45s cubic-bezier(.2,.9,.3,1.1) both;
    box-shadow:0 12px 26px -18px rgba(245,179,1,.9);
}
.mc-nth__ic{
    width:34px; height:34px; flex:none; display:grid; place-items:center; border-radius:11px; font-size:14px;
    background:linear-gradient(135deg,#ffe58f,#f5b301); color:#1a1203; animation:mc-nt-ring 2.6s ease-in-out infinite;
}
.mc-nth__t{ flex:1; min-width:0; display:grid; gap:1px; }
.mc-nth__t b{ font-size:13.5px; font-weight:800; color:var(--mc-tx,#fff); line-height:1.25; }
.mc-nth__t small{ font-size:12px; color:var(--mc-mu,#bbb); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mc-nth__go{
    flex:none; padding:7px 14px; border-radius:99px; font-size:12.5px; font-weight:800; text-decoration:none;
    background:linear-gradient(135deg,#ffe58f,#f5b301); color:#1a1203;
}
.mc-nth__x{
    flex:none; width:28px; height:28px; border-radius:50%; border:0; cursor:pointer; font-size:18px; line-height:1;
    background:rgba(255,255,255,.08); color:var(--mc-mu,#bbb);
}
html[data-theme="light"] .mc-nth__in{ background:linear-gradient(135deg,#fff4cf,#fffaf0); border-color:rgba(245,179,1,.6); box-shadow:0 14px 28px -20px rgba(176,108,0,.55); }
html[data-theme="light"] .mc-nth__x{ background:rgba(88,66,190,.08); color:#5a5486; }

/* ---- açılır bildirim (her sayfada, yeni cevap gelince) ---- */
.mc-ntoast{
    position:fixed; z-index:9990; left:12px; right:12px; top:calc(env(safe-area-inset-top,0px) + 84px);
    max-width:400px; margin:0 auto; display:flex; align-items:center; gap:6px; padding:8px 8px 8px 8px; border-radius:18px;
    background:rgba(20,16,50,.96); border:1px solid rgba(245,179,1,.55); color:#fff;
    box-shadow:0 18px 40px -14px rgba(0,0,0,.6); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
    transform:translateY(-14px) scale(.97); opacity:0; transition:transform .35s cubic-bezier(.2,.9,.3,1.15), opacity .3s;
}
.mc-ntoast.is-in{ transform:none; opacity:1; }
.mc-ntoast__a{ display:flex; align-items:center; gap:10px; flex:1; min-width:0; text-decoration:none; color:inherit; }
.mc-ntoast__ic{
    width:38px; height:38px; flex:none; display:grid; place-items:center; border-radius:12px; font-size:15px;
    background:linear-gradient(135deg,#ffe58f,#f5b301); color:#1a1203;
}
.mc-ntoast__t{ display:grid; gap:1px; min-width:0; }
.mc-ntoast__t b{ font-size:13.5px; font-weight:800; line-height:1.25; }
.mc-ntoast__t small{ font-size:12px; opacity:.75; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mc-ntoast__s, .mc-ntoast__x{
    flex:none; width:30px; height:30px; border-radius:50%; border:0; cursor:pointer; font-size:13px;
    background:rgba(255,255,255,.1); color:inherit; display:grid; place-items:center;
}
.mc-ntoast__x{ font-size:19px; line-height:1; }
html[data-theme="light"] .mc-ntoast{ background:rgba(255,255,255,.97); color:#1b1640; box-shadow:0 18px 40px -16px rgba(88,66,190,.5); }
html[data-theme="light"] .mc-ntoast__s, html[data-theme="light"] .mc-ntoast__x{ background:rgba(88,66,190,.09); }
@media (min-width:700px){ .mc-ntoast{ left:auto; right:24px; margin:0; top:96px; } }

/* ---- rozet (Destek bağlantısı üstünde kırmızı sayı) ---- */
.mc-nt-dot{
    position:absolute; top:2px; right:2px; min-width:17px; height:17px; padding:0 4px; border-radius:99px;
    background:#ef2d6f; color:#fff; font:800 10px/17px var(--mc-body,sans-serif); font-style:normal; text-align:center;
    box-shadow:0 0 0 2px var(--mc-bg,#060513); pointer-events:none;
}
.mc-tabbar .mc-nt-dot{ top:4px; right:calc(50% - 22px); }

@keyframes mc-nt-in{ from{ opacity:0; transform:translateY(-8px) scale(.98); } to{ opacity:1; transform:none; } }
@keyframes mc-nt-ring{ 0%,86%,100%{ transform:rotate(0); } 90%{ transform:rotate(-14deg); } 94%{ transform:rotate(12deg); } 97%{ transform:rotate(-6deg); } }
@media (prefers-reduced-motion:reduce){ .mc-nth__ic, .mc-nth__in{ animation:none; } .mc-ntoast{ transition:opacity .2s; } }
