:root{--paper:#f7f2e9;--cream:#ece4d2;--card:#f9f4e9;--ink:#243f35;--red:#9a3339;--muted:#605c4f;--gold:#9f845a;--rule:#d7cbb5;--serif:Georgia,"Times New Roman",serif;--sans:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font:16px/1.6 var(--sans);font-synthesis:none;scroll-behavior:smooth}
*{box-sizing:border-box}
body{margin:0;min-width:0;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 170 170' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.065' filter='url(%23g)'/%3E%3C/svg%3E")}
[hidden]{display:none!important}a{color:inherit}button,input{font:inherit}button{color:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait}h1,h2,p,figure{margin:0}h1,h2{font-family:var(--serif);font-weight:normal;line-height:1.02;letter-spacing:-.06em}h1 em,h2 em{font-weight:normal;color:var(--red)}:focus-visible{outline:2px solid var(--red);outline-offset:5px}
.symbols{position:absolute;width:0;height:0;overflow:hidden}.skip{position:fixed;top:.8rem;left:.8rem;z-index:5;padding:.5rem 1rem;background:var(--card);transform:translateY(-185%)}.skip:focus{transform:none}
.frame{max-width:1240px;width:calc(100% - 108px);margin-inline:auto}.micro{font-size:.69rem;font-weight:680;letter-spacing:.16em;text-transform:uppercase}.icon{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.red{color:var(--red)}
.mast{min-height:85px;border-bottom:1px solid var(--rule);display:flex;align-items:center;justify-content:space-between;gap:12px}.mark{display:flex;gap:10px;align-items:center;text-decoration:none;font:1.62rem/1 var(--serif);letter-spacing:-.055em;white-space:nowrap}.mark svg,.footer svg{width:20px;height:20px;color:var(--red)}.mast-right{display:flex;align-items:center;gap:24px}.mast-date{color:var(--muted)}.preview-toggle{background:none;border:1px solid var(--rule);border-radius:3px;padding:.43rem .7rem;font-size:.72rem;color:var(--muted);white-space:nowrap}.preview-toggle:hover,.preview-toggle[aria-pressed=true]{background:var(--cream);color:var(--ink)}.preview-banner{width:min(700px,calc(100% - 30px));margin:14px auto 0;background:#efe2c8;border:1px solid var(--rule);border-radius:4px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:.55rem .9rem;font-size:.8rem}.preview-banner button{border:0;background:none;text-decoration:underline}
.hero{display:grid;grid-template-columns:.92fr 1.08fr;align-items:center;min-height:660px;padding-block:66px 76px;gap:12px}.hero-copy{position:relative;z-index:1}.overline{display:flex;align-items:center;gap:11px;color:var(--ink)}.overline>span,.hero-art figcaption>span{width:24px;height:1px;background:var(--red);display:inline-block}.hero h1{font-size:clamp(4.35rem,7.2vw,7.6rem);margin:23px 0 26px;line-height:.99}.hero h1 em{display:inline-block}.intro{font-size:clamp(1rem,1.35vw,1.15rem);line-height:1.7;max-width:390px;color:var(--muted);margin-bottom:26px}.primary{display:inline-flex;align-items:center;justify-content:center;gap:16px;text-decoration:none;border:1px solid transparent;border-radius:4px;padding:.82rem 1.13rem;background:var(--red);color:#fff9ee;font-weight:640;font-size:.9rem;transition:background .18s,transform .18s}.primary:hover{background:#80272e;transform:translateY(-2px)}.primary svg{width:18px;height:18px}.hero-date{font-size:.74rem;color:var(--muted);margin-top:20px}.hero-date span{color:var(--red);padding-inline:8px}.hero-art{position:relative;min-width:0}.hero-art img{width:108%;height:auto;display:block;margin:-2% 0 -2% -4%}.hero-art figcaption{display:flex;align-items:center;justify-content:center;gap:10px;color:var(--muted);margin-top:-7px}.hero-art figcaption>span{width:15px;background:var(--gold)}
.calendar-band{background:rgba(229,218,195,.51);border-block:1px solid var(--rule);scroll-margin-top:12px}.calendar-inner{padding-block:65px 62px}.section-top{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:35px}.section-top h2{font-size:clamp(2.9rem,5.4vw,5rem);margin:12px 0}.section-lead{color:var(--muted);font-size:.93rem}.progress-box{display:grid;gap:5px;width:min(100%,205px);flex-shrink:0;margin-bottom:2px}.progress-box progress{display:block;width:100%;height:4px;border:0;border-radius:2px;overflow:hidden;appearance:none;background:#ddd0b8;accent-color:var(--red)}progress::-webkit-progress-bar{background:#ddd0b8}progress::-webkit-progress-value{background:var(--red)}progress::-moz-progress-bar{background:var(--red)}#date-note{font-size:.72rem;color:var(--muted)}
.doors{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:13px}.door{position:relative;min-width:0;min-height:100px;isolation:isolate;overflow:hidden;background:#f6eddb;border:1px solid #d3c2a3;border-radius:4px;display:grid;place-items:center;transition:transform .19s,background .19s,border-color .19s;box-shadow:0 2px 3px #50442b0b}.door::before{content:"";position:absolute;inset:5px;border:1px solid #b49c6e50;pointer-events:none;border-radius:2px;z-index:-1}.door:hover{transform:translateY(-3px);border-color:var(--gold);background:#faf0df}.door .number{font:clamp(2.3rem,4.5vw,3.9rem)/1 var(--serif);letter-spacing:-.07em;transform:translateX(-.035em)}.door .seal{right:11px;top:10px;position:absolute;width:15px;height:15px;color:#75654c}.door.free .seal{color:var(--red);width:13px;height:13px}.door.seen{background:#dde4d5;border-color:#b5c2a6}.door.seen .seal{color:var(--ink)}.door.today{border:2px solid var(--red)}.door.finale{grid-column:1/-1;min-height:116px;margin-top:6px;background:#284637;color:#fff1d8;border-color:#284637}.door.finale:hover{background:#315541}.door.finale::before{inset:7px;border-color:#d4b98285}.door.finale .seal{color:#e7cda0}.door.finale .finale-caption{display:block;font-size:.62rem;margin-top:3px;text-align:center}.door.finale .finale-ornament{position:absolute;left:20%;top:50%;color:#e7cda0;font-size:1.2rem;transform:translateY(-50%)}.door.finale .finale-ornament.right{left:auto;right:20%}
.legend{display:flex;flex-wrap:wrap;gap:15px 23px;font-size:.75rem;color:var(--muted);margin-top:17px}.legend>span{display:inline-flex;align-items:center;gap:6px}.legend .star-icon{width:12px;height:12px;color:var(--red)}.legend .icon{width:14px;height:14px}.demo-note{font-size:.73rem;color:var(--muted);margin-top:12px}.footer{padding:28px 0 32px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--muted)}.footer-sign{display:flex;align-items:center;gap:.31rem;font:1.12rem var(--serif);color:var(--ink)}.footer svg{margin-right:.3rem;width:13px;height:13px}.footer em{color:var(--red)}
body:has(dialog[open]){overflow:hidden}dialog{padding:0;color:var(--ink);border:1px solid #bda98a;border-radius:7px;background:var(--card);width:min(480px,calc(100vw - 26px));max-height:calc(100dvh - 30px);box-shadow:0 18px 65px #172b2280;overscroll-behavior:contain}dialog::backdrop{background:#1b3027ad;backdrop-filter:blur(3px)}.dialog-paper{position:relative;padding:30px 28px 31px;background:radial-gradient(ellipse at 50% 46%,#fbf5e7,transparent)}.dialog-paper::before{content:"";position:absolute;inset:8px;border:1px solid #cdbd9f;border-radius:3px;pointer-events:none}.close{position:absolute;right:15px;top:14px;border:0;background:none;font-size:1.5rem;line-height:1;width:32px;height:32px;border-radius:3px}.close:hover{background:var(--cream)}.dialog-date{text-align:center;color:var(--red);margin-top:3px}.dialog-paper h2{text-align:center;font-size:clamp(2rem,8vw,3rem);margin:9px 0 15px;line-height:1.06}.dialog-paper p#gift-subtitle{text-align:center;font-size:.88rem;color:var(--muted);margin:0 auto 17px}.gift-action{display:flex;margin-inline:auto}.return{display:block;margin:15px auto 0;background:none;border:0;color:var(--ink);text-decoration:underline;text-underline-offset:3px;padding:6px 12px}.gift-note{max-width:370px;margin:0 auto;color:var(--muted);font-size:1rem;white-space:pre-line;overflow-wrap:anywhere}.gift-kind{width:max-content;max-width:100%;margin:0 auto 14px;padding:2px 8px;border-block:1px solid var(--rule);color:var(--red)}.gift-media{display:block;margin:16px auto 0;width:100%;max-width:370px}.gift-media img{display:block;width:100%;max-height:260px;object-fit:contain}.gift-media a{display:inline-flex;color:var(--red);text-underline-offset:3px}.gift-media audio{width:100%}.reveal{animation:reveal .43s both}.noscript{padding:20px}
#gift-art{height:160px;width:min(240px,100%);position:relative;margin:0 auto 11px;display:grid;place-items:center;perspective:600px}.wrap-svg{width:100%;height:100%;overflow:visible}.wrap-svg .animation-part{transform-box:fill-box}.wrap-svg .left{transform-origin:left center}.wrap-svg .right{transform-origin:right center}.wrap-svg .top{transform-origin:center top}.wrap-svg .middle{transform-origin:center}.unwrap-lazo .ribbon-left{animation:ribbon-left .56s ease-in both}.unwrap-lazo .ribbon-right{animation:ribbon-right .56s ease-in both}.unwrap-lazo .ribbon-center{animation:reveal-back .48s both}.unwrap-carta .letter-flap{animation:fold .56s ease-in-out both}.unwrap-carta .letter-sheet{animation:slide .56s .1s both}.unwrap-caja .box-lid{animation:lift .67s both}.unwrap-ventana .window-left,.unwrap-ventana .window-right{animation:fold .67s ease-in-out both}.unwrap-ventana .window-right{animation-name:fold-right}
@keyframes ribbon-left{to{transform:translate(-58px,22px) rotate(-34deg) scale(.7);opacity:0}}@keyframes ribbon-right{to{transform:translate(64px,20px) rotate(37deg) scale(.7);opacity:0}}@keyframes reveal-back{to{opacity:0;transform:scale(.8)}}@keyframes fold{to{transform:rotateY(-105deg);opacity:.15}}@keyframes fold-right{to{transform:rotateY(105deg);opacity:.15}}@keyframes slide{to{transform:translateY(-28px)}}@keyframes lift{to{transform:translate(16px,-56px) rotate(12deg);opacity:.1}}@keyframes reveal{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:960px){.frame{width:calc(100% - 70px)}.hero{min-height:0;padding-block:60px 69px}}
@media(max-width:700px){.frame{width:calc(100% - 36px)}.mast{min-height:63px}.mast-date{display:none}.mark{font-size:1.44rem}.mark svg{width:16px;height:16px}.hero{grid-template-columns:1fr;gap:12px;padding-top:39px;padding-bottom:34px}.hero h1{font-size:clamp(3.3rem,12vw,5.4rem);margin:14px 0 17px}.intro{margin-bottom:18px;max-width:345px}.hero-date{margin-top:11px}.hero-art{width:min(100%,455px);margin-inline:auto}.hero-art img{width:100%;margin:0 auto -6px}.hero-art figcaption{margin-top:-5px}.section-top{align-items:start;flex-direction:column;gap:15px;margin-bottom:23px}.calendar-inner{padding-block:39px}.section-top h2{margin-block:9px}.doors{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.door{min-height:70px}.door::before{inset:4px}.door .seal{top:7px;right:7px;width:13px;height:13px}.door.free .seal{width:10px;height:10px}.door.finale{min-height:85px;margin-top:4px}.footer{padding-block:22px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-delay:0s!important;transition-duration:.01ms!important}}
.preview-banner a{white-space:nowrap;text-decoration:underline;text-underline-offset:3px}
#retry-calendar{margin-top:14px}

.secret-piece{color:inherit;font-weight:inherit}.secret-star{color:var(--red);font-size:.75em;vertical-align:.12em}
.secret-clue{margin:17px auto 0;padding:11px 13px;border:1px solid var(--rule);border-radius:4px;background:var(--cream);max-width:370px;text-align:left}.secret-kicker{color:var(--red);margin:0 0 4px}.secret-copy{font-size:.83rem;line-height:1.45;color:var(--ink);margin:0}.secret-links{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0 0}.secret-links button{min-height:38px;padding:.25rem .55rem;border:1px solid #bdac90;border-radius:4px;background:var(--card);font-size:.81rem;color:var(--ink)}.secret-links button:hover:not(:disabled){border-color:var(--red);color:var(--red)}.secret-links button:disabled{opacity:1;cursor:default}.secret-back{color:var(--red)}
.secret-editor{border:1px solid var(--rule);border-radius:4px;padding:8px 10px;background:#f4ecdb}.secret-editor summary{cursor:pointer;color:var(--red);font-weight:650;font-size:.84rem;line-height:1.6}.secret-editor[open]>:not(summary){margin-top:6px}.secret-editor button{white-space:normal;text-align:left}.secret-editor .compact{font-size:.74rem}

.secret-answer{border-top:1px solid var(--rule);margin-top:11px;padding-top:9px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:end}.secret-answer label{display:grid;gap:3px;font-size:.78rem;color:var(--ink);font-weight:650}.secret-answer input{min-width:0;width:100%;font-size:1rem;border:1px solid #bdac90;border-radius:4px;background:var(--card);padding:.35rem .46rem}.secret-answer button.primary{font-size:.75rem;padding:.46rem .52rem;min-height:38px}.secret-answer button.primary:disabled{opacity:.65}.secret-answer-status{grid-column:1/-1;font-size:.83rem;color:var(--ink);white-space:pre-wrap;overflow-wrap:anywhere}.secret-answer-status:empty{display:none}.secret-answer-wrong{color:var(--red)}.secret-answer-ok{font-weight:650;padding:5px 0}
@media(max-width:345px){.secret-answer{grid-template-columns:minmax(0,1fr)}.secret-answer button.primary{justify-self:start}}
