/* Changes 11–12: opening choreography and clear, optional interactions. */
body:not([data-opening=complete]) .opening-stage { min-height: 900px; }
.envelope-scene { justify-content: flex-start; padding-top: clamp(285px, 64vw, 380px); padding-bottom: 2rem; }
.envelope-scene .prelude { position: absolute; top: 4rem; margin: 0; padding-inline: 1rem; }
.envelope-space { flex: 0 0 auto; margin-bottom: 1.5rem; }
.invitation-insert { background-image: linear-gradient(115deg, #d8dce2 15%, #fffef9 42%, #edf0f4 52%, #cbd2dc 70%, #fffef9 90%); background-size: 220% 100%; }
.insert-name { flex-shrink: 0; overflow-wrap: normal; word-break: normal; -webkit-text-fill-color: #0b1730; background: none; }
.insert-number { flex-shrink: 0; }
.guest-opening-guidance { width: min(90%, 450px); text-align: center; position: relative; z-index: 6; }
.silver-open-button, .direct-details-button { display: block; width: 100%; min-height: 56px; border: 1px solid #d8e0ec; border-radius: 5px; padding: .8rem 1rem; font-size: clamp(1.05rem, 4.4vw, 1.25rem); font-weight: 700; line-height: 1.7; }
.silver-open-button { color: #0b1730; background: linear-gradient(120deg,#f6f5ef,#c4cedd,#f3f5f8); box-shadow: 0 5px 16px #0004; }
.direct-details-button { color: #f8f6f0; background: #0b1730; }
.tap-guidance { margin: .65rem 0 1rem; font-size: 1.125rem; font-weight: 700; color: #f1f4fa; }
.guidance-hand { display: inline-block; font-size: 1.65rem; animation: guest-hand 1.8s ease-in-out 4; }
body:not([data-opening=closed]) .silver-open-button, body:not([data-opening=closed]) .tap-guidance { visibility: hidden; }
.utility-bar { top: .5rem; }
.utility-bar .text-button { font-weight: 700; padding: .6rem 1rem; border: 1px solid #c0c0c066; background: #0b1730; border-radius: 4px; }
.scroll-guidance { display: flex; flex-direction: column; align-items: center; gap: .3rem; max-width: 32rem; margin: 1.25rem auto 0; padding: .5rem; min-height: 56px; color: #f4f5f8; text-decoration: none; font-size: 1.125rem; font-weight: 700; line-height: 1.8; }
.guidance-arrow { display: block; font-size: 2rem; line-height: 1; animation: guest-arrow 2s ease-in-out 4; }
body:not([data-opening=complete]) .guidance-arrow { animation-play-state: paused; }
.scratch-instruction { margin-bottom: .25rem; font-size: 1.25rem; font-weight: 700; color: #f8f6f0; }
.date-wait-guidance { margin: 0 auto 1.5rem; font-size: 1.125rem; color: #e7edf6; }
.scratch-card:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.calendar-face .date-month, .calendar-face .date-weekday, .calendar-face .date-time, .calendar-year { font-weight: 700; }
.calendar-face .date-time, .calendar-face .date-weekday { font-size: 1.125rem; }
.reveal-button { font-size: 1.125rem; font-weight: 700; min-height: 56px; background: linear-gradient(120deg,#f3f5f8,#c4cedd); color: #0b1730; max-width: 100%; }
.reveal-button:disabled { opacity: 1; background: transparent; color: #f8f6f0; border-color: transparent; }
.date-readable-summary { margin: 1.25rem auto; font-size: clamp(1.3rem, 5vw, 1.6rem); font-weight: 800; line-height: 1.9; color: #f8f6f0; }
.date-readable-summary span { display: block; }
#revealed-details[aria-hidden=true] .date-readable-summary { visibility: hidden; }
.site-header .music-toggle { min-height: 48px; font-weight: 700; }
.language-switch button, .celebration-action, .closing-actions button, #event-dialog .button { min-height: 48px; font-weight: 700; }
@keyframes guest-hand { 50% { transform: translateY(-5px); } }
@keyframes guest-arrow { 50% { transform: translateY(5px); } }
@media(min-width:760px) { body:not([data-opening=complete]) .opening-stage { min-height: 1100px; } }
@media(prefers-reduced-motion:reduce) { .guidance-hand, .guidance-arrow { animation: none; } }
