:root{
  --bg:#fff1f7;
  --paper:#fff;
  --paper2:#fff7fb;
  --ink:#1f1f1f;
  --muted:#6b6b6b;
  --pink:#ff4fa3;
  --pink2:#ffd1e6;
  --tape:#ffe39a;
  --line:rgba(0,0,0,.25);
  --soft:rgba(255,79,163,.14);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:
    radial-gradient(900px 520px at 15% 0%, #ffd7ea, transparent 60%),
    radial-gradient(900px 520px at 85% 10%, #dff0ff, transparent 58%),
    linear-gradient(to bottom,#fff1f7 0%,#ffe6f2 40%,#ffffff 70%,#ffeef7 100%);
  color:var(--ink);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

.wrap{max-width:880px;margin:0 auto;padding:14px 12px 70px}
a{color:inherit;font-weight:900}
h1{margin:10px 0 6px;font-size:30px;line-height:1.05}
p{margin:0;color:var(--muted);line-height:1.45}

.cover{
  background:rgba(255,255,255,.86);
  border:2px solid var(--line);
  border-radius:18px;
  padding:16px 14px 14px;
}

.stamp{
  display:inline-block;
  font-weight:900;
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--muted);
  border:2px dashed rgba(0,0,0,.22);
  border-radius:10px;
  padding:6px 10px;
  background:#fff;
  transform: rotate(-1deg);
}

.quote{
  margin-top:10px;
  background:var(--paper2);
  border:2px dashed rgba(0,0,0,.16);
  border-radius:16px;
  padding:12px;
}

.quote b{color:var(--pink)}
.quote p{color:#2a2a2a}

.how{
  margin-top:10px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

.pill{
  text-decoration:none;
  padding:8px 12px;
  border-radius:999px;
  border:2px solid var(--line);
  background:#fff;
  display:inline-block;
}

.pill:hover{background:var(--pink2)}

.hero{
  margin-top:12px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}

.flip{
  width:180px;height:180px;
  border:2px solid var(--line);
  border-radius:16px;
  background:#fff;
  position:relative;
  overflow:hidden;
}

.flip:hover{animation: wiggle .25s ease-in-out 1}
@keyframes wiggle{
  0%{transform:rotate(0)}
  25%{transform:rotate(-2deg)}
  50%{transform:rotate(2deg)}
  100%{transform:rotate(0)}
}

.flip img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:contain;
  opacity:0;
  animation: frame 3.6s infinite;
}
.flip img:nth-child(1){animation-delay:0s}
.flip img:nth-child(2){animation-delay:.6s}
.flip img:nth-child(3){animation-delay:1.2s}
.flip img:nth-child(4){animation-delay:1.8s}
.flip img:nth-child(5){animation-delay:2.4s}
.flip img:nth-child(6){animation-delay:3.0s}

@keyframes frame{
  0%{opacity:0}
  10%{opacity:1}
  25%{opacity:1}
  35%{opacity:0}
  100%{opacity:0}
}

.note{
  flex:1;
  min-width:260px;
  background:var(--paper2);
  border:2px solid var(--line);
  border-radius:16px;
  padding:12px;
  position:relative;
}

.note:before{
  content:"";
  position:absolute;
  left:14px;
  top:-11px;
  width:110px;
  height:28px;
  background:var(--tape);
  border:2px solid rgba(0,0,0,.18);
  border-radius:8px;
  transform:rotate(-2deg);
}

.note b{color:var(--pink)}
.small{margin-top:6px;font-size:13px;color:var(--muted)}

.jump{
  margin-top:12px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.section{
  margin-top:64px;
  background:rgba(255,255,255,.86);
  border:2px solid var(--line);
  border-radius:18px;
  padding:38px 22px;
  min-height:80vh;
  opacity:.76;
  transition: opacity .6s ease;
}

.section:hover{opacity:1}

.section:target{
  opacity:1;
  border-color: rgba(255,79,163,.7);
  box-shadow: 0 0 0 4px var(--soft);
  background: rgba(255,79,163,.06);
}

.h2{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
  padding-bottom:12px;
  border-bottom:2px dashed rgba(0,0,0,.14);
}

.h2 h2{
  margin:0;
  font-size:14px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--pink);
}

.tag{
  font-size:12px;
  color:var(--muted);
  border:2px dashed rgba(0,0,0,.20);
  background:#fff;
  padding:5px 9px;
  border-radius:999px;
  transform: rotate(-.6deg);
}

.entry{
  margin-top:18px;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  align-items:flex-start;
}

.photo{
  width:200px;
  background:#fff;
  border:2px solid rgba(0,0,0,.22);
  border-radius:16px;
  padding:10px;
  position:relative;
}

.photo:before{
  content:"";
  position:absolute;
  left:16px;
  top:-11px;
  width:90px;
  height:26px;
  background:var(--tape);
  border:2px solid rgba(0,0,0,.18);
  border-radius:8px;
  transform:rotate(-3deg);
}

.photo img{
  width:100%;
  height:180px;
  object-fit:contain;
  display:block;
  border:2px solid rgba(0,0,0,.14);
  border-radius:14px;
  background:#fff;
}

.feel{
  flex:1;
  min-width:260px;
  background:#fff;
  border:2px dashed rgba(0,0,0,.16);
  border-radius:16px;
  padding:12px;
}

.feel b{color:var(--pink)}
.feel p{margin-top:6px;color:#2a2a2a;line-height:1.55}

.cards{
  margin-top:22px;
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:22px;
}

.card{
  grid-column: span 6;
  border:2px dashed rgba(0,0,0,.16);
  border-radius:16px;
  padding:16px;
  background:#fff;
}

.card.big{grid-column: span 12;}

@media (max-width: 820px){
  .card{grid-column: span 12;}
  .photo{width:100%}
  .photo img{height:220px}
}

.term{
  font-weight:950;
  display:flex;
  justify-content:space-between;
  gap:10px;
}

.term span{color:var(--pink)}
.term small{font-weight:900;color:var(--muted);font-size:12px}
.text{margin:8px 0 0;line-height:1.55;color:#2a2a2a}

.nextrow{
  margin-top:20px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
} 