/* ========================================================================== */
/* RYVANGEL — Onboarding mobile — v5.9.1                                      */
/* Texte descendu + bouton ajusté                                             */
/* ========================================================================== */

:root {
  --ryv-bg: #020f1d;
  --ryv-bg-soft: #0a233d;
  --ryv-text: #ffffff;
  --ryv-text-muted: #c8d9e8;
  --ryv-cyan: #74d9ff;
  --ryv-cyan-strong: #3fa9f5;
  --ryv-border: rgba(116, 217, 255, 0.22);
  --ryv-border-strong: rgba(116, 217, 255, 0.42);
  --ryv-shadow: 0 20px 60px rgba(0, 5, 15, 0.5);
  --ryv-radius: 20px;
}

/* -------------------------------------------------------------------------- */
/* Neutralisation des fonds extérieurs                                        */
/* -------------------------------------------------------------------------- */
body:has(#welcome-dialog[open]) .welcome-dialog,
body:has(#welcome-dialog[open]) .welcome-shell,
body:has(#welcome-dialog[open]) .welcome-shell > section {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

.welcome-dialog {
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #020f1d !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
}

.welcome-dialog::backdrop {
  background: #020f1d !important;
  backdrop-filter: none !important;
}

.welcome-shell {
  width: 100% !important;
  max-width: 620px !important;
  min-height: 100dvh;
  margin: 0 auto !important;
  padding: 0 !important;
  background: #020f1d !important;
  display: flex;
  flex-direction: column;
}

/* -------------------------------------------------------------------------- */
/* Header : logo + RYVANGEL + tagline                                          */
/* -------------------------------------------------------------------------- */
.welcome-top {
  display: flex !important;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px clamp(20px, 5vw, 40px) 8px;
  background: transparent;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  pointer-events: none;
}

.welcome-top .btn {
  flex: 0 0 auto !important;
}

.welcome-top > * {
  pointer-events: auto;
}

.welcome-top img {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: linear-gradient(145deg, #c8efff, #72b4ff);
  padding: 5px;
  box-sizing: border-box;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.welcome-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.welcome-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.welcome-brand-name {
  color: var(--ryv-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.welcome-brand-tagline {
  color: var(--ryv-text-muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.welcome-steps {
  color: var(--ryv-text-muted);
  font-size: 13px;
  font-weight: 500;
  margin-top: 6px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
}

/* -------------------------------------------------------------------------- */
/* Section héro (étape 1/3)                                                    */
/* -------------------------------------------------------------------------- */
.welcome-hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100% !important;
  max-width: 620px !important;
  min-height: 100dvh;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: hidden;
  color: var(--ryv-text);
  background: #020f1d;
  flex: 1;
  height: 100dvh !important;
}

/* ========================================================================== */
/* IMAGE EN DIRECT — contrôle TOTAL                                           */
/* ========================================================================== */

.welcome-hero-image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  z-index: 0 !important;
  pointer-events: none !important;
  filter: brightness(0.85) saturate(1.05) !important;
  object-fit: cover !important;
  object-position: 30% top !important;
}

/* Dégradé pour la lisibilité */
.welcome-hero-section::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background:
    linear-gradient(180deg,
      rgba(2, 15, 29, 0.55) 0%,
      rgba(2, 15, 29, 0.10) 18%,
      rgba(2, 15, 29, 0.15) 40%,
      rgba(2, 15, 29, 0.60) 62%,
      rgba(2, 15, 29, 0.96) 100%),
    linear-gradient(90deg,
      rgba(2, 15, 29, 0.78) 0%,
      rgba(2, 15, 29, 0.42) 50%,
      transparent 80%) !important;
}

/* On neutralise l'ancien ::before */
.welcome-hero-section::before {
  display: none !important;
}

.welcome-hero-content,
.welcome-hero-cta,
.welcome-hero-trust,
.welcome-hero-verse,
.welcome-hero-chevron {
  position: relative;
  z-index: 2;
}

/* -------------------------------------------------------------------------- */
/* GROUPE 1 : Eyebrow + Titre + Sous-titre (DESCENDU)                          */
/* -------------------------------------------------------------------------- */
.welcome-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(12px, 2.2vh, 24px);
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding: clamp(150px, 32vh, 320px) clamp(24px, 7vw, 60px) 0;
}

.welcome-hero-eyebrow {
  margin: 0;
  color: var(--ryv-cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}

.welcome-hero-title {
  margin: 0;
  color: var(--ryv-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 9vw, 52px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.85);
}

.welcome-hero-title:focus,
.welcome-hero-title:focus-visible {
  outline: none;
  box-shadow: none;
}

.welcome-hero-subtitle {
  margin: 0;
  max-width: 480px;
  color: var(--ryv-text-muted);
  font-size: clamp(15px, 4vw, 17px);
  line-height: 1.55;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8);
}

/* -------------------------------------------------------------------------- */
/* GROUPE 2 : CTA + Réassurance (RENFORCÉ)                                     */
/* -------------------------------------------------------------------------- */
.welcome-hero-section .welcome-hero-cta {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  width: calc(100% - 48px) !important;
  max-width: 580px !important;
  min-height: 60px !important;
  margin: auto auto 0 !important;
  padding: 15px 24px !important;
  border: 0 !important;
  border-radius: 16px !important;
  color: #0a1f33 !important;
  background: linear-gradient(135deg, #b8ecff 0%, #74d9ff 45%, #4fb8ff 100%) !important;
  box-shadow:
    0 10px 30px rgba(58, 168, 240, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.65) !important;
  cursor: pointer !important;
  font-size: clamp(18px, 4.5vw, 22px) !important;
  font-weight: 800 !important;
  letter-spacing: 0.01em !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease !important;
}

.welcome-hero-section .welcome-hero-cta:hover {
  filter: brightness(1.05) !important;
  transform: translateY(-2px) !important;
  box-shadow:
    0 14px 34px rgba(58, 168, 240, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.75) !important;
}

.welcome-hero-section .welcome-hero-cta:active {
  transform: translateY(0) !important;
}

.welcome-hero-section .welcome-hero-cta-arrow {
  font-size: 22px !important;
  line-height: 1 !important;
  transition: transform 0.2s ease !important;
}

.welcome-hero-section .welcome-hero-cta:hover .welcome-hero-cta-arrow {
  transform: translateX(4px) !important;
}

.welcome-hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 14px auto 0;
  padding: 0 24px;
  max-width: 580px;
  color: var(--ryv-text-muted);
  font-size: clamp(13px, 3.5vw, 14px);
  line-height: 1.4;
  text-align: center;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.85);
}

.welcome-hero-trust-icon {
  display: inline-grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--ryv-cyan);
}

.welcome-hero-trust-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.welcome-hero-features {
  display: none !important;
}

/* -------------------------------------------------------------------------- */
/* GROUPE 3 : Citation                                                         */
/* -------------------------------------------------------------------------- */
.welcome-hero-verse {
  position: relative;
  width: calc(100% - 48px);
  max-width: 580px;
  margin: 18px auto max(20px, env(safe-area-inset-bottom));
  padding: clamp(18px, 3vh, 34px) clamp(28px, 6vw, 46px);
  border: 1px solid var(--ryv-border);
  border-radius: var(--ryv-radius);
  background: linear-gradient(180deg,
    rgba(10, 35, 61, 0.88) 0%,
    rgba(5, 22, 42, 0.96) 100%);
  box-shadow: var(--ryv-shadow);
  backdrop-filter: blur(10px);
  text-align: center;
}

.welcome-hero-verse::before,
.welcome-hero-verse::after {
  position: absolute;
  top: 50%;
  color: var(--ryv-cyan);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 46px;
  line-height: 1;
  opacity: 0.85;
  transform: translateY(-50%);
}

.welcome-hero-verse::before {
  content: "\201C";
  left: 16px;
}

.welcome-hero-verse::after {
  content: "\201D";
  right: 16px;
}

.welcome-hero-verse-text {
  margin: 0 0 14px;
  color: var(--ryv-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 4.4vw, 20px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
}

.welcome-hero-verse-ref {
  margin: 0;
  color: var(--ryv-cyan);
  font-size: clamp(13px, 3.6vw, 15px);
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* -------------------------------------------------------------------------- */
/* GROUPE 4 : Chevron                                                          */
/* -------------------------------------------------------------------------- */
.welcome-hero-chevron {
  display: none !important;
  width: 100%;
  place-items: center;
  margin: 60px auto 120px;
  color: var(--ryv-cyan);
  animation: ryv-chevron-bounce 2s ease-in-out infinite;
}

.welcome-hero-chevron svg {
  width: 28px;
  height: 28px;
  display: block;
  filter: drop-shadow(0 0 10px rgba(116, 217, 255, 0.7));
}

@keyframes ryv-chevron-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.9; }
  50%      { transform: translateY(6px); opacity: 1; }
}

/* L'étape de présentation possède son propre bouton principal. */
body:has(.welcome-hero-section:not([hidden])) .welcome-actions,
body:has(.welcome-hero-section:not([hidden])) .welcome-status {
  display: none !important;
}

/* -------------------------------------------------------------------------- */
/* Étapes 2 et 3 : formulaire mobile-first                                    */
/* -------------------------------------------------------------------------- */
.welcome-dialog:has(.welcome-hero-section[hidden]) .welcome-shell {
  min-height: 100dvh;
  padding: 0 clamp(18px, 5vw, 32px) max(24px, env(safe-area-inset-bottom)) !important;
}

.welcome-dialog:has(.welcome-hero-section[hidden]) .welcome-top {
  position: static;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding: max(14px, env(safe-area-inset-top)) 0 12px;
  align-items: center;
  border-bottom: 1px solid var(--ryv-border);
}

.welcome-dialog:has(.welcome-hero-section[hidden]) .welcome-top img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}

.welcome-dialog:has(.welcome-hero-section[hidden]) .welcome-brand-name {
  font-size: 21px;
}

.welcome-dialog:has(.welcome-hero-section[hidden]) .welcome-brand-tagline {
  max-width: 270px;
  font-size: 12px;
}

.welcome-dialog:has(.welcome-hero-section[hidden]) .welcome-steps {
  margin: 0;
  font-size: 12px;
}

.welcome-dialog:has(.welcome-hero-section[hidden]) .welcome-shell > section:not(.welcome-hero-section) {
  width: 100%;
  max-width: 620px;
  margin: 0 auto !important;
  padding: clamp(24px, 6vh, 52px) 0 0 !important;
}

.welcome-dialog:has(.welcome-hero-section[hidden]) .welcome-shell > section:not(.welcome-hero-section) .eyebrow {
  margin: 0 0 10px;
  color: var(--ryv-cyan);
  font-size: 11px;
  letter-spacing: .16em;
}

.welcome-dialog:has(.welcome-hero-section[hidden]) .welcome-shell > section:not(.welcome-hero-section) h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 8vw, 42px);
  line-height: 1.08;
}

