/* Matimo oyun ekranları: ana sayfayla aynı renk ailesi
   krem zemin · koyu yeşil ana düğmeler · sarı vurgu · lacivert yazı */
:root{--mt-krem:#fffaf1;--mt-yesil:#0d7767;--mt-yesil-k:#0a5f52;--mt-sari:#f5b819;--mt-sari-a:#fff1c7;--mt-lacivert:#12366d;--mt-cizgi:#ece2cd}

html,html body{background:var(--mt-krem)!important}

/* Soru kartı */
html body .questionCard{background:#fff;border-color:var(--mt-cizgi);box-shadow:0 14px 34px rgba(80,60,20,.07)}

/* Ana düğmeler: Sonraki Soru ve Kontrol Et */
html body .ctrl.next,
html body .checkBtn,
html body .mtCheck,
html body .checkMechanic,
html body .control.primary{background:var(--mt-yesil);border-color:var(--mt-yesil-k);color:#fff;box-shadow:0 6px 14px rgba(13,119,103,.25)}
html body .ctrl.next:hover:not(:disabled),
html body .checkBtn:hover:not(:disabled),
html body .mtCheck:hover:not(:disabled),
html body .checkMechanic:hover:not(:disabled){background:var(--mt-yesil-k)}
/* Boşken: soluk ama aynı renk ailesinde */
html body .checkBtn:disabled,
html body .mtCheck:disabled,
html body .checkMechanic:disabled,
html body .ctrl.next:disabled{opacity:1;background:#b7d6cd;border-color:#b7d6cd;box-shadow:none;color:#fff}

/* Önceki Soru: sade beyaz */
html body .ctrl.prev{background:#fff;border-color:var(--mt-cizgi);color:var(--mt-lacivert)}
/* İpucu: sarı */
html body .ctrl.hint{background:var(--mt-sari-a);border-color:#f2d27a;color:#7a4b00}

/* Soru / Doğru / Puan daireleri */
html body .statCircle.soru{background:linear-gradient(145deg,#f2f5fb,#e1e8f6);border-color:#a9badd}
html body .statCircle.soru .icon{background:var(--mt-lacivert)}
html body .statCircle.soru .label,html body .statCircle.soru strong{color:var(--mt-lacivert)}
html body .statCircle.dogru{background:linear-gradient(145deg,#edf8f4,#d3eee5);border-color:#86c7b3}
html body .statCircle.dogru .icon{background:var(--mt-yesil)}
html body .statCircle.dogru .label,html body .statCircle.dogru strong{color:var(--mt-yesil-k)}
html body .statCircle.puan{background:linear-gradient(145deg,#fff8e0,#ffeaa8);border-color:#f2cf6b}
html body .statCircle.puan .icon{background:var(--mt-sari)}

/* Tema etiketi */
html body .theme{background:#e7f3ef;color:var(--mt-yesil-k)}

/* Rakam tuşları */
html body .key{background:#fff;border-color:var(--mt-cizgi)}
html body .key.fn{background:#f6f1e6}

/* Diğer şablon (bazı 6. sınıf oyunları) */
html body .topbar{background:#fffdf8;border-bottom-color:var(--mt-cizgi)}
html body .topbar .pill:nth-child(1){background:#eef2fa;border-color:#d5def0}
html body .topbar .pill:nth-child(2){background:#e9f5f1;border-color:#cbe6dd}
html body #scorePill{background:linear-gradient(180deg,#fff8e0,#ffeaa8)!important;border-color:#f2cf6b;color:#8a5a00}
html body #scorePill small{color:#8a5a00}
html body .progress>div{background:linear-gradient(90deg,var(--mt-yesil),#3fae8f)}
html body .badge{background:var(--mt-sari-a);color:#7a4b00;border-color:#f2d27a}
html body .card .questionCard{background:#fff}

/* Telefon: daireler yerine ince şerit, soru daha büyük (23 Ekim 2026) */
@media(max-width:620px){
  html body .circles{gap:6px;width:100%;justify-content:space-between}
  html body .statCircle{flex:1;min-width:0;width:auto;height:auto;border-radius:14px;flex-direction:row;gap:5px;padding:7px 4px;border-width:2px;box-shadow:0 4px 10px rgba(34,90,150,.08)}
  html body .statCircle .icon{width:22px;height:22px;font-size:13px;margin:0;flex:none}
  html body .statCircle .label{font-size:13px}
  html body .statCircle strong{font-size:19px;margin:0}
  html body .questionText{font-size:21px}
  html body .theme{font-size:13px}
}
@media(min-width:901px){
  html body h1{font-size:32px}
  html body .page{padding-top:14px}
  html body .hero{min-height:0}
  html body .questionCard{padding-top:20px}
  html body .controls{margin-top:14px}
  html body .eyebrow{font-size:16px;margin-bottom:2px}
  html body .bookIcon{width:92px;height:86px}
  html body .bookIcon img{max-width:88px;max-height:82px}
  html body .statCircle{width:108px;height:108px}
  html body .statCircle strong{font-size:29px}
  html body .statCircle .label{font-size:14px}
}
/* Tablet/bilgisayar: 820px uygulama çerçevesine uyum (24 Ekim 2026) */
@media(min-width:900px){
  html body .hero{gap:14px}
  html body .hero h1{font-size:26px;line-height:1.12;letter-spacing:-.5px}
  html body .brand{grid-template-columns:72px 1fr;gap:12px}
  html body .bookIcon{width:72px;height:68px}
  html body .bookIcon img{max-width:70px;max-height:66px}
  html body .circles{gap:8px}
  html body .statCircle{width:84px;height:84px;border-width:3px}
  html body .statCircle strong{font-size:22px;margin-top:2px}
  html body .statCircle .label{font-size:11.5px}
  html body .statCircle .icon{width:24px;height:24px;font-size:13px}
}
