:root{--ink:#163e34;--soft:#52645a;--red:#a92b35;--cream:#fff5df;--line:rgba(35,74,58,.13);--glass:rgba(255,249,240,.28);--glass-border:rgba(255,255,255,.7);--paper:#fff9f0;--shadow:rgba(119,75,46,.1)}
*{box-sizing:border-box}body{margin:0;font-family:'Manrope',Arial,sans-serif;color:var(--ink);background:#f0deda}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{cursor:pointer}button,a,input{outline-offset:5px}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--red)}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.hero{position:relative;isolation:isolate;overflow:hidden;min-height:800px;height:100svh;max-height:1400px;display:flex;flex-direction:column}.landscape{position:absolute;inset:0;z-index:-3;background-size:cover;background-position:center bottom;transition:opacity 1s ease}.landscape-day{background-image:url('assets/hero-day-2027.webp')}.landscape-night{background-image:url('assets/hero-night-2027.webp');opacity:0}.hero:after{content:'';position:absolute;inset:0;z-index:-2;pointer-events:none;background:linear-gradient(180deg,rgba(255,248,239,.12),transparent 65%)}.header{height:108px;min-height:108px;display:flex;align-items:center;justify-content:space-between;margin:0 5%;border-bottom:1px solid var(--line);gap:24px}.brand{color:var(--ink);display:flex;align-items:center;gap:8px;text-decoration:none;font-weight:700;font-size:34px;letter-spacing:-1.9px}.brand-star{font-size:41px;font-weight:400;line-height:1;letter-spacing:0}.brand-dot{margin-left:-8px}.header-note{font-size:12px;letter-spacing:.025em;opacity:.8;margin-left:85px}.header-actions{display:flex;align-items:center;gap:23px}.theme-switch{display:flex;padding:4px;border:1px solid var(--line);border-radius:30px;background:rgba(255,255,255,.13)}.theme-button{display:grid;place-items:center;color:var(--ink);background:transparent;border:0;border-radius:50%;height:33px;width:33px;transition:background .2s}.theme-button.selected{background:rgba(255,255,255,.65);box-shadow:0 2px 7px var(--shadow)}.theme-button svg{width:18px;height:18px}.share-button{display:flex;align-items:center;gap:12px;border:1px solid rgba(255,255,255,.2);border-radius:30px;padding:12px 19px;color:#fff4e6;background:#aa2834;font-size:12px;font-weight:500;box-shadow:0 4px 16px rgba(161,34,49,.12);transition:transform .2s,background .2s}.share-button svg{width:16px;height:16px}.share-button:hover{background:#8d202b;transform:translateY(-2px)}.hero-content{width:min(1180px,90%);margin:50px auto 0;text-align:center}.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:.21em;font-weight:500;display:flex;align-items:center;justify-content:center;gap:9px;margin:0 0 20px}.eyebrow>span{height:5px;width:5px;background:#ad7433;border-radius:50%;box-shadow:0 0 10px #f6dba1}h1{font-family:'Playfair Display',Georgia,serif;font-size:clamp(44px,4.5vw,76px);font-weight:500;line-height:1.18;letter-spacing:-.045em;margin:0}h1 em{color:var(--red);font-weight:500;position:relative;white-space:nowrap}h1 em:after{content:'';position:absolute;bottom:-8px;left:5%;width:95%;height:16px;border-bottom:2px solid #d3a65d;border-radius:0 0 70% 50%;transform:rotate(-4deg);opacity:.85}.title-spark{font-family:Georgia,serif;position:absolute;font-size:32px;right:-28px;top:-9px;font-style:normal;color:#d5a343}.intro{font-size:13px;line-height:1.8;color:var(--soft);margin:25px 0 0;letter-spacing:-.01em}.countdown-layout{display:flex;align-items:center;justify-content:center;gap:58px;margin-top:34px}.year-progress{position:relative;flex-shrink:0;width:226px;height:226px;border-radius:50%;background:radial-gradient(circle at 35% 24%,rgba(255,255,255,.65),rgba(255,244,216,.18) 65%);box-shadow:inset 0 0 28px rgba(255,255,255,.5),0 5px 35px rgba(255,222,163,.18);backdrop-filter:blur(5px)}.progress-ring{width:100%;height:100%;overflow:visible;transform:rotate(-90deg);stroke-width:5;fill:none}.ring-track{stroke:rgba(255,255,255,.6)}.ring-value{stroke:url(#ring-color);stroke-width:7;stroke-dasharray:678.584;stroke-dashoffset:678.584;stroke-linecap:round;filter:drop-shadow(0 0 5px #f8cb7c);transition:stroke-dashoffset 1s}.progress-inner{position:absolute;inset:21px;border:1px solid rgba(255,255,255,.5);border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column}.calendar-icon{height:20px;width:20px;margin-bottom:7px}.progress-year{font-size:13px;font-weight:600}.progress-caption{font-size:10px;margin-top:4px}.progress-inner strong{font:500 44px/1.25 'Playfair Display',Georgia,serif;color:var(--red);letter-spacing:-2px}.progress-foot{font-size:8px;letter-spacing:.025em;opacity:.65;margin-top:4px}.ring-spark{position:absolute;right:15px;bottom:38px;color:#fbe4a0;font-size:23px;text-shadow:0 0 10px #edc371}.timer-wrap{padding-top:21px}.countdown{display:flex;align-items:flex-start;gap:13px}.time-unit{width:116px}.time-glass{height:124px;position:relative;border-radius:31px 31px 27px 27px;border:1px solid var(--glass-border);background:linear-gradient(145deg,rgba(255,255,255,.6),var(--glass) 48%,rgba(255,232,178,.28));box-shadow:inset 0 3px 3px rgba(255,255,255,.8),inset 0 -6px 14px rgba(255,224,150,.3),0 10px 25px rgba(161,105,65,.07),0 0 18px rgba(255,245,200,.26);backdrop-filter:blur(9px);display:flex;align-items:center;justify-content:center}.time-glass:before{content:'';position:absolute;left:12%;right:12%;top:-3px;height:21px;border-radius:50%;background:linear-gradient(180deg,rgba(255,255,255,.8),rgba(255,255,255,0));filter:blur(3px)}.time-glass>span{font:500 65px/1 'Playfair Display',Georgia,serif;letter-spacing:-3px;color:var(--red);font-variant-numeric:tabular-nums;margin-top:-5px}.time-label{font-size:10px;display:block;margin-top:12px;letter-spacing:.055em;text-transform:uppercase}.separator{font:400 38px/124px Georgia,serif;color:var(--red);opacity:.7}.timer-note{font-size:10px;color:var(--soft);margin:25px 0 0;display:flex;justify-content:center;align-items:center;gap:7px}.live-dot{width:5px;height:5px;border-radius:50%;background:var(--ink);opacity:.65}.year-art{position:absolute;left:15%;bottom:9%;font:600 clamp(70px,8.2vw,140px)/1 'Playfair Display',Georgia,serif;color:rgba(255,247,226,.86);letter-spacing:-.055em;text-shadow:0 2px 0 rgba(242,197,126,.8),0 5px 16px rgba(166,114,72,.14);transform:rotate(-3deg);pointer-events:none}.year-art>span{display:block;text-align:center;font:400 10px/2 'Manrope',Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#415448;text-shadow:0 1px 8px white;margin-top:6px}.hero-footer{position:absolute;bottom:28px;left:5%;right:5%;display:flex;align-items:center;justify-content:space-between}.location-button{display:flex;align-items:center;gap:9px;font-size:11px;border:1px solid rgba(255,255,255,.45);border-radius:24px;background:rgba(255,252,244,.6);backdrop-filter:blur(16px);color:#234638;padding:11px 15px;box-shadow:0 2px 15px rgba(26,50,40,.04)}.location-button>svg{width:16px;height:16px}.location-button .chevron{width:13px;height:13px}.utc-label{font-size:10px;opacity:.6;margin-left:6px}.footer-note{font-size:10px;color:#294338;text-shadow:0 1px 5px white}.footer-note>span{margin-left:10px;font-size:19px;vertical-align:middle}.snow{position:absolute;inset:0;pointer-events:none;z-index:-1;overflow:hidden}.snowflake{position:absolute;top:-20px;background:white;border-radius:50%;opacity:0;animation:fall linear infinite;box-shadow:0 0 5px rgba(255,255,255,.4)}@keyframes fall{0%{transform:translate3d(0,-20px,0);opacity:0}10%{opacity:.5}90%{opacity:.4}100%{transform:translate3d(55px,105vh,0);opacity:0}}.celebration{font:italic 25px Georgia,serif;color:var(--red)}
[data-theme="night"]{--ink:#fff0d7;--soft:#d2d4d0;--red:#ffe1a8;--line:rgba(255,236,204,.16);--glass:rgba(12,39,49,.3);--glass-border:rgba(255,236,203,.3);--paper:#102c34;--shadow:rgba(0,0,0,.15)}[data-theme="night"] .landscape-night{opacity:1}[data-theme="night"] .hero:after{background:linear-gradient(180deg,rgba(0,11,24,.1),transparent 70%)}[data-theme="night"] .theme-button.selected{background:rgba(255,239,204,.18)}[data-theme="night"] .year-progress{background:radial-gradient(circle at 35% 24%,rgba(224,239,249,.18),rgba(10,34,47,.16) 65%);box-shadow:inset 0 0 28px rgba(211,231,244,.08),0 5px 35px rgba(255,222,163,.1)}[data-theme="night"] .progress-inner{border-color:rgba(255,255,255,.12)}[data-theme="night"] .ring-track{stroke:rgba(255,255,255,.18)}[data-theme="night"] .time-glass{background:linear-gradient(145deg,rgba(255,255,255,.17),var(--glass) 50%,rgba(255,217,149,.09));box-shadow:inset 0 2px 3px rgba(255,255,255,.2),inset 0 -5px 14px rgba(255,224,150,.08),0 10px 30px rgba(0,0,0,.12)}[data-theme="night"] .time-glass:before{opacity:.3}[data-theme="night"] .year-art>span{color:#fff0d7;text-shadow:0 1px 8px #041826}[data-theme="night"] .footer-note{color:#fdf6e8;text-shadow:0 1px 8px #001120}[data-theme="night"] .location-button{background:rgba(11,33,44,.62);color:var(--ink);border-color:rgba(255,235,197,.22)}
dialog{border:1px solid var(--line);border-radius:24px;padding:30px;width:min(440px,calc(100% - 32px));color:var(--ink);background:var(--paper);box-shadow:0 30px 100px #001a2840}dialog::backdrop{background:rgba(0,21,28,.43);backdrop-filter:blur(6px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.dialog-eyebrow{font-size:9px;text-transform:uppercase;letter-spacing:.12em;color:var(--soft)}h2{font:500 31px/1.2 'Playfair Display',Georgia,serif;letter-spacing:-.04em;margin:8px 0 20px}.close-button{border:1px solid var(--line);color:var(--ink);background:transparent;border-radius:50%;width:34px;height:34px;display:grid;place-items:center;flex-shrink:0}.close-button svg{height:17px;width:17px}.search-field{display:flex;gap:10px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:12px;margin-bottom:13px}.search-field svg{width:18px;height:18px}.search-field input{width:100%;min-width:0;border:0;background:transparent;color:var(--ink);font-size:13px;outline:none}.city-list{max-height:310px;overflow-y:auto}.city-option{display:flex;justify-content:space-between;align-items:center;width:100%;text-align:left;border:0;border-bottom:1px solid var(--line);color:var(--ink);background:transparent;padding:13px 10px;font-size:13px;border-radius:6px}.city-option:hover,.city-option[aria-pressed="true"]{background:rgba(168,139,75,.12)}.city-option small{font-size:10px;color:var(--soft)}.dialog-hint{font-size:11px;line-height:1.7;color:var(--soft);margin:18px 0 0}.share-url{width:100%;margin-top:18px;padding:12px;border:1px solid var(--line);background:transparent;color:var(--ink);border-radius:8px;font-size:12px}.toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,15px);z-index:10;opacity:0;pointer-events:none;border:1px solid rgba(255,255,255,.2);background:#153c32;color:#fff3df;border-radius:25px;padding:13px 22px;font-size:12px;box-shadow:0 5px 25px #001a2820;transition:.2s;white-space:nowrap}.toast.visible{opacity:1;transform:translate(-50%,0)}
@media(min-width:1600px){.hero-content{margin-top:65px}.countdown-layout{margin-top:45px;gap:75px}.year-progress{width:250px;height:250px}.time-unit{width:130px}.time-glass{height:140px}.time-glass>span{font-size:73px}.separator{line-height:140px}}
@media(max-height:850px) and (min-width:901px){.hero{min-height:720px}.header{height:90px;min-height:90px}.hero-content{margin-top:33px}.eyebrow{margin-bottom:15px}.countdown-layout{margin-top:24px}.year-progress{width:206px;height:206px}.time-glass{height:112px}.time-unit{width:104px}.time-glass>span{font-size:58px}.separator{line-height:112px}.year-art{bottom:9%;font-size:98px}}
@media(max-width:1050px){.header-note{margin-left:0;font-size:10px}.countdown-layout{gap:30px}.year-progress{width:196px;height:196px}.progress-inner{inset:18px}.progress-inner strong{font-size:39px}.progress-foot{font-size:7px}.time-unit{width:99px}.time-glass{height:112px}.time-glass>span{font-size:57px}.separator{line-height:112px}.countdown{gap:9px}.year-art{left:12%}}
@media(max-width:760px){.hero{min-height:850px;height:100svh;max-height:none}.header{margin:0 6%;height:86px;min-height:86px;gap:16px}.brand{font-size:29px}.brand-star{font-size:35px}.header-note{display:none}.header-actions{gap:13px}.share-button{padding:10px;width:37px;height:37px;justify-content:center}.share-button>span{display:none}.share-button svg{height:17px;width:17px}.theme-button{width:28px;height:28px}.theme-button svg{width:16px;height:16px}.theme-switch{padding:3px}.landscape{background-position:67% bottom}.hero-content{width:90%;margin-top:42px}.eyebrow{font-size:8px;letter-spacing:.16em;margin-bottom:20px}h1{font-size:clamp(37px,7.1vw,53px);line-height:1.25;max-width:560px;margin:0 auto;letter-spacing:-.04em}h1 em{display:inline-block}.title-spark{font-size:23px;right:-20px;top:-2px}.intro{font-size:11px;line-height:1.85;margin-top:23px}.countdown-layout{flex-direction:column-reverse;gap:25px;margin-top:27px}.timer-wrap{padding-top:0;width:100%}.countdown{justify-content:center;gap:7px}.time-unit{width:min(18vw,103px)}.time-glass{height:94px;border-radius:24px}.time-glass>span{font-size:49px;letter-spacing:-2px}.separator{font-size:26px;line-height:94px}.time-label{font-size:8px;margin-top:10px;letter-spacing:.02em}.timer-note{font-size:8px;margin-top:18px;gap:6px}.year-progress{width:auto;height:auto;display:flex;align-items:center;background:rgba(255,247,226,.3);border:1px solid rgba(255,255,255,.45);border-radius:30px;box-shadow:none;padding:11px 19px;backdrop-filter:blur(10px)}.progress-ring,.ring-spark,.progress-caption,.progress-foot{display:none}.progress-inner{position:static;inset:auto;display:flex;flex-direction:row;gap:8px;border:0}.calendar-icon{width:14px;height:14px;margin:0}.progress-year{font-size:10px;font-weight:500}.progress-year:after{content:' ·'}.progress-inner strong{font:500 11px/1 'Manrope',Arial,sans-serif;letter-spacing:0;color:var(--ink)}.year-art{left:8%;bottom:14%;font-size:85px}.year-art>span{font-size:7px;margin-top:6px}.hero-footer{bottom:24px;left:6%;right:6%}.footer-note{display:none}.location-button{padding:10px 13px;font-size:10px}.utc-label{font-size:9px}.hero:after{background:linear-gradient(180deg,rgba(255,244,238,.1),rgba(255,242,229,.25) 45%,transparent 75%)}[data-theme="night"] .hero:after{background:linear-gradient(180deg,rgba(0,13,26,.12),rgba(0,17,29,.2) 55%,transparent 80%)}[data-theme="night"] .year-progress{background:rgba(8,30,44,.32);box-shadow:none}.celebration{font-size:20px}}
@media(max-width:380px){.header{margin:0 5%}.hero-content{margin-top:34px}h1{font-size:35px}.countdown{gap:5px}.time-glass{height:84px;border-radius:21px}.time-glass>span{font-size:43px}.separator{line-height:84px}.intro{font-size:10px}.year-art{font-size:75px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.snow{display:none}}