.welcome-dialog:has(.welcome-hero-section[hidden]) .welcome-shell > section:not(.welcome-hero-section) > p:not(.eyebrow) {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.55;
}

.welcome-dialog:has(.welcome-hero-section[hidden]) .tradition-choices {
  grid-template-columns: 1fr;
  gap: 10px;
  width: 100%;
  margin: 18px 0;
}

.welcome-dialog:has(.welcome-hero-section[hidden]) .tradition-choice {
  width: 100%;
  min-height: 64px;
  padding: 13px 14px;
}

.welcome-dialog:has(.welcome-hero-section[hidden]) .field {
  display: grid;
  gap: 7px;
  width: 100%;
  margin: 0 0 16px;
}

.welcome-dialog:has(.welcome-hero-section[hidden]) .field input {
  width: 100%;
  min-height: 52px;
}

.welcome-dialog:has(.welcome-hero-section[hidden]) .welcome-note {
  padding: 13px 14px;
  border-radius: 14px;
  font-size: 12px !important;
  line-height: 1.5 !important;
}

.welcome-dialog:has(.welcome-hero-section[hidden]) .welcome-status,
.welcome-dialog:has(.welcome-hero-section[hidden]) .welcome-actions {
  width: 100%;
  max-width: 620px;
  margin-right: auto;
  margin-left: auto;
}

