#fortune-result[hidden], #fortune-gate[hidden], #fortune-anticipation[hidden], #reveal-error[hidden] { display: none; }
#fortune-result:focus { outline: none; }
#fortune-anticipation { padding: 15px 0 8px; }
.reveal-orbit { position: relative; width: 148px; height: 148px; margin: 20px auto 28px; display: grid; place-items: center; color: #ad8751; }
.reveal-orbit span { font: 76px Georgia, serif; animation: reveal-breathe 1.5s ease-in-out infinite; }
.reveal-orbit i { position: absolute; inset: 8px; border: 1px solid currentColor; opacity: .55; border-radius: 50%; animation: reveal-orbit 3s linear infinite; }
.reveal-orbit i::after { content: ''; position: absolute; top: 13px; left: 13px; width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 16px currentColor; }
.reveal-orbit i:last-child { inset: 23px; animation-direction: reverse; animation-duration: 2s; }
.rarity-reel { position: relative; height: 40px; margin: 14px auto; }
.rarity-reel .rarity { position: absolute; left: 50%; top: 0; transform: translate(-50%, 8px); opacity: 0; transition: opacity .18s ease, transform .18s ease; white-space: nowrap; }
.rarity-reel .rarity.is-current { opacity: 1; transform: translate(-50%, 0); }
button.skip-reveal, [data-theme="blossom"] button.skip-reveal { background: transparent; color: var(--muted); box-shadow: none; padding: 12px 16px; min-height: 44px; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
#daily-fortune.is-opening { box-shadow: 0 12px 55px #b48bc52a; }
#daily-fortune.just-revealed #fortune-result { animation: fortune-arrive .6s ease-out both; }
[data-theme="blossom"] .reveal-orbit { color: #b26f93; }
.confetti-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1000; }
.experience-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; padding: 16px 16px 0; }
.experience-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; text-align: center; }
.experience-nav a, .angel-details a { color: var(--ink); text-underline-offset: 5px; }
.experience-nav [aria-current] { font-weight: bold; }
.angel-number { font: clamp(42px, 12vw, 72px)/1.2 Georgia, serif; letter-spacing: clamp(2px, 1vw, 8px); margin: 12px 0; color: var(--ink); overflow-wrap: anywhere; }
.angel-details { margin: 22px auto; }
.angel-details[hidden] { display: none; }
.reset-countdown { max-width: 350px; margin: 20px auto 0; padding: 18px 14px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(140deg, #ffffffd9, #e8eddfaa); box-shadow: 0 10px 32px #263e370a; }
.reset-countdown[hidden], .reset-countdown [hidden] { display: none; }
.countdown-heading { margin: 0 0 12px; font-size: 12px; color: var(--muted); }
.countdown-digits { display: flex; align-items: center; justify-content: center; gap: 10px; }
.countdown-digits div { display: grid; gap: 5px; width: 56px; flex: 0 0 56px; }
.countdown-digits strong { font: 500 32px/1.2 Georgia, serif; font-variant-numeric: tabular-nums; color: var(--ink); }
.countdown-digits span { font-size: 9px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.countdown-digits b { color: var(--muted); font-size: 21px; font-weight: 400; padding-bottom: 16px; }
[data-theme="blossom"] .reset-countdown { background: linear-gradient(140deg, #fffdfbd9, #f5dcebaa); box-shadow: 0 10px 32px #963e6810; }
#countdown-ready { line-height: 1.8; margin: 0; }
#countdown-ready a { color: var(--ink); }
.fortune-card, .testing-panel { position: relative; }
.gentle-effect { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; overflow: hidden; }
.gentle-common { animation: gentle-glow 2.2s ease-in-out both; }
.gentle-rare { animation: rare-glow 2.2s ease-in-out both; }
.gentle-rare::after { content: ''; position: absolute; inset: -50%; background: linear-gradient(110deg, transparent 40%, #bfe6ff80 49%, #ffffff99 50%, transparent 60%); animation: rare-shimmer 2s ease-in-out both; }
.homepage-testing { max-width: 620px; margin: 20px auto; padding: 18px; border: 1px solid var(--muted); border-radius: 16px; text-align: left; }
.homepage-testing summary { cursor: pointer; font-weight: 600; }
.homepage-testing p { font-size: 13px; line-height: 1.6; }
.homepage-testing form { display: grid; gap: 12px; }
.homepage-testing select { width: 100%; padding: 12px; font: inherit; border-radius: 8px; }
#preview-notice[hidden] { display: none; }
@keyframes gentle-glow { 0%, 100% { box-shadow: inset 0 0 0 transparent; } 45% { box-shadow: inset 0 0 65px #b6cda780; } }
@keyframes rare-glow { 0%, 100% { box-shadow: inset 0 0 0 transparent; } 45% { box-shadow: inset 0 0 75px #8ac8f380; } }
@keyframes rare-shimmer { from { transform: translateX(-70%); opacity: 0; } 30% { opacity: 1; } to { transform: translateX(70%); opacity: 0; } }
.celebration-previews { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.celebration-previews button { cursor: pointer; min-height: 44px; padding: 10px 14px; }
.fortune-headline { max-width: 620px; font-size: clamp(28px, 4vw, 42px); margin: 0 auto 24px; }
.fortune-card-choice { --reveal-height: 430px; margin-top: 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.card-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0; border: 0; margin: 28px 0 0; min-width: 0; }
#reveal-form .choice-card, [data-theme="blossom"] #reveal-form .choice-card { width: 100%; padding: 0; border: 0; background: transparent; color: var(--ink); border-radius: 12px; box-shadow: none; font-weight: 400; min-width: 0; }
#reveal-form .choice-card span { margin-left: 0; }
.playing-card { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 2 / 3; border: 1px solid #b9bca0; border-radius: 12px; color: #ac8846; background: repeating-linear-gradient(45deg, #ffffff0a 0 1px, transparent 1px 8px), #294b3d; box-shadow: 0 5px 12px #263e3718; transition: transform .2s ease, box-shadow .2s ease; }
.playing-card::before { content: ''; position: absolute; inset: 7px; border: 1px solid currentColor; border-radius: 7px; opacity: .65; }
.card-emblem { display: grid; place-items: center; width: 62%; aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; font: 52px/1 Georgia, serif; }
.card-corner { position: absolute; top: 14px; left: 14px; font: 14px/1 Georgia, serif; }
.card-corner-bottom { top: auto; left: auto; right: 14px; bottom: 14px; transform: rotate(180deg); }
.choice-label, .choice-selected { display: block; margin-top: 12px; min-height: 2.8em; font-size: 12px; line-height: 1.4; }
.choice-selected { display: none; font-weight: 700; }
.choice-card.is-selected .choice-label { display: none; }
.choice-card.is-selected .choice-selected { display: block; }
.choice-card.is-selected .playing-card { outline: 2px solid var(--ink); outline-offset: 4px; box-shadow: 0 8px 20px #263e3724; }
.choice-card:disabled { cursor: default; }
.choice-card:disabled:not(.is-selected) { opacity: .4; }
@media (hover: hover) {
    .choice-card:not(:disabled):hover .playing-card { transform: translateY(-5px); box-shadow: 0 10px 20px #263e3724; }
}
[data-theme="blossom"] .playing-card { background: repeating-linear-gradient(45deg, #ffffff0a 0 1px, transparent 1px 8px), #843b60; color: #f1cf9b; border-color: #a66b84; }
#card-choice-note { min-height: 4.8em; margin: 18px 0 0; }
.fortune-card-choice .fortune-stages { height: var(--reveal-height); display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; border-top: 1px solid var(--line); margin-top: 16px; }
.fortune-card-choice #fortune-result, .fortune-card-choice #fortune-gate, .fortune-card-choice #fortune-anticipation { grid-area: 1 / 1; align-self: center; min-width: 0; padding: 20px 0 0; }
.fortune-card-choice #fortune-result { max-height: 100%; overflow-y: auto; scrollbar-width: thin; }
.fortune-card-choice:has(#share-preview:not([hidden])) .fortune-stages { height: auto; min-height: var(--reveal-height); }
.fortune-card-choice:has(#share-preview:not([hidden])) #fortune-result { max-height: none; }
.fortune-card-choice #reveal-error { grid-area: 2 / 1; }
.fortune-card-choice #fortune-result > .fortune-symbol { display: none; }
.fortune-card-choice #fortune-result > .eyebrow { margin: 0; }
.fortune-card-choice blockquote { font-size: 25px; line-height: 1.45; margin: 18px 0; }
.fortune-card-choice #fortune-result .card-note { margin: 12px 0; }
.fortune-card-choice #share-status:empty { display: none; }
.fortune-card-choice .tomorrow { margin-top: 16px; padding-top: 14px; line-height: 1.5; }
.fortune-placeholder { font: 64px/1.2 Georgia, serif; opacity: .3; }
.fortune-placeholder-note { color: var(--muted); font: italic 21px/1.5 Georgia, serif; margin: 16px 0 28px; }
@media (max-width: 600px) {
    .experience-nav { padding-top: 8px; gap: 4px 20px; font-size: 15px; }
    .reveal-orbit { width: 120px; height: 120px; margin: 12px auto 20px; }
    .countdown-digits { gap: 8px; }
    .countdown-digits div { width: 52px; flex-basis: 52px; }
    .celebration-previews { flex-direction: column; }
    .celebration-previews a { min-height: 44px; display: flex; align-items: center; justify-content: center; }
    .fortune-headline { font-size: clamp(27px, 7vw, 34px); margin-top: 0; }
    .card-choices { gap: 10px; margin-top: 24px; }
    .card-emblem { font-size: clamp(28px, 8vw, 44px); }
    .card-corner { top: 12px; left: 12px; font-size: 11px; }
    .card-corner-bottom { top: auto; left: auto; right: 12px; bottom: 12px; }
    .choice-label, .choice-selected { font-size: 11px; }
    .fortune-card-choice { --reveal-height: 510px; }
    .fortune-card-choice blockquote { font-size: 23px; }
}
@keyframes reveal-orbit { to { transform: rotate(360deg); } }
@keyframes reveal-breathe { 50% { transform: scale(1.14) rotate(12deg); opacity: .7; } }
@keyframes fortune-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
    .gentle-effect { display: none; }
    .reveal-orbit span, .reveal-orbit i, #daily-fortune.just-revealed #fortune-result { animation: none; }
    .rarity-reel .rarity { transition: none; }
    .playing-card { transition: none; }
    .choice-card:not(:disabled):hover .playing-card { transform: none; }
}
