/* SimpleGame — tüm sayfalarda ortak üst bar + ayarlar */
.sg-header{position:sticky;top:0;z-index:60;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);background:rgba(19,32,43,.72);border-bottom:1px solid rgba(255,255,255,.12);font-family:Nunito,system-ui,-apple-system,"Segoe UI",sans-serif;color:#f4f7f8}
.sg-header .bar{max-width:1180px;margin:auto;display:flex;align-items:center;gap:14px;padding:10px 18px;height:58px}
.sg-logo{display:flex;align-items:center;gap:10px;text-decoration:none;color:#fff;font-family:Fredoka,Nunito,system-ui,sans-serif;font-weight:700;font-size:1.35rem;flex:none}
.sg-logo .mark{width:30px;height:30px;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:3px}
.sg-logo .mark b{border-radius:5px}
.sg-logo .mark b:nth-child(1){background:#4fc9bf}.sg-logo .mark b:nth-child(2){background:#8cc46b}.sg-logo .mark b:nth-child(3){background:#f2876a}.sg-logo .mark b:nth-child(4){background:#ffd166;transform:scale(.8)}
.sg-logo em{font-style:normal;color:#ffd166}
.sg-nav{margin-left:auto;display:flex;align-items:center;gap:2px}
.sg-nav a,.sg-nav button{font:inherit;color:#b9c6cf;background:none;border:0;cursor:pointer;text-decoration:none;font-weight:800;font-size:.94rem;padding:8px 12px;border-radius:999px;white-space:nowrap;transition:.2s}
.sg-nav a:hover,.sg-nav button:hover,.sg-nav .on{color:#fff;background:rgba(255,255,255,.1)}
.sg-langs{display:flex;gap:4px;margin-left:6px;padding-left:10px;border-left:1px solid rgba(255,255,255,.15)}
.sg-langs button{width:34px;height:26px;padding:0;border-radius:6px;border:2px solid transparent;background:none;cursor:pointer;opacity:.55;transition:.15s;overflow:hidden;display:grid;place-items:center}
.sg-nav .sg-langs button{padding:0;border-radius:6px;background:none}
.sg-langs button img{width:100%;height:100%;object-fit:cover;display:block;border-radius:3px}
.sg-langs button:hover{opacity:.9}
.sg-langs button.on{opacity:1;border-color:#ffd166}
.sg-nav .ic{display:none}
@media(max-width:720px){
  .sg-header .bar{gap:6px;padding:8px 10px;height:54px}
  .sg-logo{font-size:1.1rem;gap:7px}.sg-logo .mark{width:24px;height:24px;gap:2px}
  .sg-nav a,.sg-nav button{padding:7px 8px;font-size:.85rem}
  .sg-langs{margin-left:2px;padding-left:6px;gap:3px}
  .sg-langs button{width:28px;height:21px}
}
@media(max-width:480px){
  .sg-logo span{display:none}
  .sg-nav .tx{display:none}.sg-nav .ic{display:inline;font-size:1.1rem}
}
/* ayarlar */
.sg-set{position:fixed;inset:0;z-index:200;background:rgba(10,18,28,.6);display:none;place-items:center;padding:16px;font-family:Nunito,system-ui,sans-serif}
.sg-set.on{display:grid}
.sg-set .box{width:min(440px,94vw);max-height:90vh;overflow:auto;background:#13202b;color:#f4f7f8;border-radius:24px;padding:22px;box-shadow:0 24px 60px rgba(0,0,0,.5);border:1px solid rgba(255,255,255,.1);animation:sgsetpop .3s cubic-bezier(.3,1.4,.5,1)}
@keyframes sgsetpop{from{transform:scale(.85);opacity:0}}
.sg-set h2{font-family:Fredoka,Nunito,sans-serif;font-weight:600;font-size:1.6rem;margin:0 0 14px;display:flex;justify-content:space-between;align-items:center}
.sg-set h2 button{background:rgba(255,255,255,.1);border:0;color:#fff;width:38px;height:38px;border-radius:12px;font-size:18px;cursor:pointer}
.sg-set h3{font-size:.8rem;letter-spacing:1px;text-transform:uppercase;color:#b9c6cf;margin:16px 0 8px;font-weight:900}
.sg-set .row{display:flex;gap:8px;flex-wrap:wrap}
.sg-set .opt{flex:1;min-width:110px;display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.07);border:2px solid transparent;color:#fff;font:800 .95rem Nunito,sans-serif;cursor:pointer}
.sg-set .opt img{width:28px;height:19px;border-radius:3px;object-fit:cover}
.sg-set .opt.on{border-color:#ffd166;background:rgba(255,209,102,.12)}
.sg-set .wb{width:54px;height:54px;border-radius:14px;border:2px solid transparent;background-size:cover;background-position:center;cursor:pointer}
.sg-set .wb.on{border-color:#fff}
.sg-set .sw{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.07);font-weight:800}
.sg-set .sw input{width:20px;height:20px;accent-color:#4fc9bf}
.sg-set .danger{width:100%;padding:12px;border-radius:14px;border:0;background:rgba(242,135,106,.18);color:#ffb3a0;font:900 .95rem Nunito,sans-serif;cursor:pointer}
.sg-set .note{color:#b9c6cf;font-size:.85rem;font-weight:700;margin-top:6px}
body.sg-reduce *{animation:none!important;transition:none!important}
