/* Shared composition: Figma 49056:469035. Product copy/data stay API driven. */
.mobile-lost-notice[hidden] { display: none; }

:is(.mobile-lost-notice, .addr-pop) {
  position: fixed;
  inset: 0;
  z-index: var(--layer-notice);
  display: flex;
  box-sizing: border-box;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: center;
  padding: 16px;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

:is(.mobile-lost-notice__backdrop, .addr-pop__backdrop) {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

:is(.mobile-lost-notice__panel, .addr-pop__panel) {
  position: relative;
  z-index: 1;
  isolation: isolate;
  box-sizing: border-box;
  width: min(311px, calc(100vw - 32px));
  flex: 0 1 auto;
  min-height: 0;
  max-height: calc(100vh - 100px);
  max-height: calc(100svh - 100px);
  overflow: auto;
  border-radius: 12px;
  background: var(--color-surface-modal);
  color: var(--color-text-primary-dark);
  scrollbar-width: none;
}

:is(.mobile-lost-notice__panel, .addr-pop__panel)::-webkit-scrollbar { display: none; }

:is(.mobile-lost-notice__close, .addr-pop__close) {
  position: relative;
  z-index: 1;
  display: grid;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  flex: none;
  place-items: center;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

:is(.mobile-lost-notice__close, .addr-pop__close) svg { width: 20px; height: 20px; }
:is(.mobile-lost-notice__close, .addr-pop__close):focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

:is(.mobile-lost-notice__panel, .addr-pop__panel)::before,
:is(.mobile-lost-notice__panel, .addr-pop__panel)::after {
  position: absolute;
  z-index: -1;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
  content: "";
}

:is(.mobile-lost-notice__panel, .addr-pop__panel)::before {
  /* Figma layer 49059:471291, exported at 2x with its blur and parent clip. */
  top: 0;
  left: 0;
  width: 220px;
  height: 180.5px;
  background-image: url('/static/images/lost-notice/glow-pink.png');
}

:is(.mobile-lost-notice__panel, .addr-pop__panel)::after {
  /* 49059:471292: clipped effect begins at (276 - 150, 410 - 150). */
  top: 260px;
  left: 126px;
  width: 185px;
  height: 198px;
  background-image: url('/static/images/lost-notice/glow-blue.png');
}

:is(.mobile-lost-notice__capture, .addr-pop__capture) {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  flex-direction: column;
  gap: 12px;
  padding: 32px 24px 0;
}

:is(.mobile-lost-notice__title, .addr-pop__title) {
  margin: 0;
  color: var(--color-text-primary-dark);
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  text-align: center;
}

:is(.mobile-lost-notice__divider, .addr-pop__divider) {
  position: relative;
  width: 100%;
  height: 0;
  flex: none;
}

:is(.mobile-lost-notice__divider, .addr-pop__divider)::after {
  position: absolute;
  top: -.25px;
  left: 0;
  width: 100%;
  height: .5px;
  background: var(--color-divider-dark);
  content: "";
}

:is(.mobile-lost-notice__details, .addr-pop__details) {
  min-height: 100px;
  overflow-wrap: anywhere;
  color: var(--color-text-secondary-dark);
  font-size: 14px;
  line-height: 20px;
}

:is(.mobile-lost-notice__details, .addr-pop__details) p,
:is(.mobile-lost-notice__warning, .addr-pop__warning),
:is(.mobile-lost-notice__countdown, .addr-pop__countdown) { margin: 0; }

.mobile-lost-notice__details a,
.addr-pop__details [data-lost-notice-open-window] {
  color: var(--color-brand-primary);
  text-decoration: none;
}

.addr-pop__details a,
.mobile-lost-notice__details :is([data-lost-notice-field="newUrlAddr"], [data-lost-notice-field="foreverUrlAddr"], [data-lost-notice-field="gmailAddr"]) a {
  color: inherit;
  text-decoration: none;
}

.addr-pop__details [data-lost-notice-open-window] { color: var(--color-brand-primary); }

:is(.mobile-lost-notice__warning, .addr-pop__warning) {
  min-height: 40px;
  color: var(--color-text-secondary-dark);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

:is(.mobile-lost-notice__warning, .addr-pop__warning) :is(strong, span),
:is(.mobile-lost-notice__countdown, .addr-pop__countdown) strong {
  color: var(--color-status-warning);
  font-weight: 400;
}

:is(.mobile-lost-notice__links, .addr-pop__links) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

:is(.mobile-lost-notice__links, .addr-pop__links) a {
  display: flex;
  box-sizing: border-box;
  min-width: 0;
  height: 32px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4px 12px;
  border: 0;
  box-shadow: inset 0 0 0 .5px var(--color-brand-primary);
  border-radius: 999px;
  color: var(--color-brand-primary);
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

:is(.mobile-lost-notice__links, .addr-pop__links) a[hidden] { display: none; }

:is(.mobile-lost-notice__footer, .addr-pop__footer) {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  min-height: 122px;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

:is(.mobile-lost-notice__save, .addr-pop__save) {
  box-sizing: border-box;
  width: 136px;
  height: 44px;
  flex: none;
  padding: 11px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--color-brand-primary);
  color: #fff;
  cursor: pointer;
  font: 500 16px/22px "PingFang SC", "Microsoft YaHei", sans-serif;
  text-align: center;
}

:is(.mobile-lost-notice__save, .addr-pop__save):disabled { cursor: wait; opacity: .7; }
:is(.mobile-lost-notice__save, .addr-pop__save):focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

:is(.mobile-lost-notice__countdown, .addr-pop__countdown) {
  color: var(--color-text-secondary-dark);
  font-size: 12px;
  line-height: 18px;
  text-align: center;
}
