/* [11 Kas 2026] Durak başlatma · tasarım A ("mavi baloncuk"). Konum: durak-baslat.js.
   Kart sıradaki durakla aynı mavide; canlı 3D Papi köşeden bakıyor; beyaz parlayan BAŞLA + "XP + altın". */
html body #dmStoryLesson#dmStoryLesson#dmStoryLesson.ml-entry.ml-pop{background:rgba(9,24,52,.30)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html body #dmStoryLesson#dmStoryLesson#dmStoryLesson.ml-entry.ml-pop{
 padding-bottom:calc(12px + max(var(--dm-stop-dock-space,0px),env(safe-area-inset-bottom,0px)))!important
}
html body #dmStoryLesson#dmStoryLesson#dmStoryLesson.ml-entry.ml-pop.ml-pop-anchored{display:block!important;padding:0!important}

html body #dmStoryLesson#dmStoryLesson#dmStoryLesson.ml-entry.ml-pop .ml-entry-card{
 display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;
 box-sizing:border-box!important;flex:0 1 420px!important;width:100%!important;max-width:420px!important;max-height:none!important;
 margin:0 0 8px!important;padding:16px 18px 18px!important;overflow:visible!important;isolation:isolate;
 border:0!important;border-radius:22px!important;
 background:linear-gradient(180deg,#3B93F0 0%,#2479DE 100%)!important;
 box-shadow:0 6px 0 #1A5DB5,0 18px 40px rgba(8,30,70,.35)!important;
 color:#fff!important;text-align:left!important;font-family:Nunito,system-ui,sans-serif!important;
 transform-origin:var(--pop-caret,50%) 0;animation:dmPopIn .22s cubic-bezier(.2,.9,.3,1.2) both!important
}
html body #dmStoryLesson#dmStoryLesson#dmStoryLesson.ml-entry.ml-pop.ml-pop-anchored .ml-entry-card{position:absolute!important;left:12px!important;right:12px!important;width:auto!important;margin:0 auto!important}
html body #dmStoryLesson#dmStoryLesson#dmStoryLesson.ml-entry.ml-pop .ml-entry-card::before,
html body #dmStoryLesson#dmStoryLesson#dmStoryLesson.ml-entry.ml-pop .ml-entry-card::after{content:none!important}
/* durağa bakan ok */
html body #dmStoryLesson#dmStoryLesson#dmStoryLesson.ml-entry.ml-pop.ml-pop-anchored .ml-entry-card::before{content:''!important;display:block!important;position:absolute!important;z-index:-1;top:-9px!important;left:var(--pop-caret,50%)!important;width:22px!important;height:22px!important;margin-left:-11px!important;border-radius:5px!important;background:#3B93F0!important;transform:rotate(45deg)!important;inset-inline-end:auto!important;bottom:auto!important}

/* canlı Papi kartın köşesinden bakıyor (ok sağdaysa sola geçer) */
html body #dmStoryLesson#dmStoryLesson#dmStoryLesson.ml-entry.ml-pop .ml-entry-papi{position:absolute!important;top:-52px!important;right:16px!important;left:auto!important;bottom:auto!important;width:64px!important;height:64px!important;max-width:none!important;margin:0!important;transform:none!important;pointer-events:none!important;z-index:2;filter:drop-shadow(0 4px 5px rgba(8,30,70,.28));object-fit:contain}
html body #dmStoryLesson#dmStoryLesson#dmStoryLesson.ml-entry.ml-pop.ml-pop-left .ml-entry-papi{right:auto!important;left:16px!important}
html body #dmStoryLesson#dmStoryLesson#dmStoryLesson.ml-entry.ml-pop .ml-entry-papi svg{width:100%!important;height:100%!important}

html body #dmStoryLesson#dmStoryLesson#dmStoryLesson.ml-entry.ml-pop :is(.ml-entry-journey,.ml-entry-close,.ml-entry-prize,.ml-entry-start-icon,.ml-entry-start-arrow){display:none!important}

