/* Nová verze instalace (core/update-bar.js): plovoucí lišta dole, na mobilu nad spodní navigací. */
.upd-bar {
  position: fixed; z-index: 400; left: 50%; bottom: 16px; transform: translateX(-50%); max-width: min(680px, calc(100vw - 24px));
  display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 12px;
  background: #1e40af; color: #fff; font-size: 13.5px; font-weight: 500; box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
}
.upd-text { min-width: 0; }
.upd-btn {
  flex: none; height: 30px; padding: 0 12px; border: 0; border-radius: 7px; background: #fff; color: #1e3a8a; font: inherit; font-weight: 600; cursor: pointer;
}
.upd-btn:hover { background: #dbeafe; }
.upd-x { flex: none; width: 30px; height: 30px; border: 0; border-radius: 7px; background: none; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.upd-x:hover { background: rgba(255, 255, 255, .15); }
.upd-btn:focus-visible, .upd-x:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 768px) {
  .upd-bar { left: 12px; right: 12px; transform: none; max-width: none; bottom: calc(var(--bottomnav-h) + env(safe-area-inset-bottom) + 10px); }
}
@media print { .upd-bar { display: none; } }

.upd-notes { white-space: pre-wrap; max-height: 40vh; overflow-y: auto; padding: 10px 12px; border-radius: var(--r-sm); background: var(--surface-2); font-size: 13.5px; }
.upd-log { white-space: pre-wrap; max-height: 30vh; overflow: auto; font-size: 12px; }
.upd-act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.upd-act .inp { width: auto; }
