/* مشترك */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: 'Cairo', 'Segoe UI', Tahoma, Arial, sans-serif;
  background: #0f1226; color: #fff;
  -webkit-tap-highlight-color: transparent;
}
button { font-family: inherit; cursor: pointer; }
.app-version {
  position: fixed; bottom: 4px; left: 6px; z-index: 50;
  font-size: 11px; opacity: .55; direction: ltr; pointer-events: none;
}
#debug {
  position: fixed; bottom: 0; right: 0; left: 60px; z-index: 40;
  font: 11px/1.35 ui-monospace, Menlo, Consolas, monospace;
  color: #9fe8a8; background: rgba(0,0,0,.45); padding: 2px 8px;
  direction: rtl; text-align: right; pointer-events: none;
  max-height: 60px; overflow: hidden;
}
#debug .err { color: #ff8f8f; }
#debug { transition: opacity .6s; }
#debug.faded { opacity: .12; }
#update-banner {
  display: none; position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: #ffcc33; color: #222; text-align: center; font-weight: 800;
  padding: 10px; font-size: 18px;
}