html body #dmStoryLesson#dmStoryLesson#dmStoryLesson.ml-entry.ml-pop .ml-entry-badge{display:block!important;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;color:rgba(255,255,255,.86)!important;-webkit-text-fill-color:rgba(255,255,255,.86)!important;font:900 11px/1.3 Nunito,system-ui,sans-serif!important;letter-spacing:.08em!important;text-transform:uppercase!important;text-align:left!important}
html body #dmStoryLesson#dmStoryLesson#dmStoryLesson.ml-entry.ml-pop .ml-entry-card h2{margin:5px 0 3px!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font:900 clamp(22px,6vw,26px)/1.12 Nunito,system-ui,sans-serif!important;text-align:left!important;text-shadow:none!important;overflow-wrap:anywhere}
html body #dmStoryLesson#dmStoryLesson#dmStoryLesson.ml-entry.ml-pop .ml-entry-theme{margin:0 0 9px!important;color:rgba(255,255,255,.92)!important;-webkit-text-fill-color:rgba(255,255,255,.92)!important;font:800 13px/1.35 Nunito,system-ui,sans-serif!important;text-align:left!important}
html body #dmStoryLesson#dmStoryLesson#dmStoryLesson.ml-entry.ml-pop .ml-entry-stats{display:flex!important;flex-wrap:wrap!important;gap:6px!important;width:auto!important;margin:0 0 14px!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;justify-content:flex-start!important}
html body #dmStoryLesson#dmStoryLesson#dmStoryLesson.ml-entry.ml-pop .ml-entry-stats>div{display:inline-flex!important;align-items:center!important;gap:4px!important;min-width:0!important;margin:0!important;padding:5px 10px!important;border:0!important;border-radius:999px!important;background:rgba(255,255,255,.18)!important;box-shadow:none!important;color:#fff!important}
html body #dmStoryLesson#dmStoryLesson#dmStoryLesson.ml-entry.ml-pop .ml-entry-stats>div:nth-child(n+3){display:none!important}
html body #dmStoryLesson#dmStoryLesson#dmStoryLesson.ml-entry.ml-pop .ml-entry-stats>div span{display:inline!important;width:auto!important;height:auto!important;min-width:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;font-size:13px!important;line-height:1!important}
html body #dmStoryLesson#dmStoryLesson#dmStoryLesson.ml-entry.ml-pop .ml-entry-stats b{margin:0!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font:900 12px/1 Nunito,system-ui,sans-serif!important;white-space:nowrap}
html body #dmStoryLesson#dmStoryLesson#dmStoryLesson.ml-entry.ml-pop .ml-entry-resume{margin:-6px 0 12px!important;padding:7px 10px!important;border:0!important;border-radius:12px!important;background:rgba(255,255,255,.16)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font:800 12px/1.35 Nunito,system-ui,sans-serif!important;text-align:left!important}

html body #dmStoryLesson#dmStoryLesson#dmStoryLesson.ml-entry.ml-pop .ml-entry-start{
 position:relative!important;overflow:hidden!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;
 width:100%!important;min-height:52px!important;margin:0!important;padding:0 16px!important;
 border:0!important;border-radius:16px!important;background:#fff!important;
 box-shadow:0 5px 0 #C6DAF5!important;color:#1E6FD6!important;-webkit-text-fill-color:#1E6FD6!important;
 font:900 17px/1 Nunito,system-ui,sans-serif!important;letter-spacing:.08em!important;text-transform:uppercase!important;
 transition:transform .1s,box-shadow .1s!important
}
html body #dmStoryLesson#dmStoryLesson#dmStoryLesson.ml-entry.ml-pop .ml-entry-start:active{transform:translateY(4px)!important;box-shadow:0 1px 0 #C6DAF5!important}
html body #dmStoryLesson#dmStoryLesson#dmStoryLesson.ml-entry.ml-pop .ml-entry-start::after{content:''!important;position:absolute!important;top:-20%!important;bottom:-20%!important;left:-40%!important;width:32%!important;background:linear-gradient(100deg,transparent,rgba(120,180,255,.35),transparent)!important;transform:skewX(-18deg);animation:dmPopShine 2.8s ease-in-out infinite!important;pointer-events:none;display:block!important}
html body #dmStoryLesson#dmStoryLesson#dmStoryLesson.ml-entry.ml-pop .ml-entry-pill{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;background:#FFC531;color:#6B4500;-webkit-text-fill-color:#6B4500;font:900 11px/1 Nunito,system-ui,sans-serif;letter-spacing:0;text-transform:none;white-space:nowrap}
html body #dmStoryLesson:not(.ml-pop) .ml-entry-pill{display:none}

@keyframes dmPopIn{from{opacity:0;transform:scale(.9) translateY(-6px)}to{opacity:1;transform:none}}
@keyframes dmPopShine{0%,55%{left:-40%}100%{left:130%}}
@media(prefers-reduced-motion:reduce){
 html body #dmStoryLesson#dmStoryLesson#dmStoryLesson.ml-entry.ml-pop .ml-entry-card{animation:none!important}
 html body #dmStoryLesson#dmStoryLesson#dmStoryLesson.ml-entry.ml-pop .ml-entry-start::after{animation:none!important;display:none!important}
}

/* kilitli durağa dokununca: titreşim (oyna-v2.js lockedStop) + sallanma */
body #tab-dunya .rt-medal-route .rt-medal-stop.is-locked{cursor:not-allowed}
body #tab-dunya .rt-medal-route .rt-medal-stop.is-shaking .rt-medal-disc{animation:dmLockShake .45s ease-in-out both!important}
@keyframes dmLockShake{0%,100%{translate:0}20%{translate:-7px 0}40%{translate:6px 0}60%{translate:-4px 0}80%{translate:3px 0}}
