/* İla ortak kabuk (26 Kasım 2026). Kaynak dil: "İla'yla keşfedelim" (pastel zemin, beyaz kalın çerçeve, kabarık gölge, büyük nesne).
   Her oyun ve etkinlik sayfası bunu yükler. Renk: body'de --zemin (yolun pastel rengi) ve --koyu (vurgu). */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@600;700;800;900&display=swap');
:root{--zemin:#FFE3EC;--koyu:#D9567A;--murekkep:#3b2a3f;--soluk:#6b566f;--golge:rgba(59,42,63,.14);--krem:#fffaf3}
html.ik{color-scheme:light;background:var(--krem)}
html.ik body{color:var(--murekkep);font-family:Nunito,ui-rounded,system-ui,sans-serif;background:linear-gradient(180deg,var(--krem) 0,var(--zemin) 420px,var(--zemin) 100%) fixed;background-color:var(--zemin)}
.ik-i{width:1em;height:1em;display:inline-block;vertical-align:-.12em;fill:currentColor;flex:none}

/* ---------- üst şerit: her sayfada aynı ---------- */
.ik-bar{display:flex;align-items:center;gap:10px;position:relative;z-index:40;width:100%;max-width:760px;margin:0 auto;padding:max(10px,env(safe-area-inset-top,0px)) 12px 8px;box-sizing:border-box;flex:none;font-family:Nunito,system-ui,sans-serif}
.ik-bar .bosluk{flex:1}
.ik-d{flex:none;display:grid;place-items:center;width:56px;height:56px;border-radius:50%;border:4px solid #fff;background:#fff;color:var(--koyu);font:900 24px/1 Nunito,sans-serif;box-shadow:0 5px 0 var(--golge);cursor:pointer;padding:0;text-decoration:none;position:relative;-webkit-tap-highlight-color:transparent}
.ik-d .ik-i{width:28px;height:28px}
.ik-d:active{transform:translateY(3px);box-shadow:0 2px 0 var(--golge)}
.ik-d:focus-visible{outline:4px solid var(--koyu);outline-offset:3px}
.ik-ila{flex:none;width:58px;height:66px;border-radius:30px 30px 16px 16px;border:4px solid #fff;background:#fff;box-shadow:0 8px 16px -8px rgba(59,42,63,.55);overflow:hidden;padding:0;cursor:pointer}
.ik-ila img{width:100%;height:100%;object-fit:cover;object-position:50% 38%;display:block;pointer-events:none}
.ik-nesne{flex:none;width:56px;height:56px;border-radius:34%;background:var(--zemin);border:4px solid #fff;box-shadow:0 5px 0 var(--golge);display:grid;place-items:center;transform:rotate(-6deg);color:var(--koyu);font:900 28px/1 Nunito,sans-serif;overflow:hidden}
.ik-nesne img{width:80%;height:80%;object-fit:contain}
.ik-defter-d{background:var(--koyu);color:#fff}
.ik-defter-d.hop{animation:ik-hop .7s cubic-bezier(.3,1.7,.5,1)}
@keyframes ik-hop{35%{transform:scale(1.28) rotate(-10deg)}70%{transform:scale(.94) rotate(4deg)}}
.ik-gizli{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* eski sayfa içi logo satırı ve "← Oyunlar" düğmesi: tek üst şerit var */
html.ik .oyun-ust{display:none!important}

/* ---------- ortak düğmeler / kartlar ---------- */
.ik-ana{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:60px;min-width:60px;padding:0 28px;border:4px solid #fff;border-radius:99px;background:var(--koyu);color:#fff;font:900 20px/1 Nunito,sans-serif;box-shadow:0 5px 0 var(--golge);cursor:pointer;text-decoration:none}
.ik-cerceve{background:#fff;border:5px solid #fff;border-radius:30px;box-shadow:0 8px 0 var(--golge),0 18px 26px -18px rgba(59,42,63,.7)}

/* ---------- sayı kartı: rakam + altında yazıyla (Patron kuralı) ---------- */
.ik-sayi{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;line-height:1;font-family:Nunito,system-ui,sans-serif;font-weight:900;color:var(--c,var(--koyu));pointer-events:none}
.ik-sayi b{font-size:var(--r,44px);line-height:1;font-weight:900}
.ik-sayi small{font-size:max(11px,calc(var(--r,44px) * .34));line-height:1.1;font-weight:900;color:var(--y,inherit);white-space:nowrap;margin-top:1px}

/* ---------- sticker (die-cut) ---------- */
.ik-stk{position:relative;display:grid;place-items:center;width:100%;height:100%}
.ik-stk img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(2.5px 0 0 #fff) drop-shadow(-2.5px 0 0 #fff) drop-shadow(0 2.5px 0 #fff) drop-shadow(0 -2.5px 0 #fff) drop-shadow(0 4px 4px rgba(59,42,63,.32));pointer-events:none}
.ik-stk .yazili{display:flex;flex-direction:column;align-items:center;justify-content:center;width:92%;height:92%;border-radius:30%;background:#fff;box-shadow:0 4px 6px rgba(59,42,63,.28);line-height:1;container-type:inline-size}
.ik-stk .yazili b{font:900 50cqw/1 Nunito,sans-serif;color:var(--c,#D9567A)}
.ik-stk .yazili b.harf{font-size:44cqw}
.ik-stk .yazili small{font:900 17cqw/1.1 Nunito,sans-serif;color:var(--murekkep);white-space:nowrap}
.ik-stk .yazili svg{width:68cqw;height:58cqw;overflow:visible}
.ik-stk .renkli-kalem{display:flex;flex-direction:column;align-items:center;width:100%;height:100%;container-type:inline-size}
.ik-stk .renkli-kalem img{height:76%}
.ik-stk .renkli-kalem small{font:900 16cqw/1.1 Nunito,sans-serif;background:#fff;border-radius:99px;padding:1px 6px;box-shadow:0 2px 3px rgba(59,42,63,.25)}

/* ---------- yeni sticker: büyük çıkar, deftere uçar ---------- */
.ik-odul{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;background:rgba(59,42,63,.45);padding:16px;cursor:pointer;animation:ik-bel .25s ease both}
.ik-odul .kutu{display:flex;flex-direction:column;align-items:center;gap:14px;max-width:420px;width:100%}
.ik-odul .dizi{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.ik-odul .tek{width:min(52vw,220px);height:min(52vw,220px);animation:ik-gel .6s cubic-bezier(.3,1.7,.5,1) both}
.ik-odul .dizi.cok .tek{width:min(30vw,128px);height:min(30vw,128px)}
.ik-odul .tek:nth-child(2){animation-delay:.08s}.ik-odul .tek:nth-child(3){animation-delay:.16s}.ik-odul .tek:nth-child(n+4){animation-delay:.24s}
.ik-odul .ik-ana{background:#D9567A}
.ik-ucan{position:fixed;z-index:2147483001;pointer-events:none;transition:left .75s cubic-bezier(.5,-.3,.6,1),top .75s cubic-bezier(.5,-.3,.6,1),width .75s,height .75s,transform .75s,opacity .75s}
@keyframes ik-gel{from{transform:scale(.2) rotate(-25deg);opacity:0}}
@keyframes ik-bel{from{opacity:0}}
@media (prefers-reduced-motion:reduce){.ik-odul .tek,.ik-odul,.ik-defter-d.hop{animation:none}.ik-ucan{transition:none}}
