#a365-push-banner {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 14px;
  width: calc(100vw - 40px);
  max-width: 520px;
  background: #fff;
  color: #1a1a1a;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.2), 0 2px 6px rgba(0,0,0,0.08);
  padding: 14px 46px 14px 16px;
  font: 700 15px/1.35 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  animation: a365PushIn 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
@keyframes a365PushIn {
  from { opacity: 0; transform: translate(-50%, -24px) scale(0.95); }
  to   { opacity: 1; transform: translate(-50%, 0) scale(1); }
}
#a365-push-banner[hidden] { display: none; }

#a365-push-banner::before {
  content: "";
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: url('/android-chrome-192x192.png') center/contain no-repeat;
  border-radius: 8px;
}

.a365-push-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.a365-push-title {
  color: #1a1a1a;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}
.a365-push-msg {
  color: #333;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.a365-push-actions {
  flex-shrink: 0;
}

#a365-push-enable {
  background: #d9342b;
  color: #fff;
  border: 0;
  padding: 9px 18px;
  border-radius: 6px;
  cursor: pointer;
  font: 700 14px/1 inherit;
  font-family: inherit;
  transition: background 0.15s;
}
#a365-push-enable:hover { background: #b82820; }
#a365-push-enable:focus-visible { outline: 2px solid #d9342b; outline-offset: 2px; }

#a365-push-dismiss {
  position: absolute;
  top: 6px;
  right: 10px;
  background: transparent;
  color: #999;
  border: 0;
  padding: 2px 8px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
  font-weight: 400;
  transition: background 0.15s, color 0.15s;
}
#a365-push-dismiss:hover {
  background: rgba(0,0,0,0.06);
  color: #333;
}

@media (max-width: 540px) {
  #a365-push-banner {
    flex-wrap: wrap;
    padding: 14px 40px 14px 14px;
    gap: 10px;
  }
  .a365-push-text { flex-basis: calc(100% - 54px); }
  .a365-push-title { font-size: 15px; }
  .a365-push-msg { font-size: 13px; }
  .a365-push-actions { margin-left: auto; }
}

@media (prefers-color-scheme: dark) {
  #a365-push-banner { background: #1e1e1e; color: #f0f0f0; box-shadow: 0 8px 28px rgba(0,0,0,0.6); }
  .a365-push-title { color: #fff; }
  .a365-push-msg { color: #ccc; }
  #a365-push-dismiss { color: #888; }
  #a365-push-dismiss:hover { background: rgba(255,255,255,0.08); color: #fff; }
}
