/* Only the APK context marks this attribute; an ordinary browser keeps its CTA. */
:root[data-sevo-android-apk] .sevo-app-teaser { display: none !important; }
.sevo-apk-update {
  position: fixed;
  z-index: 105;
  inset-inline-end: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(18px, env(safe-area-inset-bottom, 0px));
  width: min(390px, calc(100% - 32px));
  padding: 14px;
  border: 1px solid #dce1ef;
  border-radius: 15px;
  background: #fbfcff;
  box-shadow: 0 8px 28px #1b284b1a;
  color: #253047;
  font-family: var(--body, system-ui, sans-serif);
  -webkit-tap-highlight-color: transparent;
}
.sevo-apk-update[hidden] { display: none !important; }
.sevo-apk-update-copy { display: grid; gap: 4px; }
.sevo-apk-update-copy strong { font: 700 13px/1.4 var(--body, system-ui, sans-serif); }
.sevo-apk-update-copy span { color: #67728a; font: 400 11px/1.4 var(--body, system-ui, sans-serif); }
.sevo-apk-update-actions { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.sevo-apk-update-download,
.sevo-apk-update-later {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #d2d9e8;
  border-radius: 10px;
  font: 700 11px/1.4 var(--body, system-ui, sans-serif);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.sevo-apk-update-download { flex: 1; color: #223047; background: linear-gradient(120deg, #e0f5ed, #ece7f8); }
.sevo-apk-update-download:hover { border-color: #9eb9b2; }
.sevo-apk-update-later { flex: 0 0 auto; color: #5b657b; background: #fff; }
.sevo-apk-update-later:hover { background: #f0f3fa; }
.sevo-apk-update :is(a, button):focus-visible { outline: 3px solid #7663c1; outline-offset: 3px; }
@media (max-width: 760px) {
  .sevo-apk-update {
    inset-inline: max(12px, env(safe-area-inset-left, 0px)) max(12px, env(safe-area-inset-right, 0px));
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    width: auto;
    max-width: 390px;
    margin-inline: auto;
    padding: 12px;
    border-radius: 13px;
  }
  .sevo-apk-update-copy strong { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .sevo-apk-update,
  .sevo-apk-update a,
  .sevo-apk-update button { animation: none; transition: none; }
}
@media (forced-colors: active) {
  .sevo-apk-update,
  .sevo-apk-update-download,
  .sevo-apk-update-later { border-color: CanvasText; }
}
