/* Saint du jour et fête des prénoms */
.sn { display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; }
.sn-q { display: flex; flex-direction: column; align-items: center; gap: clamp(10px, 1.8vh, 20px); width: 100%; }
.sn-q[hidden] { display: none; }
.sn-date { display: inline-flex; align-items: center; gap: 10px; }
.sn-arrow { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--frame); color: var(--white); transition: background-color .15s, transform .15s var(--ease); }
.sn-arrow:hover { background: var(--frame-hi); }
.sn-arrow:active { transform: scale(.94); }
.sn-arrow svg { width: 24px; height: 24px; }
.sn-out { display: flex; flex-direction: column; align-items: center; max-width: min(96vw, 1240px); }
.sn-lead { font-size: calc(clamp(20px, 2.6vw, 32px) * var(--cs, 1)); font-weight: 700; line-height: 1.2; }
.sn-big { --n: 8; display: block; font-family: var(--f-display); font-size: calc(min(clamp(64px, 13.5vw, 200px), 17vh, min(92vw, 1180px) / (var(--n) * .47)) * var(--cs, 1)); line-height: .98; letter-spacing: .005em; text-wrap: balance; overflow-wrap: anywhere; padding-block: .04em; }
.sn-saint { margin: 0; font-size: calc(clamp(19px, 2.2vw, 26px) * var(--cs, 1)); font-weight: 700; line-height: 1.3; text-wrap: balance; max-width: 900px; }
.sn-saint a { color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--frame-hi); }
.sn-saint a:hover { text-decoration-color: currentColor; }
.sn-names { margin: 0; font-size: clamp(16px, 1.8vw, 20px); font-weight: 500; line-height: 1.45; opacity: .92; max-width: 860px; text-wrap: balance; }
.sn-slide { animation: sn-slide .38s var(--ease); }
@keyframes sn-slide { from { transform: translateX(var(--dx, 24px)); } to { transform: none; } }

/* Recherche d'un prénom : le cadre est un champ de saisie qui épouse le texte */
.sn-ask { white-space: normal; }
.sn-field { vertical-align: baseline; }
.sn-field:focus-within { background: var(--frame-hi); }
.sn-input { font: inherit; color: var(--white); min-width: 3.2em; max-width: 78vw; cursor: text; outline: none; caret-color: var(--white); }
.sn-input::placeholder { color: var(--white); opacity: .55; }
.sn-sizer { position: absolute; visibility: hidden; white-space: pre; padding: .1em .42em .14em; font: inherit; pointer-events: none; }
.sn-sugg { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; min-height: 0; max-width: 760px; }
.sn-sugg:empty { display: none; }
.sn-sugg .chip-btn { min-height: 44px; font-size: 16px; }
.sn-sugg .chip-btn:hover { background: var(--frame-hi); }

.sn-s { display: none; }
@media (max-width: 520px) {
  .sn-bar .sn-l { display: none; }
  .sn-bar .sn-s { display: inline; }
  .sn-bar .bar-sep { display: none; }
  .sn-bar .chip-btn { padding: 0 12px; font-size: 14px; }
  .sn-arrow { width: 44px; height: 44px; }
  .sn-date { gap: 6px; }
}

/* Partie basse : index des prénoms et tableaux */
.sn-az { list-style: none; padding: 0 !important; display: grid !important; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 4px 18px !important; max-width: none !important; }
.sn-az li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.sn-az a { font-weight: 700; text-decoration: none !important; }
.sn-az a:hover { text-decoration: underline !important; }
.sn-az span { white-space: nowrap; opacity: .8; }
.sn-letters { display: flex; flex-wrap: wrap; gap: 6px; }
.sn-letters a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border-radius: 12px; background: var(--tint); font-family: var(--f-display); font-size: 22px; text-decoration: none !important; }
.sn-letters a:hover { background: var(--bg); color: var(--white) !important; }
.sn-dicton { margin: 0; padding: 18px 24px; border-left: 4px solid var(--bg); background: var(--tint); border-radius: 0 16px 16px 0; font-size: 19px; font-weight: 500; line-height: 1.55; max-width: 68ch; }
