/* First Dates composition. Existing Geist UI, cobalt palette and catalogue photos;
   Kalam is the template's handwritten accent, self-hosted with its OFL licence. */
@font-face{font-family:Kalam;font-style:normal;font-weight:400;font-display:swap;src:url(/wp-content/themes/desnudar/fonts/kalam-v18-regular-latin.woff2) format('woff2')}
@font-face{font-family:Kalam;font-style:normal;font-weight:700;font-display:swap;src:url(/wp-content/themes/desnudar/fonts/kalam-v18-bold-latin.woff2) format('woff2')}
.fd-only{display:none}

@media(max-width:640px){
  .home{--fd-bg:#0b1020;--fd-card:#141c30;--fd-cream:#e9f2ff;--fd-accent:#60a5fa;--fd-hi:#bfdbfe;--fd-no:#fda4af;--fd-muted:#bdc7da;--fd-hand:Kalam,cursive;--fan-h:clamp(270px,calc(100svh - 356px),380px)}
  .home .fd-only{display:block}
  .home .page{background:var(--bg);padding-bottom:env(safe-area-inset-bottom)}
  .home .page::before{content:"";position:absolute;inset:0 0 auto;height:900px;pointer-events:none;background:radial-gradient(circle at 8% 22%,rgb(96 165 250 / .2) 0 7px,transparent 18px),radial-gradient(circle at 95% 18%,rgb(129 140 248 / .18) 0 10px,transparent 24px),radial-gradient(70% 40% at 50% 39%,rgb(96 165 250 / .2),transparent 70%),radial-gradient(60% 30% at 0 0,rgb(79 70 229 / .25),transparent 70%),linear-gradient(180deg,#15213b,var(--bg) 80%)}
  .home .fog{display:none}
  .home .site-header{position:relative;top:auto;height:56px;border:0}
  .home .site-header::before{background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
  .home .header-bar{height:56px;padding:0 6px 0 16px;gap:8px}
  .home .logo{gap:9px;flex:none;font-size:17px;font-weight:600;letter-spacing:-.3px}
  .home .logo-mark{width:30px;height:30px;box-shadow:0 0 18px rgb(96 165 250 / .35)}
  .home .logo .fd-brand{display:inline}
  .home .header-actions{gap:8px}
  .home .nav-cta{display:none}
  .home .fd-count{height:30px;padding:0 10px 0 8px;display:inline-flex;align-items:center;gap:5px;border-radius:999px;border:1px solid rgb(96 165 250 / .3);background:rgb(96 165 250 / .1);color:var(--fd-hi);font-size:12px;font-weight:500;white-space:nowrap}
  .fd-count svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .home .burger>summary{background:transparent;border-color:transparent}
  .home .burger[open]>summary{position:fixed;top:6px;right:6px;background:#17223a;border-color:#455574;z-index:4}
  .home .burger-menu{padding-top:64px;padding-bottom:calc(24px + env(safe-area-inset-bottom))}
  .home .hero{display:block;min-height:0;padding:0;clip-path:none;overflow:visible;background:transparent;z-index:1}
  .home .hero-bg,.home .hero .kicker,.home .hero-lead,.home .hero-ctas{display:none}
  .home .hero-inner{max-width:none;margin:0;padding:8px 16px 0;animation:none;text-align:center}
  .home .hero-title{max-width:none;margin:0;color:var(--text);font-size:23px;line-height:1.15;font-weight:700;letter-spacing:-.6px}
  .home .hero-title em{display:table;margin:2px auto 0;padding-bottom:7px;font:700 33px/1.05 var(--fd-hand);color:var(--fd-accent);letter-spacing:0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8c20-6 34 3 54-1s30-6 50-2 38 4 72-3' fill='none' stroke='%2360a5fa' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") 50% 100%/100% 9px no-repeat}
  .home .fd-fan{position:relative;height:var(--fan-h);margin:12px -16px 0;overflow-x:clip;text-align:left}
  .fd-card{--h:calc(var(--fan-h)*.8);--w:calc(var(--h)*.72);position:absolute;left:50%;bottom:58px;width:var(--w);height:var(--h);margin-left:calc(var(--w)/-2);transform-origin:50% 150%;color:var(--fd-cream)}
  .fd-card img{display:block;width:100%;height:100%;border-radius:14px;object-fit:cover;object-position:50% 15%;filter:grayscale(.55) brightness(.55);box-shadow:0 0 0 2px rgb(233 242 255 / .85),0 14px 30px rgb(0 0 0 / .55)}
  .fd-d1{transform:rotate(-30deg)}.fd-d2{transform:rotate(-15deg)}.fd-d4{transform:rotate(15deg)}.fd-d5{transform:rotate(30deg)}
  .fd-when{position:absolute;top:8px;left:10px;font:700 14px/1 var(--fd-hand);color:var(--fd-cream)}
  .fd-app{position:absolute;bottom:10px;left:10px;font-size:13px;font-weight:600;color:var(--fd-cream)}
  .fd-d4 .fd-when,.fd-d5 .fd-when,.fd-d4 .fd-app,.fd-d5 .fd-app{left:auto;right:10px}
  .fd-stamp{position:absolute;display:inline-block;white-space:nowrap;padding:4px 7px;border:2px solid currentColor;border-radius:6px;color:var(--fd-no);background:rgb(12 11 26 / .75);font-size:10.5px;line-height:1.15;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
  .fd-stamp svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;vertical-align:-2px}
  .fd-d1 .fd-stamp{left:10px;top:46%;transform:rotate(-10deg)}.fd-d2 .fd-stamp{left:6px;top:16%;transform:rotate(-8deg)}.fd-d4 .fd-stamp{right:6px;top:16%;transform:rotate(8deg)}.fd-d5 .fd-stamp{right:10px;top:46%;transform:rotate(10deg)}
  .fd-card.fd-win{--h:calc(var(--fan-h) - 10px);--w:calc(var(--h)*.68);bottom:0;transform:rotate(-1.5deg);z-index:2}
  .fd-win img{filter:none;box-shadow:0 0 0 3px var(--fd-cream),0 0 0 5px rgb(96 165 250 / .7),0 26px 50px rgb(0 0 0 / .65),0 0 70px rgb(96 165 250 / .35)}
  .fd-win::after{content:"";position:absolute;inset:52% 0 0;border-radius:0 0 14px 14px;background:linear-gradient(transparent,rgb(6 10 26 / .9));pointer-events:none}
  .fd-win .fd-when{top:10px;left:10px;z-index:1;min-height:26px;padding:0 10px;border-radius:999px;display:grid;place-items:center;font-size:14px;color:var(--fd-bg);background:var(--fd-cream)}
  .fd-said{position:absolute;left:12px;right:12px;bottom:12px;z-index:1;margin:0;font:700 15.5px/1.15 var(--fd-hand);color:var(--fd-cream);text-shadow:0 1px 8px rgb(0 0 0 / .6)}
  .fd-stamp.fd-stamp-yes{right:-16px;bottom:66px;z-index:3;transform:rotate(-9deg);padding:6px 10px;border:3px double currentColor;border-radius:8px;color:var(--fd-hi);background:rgb(6 14 40 / .88);box-shadow:0 0 22px rgb(96 165 250 / .35);text-shadow:0 0 10px rgb(96 165 250 / .6);font-size:12px}
  .fd-stamp-yes b{font-size:15px;letter-spacing:0}.fd-stamp-yes svg{width:15px;height:15px;margin-right:3px}
  .home .fd-note{position:absolute;z-index:3;left:14px;top:-2px;transform:rotate(-7deg);display:inline-flex;align-items:center;gap:4px;margin:0;padding:6px 8px;border-radius:6px;background:#0b1428;font:700 16px/1 var(--fd-hand);color:var(--fd-hi);text-shadow:0 2px 8px rgb(0 0 0 / .8)}
  .home .fd-cta{display:flex;align-items:center;justify-content:center;gap:8px;height:56px;min-height:56px;margin-top:16px;border-radius:999px;color:#08152c;background-color:var(--fd-accent);background:linear-gradient(180deg,#bfdbfe,#60a5fa 55%,#3b82f6);font-size:16.5px;font-weight:700;letter-spacing:-.2px;box-shadow:0 12px 30px rgb(59 130 246 / .35),inset 0 1px 0 rgb(255 255 255 / .5)}
  .fd-cta svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
  .home .fd-micro{margin:8px 0 0;font-size:12px;line-height:1.4;color:var(--fd-muted)}
  .home .fd-diary{position:relative;z-index:1;margin:30px 16px 0;padding:16px;border:1px solid rgb(233 242 255 / .12);border-radius:20px;background:rgb(225 238 255 / .05)}
  .fd-diary h2{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin:0;font-size:16px;font-weight:700;line-height:1.4}
  .fd-diary h2 time{font-size:11.5px;font-weight:400;color:var(--fd-muted);white-space:nowrap}
  .fd-diary ul{list-style:none;margin:10px 0 0;padding:0}
  .fd-diary li+li{border-top:1px solid rgb(233 242 255 / .1)}
  .fd-diary li>a{display:flex;align-items:center;gap:12px;padding:9px 0;color:inherit}
  .fd-diary img{display:block;flex:none;width:40px;height:40px;border-radius:50%;object-fit:cover;object-position:50% 15%;filter:grayscale(.4)}
  .fd-diary p{margin:0;font:400 15px/1.2 var(--fd-hand);color:var(--fd-muted)}
  .fd-diary p b{display:block;margin-bottom:2px;color:var(--text);font:600 13.5px/1.4 var(--font)}
}
