/* A full-label hit area, aligned with the existing progress text and action button. */
.xy-welcome-two-step .xy-reminder-meta { min-width: 0; }
.xy-welcome-two-step .xy-reminder-meta > p { margin: 0; }
.xy-welcome-two-step .xy-reminder-option {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 24px;
  margin-top: 2px;
  color: var(--xy-feature-ink);
  font-size: 13px;
  font-weight: 600;
  text-align: start;
  cursor: pointer;
}
.xy-welcome-two-step .xy-reminder-option > input {
  margin: 0;
  flex: none;
  width: 16px;
  height: 16px;
  accent-color: var(--xy-feature-edge);
  cursor: pointer;
}
.xy-welcome-two-step .xy-reminder-option:has(:focus-visible) {
  outline: 2px solid var(--xy-feature-edge);
  outline-offset: 2px;
}
.xy-welcome-avoid {
  display: block;
  margin-top: 2px;
  color: #a33830;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 750;
}
.dark .xy-welcome-avoid { color: #ff9b91; }
.xy-welcome-model-figure { margin: 12px 0 0; }
.xy-welcome-thumb {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--xy-feature-rule);
  background: #07101a;
  cursor: zoom-in;
  transition-property: transform, border-color;
  transition-duration: 150ms;
}
.xy-welcome-thumb:active { transform: scale(0.96); }
.xy-welcome-thumb:focus-visible,
.xy-welcome-lightbox-close:focus-visible {
  outline: 2px solid var(--xy-feature-edge);
  outline-offset: 2px;
}
.xy-welcome-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 2552 / 1249;
  object-fit: cover;
  outline: 1px solid rgb(0 0 0 / 10%);
  outline-offset: -1px;
}
.dark .xy-welcome-thumb img { outline-color: rgb(255 255 255 / 10%); }
.xy-welcome-notice-layout {
  display: grid;
  gap: 16px;
  align-items: start;
}
.xy-welcome-important, .xy-welcome-recommendation { min-width: 0; }
.xy-welcome-important-heading {
  margin: 0 0 10px;
  color: var(--xy-feature-ink);
  font-size: 17px;
  line-height: 1.3;
  font-weight: 750;
}
.xy-welcome-important-list { display: grid; gap: 8px; }
.xy-welcome-important-card {
  --xy-notice-accent: #87621f;
  padding: 10px 13px;
  border: 1px solid color-mix(in srgb, var(--xy-notice-accent) 30%, transparent);
  border-inline-start: 3px solid var(--xy-notice-accent);
  background: color-mix(in srgb, var(--xy-notice-accent) 7%, transparent);
  overflow-wrap: anywhere;
}
.xy-welcome-important-card[data-tone='topup'] { --xy-notice-accent: #416ba6; }
.xy-welcome-important-card[data-tone='referral'] { --xy-notice-accent: #33745f; }
.dark .xy-welcome-important-card[data-tone='benefit'] { --xy-notice-accent: #edc677; }
.dark .xy-welcome-important-card[data-tone='topup'] { --xy-notice-accent: #8cb8f5; }
.dark .xy-welcome-important-card[data-tone='referral'] { --xy-notice-accent: #86cbb2; }
.xy-welcome-important-card h4 {
  margin: 0 0 3px;
  color: var(--xy-notice-accent);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 750;
}
.xy-welcome-important-copy { font-size: 13px; line-height: 1.58; }
.xy-welcome-important-copy p:first-child { margin-block-start: 0; }
.xy-welcome-important-copy p:last-child { margin-block-end: 0; }
.xy-welcome-recommendation .xy-welcome-feature { margin: 0 3px 3px 0; }
.xy-welcome-recommendation .xy-welcome-models { font-size: clamp(14px, 4.15vw, 19px); }
@media (min-width: 900px) {
  .xy-announcement-dialog.xy-welcome-two-step.xy-welcome-dual[data-slot='dialog-content'] {
    width: min(calc(100vw - 48px), 1100px);
    max-width: min(calc(100vw - 48px), 1100px);
  }
  .xy-welcome-notice-layout {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    grid-template-areas: 'recommendation important';
    gap: 22px;
  }
  .xy-welcome-recommendation { grid-area: recommendation; }
  .xy-welcome-important { grid-area: important; }
  .xy-welcome-important-card { padding: 12px 15px; }
  .xy-welcome-important-copy { font-size: 14px; }
}
.xy-welcome-model-caption {
  display: grid;
  gap: 3px;
  margin-top: 7px;
  color: var(--xy-feature-dim);
  font-size: 12px;
  line-height: 1.4;
}
.xy-welcome-model-caption strong, .xy-welcome-model-credit { color: var(--xy-feature-ink); }
.xy-welcome-model-credit { font-size: 13px; font-weight: 750; }
.xy-welcome-lightbox {
  width: min(94vw, 1720px);
  max-width: none;
  max-height: 90dvh;
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid rgb(255 255 255 / 24%);
  color: #f5f7fb;
  background: #07101a;
}
.xy-welcome-lightbox::backdrop {
  background: rgb(3 8 16 / 88%);
  backdrop-filter: blur(3px);
}
.xy-welcome-lightbox-frame { position: relative; }
.xy-welcome-lightbox-credit {
  margin: 0;
  padding: 8px 12px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 650;
  color: #f5f7fb;
}
.xy-welcome-lightbox-frame img {
  display: block;
  width: 100%;
  max-height: calc(90dvh - 36px);
  object-fit: contain;
  outline: 1px solid rgb(255 255 255 / 10%);
  outline-offset: -1px;
}
.xy-welcome-lightbox-close {
  position: absolute;
  z-index: 1;
  inset-block-start: 8px;
  inset-inline-end: 8px;
  width: 44px;
  height: 44px;
  border: 1px solid rgb(255 255 255 / 36%);
  color: #fff;
  background: rgb(7 16 26 / 82%);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.xy-welcome-lightbox-close:active { transform: scale(0.96); }
@media (prefers-reduced-motion: reduce) {
  .xy-welcome-thumb { transition: none; }
  .xy-welcome-thumb:active, .xy-welcome-lightbox-close:active { transform: none; }
}
@media (max-width: 460px) {
  .xy-welcome-model-figure { margin-top: 9px; }
  .xy-welcome-lightbox { width: calc(100vw - 20px); }
  .xy-welcome-lightbox-close { inset-block-start: 5px; inset-inline-end: 5px; }
}
