/* Mobil · Android (Material) uygulama düzeni + Apple cam kartlar/katmanlı gölge + Bento ızgara.
   Üst uygulama çubuğu, ikonlu büyük karo, basma (press) animasyonu, alt gezinme için grup tipleri.
   Cam yüzeyler yarı saydamdır: kontrast ölçümü --bg üzerine bindirilmiş hâlle yapılır (--bg2 = --bg, camın
   altında başka parlaklık yok). Gecede cam daha opak ve --line parlak: metin ve odak halkası >= 4.5:1.
   Animasyonlar prefers-reduced-motion ile kapanır. */
html[data-tema="mobil"][data-mod="gunduz"] {
  --bg: #eef3fb;
  --bg2: #eef3fb;
  --surface: rgba(255, 255, 255, .84);
  --tile: #ffffff;
  --text: #121417;
  --muted: #4a4f57;
  --line: #565c66;
  --accent: #1a56db;
  --accent-text: #ffffff;
  --side: #1a56db;
  --side-text: #ffffff;
  --side-muted: #d4e1ff;
  --side-hover: #1444b0;
  --danger: #b42318;
  --danger-bg: #fee2e2;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .10), 0 10px 28px rgba(16, 24, 40, .14);
}
html[data-tema="mobil"][data-mod="gece"] {
  --bg: #0c111a;
  --bg2: #0c111a;
  --surface: rgba(28, 36, 50, .92);
  --tile: #1c2432;
  --text: #eef2f8;
  --muted: #a9b4c4;
  --line: #8a96a8;
  --accent: #8ab4f8;
  --accent-text: #0c111a;
  --side: #151d2b;
  --side-text: #eef2f8;
  --side-muted: #a9b4c4;
  --side-hover: #223047;
  --danger: #ffb4ab;
  --danger-bg: #3a1a17;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 10px 28px rgba(0, 0, 0, .45);
}
html[data-tema="mobil"] {
  --font-body: "Instrument Sans Variable", system-ui, -apple-system, sans-serif;
  --font-display: var(--font-body);
}
html[data-tema="mobil"] .ust-serit { min-height: 54px; padding: 6px 14px; }
html[data-tema="mobil"] .content { padding: 22px 20px 40px; }
html[data-tema="mobil"] .ustbar h1,
html[data-tema="mobil"] .topbar h1 { font-size: 28px; letter-spacing: -.01em; }
html[data-tema="mobil"] .grup-baslik { border: 0; padding-bottom: 0; }
html[data-tema="mobil"] .grup-liste { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
/* Kare karo: ikon büyük, açıklama altta; dokununca küçülür (basma geri bildirimi). */
html[data-tema="mobil"] .card {
  flex-direction: column; gap: 8px; padding: 18px 16px; min-height: 150px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
html[data-tema="mobil"] .card-icon {
  display: grid; place-items: center; width: 44px; height: 44px; font-size: 24px;
  background: var(--tile); border: 1px solid var(--line); border-radius: 14px;
}
html[data-tema="mobil"] a.card:hover { transform: none; }
html[data-tema="mobil"] a.card:active { transform: scale(.97); box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
html[data-tema="mobil"] .card-head h3 { font-size: 15px; }
html[data-tema="mobil"] .card-desc { font-size: 13px; }
html[data-tema="mobil"] .card-foot { margin-top: auto; }
html[data-tema="mobil"] .card-host { font-size: 11.5px; }
html[data-tema="mobil"] .sidebar { border-right: 1px solid var(--line); }
html[data-tema="mobil"] .cikis button { border-radius: 999px; }
html[data-tema="mobil"] .login-card { border-radius: 24px; box-shadow: var(--shadow); }
html[data-tema="mobil"] .login-card button { border-radius: 999px; padding: 13px; }
html[data-tema="mobil"] .durum-rozet { border-radius: 999px; }

@media (max-width: 860px) {
  html[data-tema="mobil"] .sidebar { flex-direction: row; flex-wrap: wrap; border-right: 0; }
  html[data-tema="mobil"] #menu { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 480px) {
  html[data-tema="mobil"] .ust-serit { min-height: 48px; }
  html[data-tema="mobil"] .content { padding: 16px 12px 32px; }
  html[data-tema="mobil"] .grup-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  html[data-tema="mobil"] .card { min-height: 124px; padding: 14px 12px; border-radius: 18px; }
  html[data-tema="mobil"] .card-icon { width: 38px; height: 38px; font-size: 20px; }
  html[data-tema="mobil"] .card-desc { font-size: 12.5px; }
  html[data-tema="mobil"] .ustbar h1,
  html[data-tema="mobil"] .topbar h1 { font-size: 22px; }
}
