*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at top,#fffaf2,#f1e5d8);color:#604b3b;font:18px Georgia,serif;min-height:100vh}header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px max(5vw,16px);background:#fff9f1;border-bottom:1px solid #e5d9ca}.brand{display:flex;align-items:center;gap:12px;font-size:clamp(20px,3vw,32px);font-style:italic}.brand img{width:65px}a{color:inherit;text-decoration:none}nav{display:flex;gap:20px;font-size:16px}nav a:hover{text-decoration:underline}main{position:relative;text-align:center;padding:35px 16px 20px;overflow:hidden;min-height:75vh}h1{font-size:clamp(32px,5vw,48px);font-weight:normal;font-style:italic;margin:0 0 22px}.count{position:relative;z-index:1;background:#fffcf7e8;border:1px solid white;border-radius:30px;box-shadow:0 12px 35px #705b3920;padding:26px 12px;max-width:680px;margin:auto}.clock{display:flex;justify-content:center;gap:clamp(6px,2vw,20px)}.clock div{min-width:0}.clock strong{display:block;background:#b6aa9b;color:white;border-radius:9px;padding:12px clamp(8px,2vw,22px);font:clamp(26px,6vw,52px) Arial; font-variant-numeric:tabular-nums;box-shadow:0 4px 8px #0002}.clock small{display:block;margin-top:10px;font:12px Arial;text-transform:uppercase;letter-spacing:1px}.pink{color:#b94d75}.blue{color:#497eac}.date{font-size:15px}.envelope{display:block;position:relative;margin:35px auto 15px;width:min(470px,85vw);aspect-ratio:1.65;background:linear-gradient(125deg,#c69a5f,#e2bb80);border:1px solid #b88c53;border-radius:5px;box-shadow:0 15px 22px #59412d45;perspective:1000px;cursor:pointer}.envelope:disabled{cursor:default}.flap{position:absolute;inset:0 0 25%;background:linear-gradient(150deg,#e8c48e,#cfa369);clip-path:polygon(0 0,100% 0,100% 12%,50% 100%,0 12%);transform-origin:top;transition:transform 1s;filter:drop-shadow(0 5px 4px #704c32);z-index:2}.seam{position:absolute;inset:0;background:linear-gradient(33deg,transparent 49.7%,#a67c4930 50%,transparent 50.4%),linear-gradient(-33deg,transparent 49.7%,#a67c4930 50%,transparent 50.4%)}.envelope.open .flap{transform:rotateX(180deg)}.envelope:not(:disabled):not(.open){animation:pulse 2s infinite}@keyframes pulse{50%{box-shadow:0 18px 40px #9a714a85}}.prints{position:absolute;width:100px;height:170px;top:25%;opacity:.35;background:currentColor;mask:url('/foot.svg') center/contain no-repeat;animation:swap 2s steps(1) infinite;pointer-events:none}.left{left:5%;transform:rotate(-22deg)}.right{right:5%;transform:rotate(22deg) scaleX(-1);animation-delay:-1s}@keyframes swap{0%{color:#df91aa}50%{color:#8ab5d5}}footer{text-align:center;font-size:36px;color:#ba9a88;padding:15px}dialog{border:0;border-radius:12px;background:#fffaf5;color:#b41464;text-align:center;width:min(460px,90vw);padding:45px 30px;box-shadow:0 20px 80px #0004}dialog::backdrop{background:#4b352a70}dialog[open]{animation:appear 1s both}@keyframes appear{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:none}}dialog img{width:90%}dialog h2{font-size:48px;font-style:italic;margin:15px}#close{position:absolute;right:12px;top:8px;border:0;background:none;font-size:28px;cursor:pointer}.votes{display:grid;grid-template-columns:1fr 1fr;gap:24px;max-width:900px;margin:auto;text-align:left}.votes section{border:1px solid white;border-radius:22px;overflow:hidden;box-shadow:0 5px 20px #0001;min-height:220px}.girl{background:#fff1f3}.boy{background:#edf5fa}.votes h2{font-size:24px;padding:20px;margin:0}.girl h2{background:#f4d0da;color:#9a3657}.boy h2{background:#d3e5f2;color:#315e82}.votes h2 span{float:right}.votes ul{list-style:none;padding:0 22px}.votes li{padding:7px 0}.votes li:before{content:'♡ ';color:#b94d75}.boy li:before{color:#497eac}@media(max-width:600px){header{flex-wrap:wrap;justify-content:center}.prints{width:55px;opacity:.2}.votes{gap:8px}.votes h2{font-size:17px;padding:12px}.votes ul{padding:0 10px}.votes li{font-size:15px}}@media(prefers-reduced-motion:reduce){*,*::before{animation:none!important;transition:none!important}}
.brand img{filter:grayscale(1)}.payment{margin:35px auto;max-width:650px;padding:18px;background:#fff9f1;border-radius:18px}.payment h2{font-size:22px}

/* V3 compact home */
.home{display:flex;flex-direction:column;min-height:100svh}.home header{padding:8px max(4vw,12px)}.home .brand img{width:48px}.home main{flex:1;min-height:0;padding:clamp(10px,2vh,20px) 12px 4px;display:flex;flex-direction:column;align-items:center;justify-content:center}.home .count{width:min(540px,94%);padding:12px 10px;border-radius:22px}.home h1{font-size:clamp(27px,4vh,36px);margin:0 0 10px}.home .clock{gap:clamp(5px,1.5vw,14px)}.home .clock strong{font-size:clamp(25px,5vh,40px);padding:7px clamp(8px,2vw,17px)}.home .clock small{margin-top:6px;font-size:10px;letter-spacing:.4px}.home .count p{margin:10px 0 0;font-size:16px}.home .count .date{font-size:13px;margin-top:6px}.home .envelope{flex:none;width:min(390px,80vw,46vh);margin:20px auto 8px;background:linear-gradient(125deg,#bd8b50,#e5bb7c);border-color:#a6753f;box-shadow:0 10px 22px #59412d70}.home .envelope:not(.open){animation:heartbeat 1.65s ease-in-out infinite}.home .envelope:disabled{animation:none;box-shadow:0 10px 22px #59412d70}.home .envelope:not(:disabled):not(.open){animation:heartbeat 1.65s ease-in-out infinite}@keyframes heartbeat{0%,48%,100%{transform:scale(1);box-shadow:0 10px 22px #59412d70}12%,32%{transform:scale(1.045);box-shadow:0 15px 34px #8e603fa0}22%{transform:scale(1.015)}}.home #status{font-size:14px;margin:8px 0 4px;position:relative;z-index:1}.home .prints{width:clamp(35px,7vw,80px);height:clamp(55px,13vh,125px);top:12%;opacity:.29}.home .prints.one{top:43%}.home .prints.two{top:73%}.home .left{left:3%}.home .right{right:3%}footer{padding:5px 12px 12px;line-height:1}footer a{display:block;font:13px Georgia,serif;margin-top:5px;color:#806b5a}footer a:hover{text-decoration:underline}.home footer{font-size:28px}@media(max-width:600px){.home header{gap:5px;padding:6px 10px}.home .brand{font-size:21px;gap:6px}.home .brand img{width:40px}.home nav{font-size:14px;gap:16px}.home main{padding-top:10px;justify-content:flex-start}.home .count{width:min(340px,94%);padding:10px 6px}.home .count p{font-size:14px}.home .count .date{font-size:12px}.home .envelope{width:min(290px,76vw,48vh);margin-top:22px}.home .prints{opacity:.25;width:35px}.home .left{left:1%}.home .right{right:1%}}@media(prefers-reduced-motion:reduce){.home .envelope{animation:none!important}}
.home .envelope:disabled:not(.open){animation:waitingGlow 2s ease-in-out infinite}@keyframes waitingGlow{50%{box-shadow:0 13px 30px #8e603f90}}@media(prefers-reduced-motion:reduce){.home .envelope:disabled{animation:none!important}}

/* V4: independent footprint colors, asymmetric positions */
.home .prints{animation:none;z-index:0;opacity:.36;color:#df91aa;transition:color .35s ease;width:clamp(36px,7vw,85px);height:clamp(60px,14vh,130px)}
.home .print-1{left:6%;top:5%;transform:rotate(-28deg)}
.home .print-2{right:12%;top:13%;transform:rotate(19deg) scaleX(-1)}
.home .print-3{left:19%;top:38%;transform:rotate(34deg)}
.home .print-4{right:3%;top:47%;transform:rotate(-20deg) scaleX(-1)}
.home .print-5{left:4%;top:73%;transform:rotate(-12deg)}
.home .print-6{right:23%;top:76%;transform:rotate(28deg) scaleX(-1)}
.home .envelope{z-index:1}
@media(max-width:600px){.home .prints{width:34px;height:58px;opacity:.32}.home .print-1{left:1%;top:2%}.home .print-2{right:2%;top:17%}.home .print-3{left:3%;top:36%}.home .print-4{right:1%;top:49%}.home .print-5{left:12%;top:76%}.home .print-6{right:9%;top:86%}}
