/* Selected two-path homepage. All selectors stay scoped to this experience. */
#tab-dunya .bz-ic:has(.rt-root){background:#fffdfb!important;padding:12px!important;box-sizing:border-box;width:min(100%,680px)!important;margin:auto!important;overflow:hidden!important;display:flex;flex-direction:column;height:100%;border-radius:24px}
#tab-dunya #dmParkurScroll:has(.rt-root){overflow-y:auto!important;flex:1;min-height:0;background:none!important;max-height:var(--rt-space,calc(100dvh - 145px))!important;scrollbar-width:thin}
.rt-top,.rt-root,.rt-dialog,.rt-profile{font-family:Nunito,system-ui,sans-serif;color:#182346;box-sizing:border-box}
.rt-top{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:2px 4px 8px;background:#fffdfb}.rt-top h1{font-size:clamp(22px,5.5vw,30px);margin:0;font-weight:950;letter-spacing:-.6px}.rt-wallet{display:flex;gap:5px}.rt-wallet button{border:0;border-radius:20px;background:#effbf4;padding:7px 9px;color:#154555;font:800 13px Nunito,system-ui;min-height:36px}
.rt-root{--route:#16b5aa;--soft:#daf9ee;--selected:#14b7ab;display:flex;flex-direction:column;gap:9px;min-height:var(--rt-space,600px);padding:0 2px 9px}.rt-root.rt-english{--route:#9975e8;--soft:#eee5ff;--selected:#ff7c83}
.rt-root button,.rt-dialog button,.rt-profile button{cursor:pointer;font:800 14px Nunito,system-ui}.rt-root button:focus-visible,.rt-dialog button:focus-visible,.rt-profile button:focus-visible{outline:3px solid #265fa9;outline-offset:3px}.rt-root button:disabled{cursor:default}
.rt-badge{align-self:flex-start;background:var(--soft);border-radius:20px;padding:4px 13px;font-size:12px;font-weight:900;line-height:1.4}
.rt-banner{position:relative;display:flex;align-items:center;text-align:left;gap:9px;width:100%;border:0;border-radius:20px;min-height:88px;flex:0 0 auto;padding:10px 13px;color:#145152;background:linear-gradient(120deg,var(--soft),#c4f0de);overflow:hidden}.rt-english .rt-banner{background:linear-gradient(120deg,#eee5ff,#ddcbff);color:#493378}.rt-banner>img:first-child{width:46px;height:46px}.rt-banner>span:nth-child(2){flex:1;min-width:0;z-index:1}.rt-banner small{display:block;font-size:12px}.rt-banner b{display:block;font-size:clamp(17px,4.7vw,24px);line-height:1.18;max-width:250px}.rt-banner .rt-banner-papi{width:74px;height:79px;object-fit:contain;flex:0 0 auto}.rt-card{background:#fff;border:1px solid #eeeae5;box-shadow:0 3px 8px #26374309;border-radius:18px;padding:10px 12px;flex:0 0 auto}.rt-card h2{font-size:15px;margin:0 0 2px;font-weight:950}.rt-card small{font-size:11px;color:#686c7d}.rt-week{display:flex;align-items:center;gap:9px;min-height:65px}.rt-week>img{width:38px;height:38px}.rt-week>div{flex:1;min-width:0}.rt-week button{background:var(--route);color:#fff;border:0;border-radius:12px;padding:10px;font-size:12px}.rt-week progress{display:block;appearance:none;width:100%;height:7px;border:0;border-radius:8px;background:#ececf1;margin:4px 0}.rt-week progress::-webkit-progress-bar{background:#ececf1;border-radius:8px}.rt-week progress::-webkit-progress-value{background:var(--route);border-radius:8px}
.rt-tasks h2{display:flex;align-items:center;gap:7px;margin-bottom:5px}.rt-tasks h2 img{height:24px;width:24px}.rt-task-list{display:grid;gap:3px}.rt-task-list>button{display:flex;align-items:center;gap:8px;border:0;background:#fcfbfa;border-radius:11px;min-height:37px;width:100%;text-align:left;padding:3px 7px;color:#293553;font-size:12px}.rt-task-list>button>img{width:29px;height:29px}.rt-task-list>button>span:nth-child(2){flex:1;line-height:1.15}.rt-task-progress{display:grid;place-items:center;flex-shrink:0;width:31px;height:31px;border-radius:50%;background:conic-gradient(var(--route) calc(var(--ratio)*360deg),#e4e8ed 0);font-size:10px;color:#263c4b;position:relative;isolation:isolate}.rt-task-progress:before{content:'';position:absolute;inset:3px;border-radius:50%;background:#fff;z-index:-1}.rt-task-list p{font-size:12px;margin:8px}
.rt-path{position:relative;flex:1 0 175px;min-height:175px;border-radius:20px;background:radial-gradient(ellipse at bottom,#e3f6e3,transparent 65%);display:flex;flex-direction:column;justify-content:center;padding:12px 4px 20px}.rt-english .rt-path{background:radial-gradient(ellipse at bottom,#eee5ff,transparent 65%)}.rt-trail{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.rt-trail path{fill:none;stroke:var(--route);stroke-opacity:.55;stroke-width:4;stroke-linecap:round;stroke-dasharray:2 10}.rt-stones{position:relative;display:flex;align-items:center;justify-content:space-around;min-height:87px}.rt-stop{position:relative}.rt-node{position:relative;display:grid;place-items:center;background:var(--route);border:4px solid #dbf4eb;border-radius:50%;width:58px;height:58px;box-shadow:0 5px 0 #139a9229;color:#fff;font-size:25px!important}.rt-node.current{background:var(--selected);width:68px;height:68px;box-shadow:0 0 0 5px var(--soft),0 6px 0 #17455222}.rt-node.locked{background:#c9cfdb;border-color:#e8edf3;color:#71828b;box-shadow:0 4px 0 #adb8be}.rt-node.done span{font-size:30px}.rt-stop .rt-papi{position:absolute;width:70px;height:85px;object-fit:contain;right:-44px;top:-57px;pointer-events:none}.rt-continue{z-index:1;text-align:center;display:grid;justify-items:center;gap:6px;margin-top:5px}.rt-continue b{font-size:14px;max-width:90%;line-height:1.2}.rt-start{border:0;border-radius:20px;background:var(--selected);color:#fff;padding:10px 24px;min-width:155px;box-shadow:0 3px 0 #123a4320}.rt-chest{position:absolute;width:42px;height:42px;right:15%;bottom:0}.rt-route-area{padding:15px;font-size:13px}.rt-route-area button{min-height:40px}
.rt-overlay{position:fixed;inset:0;z-index:2147483600;background:#16213080;display:flex;align-items:center;justify-content:center;padding:16px}.rt-dialog{position:relative;background:#fff;border-radius:25px;padding:26px 20px;width:min(100%,450px);max-height:85dvh;overflow:auto}.rt-dialog h2{margin:8px 28px 12px 0;font-size:23px}.rt-dialog p{font-size:14px;color:#5c6376}.rt-close{position:absolute;right:12px;top:10px;min-width:40px;min-height:40px;border:0;border-radius:50%;background:#f3f4f8;color:#5b6275;font-size:25px!important}.rt-choices{display:grid;gap:9px}.rt-choices button{display:flex;align-items:center;flex-wrap:wrap;gap:8px;background:#eef9f4;border:2px solid #ddede5;border-radius:15px;padding:14px;color:#1c5149;min-height:48px}.rt-choices button[aria-pressed=true]{border-color:#13b9aa}.rt-choices img{width:32px;height:32px}.rt-choices small{display:block;width:100%;color:#68747c}.rt-status{color:#a42b42!important}.rt-all{display:grid;gap:5px}.rt-all button{background:#f0f7f4;border:0;border-radius:12px;padding:12px;text-align:left;color:#224753}.rt-all button:disabled{opacity:.55}
.rt-profile-backdrop{position:fixed;inset:0;background:#16223966;z-index:2147483500}.rt-profile{position:fixed;bottom:calc(78px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);width:min(calc(100% - 24px),480px);max-height:calc(100dvh - 108px - env(safe-area-inset-bottom,0px));overflow:auto;background:#fff;border-radius:25px;padding:17px;box-shadow:0 15px 55px #15203940}.rt-profile header{display:flex;align-items:center;gap:12px;margin:0 0 13px}.rt-profile header>img{width:60px;height:60px;object-fit:contain;background:#e4faf0;border-radius:50%}.rt-profile header strong{display:block;font-size:22px}.rt-profile header small{font-size:12px;color:#74798a}.rt-profile .rt-close{top:15px;right:15px}.rt-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.rt-profile-grid button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border:1px solid #f0e2c5;border-radius:19px;background:#fff5dc;min-height:108px;padding:10px 6px;color:#1d2850}.rt-profile-grid button:nth-child(2){background:#e4f8eb;border-color:#d5ebda}.rt-profile-grid button:nth-child(3){background:#fff0e3}.rt-profile-grid button:nth-child(4){background:#e5f3ff}.rt-profile-grid button:nth-child(5){background:#eee8ff}.rt-profile-grid button:nth-child(6){background:#ffedf1}.rt-profile-grid img{width:57px;height:57px}.rt-profile-grid small{font-size:10px;font-weight:600;line-height:1.2}
@media(max-height:740px){.rt-root{gap:6px}.rt-banner{min-height:73px}.rt-banner .rt-banner-papi{height:65px;width:62px}.rt-card{padding:7px 10px}.rt-week{min-height:56px}.rt-task-list>button{min-height:31px;padding:1px 5px}.rt-task-list>button>img{width:25px;height:25px}.rt-task-progress{width:27px;height:27px}.rt-path{min-height:150px;flex-basis:150px}.rt-stones{min-height:75px}.rt-node{height:49px;width:49px}.rt-node.current{height:58px;width:58px}.rt-start{padding:8px 23px}.rt-profile-grid button{min-height:90px}.rt-profile-grid img{width:46px;height:46px}}
@media(prefers-reduced-motion:reduce){.rt-root *,.rt-profile *{transition:none!important;animation:none!important}}

/* Route header is now the lesson header, without the legacy Parkur/MeduPro switch. */
#tab-dunya .dm-parkur-top-tabs,#tab-dunya .dm-parkur-switch,#tab-dunya .dm-route-switch,#tab-dunya .parkur-medupro-tabs{display:none!important}
.rt-banner .rt-parrot-btn,.rt-banner .rt-all-link{border:0;background:none;cursor:pointer;flex:0 0 auto;display:grid;place-items:center;padding:0;min-width:35px;min-height:40px}
.rt-banner .rt-parrot-btn .rt-banner-papi{width:74px;height:79px;object-fit:contain}
.rt-banner .rt-all-link{font-size:30px;color:#255a60}
.rt-banner .rt-parrot-btn:focus-visible,.rt-banner .rt-all-link:focus-visible{outline:3px solid #155d8b;outline-offset:2px;border-radius:12px}
.rt-profile-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.rt-profile-grid button{min-width:0;min-height:94px;padding:8px 4px}
.rt-profile-grid img{width:44px;height:44px}
.rt-profile-grid b{font-size:12px;line-height:1.1}
@media(max-width:390px){.rt-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rt-profile-grid button{min-height:92px}}

/* Retire the old top Parkur/MeduPro selector and its launcher, without moving the chosen route. */
#tab-dunya #pkSekmeler,#tab-dunya #ybArac,#ybArac{display:none!important}

/* Legacy top Parkur/MeduPro switch: precise selector for old/new layouts */
#tab-dunya .dm-parkur-tabs,#bzParkur .dm-parkur-tabs,.dm-parkur-head .dm-parkur-tabs{display:none!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important}

/* Approved designs: reward map for school, floating islands for CEFR. Map scope only. */
.rt-path.rt-reward-route,.rt-path.rt-islands{isolation:isolate;overflow:hidden;border-radius:18px;background-size:100% 100%;background-position:center;background-repeat:no-repeat;padding:0;min-height:225px;flex-basis:225px;box-shadow:inset 0 0 0 1px #ffffff60}
.rt-path.rt-reward-route{background-color:#fff1ce;background-image:url('route-assets/odul-rotasi.webp');--map-trail:#c89336}
.rt-path.rt-islands{background-color:#bceeff;background-image:url('route-assets/ada-yolculugu.webp');--map-trail:#467fd5}
.rt-path .rt-trail{z-index:0;opacity:.9}.rt-path .rt-trail path{stroke:var(--map-trail,var(--route));stroke-width:3;stroke-opacity:.72;stroke-dasharray:3 7}
.rt-path .rt-stones{position:absolute;left:0;right:0;top:49%;transform:translateY(-50%);min-height:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;text-align:center;z-index:2}
.rt-path .rt-stop{display:grid;justify-items:center;min-width:0}.rt-path .rt-node{width:54px;height:54px;border:3px solid #ffffffd9;box-shadow:0 4px 0 #7b6f5538,0 5px 10px #15495825;font-size:25px!important}
.rt-path .rt-node.current{width:64px;height:64px;background:#0ab8ad;border:4px solid #fff8dd;box-shadow:0 0 0 4px #ffffff55,0 5px 0 #086f7040,0 7px 14px #19484330}
.rt-path .rt-node.done{background:linear-gradient(#70c892,#298861);border-color:#e1ffec}.rt-path .rt-node.locked{background:linear-gradient(#dbe2ed,#b9c4d4);border-color:#f8fbff;color:#66748e}
.rt-path .rt-stop .rt-papi{width:60px;height:74px;right:calc(50% - 66px);top:-54px;filter:drop-shadow(0 3px 3px #305b5825)}
.rt-stop-label{position:absolute;top:calc(100% + 7px);white-space:nowrap;font-size:12px;font-weight:950;color:#203653;text-shadow:0 1px 2px #fff,0 0 6px #fff;background:#ffffff91;border-radius:9px;padding:2px 6px}
.rt-islands .rt-stop-label{color:#173c70;background:#effaffbf}.rt-path .rt-continue{position:absolute;left:0;right:0;bottom:12px;margin:0;gap:5px;z-index:3}.rt-path .rt-continue>b{display:none;max-width:58%;font-size:12px;background:#ffffffce;border-radius:9px;padding:3px 8px;color:#17344a}.rt-path .rt-start{background:#0ab8ad;border:2px solid #fff;color:#fff;min-height:38px;box-shadow:0 3px 0 #087c7b50,0 3px 8px #13434d25;padding:7px 22px}
.rt-reward-route .rt-chest{display:none}.rt-islands .rt-chest{right:5%;bottom:9px;width:34px;height:34px;z-index:2;filter:drop-shadow(0 3px 2px #1e576b33)}
@media(max-height:740px){.rt-path.rt-reward-route,.rt-path.rt-islands{min-height:180px;flex-basis:180px}.rt-path .rt-node{width:46px;height:46px}.rt-path .rt-node.current{width:54px;height:54px}.rt-path .rt-stop .rt-papi{width:48px;height:58px;top:-42px;right:calc(50% - 55px)}.rt-path .rt-stop-label{font-size:10px;top:calc(100% + 4px)}.rt-path .rt-continue{bottom:8px}.rt-path .rt-continue>b{display:none}.rt-path .rt-start{min-height:33px;font-size:12px;padding:6px 18px}}

/* The active reward/island renderer owns its route picker shortcut. */
.rt-path > .rt-map-switch{position:absolute;left:10px;top:10px;z-index:5;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:7px 11px;border:1.5px solid #fff;border-radius:18px;background:linear-gradient(145deg,#fffef5,#fff0cd);box-shadow:0 3px 0 #b6863540,0 4px 10px #72562824;color:#15555c;font:900 12px Nunito,system-ui;line-height:1.2;white-space:nowrap;touch-action:manipulation}
.rt-path > .rt-map-switch svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.rt-path.rt-islands > .rt-map-switch{background:linear-gradient(145deg,#fff,#e9f0ff);color:#493378;box-shadow:0 3px 0 #55519b30,0 4px 10px #30427424}
.rt-path > .rt-map-switch:hover{filter:brightness(1.03)}
.rt-path > .rt-map-switch:active{transform:translateY(2px);box-shadow:0 1px 0 #b6863540}

.rt-week-complete{background:linear-gradient(120deg,#edfff4,#fff9d9)!important;border-color:#88cfa3!important}.rt-week.rt-card{min-height:0;gap:8px;padding:8px 10px;flex-wrap:nowrap}.rt-week>img{width:30px;height:30px;flex:none}.rt-week h2{font-size:14px;line-height:1.2}.rt-week-message{font-size:11px;line-height:1.3;margin:3px 0 0;color:#24594b}.rt-week:not(.rt-week-complete) .rt-week-message{display:none}.rt-week-complete h2{color:#126648}.rt-week button{flex:none;min-height:36px;padding:8px;font-size:11px}.rt-week [data-rt=claim-goal]{background:#127957!important;color:#fff!important;min-width:88px}.rt-week-claimed{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:50%;color:#126648;background:#d5f6e1;font-size:18px;font-weight:800}.rt-week [role=status]{color:#9f1239}.rt-week>div{min-width:0}

/* Both route scenes expose the same server-confirmed unclaimed chests. */
.rt-path .rt-map-chest{position:absolute;right:4%;bottom:8px;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;width:58px;min-height:62px;padding:3px;border:0;border-radius:16px;background:transparent;cursor:pointer;isolation:isolate}
.rt-map-chest .rt-chest-art{display:block;width:44px;height:44px;object-fit:contain;position:relative;z-index:1}
.rt-map-chest .rt-chest-open{position:relative;z-index:1;display:block;min-width:44px;padding:3px 8px;border:2px solid #fff4bd;border-radius:12px;background:#fff1a6;color:#653300;font:900 14px/1.1 Nunito,system-ui,sans-serif;box-shadow:0 2px 5px #743e003d;text-align:center}
.rt-map-chest .rt-chest-open[hidden]{display:none}
.rt-map-chest.is-ready::before{content:'';position:absolute;inset:-8px;border-radius:50%;background:radial-gradient(circle,#fffbd9 0%,#ffd54fa6 35%,#ffd54f00 72%);z-index:0;pointer-events:none;animation:rtChestGlow 1.8s ease-in-out infinite}
.rt-map-chest.is-ready .rt-chest-art{filter:drop-shadow(0 0 6px #ffe370);animation:rtChestShine 1.8s ease-in-out infinite}
.rt-map-chest.is-ready::after{content:'✦';position:absolute;right:0;top:0;color:#fff8cd;text-shadow:0 0 5px #b97900;pointer-events:none;animation:rtChestGlow 1.8s ease-in-out infinite}
.rt-map-chest:focus-visible{outline:3px solid #713e00;outline-offset:3px}
@keyframes rtChestGlow{0%,100%{opacity:.55;transform:scale(.9)}50%{opacity:1;transform:scale(1.08)}}
@keyframes rtChestShine{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@media(prefers-reduced-motion:reduce){.rt-map-chest.is-ready::before,.rt-map-chest.is-ready::after,.rt-map-chest.is-ready .rt-chest-art{animation:none}}