.welcome-dialog:has(.welcome-hero-section[hidden]) .welcome-status {
  min-height: 22px;
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 13px;
}

.welcome-dialog:has(.welcome-hero-section[hidden]) .welcome-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.welcome-dialog:has(.welcome-hero-section[hidden]) .welcome-actions .btn {
  width: 100%;
  min-height: 52px;
  margin: 0;
}

@media (max-width: 620px) {
  .welcome-dialog:has(.welcome-hero-section[hidden]) .welcome-brand-tagline {
    display: none;
  }

  .welcome-dialog:has(.welcome-hero-section[hidden]) .welcome-shell > section:not(.welcome-hero-section) {
    padding-top: 16px !important;
  }

  .welcome-dialog:has(.welcome-hero-section[hidden]) .welcome-actions {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .welcome-dialog:has(.welcome-hero-section[hidden]) .welcome-actions .btn {
    min-height: 48px;
  }
}

/* ========================================================================== */
/* MEDIA QUERY TABLETTE / DESKTOP (≥ 720px)                                   */
/* ========================================================================== */
@media (min-width: 720px) {
  .welcome-hero-content {
    max-width: 720px;
  }
}

/* ========================================================================== */
/* MEDIA QUERY TRÈS PETITS ÉCRANS (≤ 360px)                                   */
/* ========================================================================== */
@media (max-width: 360px) {
  .welcome-brand-name {
    font-size: 20px;
  }

  .welcome-brand-tagline {
    font-size: 12px;
  }

  .welcome-hero-title {
    font-size: 30px;
  }

  .welcome-hero-content {
    padding-top: clamp(120px, 26vh, 180px);
  }

  .welcome-hero-section .welcome-hero-cta {
    padding-right: 16px !important;
    padding-left: 16px !important;
    gap: 8px !important;
    font-size: 17px !important;
  }

  .welcome-hero-verse {
    margin-top: 14px;
    padding: 16px 30px;
  }

}

/* -------------------------------------------------------------------------- */
/* Accessibilité                                                               */
/* -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .welcome-hero-chevron {
    animation: none;
  }

  .welcome-hero-cta {
    transition: none;
  }
}

/* -------------------------------------------------------------------------- */
/* Fenêtre optionnelle de localisation après le pseudo                         */
/* -------------------------------------------------------------------------- */

.location-choice-dialog {
  width: min(92vw, 520px);
  max-width: 92vw;
  padding: 0;
  border: 1px solid var(--ryv-border-strong);
  border-radius: 26px;
  color: var(--ryv-text);
  background:
    radial-gradient(circle at 100% 0%, rgba(47, 140, 236, 0.2), transparent 16rem),
    linear-gradient(160deg, rgba(8, 42, 70, 0.98), rgba(3, 17, 31, 0.99));
  box-shadow: 0 30px 80px rgba(0, 5, 15, 0.6), inset 0 1px 0 rgba(235, 250, 255, 0.08);
}

.location-choice-dialog::backdrop {
  background: rgba(1, 7, 13, 0.82);
  backdrop-filter: blur(10px);
}

.location-choice-body {
  display: grid;
  gap: 12px;
  padding: clamp(24px, 5vw, 34px);
}

.location-choice-body h2 {
  margin: 0;
  color: var(--ryv-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 7vw, 34px);
  font-weight: 500;
  line-height: 1.08;
}

.location-choice-body > p:not(.welcome-status):not(.welcome-note) {
  margin: 0;
  color: var(--ryv-text-muted);
  font-size: 16px;
  line-height: 1.6;
}

.location-choice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.location-choice-actions .btn {
  flex: 1 1 220px;
  min-height: 52px;
}

.location-choice-form {
  display: grid;
  gap: 14px;
  margin-top: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(116, 217, 255, 0.18);
}

.location-choice-form[hidden],
.location-choice-actions[hidden] {
  display: none !important;
}

.location-choice-dialog .welcome-note {
  margin: 0;
  padding: 11px 12px;
  border: 1px solid var(--ryv-border);
  border-left: 3px solid var(--ryv-cyan);
  border-radius: 12px;
  color: var(--ryv-text-muted);
  background: rgba(5, 27, 45, 0.66);
  font-size: 12px;
  line-height: 1.5;
}

.location-choice-dialog .welcome-status {
  min-height: 20px;
  margin: 0;
  color: #ffd9de;
  font-size: 13px;
  line-height: 1.45;
}

.location-choice-dialog .dialog-actions {
  margin-top: 0;
}

@media (max-width: 460px) {
  .location-choice-dialog {
    border-radius: 22px;
  }

  .location-choice-actions .btn {
    flex-basis: 100%;
  }

  .location-choice-dialog .dialog-actions {
    flex-direction: column-reverse;
  }

  .location-choice-dialog .dialog-actions .btn {
    width: 100%;
  }
}

/* ========================================================================== */
/* ÉCRANS COURTS (≤ 700px de hauteur) : tout doit tenir sans scroll           */
/* ========================================================================== */
@media (max-height: 700px) {
  .welcome-hero-content {
    gap: 10px;
    padding-top: clamp(140px, 30vh, 220px);
  }

  .welcome-hero-title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .welcome-hero-subtitle {
    font-size: 14px;
  }

  .welcome-hero-section .welcome-hero-cta {
    min-height: 52px !important;
  }

  .welcome-hero-trust {
    margin-top: 10px;
  }

  .welcome-hero-verse {
    margin-top: 12px;
    padding: 14px 28px;
  }

  .welcome-hero-verse-text {
    margin-bottom: 8px;
    font-size: 15px;
  }
}

/* Profil déjà enregistré : le bouton Fermer remplace le compteur d'étape     */
#welcome-dialog:has(#welcome-close:not([hidden])) .welcome-steps {
  display: none;
}
/* ========================================================================== */
/* ÉPURATION N°10.1 : lisibilité maximale                                     */
/* ========================================================================== */
.welcome-hero-eyebrow,
.welcome-hero-trust {
  display: none !important;
}

