* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
button {
  border: 0; border-radius: 999px; padding: 12px 16px; font-size: 14px; font-weight: 600;
  color: #fff; background: linear-gradient(90deg, #ff8fb1, #ffb1c8);
  box-shadow: 0 8px 18px rgba(255, 143, 177, 0.25);
}
.gate-card button { width: 100%; margin-top: 14px; }
.gate-msg { margin-top: 12px; font-size: 13px; color: #d95f88; }
.hero { padding: 22px 16px 18px; position: relative; }
.hero-card {
  position: relative; overflow: hidden; background: linear-gradient(180deg, #ffd8e6 0%, #fff6f9 100%);
  border-radius: 28px; padding: 24px 18px; box-shadow: 0 14px 30px rgba(255, 173, 197, 0.25);
}
.badge {
  display: inline-block; margin: 0 0 10px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.7); color: #d96893; font-size: 12px;
}
.hero-card h1 { margin: 0; font-size: 30px; line-height: 1.25; }
.subtitle { font-size: 14px; line-height: 1.7; color: #7f6773; margin: 12px 0 16px; }
.days-box { background: rgba(255,255,255,0.72); border-radius: 20px; padding: 14px; text-align: center; }
#daysCount { font-size: 32px; color: #ff5e93; margin: 0 6px; }
.days-label { font-size: 13px; color: #866d79; }
.hero-actions { display: flex; gap: 10px; margin-top: 16px; }
.hero-actions button { flex: 1; }
.quote {
  margin-top: 14px; background: rgba(255,255,255,0.72); padding: 14px; border-radius: 18px;
  font-size: 14px; line-height: 1.7; color: #6e5862;
}
.hero-decor { position: absolute; font-size: 24px; z-index: 1; }
.decor1 { top: 14px; right: 32px; }
.decor2 { top: 56px; right: 12px; }
.main { padding: 0 16px 96px; }
.section { margin-top: 18px; }
.section-title h2 { margin: 0; font-size: 20px; }
.section-title p { margin: 8px 0 12px; color: #927b87; font-size: 13px; }
.card {
  background: rgba(255,255,255,0.92); border-radius: 22px; padding: 14px;
  box-shadow: 0 8px 22px rgba(232, 181, 197, 0.18);
}
.album-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.album-grid img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 18px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}
.timeline { display: flex; flex-direction: column; gap: 14px; }
.timeline-item { display: flex; gap: 12px; align-items: flex-start; }
.dot {
  width: 14px; height: 14px; border-radius: 50%; background: #ff95b5; margin-top: 7px; flex-shrink: 0;
  box-shadow: 0 0 0 6px rgba(255, 149, 181, 0.15);
}
.timeline .content {
  flex: 1; background: #fff; border-radius: 18px; padding: 14px; box-shadow: 0 8px 20px rgba(230, 180, 195, 0.15);
}
.timeline .content h3 { margin: 0 0 8px; font-size: 15px; }
.timeline .content p { margin: 0; font-size: 13px; line-height: 1.7; color: #856f7a; }
.note-form, .wish-input-row { display: flex; flex-direction: column; gap: 10px; }
.notes-list, .wish-list { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.note-item, .wish-item {
  background: rgba(255,255,255,0.92); border-radius: 18px; padding: 14px; box-shadow: 0 8px 22px rgba(232, 181, 197, 0.18);
}
.note-author { font-weight: 700; color: #d86592; margin-bottom: 6px; }
.note-text { font-size: 14px; line-height: 1.7; }
.wish-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wish-left { display: flex; align-items: center; gap: 10px; flex: 1; }
.wish-left input[type="checkbox"] { width: 18px; height: 18px; }
.wish-done { text-decoration: line-through; color: #b59ca8; }
.fun-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.fun-card h3, .quiz-item p { margin-top: 0; }
.fun-card p, .quiz-result { color: #7e6974; line-height: 1.7; font-size: 14px; }
.quiz-box { display: flex; flex-direction: column; gap: 14px; }
.quiz-item { display: flex; flex-direction: column; gap: 8px; }
.quiz-item label { font-size: 14px; color: #6f5d66; }
.bottom-nav {
  position: fixed; left: 50%; bottom: 10px; transform: translateX(-50%); width: calc(100% - 18px); max-width: 460px;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); border-radius: 999px;
  display: flex; justify-content: space-around; padding: 12px 8px; box-shadow: 0 12px 28px rgba(221, 175, 190, 0.28); z-index: 20;
}
.bottom-nav a { text-decoration: none; color: #d56691; font-size: 13px; font-weight: 700; }
.preview {
  position: fixed; inset: 0; background: rgba(42, 24, 33, 0.88); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 100;
}
.preview img { width: 100%; max-width: 520px; border-radius: 20px; }
.close-preview { position: absolute; top: 18px; right: 18px; color: #fff; font-size: 34px; line-height: 1; }
@media (min-width: 768px) {
  body { background: linear-gradient(180deg, #ffeef4 0%, #fffefe 100%); }
  .main, .hero { max-width: 460px; margin: 0 auto; }
}