:root { color-scheme: dark; --ink: #f7f0df; --gold: #dcc493; --green: #183c34; font-family: 'Trebuchet MS', sans-serif; background: var(--green); color: var(--ink); }
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; background: radial-gradient(ellipse at 50% 15%, #2d5347 0%, transparent 65%), var(--green); }
body::before { content: ''; position: fixed; inset: 14px; border: 1px solid #dcc49340; pointer-events: none; }
main { width: min(100%, 680px); min-height: 100svh; margin: auto; text-align: center; padding: max(42px, env(safe-area-inset-top)) 28px max(26px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .75rem; color: var(--gold); margin: 0 0 18px; }
.rings { width: 76px; height: 76px; }
h1 { font: normal clamp(2.5rem, 10vw, 4.5rem)/1.1 Georgia, serif; letter-spacing: -.04em; margin: 14px 0 12px; }
.heart { font-size: .48em; display: inline-block; vertical-align: middle; letter-spacing: 0; }
.countdown { width: 100%; padding: 22px 0 28px; }
.days > span:first-child { display: block; font: normal clamp(6rem, 27vw, 10rem)/1.05 Georgia, serif; font-variant-numeric: tabular-nums; letter-spacing: -.045em; }
.unit { display: block; text-transform: uppercase; letter-spacing: .2em; color: var(--gold); font-size: .875rem; margin-top: 5px; }
.small-units { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; max-width: 360px; margin: 28px auto 0; align-items: start; }
.small-units div > span:first-child { font: normal 2.5rem/1 Georgia, serif; font-variant-numeric: tabular-nums; }
.small-units .unit { font-size: .875rem; letter-spacing: .1em; margin-top: 12px; }
.separator { color: #dcc49380; font: 1.7rem Georgia, serif; padding: 0 5px; }
.date-block { border-top: 1px solid #dcc49350; padding-top: 22px; width: 100%; font-size: .875rem; color: #d6ded3; }
.date-block p { margin: 0 0 10px; line-height: 1.5; }
.date-block .date { color: var(--ink); font: 1.25rem Georgia, serif; }
.local { font-size: .875rem; }
.actions { margin: 18px 0 0; width: 100%; max-width: 360px; }
button, summary { font: inherit; font-size: .875rem; cursor: pointer; min-height: 44px; }
button { background: var(--gold); color: #183c34; border: 0; border-radius: 40px; padding: 13px 24px; width: 100%; margin-bottom: 12px; }
summary { display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: 5px; color: var(--gold); }
details p { color: #d6ded3; line-height: 1.65; font-size: .875rem; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.offline { color: #d6ded3; font-size: .875rem; min-height: 1em; margin: 10px 0 18px; }
footer { margin-top: auto; padding-top: 12px; color: #c1cbbd; font: italic .875rem Georgia, serif; }
.celebration { font: italic 2rem Georgia, serif; color: var(--gold); margin: 32px 0; }
[hidden] { display: none !important; }
@media (min-height: 850px) { main { padding-top: 64px; } .countdown { padding-top: 36px; padding-bottom: 40px; } }
@media (max-width: 340px) { main { padding-inline: 22px; } .small-units .unit { font-size: .75rem; } }
@media (prefers-reduced-motion: no-preference) { main { animation: arrive .7s ease-out both; } @keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } } }
