html.app-service-notice-open,
html.app-service-notice-open body {
  overflow: hidden !important;
}
#app-service-notice {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(440px, calc(100% - 40px));
  max-width: none;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  padding: 32px 28px 24px;
  border: 0;
  border-radius: 24px;
  background: #fff;
  color: #292431;
  box-shadow: 0 24px 80px #20133533;
  font: 16px/1.75 -apple-system, BlinkMacSystemFont, "Microsoft YaHei", sans-serif;
  text-align: center;
  touch-action: pan-y;
}
#app-service-notice::backdrop {
  background: rgba(12, 9, 18, 0.85);
}
#app-service-notice .app-service-notice-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #f2ebff;
  color: #8350d9;
  font-size: 28px;
  font-weight: 700;
  line-height: 48px;
}
#app-service-notice .app-service-notice-label {
  margin: 0 0 6px;
  color: #84798e;
  font-size: 13px;
  letter-spacing: 2px;
}
#app-service-notice h2 {
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
}
#app-service-notice-description {
  margin: 0 0 28px;
  color: #655d70;
  font-size: 16px;
  text-align: left;
}
#app-service-notice button {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 10px 16px;
  border: 0;
  border-radius: 12px;
  background: #8350d9;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  touch-action: manipulation;
}
#app-service-notice button:hover { background: #7140c2; }
#app-service-notice button:focus-visible { outline: 3px solid #bfa1ef; outline-offset: 3px; }

@media (max-width: 480px), (max-height: 480px) {
  #app-service-notice {
    width: min(440px, calc(100% - 32px));
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    padding: 24px 20px 20px;
    border-radius: 20px;
  }
  #app-service-notice h2 { font-size: 21px; }
}