/* Slogan de l'en-tête masqué sur petit écran (sinon tronqué) */
@media (max-width: 480px) {
  .welcome-dialog:has(.welcome-hero-section:not([hidden])) .welcome-brand-tagline {
    display: none;
  }
}

/* Guillemets du verset recalés dans les coins, sans chevaucher le texte */
.welcome-hero-verse::before {
  top: 10px;
  left: 14px;
  font-size: 32px;
  opacity: 0.5;
  transform: none;
}

.welcome-hero-verse::after {
  top: auto;
  bottom: 10px;
  right: 14px;
  font-size: 32px;
  opacity: 0.5;
  transform: none;
}
/* ========================================================================== */
/* N°10.2 : choix de tradition compacts + modale de confirmation              */
/* ========================================================================== */
.welcome-dialog:has(.welcome-hero-section[hidden]) .tradition-choices {
  gap: 8px;
  margin: 12px 0;
}

.welcome-dialog:has(.welcome-hero-section[hidden]) .tradition-choice {
  align-items: center;
  min-height: 46px;
  padding: 10px 14px;
}

.welcome-dialog:has(.welcome-hero-section[hidden]) .tradition-choice strong {
  line-height: 1.3;
}

.welcome-dialog:has(.welcome-hero-section[hidden]) .tradition-choice input {
  margin-top: 0;
  min-height: 0;
  width: 18px;
  height: 18px;
}

