@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');
:root{--ink:#314b45;--muted:#81918b;--green:#36795c;--cream:#f8f9f4;--line:#e7ece4}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font:15px Nunito,'Segoe UI',sans-serif}button,a,input,select{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button{border:0}aside{width:244px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:33px 22px;display:flex;flex-direction:column}.brand{display:flex;gap:10px;font-size:36px;font-weight:900;color:#39785c;text-decoration:none;align-items:center}.brand>span{font-size:27px;line-height:1.1}.dot{color:#e4ad55}.brand small{display:block;font-size:8px;letter-spacing:1.6px;margin-top:9px;color:#94a397}.classlabel{font-size:10px;letter-spacing:1px;color:#9aa59e;margin:43px 7px 18px;font-weight:800}nav{display:grid;gap:9px}nav button{background:transparent;text-align:left;padding:14px 17px;border-radius:12px;color:#7c8e83;font-weight:800;display:flex;gap:13px}nav button.active{background:#eaf3e8;color:#387555}nav button:hover{background:#f0f5ed}.sidebottom{margin:auto 0 24px;text-align:center;border-radius:18px;background:#f7f6ed;padding:19px 8px}.owl{font-size:44px}.sidebottom b{font-size:15px}.sidebottom p{font-size:11px;color:var(--muted)}.profile{display:flex;align-items:center;gap:9px;text-align:left;background:white;padding:15px 0 0;border-top:1px solid var(--line);font-size:11px}.profile>span:first-child{font-size:29px;background:#eee9fa;border-radius:50%;padding:5px}.profile small{display:block;font-size:9px;color:var(--muted);margin-top:4px}.shell{margin-left:244px}header{height:90px;display:flex;align-items:center;justify-content:space-between;padding:0 42px;background:#fff;border-bottom:1px solid var(--line);font-size:12px}.breadcrumb{color:#93a095}.crumb{margin:0 16px;color:#c4ccc3}.headerRight{display:flex;gap:20px;align-items:center}.demo{font-size:10px;color:#8d9c8e;background:#f3f6ef;padding:6px 10px;border-radius:7px}.wallet{background:#fff6db;border:1px solid #f2e5b7;border-radius:11px;padding:9px 14px;color:#a57c25}.wallet b{font-size:17px;margin:0 5px}.wallet span{font-size:11px}.help{border:1px solid #dce5db;background:#fff;border-radius:50%;width:28px;height:28px;color:#88988b}main{padding:31px 42px;max-width:1500px;margin:auto}.greeting{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px}h1{font-size:28px;letter-spacing:-.8px;margin:0 0 6px;font-weight:900}p{line-height:1.6}.greeting p{margin:0;color:#8b988e;font-size:12px}.date{font-size:11px;color:#819082}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin-bottom:26px}.stat{background:#fff;border:1px solid var(--line);border-radius:14px;padding:19px;display:flex;gap:14px;align-items:center}.statIcon{font-size:25px;background:#fff4d5;border-radius:13px;padding:11px}.stat:nth-child(2) .statIcon{background:#edf3e7}.stat:nth-child(3) .statIcon{background:#f0ebfb}.stat small{font-size:11px;color:#8c9b90}.stat strong{font-size:23px;display:block}.stat strong span{font-size:11px;font-weight:600;color:#9ba79b}.dashboard{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:24px}.card{background:white;border:1px solid var(--line);border-radius:18px;overflow:hidden}.cardhead{display:flex;justify-content:space-between;align-items:center;padding:20px 22px}.cardhead h2{font-size:17px;margin:0}.cardhead small{font-size:10px;color:#95a18f}.pill{background:#f1f6e9;color:#739452;padding:6px 10px;border-radius:9px;font-size:10px;font-weight:800}.map{position:relative;height:410px;background:#e8f1d4;overflow:hidden}.map svg{width:100%;height:100%;position:absolute}.maplabel{position:absolute;top:17px;left:18px;font-size:9px;letter-spacing:2px;color:#90a477}.place{position:absolute;background:transparent;display:flex;flex-direction:column;align-items:center;transform:translate(-50%,-50%);padding:0;transition:transform .2s}.place:hover{transform:translate(-50%,-55%) scale(1.05)}.place .drawing{font-size:65px;line-height:1.1;filter:drop-shadow(0 8px 0 #6b8b5530)}.place .tag{background:#fffcf2;border:1px solid #d7dec4;padding:5px 12px;border-radius:9px;font-size:10px;color:#576d48;font-weight:900;box-shadow:0 3px 0 #68804a15;white-space:nowrap}.place .level{background:#e7b550;color:white;font-size:8px;border:2px solid #fff7dd;border-radius:7px;padding:2px 7px;margin-top:-4px;z-index:1}.castle .drawing{font-size:103px}.mapnote{position:absolute;bottom:15px;left:19px;background:#ffffffb8;padding:7px 10px;border-radius:8px;color:#7a8f68;font-size:10px}.mapcompass{position:absolute;bottom:14px;right:19px;color:#8fa077;font-size:26px}.underMap{padding:16px 20px;display:flex;align-items:center;gap:12px;font-size:11px;color:#85957e}.underMap strong{color:#5d7952;display:block;font-size:12px}.progress{height:7px;background:#edf1e6;border-radius:9px;overflow:hidden;margin-top:8px}.progress>span{display:block;height:100%;background:#9fbc76;border-radius:9px}.tasks{padding:0 18px 12px}.task{border:1px solid #e9ede3;border-radius:12px;margin-bottom:11px;padding:13px;display:flex;gap:11px;align-items:center}.task .icon{font-size:24px;background:#f3f4ea;border-radius:10px;padding:7px}.task b{font-size:11px;display:block}.task small{font-size:9px;color:#a0aa99;display:block;margin:4px 0}.task button{background:#eff5e7;color:#65844a;border-radius:6px;padding:5px 9px;font-size:9px;font-weight:800}.task button:disabled{opacity:.6;cursor:default}.reward{color:#c49c40!important;font-weight:800}.missionFooter{padding:4px 20px 17px;font-size:10px;color:#97a28f}.tip{margin-top:18px;background:#f7f0dc;border:1px solid #eee4c9;border-radius:16px;padding:17px;display:flex;gap:10px}.tip p{font-size:11px;color:#a49776;margin:4px 0}.tip b{font-size:12px;color:#8f805a}.bottom{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:24px}.bottom .body{padding:0 22px 21px;display:flex;gap:16px;align-items:center}.character{font-size:52px;background:#eeeafa;border-radius:16px;padding:9px}.body p{font-size:11px;color:#98a18f;margin:4px 0}.body b{font-size:13px}.textbutton{background:transparent;color:#6d9055;font-size:10px;font-weight:800;padding:5px}.badges{display:flex;gap:16px;font-size:34px}.badges span{background:#fff4d9;padding:7px;border-radius:50%;border:2px dashed #e9cf89}.badges .locked{filter:grayscale(1);opacity:.4}footer{display:flex;justify-content:space-between;padding:8px 42px 25px;color:#aab2a3;font-size:10px}footer button{color:#98a58f;background:transparent;font-size:10px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.item{padding:26px;text-align:center}.item .big{font-size:66px;display:block;margin-bottom:15px}.item h3{font-size:16px}.item p{font-size:12px;color:#8d9b88}.primary{background:#397b5c;color:white;border-radius:10px;padding:11px 20px;font-weight:800;font-size:12px}.primary:disabled{background:#cbd5c4;cursor:default}.secondary{background:#eef3e8;color:#617d50;border-radius:9px;padding:10px 16px;font-weight:800;font-size:12px}.teacherrow{padding:18px 24px;border-top:1px solid var(--line);display:flex;align-items:center;gap:18px}.teacherrow strong{flex:1}.teacherrow span{font-size:25px}.teacherrow small{font-size:12px;color:#a38e4a}select,input{padding:12px;border:1px solid #dce4d5;border-radius:9px;color:var(--ink);background:white;width:100%;margin:7px 0 16px}dialog{border:0;border-radius:22px;padding:35px;max-width:460px;width:calc(100% - 32px);box-shadow:0 20px 90px #263e4733;color:var(--ink)}dialog::backdrop{background:#253d3566;backdrop-filter:blur(4px)}dialog h2{margin-top:0}dialog p{color:#8a9786;font-size:13px}.close{position:absolute;right:12px;top:9px;background:transparent;color:#8c9888;font-size:25px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%) translateY(100px);background:#365d49;color:#fff;padding:14px 24px;border-radius:14px;box-shadow:0 7px 35px #23452b30;transition:transform .3s;z-index:99;font-size:13px}#toast.show{transform:translateX(-50%) translateY(0)}.empty{padding:24px;color:#8d9b88;font-size:13px}.activity{font-size:12px;padding:13px 22px;border-top:1px solid var(--line)}button:focus-visible,a:focus-visible{outline:3px solid #e6b85e;outline-offset:3px}@media(min-width:1500px){.map{height:470px}}@media(max-width:1100px){aside{width:200px;padding:27px 16px}.shell{margin-left:200px}main{padding:28px 24px}header{padding:0 24px}.dashboard{grid-template-columns:1fr}.rightcol{display:grid;grid-template-columns:1.5fr 1fr;gap:20px}.tip{margin-top:0;align-self:start}.map{height:430px}.grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){aside{position:static;width:100%;padding:17px 18px 0;border-right:0}.brand{font-size:25px}.brand>span{font-size:23px}.brand small{display:none}.classlabel,.sidebottom,.profile{display:none}nav{display:flex;overflow:auto;gap:4px;margin-top:15px;padding-bottom:10px}nav button{font-size:11px;white-space:nowrap;padding:10px;gap:5px}.shell{margin:0}header{height:62px;padding:0 18px}.breadcrumb,.crumb,.demo{display:none}.headerRight{gap:9px}main{padding:24px 16px}.greeting{align-items:start}.date{display:none}h1{font-size:24px}.stats{gap:7px}.stat{padding:10px;gap:7px}.statIcon{font-size:18px;padding:5px}.stat strong{font-size:19px}.stat small{font-size:9px}.stat strong span{display:none}.map{height:350px}.place .drawing{font-size:49px}.castle .drawing{font-size:80px}.place .tag{font-size:9px;padding:5px 7px}.dashboard{gap:17px}.rightcol{display:block}.tip{margin-top:16px}.bottom{grid-template-columns:1fr;gap:16px;margin-top:17px}.grid{grid-template-columns:1fr}.teacherrow{padding:14px;gap:9px}.teacherrow strong{font-size:12px}.teacherrow small{font-size:10px}.teacherrow button{padding:9px}.teacherrow span{font-size:23px}footer{padding:12px 18px;gap:10px}footer span{display:none}.item{padding:21px}.greeting p{font-size:11px}}
.studentlist{margin-bottom:25px}.studentheading{display:flex;align-items:center;gap:15px;margin-bottom:12px}.studentheading b{font-size:16px}.studentheading small{font-size:11px;color:#8b988e}.studentchoices{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.studentchoice{display:flex;align-items:center;text-align:left;gap:12px;padding:15px;background:#fff;border:1px solid #e1e8dc;border-radius:14px;color:#314b45}.studentchoice.selected{border:2px solid #70a17b;background:#edf5e9}.studentchoice>span{font-size:34px}.studentchoice div{flex:1}.studentchoice b{font-size:13px}.studentchoice small{display:block;color:#a38d48;font-size:11px;margin-top:5px}.studentchoice em{font-style:normal;color:#648e63}@media(max-width:700px){.studentchoices{grid-template-columns:1fr}.studentchoice{padding:11px 15px}.studentheading{align-items:start;flex-direction:column;gap:4px}}

.studentheading .addstudent{margin-left:auto;white-space:nowrap}@media(max-width:700px){.studentheading .addstudent{margin-left:0;margin-top:7px}}
.rolebar{display:flex;align-items:center;gap:18px;background:#fff;border:1px solid var(--line);padding:16px 20px;border-radius:15px;margin-bottom:24px}.rolebar>b{font-size:13px}.rolebar>div{display:flex;gap:8px}.rolebutton{border-radius:10px;background:#f3f5ee;color:#74836a;padding:10px 17px;font-weight:800;font-size:12px}.rolebutton.chosen{background:#36795c;color:white}.rolebar>small{margin-left:auto;font-size:10px;color:#98a38f}@media(max-width:700px){.rolebar{flex-wrap:wrap;gap:10px;padding:14px}.rolebar>b{width:100%}.rolebar>small{margin-left:0}.rolebutton{padding:10px 13px}}
.mapstudents{position:absolute;left:12px;right:12px;bottom:50px;display:flex;gap:9px;align-items:end;overflow-x:auto;padding:8px 3px;z-index:3;scrollbar-width:thin}.mapstudent{background:#fffdf0eF;border:2px solid #d0dcb7;box-shadow:0 3px 0 #879f6340;border-radius:13px;padding:5px 10px;flex:0 0 auto;color:#526d42;display:flex;align-items:center;gap:7px;transition:transform .15s}.mapstudent:hover{transform:translateY(-4px)}.mapstudent.current{border-color:#daa846;background:#fff4d4}.mapstudent>span{font-size:30px;line-height:1.2}.mapstudent>b{font-size:10px;max-width:100px;overflow-wrap:anywhere}@media(max-width:700px){.mapstudent{padding:4px 7px;gap:5px}.mapstudent>span{font-size:25px}.mapstudent>b{font-size:9px;max-width:75px}}
.mapwalkers{position:absolute;inset:0;pointer-events:none;z-index:4;overflow:hidden}.walkerroute{position:absolute;width:72px;height:75px;animation-duration:var(--duration);animation-delay:var(--delay);animation-iteration-count:infinite;animation-timing-function:linear;transform:translateY(var(--offset))}.walkingstudent{pointer-events:auto;background:transparent;padding:0;width:72px;display:flex;flex-direction:column;align-items:center;color:#4e6845}.walkingstudent>b{font-size:9px;background:#fffdf3ed;border:1px solid #c3d3aa;border-radius:8px;padding:3px 7px;max-width:95px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-shadow:0 2px 4px #58703c18}.walkerbody{font-size:33px;line-height:1.25;animation:walkingbounce .42s ease-in-out infinite alternate;filter:drop-shadow(0 2px 0 #fff5)}.walkershadow{width:24px;height:5px;border-radius:50%;background:#65814d40;margin-top:0}.walkerroute:has(button:hover){animation-play-state:paused}.route0{animation-name:walkroute0}.route1{animation-name:walkroute1}.route2{animation-name:walkroute2}.route3{animation-name:walkroute3}@keyframes walkingbounce{from{transform:translateY(0) rotate(-5deg)}to{transform:translateY(-4px) rotate(5deg)}}@keyframes walkroute0{0%,100%{left:22%;top:53%}25%{left:34%;top:50%}50%{left:49%;top:55%}75%{left:35%;top:61%}}@keyframes walkroute1{0%,100%{left:46%;top:55%}25%{left:58%;top:56%}50%{left:61%;top:47%}75%{left:51%;top:51%}}@keyframes walkroute2{0%,100%{left:44%;top:44%}25%{left:49%;top:33%}50%{left:54%;top:25%}75%{left:48%;top:35%}}@keyframes walkroute3{0%,100%{left:17%;top:53%}25%{left:27%;top:45%}50%{left:37%;top:50%}75%{left:26%;top:56%}}@media(prefers-reduced-motion:reduce){.walkerroute,.walkerbody{animation-play-state:paused}}@media(max-width:700px){.walkerbody{font-size:28px}.walkingstudent>b{font-size:8px}.walkingstudent,.walkerroute{width:60px}}
.walkingstudent>b .walkerpoints{display:block;color:#a77e25;font-size:9px;margin-top:2px;font-weight:900}.walkingstudent>b{overflow:visible;max-width:110px}.walkerroute{height:90px}

.classmodes{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;border-top:1px solid var(--line);background:#f9fbf5}.classmodes b{display:block;font-size:12px}.classmodes small{display:block;font-size:10px;color:#849477;margin-top:3px}.modechoices{display:flex;gap:6px}.modebutton{background:#edf0e6;border:1px solid #dce5d1;color:#6b7e5d;padding:9px 11px;border-radius:9px;white-space:nowrap;font-size:11px;font-weight:800}.modebutton.selectedmode{background:#397b5c;border-color:#397b5c;color:white}.breaktime{background:#f1efd0}.breaktime>svg{filter:saturate(1.2) brightness(1.03)}.breaktime .walkerroute{animation-duration:calc(var(--duration) * .6)}.breaktime .walkerbody{animation-duration:.25s}.lessontime .walkerroute{animation-duration:calc(var(--duration) * 1.7)}.lessontime .walkerbody{animation-duration:.65s}@media(max-width:700px){.classmodes{align-items:start;flex-direction:column}.modechoices{width:100%}.modebutton{flex:1}}
.classroom{position:absolute;inset:12px 14px 45px;z-index:5;background:#f6ebd8;border:7px solid #b79975;border-radius:16px;box-shadow:0 6px 0 #8b745737;display:flex;flex-direction:column;overflow:hidden}.classroomtitle{padding:8px 12px;font-size:11px;font-weight:900;color:#846c4d;background:#e7d5b7}.chalkboard{align-self:center;background:#426c5c;border:5px solid #b28d5c;border-radius:7px;color:#fff8d7;text-align:center;padding:12px 24px;margin:12px 8px;font-size:14px;font-weight:800;box-shadow:0 3px 0 #ac8c6740}.chalkboard small{display:block;font-size:10px;margin-top:5px;color:#d4e4cf}.desks{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 20px;overflow:auto;padding:2px 12px 18px;background:repeating-linear-gradient(0deg,transparent 0px,transparent 39px,#c5a57a18 40px)}.studentdesk{display:flex;flex-direction:column;align-items:center;background:transparent;min-width:80px;color:#685b46;padding:0}.studentdesk b{font-size:10px;max-width:100px;overflow-wrap:anywhere}.studentdesk small{font-size:9px;color:#ad8433}.studentdesk>span{font-size:34px;line-height:1.2}.studentdesk em{font-style:normal;width:70px;background:#cba875;border:2px solid #b28e5f;border-radius:5px;box-shadow:0 5px 0 #98784f;font-size:20px;line-height:1.2}.lessontime .mapnote{z-index:6}.classroom~.mapnote{font-size:9px}@media(max-width:700px){.classroom{inset:9px 9px 44px;border-width:5px}.chalkboard{font-size:11px;padding:9px 14px;margin:8px}.desks{gap:13px}.studentdesk{min-width:65px}.studentdesk>span{font-size:28px}.studentdesk em{width:59px}}
.mapanimals{position:absolute;inset:0;pointer-events:none;z-index:3;overflow:hidden}.mapanimal{position:absolute;pointer-events:auto;background:transparent;padding:4px;font-size:29px;filter:drop-shadow(0 3px 1px #64834d25);animation:animalwander 13s ease-in-out infinite;animation-delay:var(--animal-delay)}.mapanimal>span{display:block;animation:animalhop .8s ease-in-out infinite alternate}.mapanimal:hover,.mapanimal:focus-visible{animation-play-state:paused}.animal3,.animal4{animation-name:animalfly;animation-duration:10s}.animal3>span,.animal4>span{animation:animalflutter .5s ease-in-out infinite alternate}.lessontime .mapanimals{z-index:2}@keyframes animalwander{0%,100%{transform:translate(0,0)}30%{transform:translate(28px,-13px)}65%{transform:translate(9px,15px)}}@keyframes animalhop{from{transform:translateY(0) rotate(-3deg)}to{transform:translateY(-3px) rotate(3deg)}}@keyframes animalfly{0%,100%{transform:translate(0,0)}35%{transform:translate(-38px,24px)}70%{transform:translate(18px,45px)}}@keyframes animalflutter{from{transform:rotate(-8deg) scaleX(.85)}to{transform:rotate(8deg) scaleX(1)}}@media(prefers-reduced-motion:reduce){.mapanimal,.mapanimal>span{animation:none}}@media(max-width:700px){.mapanimal{font-size:24px}}
.teacheractions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.deductbutton{background:#fff0e8;border:1px solid #eed0bd;color:#a35f40;padding:10px 12px;border-radius:10px;font-size:11px;font-weight:800}.undodeduction{margin-left:12px;background:#fff;color:#365d49;border-radius:7px;padding:5px 10px;font-weight:800}@media(max-width:700px){.teacheractions{max-width:140px}.teacherrow{flex-wrap:wrap}}.castleinterior{margin:15px 0 20px;max-height:360px;overflow:auto}.castleinterior .classroom{position:relative;inset:auto;min-height:240px}.castleinterior .quietclass{background:#f6ebd8;border:6px solid #b79975;border-radius:13px;padding:10px}.castleinterior .chalkboard{font-size:12px}.castleinterior .desks{max-height:240px}

.cardhead:has(button[onclick="weeklyRespectModal()"]) {flex-wrap:wrap;gap:10px}
.place:nth-of-type(n+5) .drawing{font-size:43px}.place:nth-of-type(n+5) .tag{font-size:9px;padding:4px 8px}.place:nth-of-type(n+5) .level{font-size:7px}@media(max-width:700px){.place:nth-of-type(n+5) .drawing{font-size:32px}.place:nth-of-type(n+5) .tag{font-size:8px;padding:3px 5px}}
.memorygrid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.memorycard{aspect-ratio:1;background:#edf3e2;border:2px solid #c6d8ae;border-radius:12px;font-size:32px}.memorycard:disabled{background:#fff4cf;border-color:#e5c97e;opacity:.8}
.actionstats{text-align:center;font-weight:900;color:#527347;white-space:pre-wrap;margin:10px 0}.actionarena{position:relative;height:280px;overflow:hidden;background:linear-gradient(#d6edfa 0%,#eff8dc 80%,#adc987 80%);border:3px solid #a6bf8c;border-radius:16px;touch-action:none}.actionhero{position:absolute;top:79%;font-size:36px;transform:translateX(-50%);line-height:1}.fallingitem{position:absolute;font-size:27px;transform:translateX(-50%);line-height:1}.actioncontrols{display:flex;justify-content:space-between;margin-top:12px;gap:14px}.actioncontrols button{flex:1;min-height:45px}/* Bilgelik Kalesi sınıf görünümü */
.classroom{background:linear-gradient(180deg,#fff1cf 0%,#fff1cf 49%,#bcdccc 49%,#bcdccc 67%,#d8b58b 67%,#e8cba4 100%);border:7px solid #c4a17b;box-shadow:inset 0 -4px 0 #b68b5e,0 6px 0 #8b745737}.classroomtitle{background:#f9dfad;color:#806344;text-align:center;border-bottom:2px solid #e5c58b}.classroom .chalkboard{position:relative;z-index:1;background:linear-gradient(135deg,#3c7462,#315c4f);border:6px solid #b78850;box-shadow:0 4px 0 #8b633c45;min-width:60%;padding:14px 20px}.classroom .desks{position:relative;z-index:1;flex:1;align-content:start;background:repeating-linear-gradient(0deg,transparent,transparent 29px,#b38d5d25 30px);padding-top:10px}.classroom:before{content:'☀️';position:absolute;top:50px;left:12px;background:linear-gradient(#bbe6ff 60%,#d6edb5 60%);border:5px solid white;outline:2px solid #d6b688;border-radius:6px;width:48px;height:62px;text-align:center;font-size:26px;line-height:52px;box-shadow:0 4px 8px #6b7f5720}.classroom:after{content:'🔤  🕒  🌈';position:absolute;right:10px;top:44px;font-size:15px;writing-mode:vertical-rl;letter-spacing:9px}.classroom .studentdesk em{background:linear-gradient(#e3bd84,#c99a60);border-color:#ac7c48;box-shadow:0 5px 0 #936c43,0 9px 0 -3px #77583d}.quietclass{background:linear-gradient(#fff1cf 60%,#bcdccc 60%,#bcdccc 75%,#e8cba4 75%)!important;min-height:230px}.quietclass .chalkboard{background:#366650}@media(max-width:700px){.classroom:before{width:29px;height:45px;left:5px;font-size:19px;line-height:35px;border-width:3px}.classroom:after{font-size:11px;right:3px}.classroom .chalkboard{min-width:65%;max-width:75%;padding:9px 7px}}

dialog:has(.castlephoto){width:96vw;max-width:1600px;height:92vh;max-height:96vh;padding:0;border-radius:20px;overflow:hidden}dialog:has(.castlephoto) .close{z-index:10;right:15px;top:12px;background:white;width:37px;height:37px;border-radius:50%;box-shadow:0 2px 12px #0003}.castlephoto{position:relative;width:100%;height:100%;background:#c9b491 url('https://images.unsplash.com/photo-1685159375749-04060db8cefb?auto=format&fit=crop&w=2000&q=85') center center/cover no-repeat;display:flex;flex-direction:column}.phototop{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:20px 65px 0 20px;padding:15px 20px;border-radius:14px;background:#fffffff0;box-shadow:0 5px 24px #0002}.phototop h2{margin:0;font-size:22px}.phototop p{margin:5px 0 0;font-size:12px}.photostudents{margin-top:auto;min-height:40%;display:flex;align-items:end;justify-content:center;flex-wrap:wrap;gap:20px 38px;padding:25px 30px 55px;background:linear-gradient(transparent,#1c271e45)}.photostudent{display:flex;flex-direction:column;align-items:center;background:transparent;color:#365d49}.photostudent b,.photostudent small{background:#fffdf1ed;padding:4px 13px;font-size:14px;box-shadow:0 2px 3px #0002}.photostudent b{border-radius:9px 9px 0 0}.photostudent small{font-size:12px;color:#a77e25;border-radius:0 0 9px 9px}.photostudent>span{font-size:75px;filter:drop-shadow(0 8px 3px #0004)}.photocredit{position:absolute;bottom:10px;right:15px;background:#ffffffdf;padding:5px 9px;border-radius:6px;color:#45634b;font-size:10px;text-decoration:none}.emptyclasslabel{background:#fffdf1ed;border-radius:12px;padding:14px 20px}@media(max-width:700px){dialog:has(.castlephoto){width:100vw;height:96vh;border-radius:12px}.phototop{margin:55px 12px 0;flex-direction:column;align-items:start;padding:13px}.phototop h2{font-size:18px}.photostudents{gap:12px;padding:20px 10px 55px;max-height:55%;overflow:auto}.photostudent>span{font-size:52px}.photostudent b{font-size:11px}.photostudent small{font-size:10px}}
/* Fotoğraf üzerinde beyaz paneller yerine saydam etiketler */
dialog:has(.castlephoto){background:#293d35}.castlephoto{background-color:#b9b29a}.phototop{background:linear-gradient(135deg,#17382bc9,#17382b70);box-shadow:none;color:#fff;border:1px solid #ffffff30;backdrop-filter:blur(4px)}.phototop h2{color:#fff}.phototop p{color:#edf4e9}.photostudent b,.photostudent small{background:#203d32b8;color:#fff;box-shadow:none;backdrop-filter:blur(3px)}.photostudent small{color:#ffe19a}.photocredit{background:#18392ca8;color:#fff}.emptyclasslabel{background:#17382bb8;color:#fff}dialog:has(.castlephoto) .close{background:#17382bc9;color:#fff;border:1px solid #ffffff60}
/* Sınıf fotoğrafını kesmeden ortala */
.castlephoto{background-position:center center;background-size:contain;background-repeat:no-repeat;background-color:#243c32}.phototop{position:absolute;top:0;left:0;right:0;z-index:2}.photostudents{position:absolute;left:0;right:0;bottom:0;min-height:0;max-height:45%;background:linear-gradient(transparent,#142b2370);overflow:auto}@media(max-width:700px){.castlephoto{background-position:center center;background-size:contain}.photostudents{max-height:35%;padding-bottom:40px}}

.castlephoto{background-image:none}.classphotoimage{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;display:block}.classphotoimage[hidden]{display:none}.photoerror{position:absolute;inset:35% 15% auto;text-align:center;color:#fff;line-height:2}.photoerror a{color:#ffdf8e}.phototop{background:#17382ba8}.photostudents{max-height:25%;padding-bottom:35px}.photostudent>span{font-size:50px}.photostudent b{font-size:11px}.photostudent small{font-size:10px}.demo{cursor:pointer}.demo:hover{background:#e5efdb;color:#397b5c}@media(max-width:700px){.headerRight .demo{display:inline-block;font-size:9px;padding:6px}}

.map{cursor:zoom-in}.mapisexpanded{overflow:hidden}.card.expandedmap{position:fixed;inset:12px;z-index:40;display:flex;flex-direction:column;background:#fff;box-shadow:0 0 0 30px #233e32aa}.expandedmap>.map{height:auto!important;flex:1;min-height:0;cursor:default}.expandedmap>.cardhead{flex-shrink:0;gap:10px;flex-wrap:wrap}.expandedmap>.classmodes,.expandedmap>.underMap{flex-shrink:0}.expandedmap .classroom{inset:20px 8% 50px}.expandedmap .desks{gap:24px 40px}.expandedmap .studentdesk>span{font-size:50px}.expandedmap .chalkboard{padding:24px}@media(max-width:700px){.card.expandedmap{inset:5px}.expandedmap>.cardhead{padding:12px}.expandedmap .classroom{inset:10px 10px 45px}.expandedmap .studentdesk>span{font-size:32px}.expandedmap .chalkboard{padding:12px}.mapzoombutton{font-size:10px;padding:8px}}.walkerbody:has(.vehiclecar){position:relative;min-width:52px;height:52px;animation-duration:1s}.vehiclecar{position:absolute;bottom:0;left:0;font-size:44px}.vehiclepassenger{position:absolute;top:-4px;left:13px;font-size:22px;z-index:1}
/* Sürücüyü arabanın koltuğuna yerleştir */
.walkerbody:has(.vehiclecar){height:43px;animation:none;transform:none;filter:drop-shadow(0 3px 1px #48643b35)}.vehiclecar{bottom:0;left:0;font-size:44px;line-height:1;z-index:2}.vehiclepassenger{top:8px;left:18px;width:16px;height:15px;overflow:hidden;font-size:17px;line-height:1;z-index:3;transform:none}.walkerbody:has(.vehiclecar)+.walkershadow{margin-top:-2px;width:39px;height:4px}
.walkingstudent,.studentdesk{position:relative}.characterthought{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);background:#fffdf1;color:#476842;border:1px solid #adc58f;box-shadow:0 3px 9px #304c3025;border-radius:12px 12px 12px 2px;padding:8px 10px;min-width:120px;max-width:170px;font-size:11px;line-height:1.4;z-index:15;pointer-events:none}.walkerroute:has(.characterthought){z-index:20}.desks:has(.characterthought){padding-top:50px}
/* Karakterler konuşurken de kesintisiz, farklı rotalarda dolaşır */
.walkerroute:has(button:hover){animation-play-state:running}.walkerroute.route0{animation-name:roamwide0}.walkerroute.route1{animation-name:roamwide1}.walkerroute.route2{animation-name:roamwide2}.walkerroute.route3{animation-name:roamwide3}@keyframes roamwide0{0%,100%{left:18%;top:54%}20%{left:33%;top:48%}45%{left:52%;top:56%}70%{left:63%;top:64%}85%{left:38%;top:60%}}@keyframes roamwide1{0%,100%{left:72%;top:65%}25%{left:55%;top:54%}50%{left:39%;top:49%}75%{left:58%;top:36%}}@keyframes roamwide2{0%,100%{left:52%;top:25%}20%{left:45%;top:38%}45%{left:35%;top:53%}70%{left:18%;top:63%}85%{left:37%;top:48%}}@keyframes roamwide3{0%,100%{left:13%;top:64%}25%{left:28%;top:49%}50%{left:49%;top:54%}75%{left:69%;top:67%}}
.bumpeffect{position:absolute;left:24px;bottom:4px;font-size:30px;z-index:30;pointer-events:none;animation:bumppop .5s ease-out}.carbump .walkerbody{filter:drop-shadow(0 0 6px #f2c14c)}@keyframes bumppop{from{transform:scale(.3);opacity:.2}to{transform:scale(1);opacity:1}}@media(prefers-reduced-motion:reduce){.bumpeffect{animation:none}}

.lessonstart{display:block;margin:9px auto 0;background:#ffe29c;color:#385a46;font-size:11px;padding:7px 13px;border-radius:8px;font-weight:900}.lessonboard{background:#315e4d;color:#fff9dd;border:6px solid #b58b54;border-radius:12px;padding:18px}.lessonboard p{color:#fff9dd;font-size:15px}.lessonboard strong{display:block;text-align:center;font-size:21px;padding:12px 0}.lessonanswers{display:flex;gap:10px}.lessonanswers button{flex:1;font-size:20px}.livelesson h3{font-size:17px}
.boardstudent{display:flex;flex-direction:column;align-items:center;position:relative;padding:15px}.boardstudent>span{font-size:75px;display:block}.boardstudent>b{font-size:14px}.studentcelebration>span{animation:studentjoy .5s ease-in-out 4}.celebrationicons{font-size:28px;animation:celebrateappear .7s ease-out}.boardturn #boardActions{display:flex;gap:8px;flex-wrap:wrap}@keyframes studentjoy{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-17px) rotate(9deg)}}@keyframes celebrateappear{from{opacity:0;transform:scale(.4)}to{opacity:1;transform:scale(1)}}@media(prefers-reduced-motion:reduce){.studentcelebration>span,.celebrationicons{animation:none}}
.newplace .drawing{font-size:37px!important}.newplace .tag{font-size:9px}.pondscene{text-align:center;font-size:48px;padding:25px 0}@media(max-width:700px){.newplace .drawing{font-size:29px!important}.newplace .tag{font-size:8px}}.starpark{height:280px;position:relative;overflow:hidden;border:3px solid #c3d9a4;border-radius:18px;background:linear-gradient(#d8f0fc 45%,#c6e4a5 45%)}.parkdecoration{position:absolute;left:10%;right:10%;top:34%;text-align:center;font-size:52px;pointer-events:none}.parkstar{position:absolute;background:#fff9dcdd;border-radius:50%;width:43px;height:43px;font-size:27px;box-shadow:0 3px 0 #c8ac5d55}.parkstar:not(:disabled):hover{transform:scale(1.15)}.parkstar:disabled{cursor:default}
.footballview{text-align:center}dialog:has(.footballview){max-width:650px;width:95vw}.footballfield{position:relative;width:min(100%,480px);height:350px;margin:18px auto;background:repeating-linear-gradient(#438c53 0px,#438c53 43px,#4e9b5e 44px,#4e9b5e 87px);border:5px solid #eef7df;border-radius:8px;box-shadow:0 0 0 2px #739b64;cursor:crosshair;touch-action:none;overflow:hidden}.fieldhalf{position:absolute;top:50%;left:0;right:0;border-top:2px solid #ffffffa0}.fieldcircle{position:absolute;left:50%;top:50%;width:90px;height:90px;border:2px solid #ffffffa0;border-radius:50%;transform:translate(-50%,-50%)}.footballgoal{position:absolute;top:0;left:35%;width:30%;height:22%;background:repeating-linear-gradient(90deg,transparent 0 13px,#ffffff55 14px 15px),repeating-linear-gradient(0deg,transparent 0 13px,#ffffff55 14px 15px);border:4px solid white;border-top:0;font-size:37px;display:flex;align-items:center;justify-content:center}.fieldball{position:absolute;left:50%;top:82%;font-size:32px;line-height:1;transform:translate(-50%,-50%);transition:left .7s ease-out,top .7s ease-out,transform .7s ease-out;pointer-events:none;filter:drop-shadow(0 4px 2px #0004)}@media(max-width:700px){.footballfield{height:310px}}
.footballDefender{position:absolute;font-size:31px;line-height:1;transform:translate(-50%,-50%);pointer-events:none;filter:drop-shadow(0 3px 1px #0003);z-index:2}#footballFeedback .secondary{display:block;margin:10px auto}
.ownfootballgoal{position:absolute;bottom:0;left:35%;width:30%;height:13%;border:3px solid #fff;border-bottom:0;background:#ffffff20;font-size:28px;text-align:center;pointer-events:none}.fieldball{z-index:3}.footballDefender{transition:left .09s linear}

.ourplayer{position:absolute;font-size:29px;line-height:1;transform:translate(-50%,-50%);pointer-events:none;z-index:2;filter:drop-shadow(0 0 3px #52c5ff);transition:left .12s linear,top .12s linear}.ourplayer:after{content:"";position:absolute;bottom:-3px;left:20%;width:60%;height:4px;border-radius:4px;background:#67d4ff}.footballDefender:after{content:"";position:absolute;bottom:-3px;left:20%;width:60%;height:4px;border-radius:4px;background:#ff9480}
.keeperdive{animation:goalkeeperdive .65s ease-out!important}@keyframes goalkeeperdive{0%{transform:translate(-50%,-50%) rotate(0)}50%{transform:translate(-50%,-70%) rotate(-65deg) scale(1.25)}100%{transform:translate(-50%,-50%) rotate(0)}}@media(prefers-reduced-motion:reduce){.keeperdive{animation:none!important}}
body:has(dialog[open]) .mapanimal,body:has(dialog[open]) .mapanimal>span,body:has(dialog[open]) .walkerbody{animation-play-state:paused}.footballDefender,.ourplayer{will-change:left,top;transition:left .16s linear,top .16s linear}.footballfield{contain:layout paint}.footballDefender,.ourplayer{font-size:25px}
.matchscore{padding:12px;border-radius:12px;background:#ecf4df;color:#365d49;font-size:17px;font-weight:900;margin:10px auto;text-align:center}.fishingpond{height:240px;background:linear-gradient(#d8f1f4 15%,#79c5d8 15%,#409ebc);border:5px solid #a6c98b;border-radius:45% 45% 24px 24px;position:relative;overflow:hidden}.pondduck{position:absolute;left:15%;top:14%;font-size:35px}.pondfish{position:absolute;bottom:17%;left:15%;font-size:33px;letter-spacing:20px;animation:fishswim 4s ease-in-out infinite alternate}#fishingFloat{position:absolute;left:50%;top:30%;font-size:43px;transform:translateX(-50%)}@keyframes fishswim{from{transform:translateX(-15px)}to{transform:translateX(35px)}}@media(prefers-reduced-motion:reduce){.pondfish{animation:none}}
.fishchoices{position:absolute;bottom:12%;left:8%;right:8%;display:flex;justify-content:space-between;gap:10px}.fishchoices button{background:transparent;font-size:39px;border:3px solid transparent;border-radius:50%;padding:5px;min-width:56px;min-height:56px}.fishchoices button.chosenfish{border-color:#fff4a5;background:#ffffff33;box-shadow:0 0 14px #ffe38980}.fishchoices button:hover{background:#ffffff22}
.fishchoices{position:absolute;inset:0;display:block;pointer-events:none}.fishchoices button{position:absolute;pointer-events:auto;transition:left 2s ease-in-out,top 2s ease-in-out;z-index:3;line-height:1}.fishchoices button.fishjump{animation:fishwaterjump 1.2s ease-in-out}.fishchoices button.fishjump:after{content:'💦';position:absolute;left:6px;bottom:-8px;font-size:24px;animation:fishsplash 1.2s ease-in-out}@keyframes fishwaterjump{0%,100%{transform:translateY(0) rotate(0)}40%{transform:translateY(-110px) rotate(-25deg)}65%{transform:translateY(-72px) rotate(15deg)}}@keyframes fishsplash{0%,70%{opacity:0}85%,100%{opacity:1}}#fishingFloat{pointer-events:none;z-index:2}@media(prefers-reduced-motion:reduce){.fishchoices button{transition:none}.fishchoices button.fishjump,.fishchoices button.fishjump:after{animation:none}}
.bakeryscene{text-align:center;font-size:52px;padding:24px 0;background:#fff0da;border-radius:16px}.bakerybuttons{display:flex;gap:10px;flex-wrap:wrap}
.wheatfield{text-align:center;font-size:52px;line-height:1.6;background:linear-gradient(#e1f4fa 25%,#d6e8a3 25%,#ead691);padding:22px;border-radius:18px;margin:15px 0}
.clickablewheat{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.wheatstalk{font-size:48px;line-height:1.3;background:#fff8da33;border-radius:12px;min-height:65px}.wheatstalk:hover:not(:disabled){background:#fff8da88;transform:scale(1.08)}.wheatstalk:disabled{cursor:default;opacity:.65}
textarea{width:100%;padding:12px;border:1px solid #dce4d5;border-radius:9px;font:inherit;color:var(--ink);margin:7px 0 16px;resize:vertical}.task p{white-space:pre-wrap}
.studentheading{flex-wrap:wrap}.studentheading .secondary{font-size:10px;padding:8px 10px}
.infirmaryscene{text-align:center;font-size:51px;padding:30px 10px;background:linear-gradient(#eaf6f5 70%,#dbe7dc 70%);border-radius:16px;border:2px solid #d2e7df}
.creatorcredit{color:#7c947d;font-size:12px;font-weight:800;letter-spacing:.8px;margin:0 0 7px 4px}@media(max-width:700px){.creatorcredit{font-size:11px;margin-bottom:5px}}
