.download-notice[hidden] {
  display: none;
}

.download-notice {
  position: fixed;
  left: 12px;
  right: 12px;
  top: 48px;
  top: max(48px, env(safe-area-inset-top));
  z-index: 1000;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.download-notice-panel {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 400px;
  max-height: 60vh;
  overflow-y: auto;
  padding: 20px;
  border: 1px solid #cbdfff;
  border-radius: 18px;
  background: #fff;
  color: #0860df;
  box-shadow: 0 10px 36px rgba(0, 35, 92, 0.24);
  pointer-events: auto;
}

.download-notice-logo {
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  border-radius: 14px;
  object-fit: contain;
}

.download-notice-panel h2 {
  margin: 0 0 12px;
  text-align: center;
  color: #0860df;
  font-size: 22px;
  font-weight: 750;
  line-height: 1.4;
}

.download-notice-panel p {
  margin: 0;
  color: #0860df;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.8;
}

.download-notice-close {
  position: absolute;
  top: 13px;
  right: 12px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #0860df;
  font: inherit;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.download-notice-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.download-notice-actions button {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 0;
  border-radius: 13px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
}

.download-notice-copy {
  background: #086bff;
  color: #fff;
}

.download-notice-dismiss {
  background: #edf4ff;
  color: #0860df;
}

.download-notice-panel .download-notice-status {
  margin-top: 12px;
  color: #0860df;
  font-size: 13px;
  line-height: 1.7;
}

.download-notice-panel .download-notice-wechat {
  margin-top: 10px;
  font-size: 13px;
}

.download-notice-url {
  box-sizing: border-box;
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid #cbd8ed;
  border-radius: 8px;
  background: #f6f9ff;
  color: #0860df;
  font-size: 14px;
}

.download-notice :focus-visible {
  outline: 3px solid #80b7ff;
  outline-offset: 3px;
}