.welcome-dialog:has(.welcome-hero-section[hidden]) .tradition-choice small {
  display: none;
}

.tradition-confirm-dialog {
  width: min(92vw, 460px);
}

.tradition-confirm-dialog h2 {
  margin-bottom: 8px;
  font-size: 24px;
}

.tradition-confirm-dialog #tradition-confirm-lead {
  margin: 0 0 12px;
  color: #87ddff;
  font-size: 13px;
}

.tradition-confirm-dialog #tradition-confirm-content {
  margin: 0 0 14px;
  line-height: 1.6;
  font-size: 14px;
}

.tradition-confirm-dialog .dialog-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
/* Petites hauteurs (≤ 700px) : tout doit rester visible sans scroll          */
@media (max-height: 700px) {
  .welcome-dialog:has(.welcome-hero-section[hidden]) .welcome-shell > section:not(.welcome-hero-section) {
    padding-top: 6px !important;
  }

  .welcome-dialog:has(.welcome-hero-section[hidden]) .welcome-shell > section:not(.welcome-hero-section) .eyebrow {
    margin-bottom: 6px;
  }

  .welcome-dialog:has(.welcome-hero-section[hidden]) .welcome-shell > section:not(.welcome-hero-section) h2 {
    margin-bottom: 8px;
    font-size: 24px;
  }

  .welcome-dialog:has(.welcome-hero-section[hidden]) .welcome-shell > section:not(.welcome-hero-section) > p:not(.eyebrow) {
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.4;
  }

  .welcome-dialog:has(.welcome-hero-section[hidden]) .tradition-choices {
    gap: 6px;
    margin: 8px 0;
  }

  .welcome-dialog:has(.welcome-hero-section[hidden]) .tradition-choice {
    min-height: 40px;
    padding: 7px 12px;
  }

  .welcome-dialog:has(.welcome-hero-section[hidden]) .welcome-note {
    font-size: 11px;
    line-height: 1.4;
  }

  .welcome-dialog:has(.welcome-hero-section[hidden]) .welcome-status {
    min-height: 8px;
  }

  .welcome-dialog:has(.welcome-hero-section[hidden]) .welcome-actions {
    margin-top: 8px;
  }

  .welcome-dialog:has(.welcome-hero-section[hidden]) .welcome-actions .btn {
    min-height: 42px;
  }
}
