/* MODERA hikâyeler (modera-stories.js) — şerit, halkalar, tam ekran izleyici, paylaş penceresi, öne çıkanlar */
.mst-stories{display:flex;gap:14px;overflow-x:auto;padding:12px 14px 10px;margin:0 0 2px;scrollbar-width:none;-webkit-overflow-scrolling:touch;background:#fff;border-bottom:1px solid #efefef}
.mst-stories::-webkit-scrollbar{display:none}
.mst-story{flex:none;width:72px;display:flex;flex-direction:column;align-items:center;gap:5px;border:0;background:transparent;padding:0;color:#262626;cursor:pointer;font:inherit}
.mst-story small{display:block;max-width:72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.2;color:#262626}
.mst-ring{position:relative;width:68px;height:68px;border-radius:50%;display:grid;place-items:center;padding:3px;box-sizing:border-box}
.mst-ring.unseen{background:linear-gradient(45deg,#feda75 0%,#fa7e1e 28%,#d62976 56%,#962fbf 78%,#4f5bd5 100%)}
.mst-ring.seen{background:#c7c7c7}
.mst-ring.none{background:transparent}
.mst-avatar{width:100%;height:100%;border-radius:50%;background:#f2f2f2;border:3px solid #fff;box-sizing:border-box;display:grid;place-items:center;overflow:hidden;color:#737373;font-weight:700;font-size:22px}
.mst-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.mst-avatar i{font-style:normal}
.mst-plus{position:absolute;right:-1px;bottom:-1px;width:22px;height:22px;border-radius:50%;background:#0095f6;color:#fff;border:2px solid #fff;display:grid;place-items:center}
.mst-plus svg{width:12px;height:12px;stroke-width:3}
.mst-story:focus-visible,.mst-hbtn:focus-visible,.mst-avring:focus-visible{outline:2px solid #0095f6;outline-offset:2px;border-radius:12px}
/* Avatar çerçevesi (gönderi başlığı, profil, kişi listesi) */
.mst-avring{display:inline-flex;flex:none;border-radius:50%;padding:2px;cursor:pointer;vertical-align:middle;line-height:0}
.mst-avring.unseen{background:linear-gradient(45deg,#feda75,#fa7e1e,#d62976,#962fbf,#4f5bd5)}
.mst-avring.seen{background:#c7c7c7}
.mst-avring>*{box-shadow:0 0 0 2px #fff;border-radius:50%}
/* Tam ekran izleyici */
dialog.mst-viewer{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#000;color:#fff;overflow:hidden;display:flex;align-items:center;justify-content:center}
dialog.mst-viewer::backdrop{background:rgba(0,0,0,.92)}
.mst-card{position:relative;width:100%;height:100%;background:#000;overflow:hidden;touch-action:pan-y;-webkit-user-select:none;user-select:none}
@media (min-width:700px){
 dialog.mst-viewer{background:rgba(12,12,12,.96)}
 .mst-card{width:auto;height:min(calc(100dvh - 32px),880px);aspect-ratio:9/16;border-radius:14px;box-shadow:0 24px 80px rgba(0,0,0,.65)}
}
.mst-stage{position:absolute;inset:0;background:#000;display:flex;align-items:center;justify-content:center}
.mst-media{width:100%;height:100%;object-fit:contain;display:block;background:#000}
.mst-broken{position:absolute;inset:0;display:grid;place-items:center;margin:0;color:#d6d6d6;font-size:15px}
.mst-top{position:absolute;left:0;right:0;top:0;z-index:3;padding:calc(env(safe-area-inset-top,0px) + 10px) 10px 26px;background:linear-gradient(rgba(0,0,0,.6),rgba(0,0,0,0))}
.mst-bars{display:flex;gap:3px;margin-bottom:10px}
.mst-bars i{flex:1;height:3px;border-radius:2px;background:rgba(255,255,255,.35);overflow:hidden}
.mst-bars i b{display:block;height:100%;width:0;background:#fff}
.mst-head{display:flex;align-items:center;gap:10px;min-height:40px}
.mst-hav{flex:none;width:34px;height:34px;border-radius:50%;overflow:hidden;background:#555;display:grid;place-items:center;font-weight:700;font-size:15px}
.mst-hav img{width:100%;height:100%;object-fit:cover;display:block}
.mst-hav i{font-style:normal}
.mst-hmeta{min-width:0;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.mst-hmeta strong{font-size:14px;font-weight:700;text-shadow:0 1px 3px rgba(0,0,0,.5)}
.mst-hmeta small{font-size:12px;opacity:.8}
.mst-tick{display:inline-grid;place-items:center;width:15px;height:15px;border-radius:50%;background:#0095f6;color:#fff;font-size:10px;font-weight:900;vertical-align:1px}
.mst-hsp{flex:1}
.mst-ib{flex:none;width:40px;height:40px;border:0;background:transparent;color:inherit;display:grid;place-items:center;border-radius:50%;cursor:pointer;padding:0}
.mst-viewer .mst-ib svg{width:22px;height:22px}
.mst-bottom{position:absolute;left:0;right:0;bottom:0;z-index:3;padding:26px 12px calc(env(safe-area-inset-bottom,0px) + 12px);background:linear-gradient(rgba(0,0,0,0),rgba(0,0,0,.62))}
.mst-cap{margin:0 0 10px;font-size:15px;line-height:1.4;text-shadow:0 1px 3px rgba(0,0,0,.7);word-break:break-word}
dialog.mst-viewer :is(.mst-cap,.mst-hmeta strong,.mst-hmeta small,.mst-note,.mst-shead strong,.mst-confirm p){color:#fff!important}
dialog.mst-viewer .mst-hmeta small{opacity:.8}
dialog.mst-viewer .mst-card:focus,dialog.mst-viewer:focus{outline:0}
dialog.mst-viewer :is(.mst-ib,.mst-act,.mst-stat):focus:not(:focus-visible){outline:0}
.mst-reply{display:flex;align-items:center;gap:6px;margin:0}
.mst-reply input{flex:1;min-width:0;height:44px;border-radius:22px;border:1px solid rgba(255,255,255,.65);background:rgba(0,0,0,.28);color:#fff;padding:0 16px;font-size:16px;outline:0}
.mst-reply input::placeholder{color:rgba(255,255,255,.78)}
.mst-reply input:focus{border-color:#fff}
.mst-like.on svg{fill:#ff3040;stroke:#ff3040}
.mst-own{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.mst-sp{flex:1}
.mst-stat,.mst-act{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 12px;border-radius:19px;border:0;background:rgba(255,255,255,.16);color:#fff;font:inherit;font-size:14px;cursor:pointer}
.mst-stat svg,.mst-act svg{width:18px;height:18px}
.mst-stat b{font-weight:700}
.mst-act em{font-style:normal;font-size:13px}
.mst-act.danger{background:rgba(255,48,64,.28)}
.mst-confirm{background:rgba(24,24,24,.94);border-radius:14px;padding:14px;text-align:center}
.mst-confirm p{margin:0 0 12px;font-size:15px}
.mst-confirm>div{display:flex;gap:8px;justify-content:center}
.mst-cbtn{height:40px;padding:0 18px;border-radius:20px;border:0;background:rgba(255,255,255,.18);color:#fff;font:inherit;cursor:pointer}
.mst-cbtn.danger{background:#ed4956}
.mst-sheet{position:absolute;inset:0;z-index:6;background:rgba(0,0,0,.5);display:flex;flex-direction:column;justify-content:flex-end}
.mst-sheet[hidden]{display:none}
.mst-shead{display:flex;align-items:center;justify-content:space-between;background:#fff;color:#262626;border-radius:16px 16px 0 0;padding:10px 8px 6px 16px;font-size:15px}
.mst-sheet .mst-ib{color:#262626}
.mst-slist{background:#fff;color:#262626;max-height:58%;overflow:auto;padding:4px 8px 18px}
.mst-person,.mst-hrow{display:flex;align-items:center;gap:12px;width:100%;border:0;background:transparent;padding:8px;border-radius:10px;text-align:left;color:inherit;font:inherit;cursor:pointer}
.mst-person:hover,.mst-hrow:hover{background:#f5f5f5}
.mst-av{flex:none;width:42px;height:42px;border-radius:50%;overflow:hidden;background:#efefef;display:grid;place-items:center;font-weight:700;color:#737373}
.mst-av img{width:100%;height:100%;object-fit:cover}
.mst-av i{font-style:normal}
.mst-pn{flex:1;min-width:0;display:flex;flex-direction:column}
.mst-pn small{color:#737373;font-size:12px}
.mst-ph{color:#ed4956}
.mst-ph svg{width:18px;height:18px;fill:#ed4956}
.mst-note{margin:14px 6px;color:#737373;font-size:14px;text-align:center}
.mst-hrow span:last-child{display:flex;flex-direction:column}
.mst-hrow small{color:#737373;font-size:12px}
.mst-newhl{display:flex;gap:8px;padding:10px 8px 0}
.mst-newhl input{flex:1;min-width:0;height:40px;border:1px solid #dbdbdb;border-radius:20px;padding:0 14px;font-size:16px;color:#262626;background:#fff}
.mst-newhl .mst-cbtn{background:#0095f6;color:#fff;white-space:nowrap}
.mst-pop{position:absolute;left:50%;top:50%;z-index:5;pointer-events:none;color:#ff3040;animation:mstPop .85s ease-out forwards}
.mst-pop svg{width:96px;height:96px;fill:#ff3040;stroke:#ff3040}
@keyframes mstPop{0%{opacity:0;transform:translate(-50%,-50%) scale(.3)}25%{opacity:1;transform:translate(-50%,-50%) scale(1.15)}100%{opacity:0;transform:translate(-50%,-70%) scale(1)}}
#mstToast{position:fixed;left:50%;bottom:90px;transform:translate(-50%,10px);z-index:2147483600;max-width:calc(100vw - 32px);padding:10px 16px;border-radius:22px;background:#262626;color:#fff;font-size:14px;line-height:1.35;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;text-align:center}
#mstToast.on{opacity:1;transform:translate(-50%,0)}
dialog.mst-viewer #mstToast{position:absolute;bottom:130px}
/* Hikâye paylaş / öne çıkan penceresi */
dialog.mst-dlg{border:0;border-radius:16px;padding:0;width:min(440px,calc(100vw - 24px));max-height:calc(100dvh - 24px);background:#fff;color:#262626;box-shadow:0 20px 60px rgba(0,0,0,.35);overflow:auto}
dialog.mst-dlg::backdrop{background:rgba(0,0,0,.55)}
.mst-cform{display:flex;flex-direction:column;gap:10px;padding:14px 16px 16px;margin:0}
.mst-chead{display:flex;align-items:center;justify-content:space-between;font-size:17px}
.mst-dlg .mst-ib{color:#262626}
.mst-pick{display:flex;align-items:center;justify-content:center;gap:8px;min-height:84px;border:2px dashed #c7c7c7;border-radius:14px;color:#262626;font-weight:600;cursor:pointer;text-align:center;padding:10px}
.mst-pick input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.mst-pick svg{width:22px;height:22px}
.mst-prev{border-radius:12px;overflow:hidden;background:#000;max-height:46dvh;display:flex;justify-content:center}
.mst-prev img,.mst-prev video{max-width:100%;max-height:46dvh;display:block}
.mst-cform textarea,.mst-cform input[type=text],.mst-lab input,.mst-lab select{width:100%;box-sizing:border-box;border:1px solid #dbdbdb;border-radius:10px;padding:10px 12px;font:inherit;font-size:16px;background:#fff;color:#262626}
.mst-lab{display:flex;flex-direction:column;gap:5px;font-size:13px;font-weight:600;color:#262626}
.mst-lab[hidden]{display:none}
.mst-hint{margin:0;color:#737373;font-size:12.5px;line-height:1.4}
.mst-err{margin:0;color:#ed4956;font-size:13px}
.mst-cact{display:flex;gap:8px;justify-content:flex-end}
.mst-cact .btn.danger{color:#ed4956}
.mst-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;max-height:40dvh;overflow:auto}
.mst-gi{position:relative;aspect-ratio:9/14;border:0;padding:0;background:#efefef;overflow:hidden;cursor:pointer;border-radius:6px}
.mst-gi img,.mst-gi video{width:100%;height:100%;object-fit:cover;display:block}
.mst-gi i{position:absolute;right:6px;top:6px;width:24px;height:24px;border-radius:50%;background:rgba(0,0,0,.35);border:2px solid #fff;display:grid;place-items:center;color:transparent}
.mst-gi i svg{width:14px;height:14px;stroke-width:3}
.mst-gi[aria-pressed=true] i{background:#0095f6;color:#fff}
.mst-gi[aria-pressed=true]::after{content:"";position:absolute;inset:0;box-shadow:inset 0 0 0 3px #0095f6;border-radius:6px}
/* Öne çıkanlar */
.mst-hl-slot{margin:4px 0}
.mst-hl-row{display:flex;gap:14px;overflow-x:auto;padding:8px 2px 6px;scrollbar-width:none}
.mst-hl-row::-webkit-scrollbar{display:none}
.mst-hl{position:relative;flex:none;width:70px}
.mst-hl.add{border:0;background:transparent;padding:0;display:flex;flex-direction:column;align-items:center;gap:5px;color:inherit;cursor:pointer;font:inherit}
.mst-hbtn{display:flex;flex-direction:column;align-items:center;gap:5px;width:100%;border:0;background:transparent;padding:0;color:inherit;font:inherit;cursor:pointer}
.mst-hl small{display:block;max-width:70px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#262626}
.mst-hcov{width:64px;height:64px;border-radius:50%;border:1.5px solid #c7c7c7;padding:3px;box-sizing:border-box;display:grid;place-items:center;overflow:hidden;background:#fafafa;color:#8e8e8e}
.mst-hcov img,.mst-hcov video{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block}
.mst-hcov svg{width:22px;height:22px}
.mst-hcov.add{border-style:dashed}
.mst-hmore{position:absolute;top:-4px;right:-3px;width:24px;height:24px;border-radius:50%;border:1px solid #dbdbdb;background:#fff;display:grid;place-items:center;padding:0;color:#262626;cursor:pointer}
.mst-hmore svg{width:14px;height:14px}
@media (prefers-reduced-motion:reduce){.mst-pop{animation:none;opacity:0}}
