.gift-page {
  display: grid;
  align-content: center;
  gap: 16px;
  align-items: center;
  justify-items: center;
  padding: clamp(18px, 5vw, 36px);
}
.gift-panel {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 4vw, 32px);
  width: min(100%, 555px);
  padding: clamp(20px, 5vw, 30px);
  background: #fffefd;
  border: 1px solid #e3edf1;
  border-radius: 21px;
  box-shadow: 0 16px 40px #30526b2b;
}
.gift-book {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 10px;
  min-height: 155px;
  padding: 14px 13px 14px 17px;
  background: linear-gradient(150deg, #345d78, #21435d);
  color: #fff;
  border-radius: 4px 11px 11px 4px;
  box-shadow: 4px 5px 0 #f1e7d9, 6px 7px 11px #20394c32;
}
.gift-book::before { content: ""; position: absolute; inset: 0 auto 0 8px; width: 1px; background: #fff3; }
.gift-book small { letter-spacing: .12em; font-size: .75rem; color: #f4d7e4; }
.gift-book strong { font-size: 1rem; line-height: 1.35; }
.gift-book svg { width: 22px; height: 22px; color: #f4d7e4; }
.gift-tag {
  display: inline-block;
  background: #faedf3;
  color: #7d3e5b;
  font-size: .75rem;
  font-weight: 650;
  border-radius: 20px;
  padding: 4px 10px;
  margin: 0 0 9px;
}
.gift-panel h1 { font-size: clamp(1.5rem, 5.5vw, 1.95rem); line-height: 1.3; }
.gift-description { margin: 10px 0 16px; color: #4a6577; font-size: .9rem; line-height: 1.65; }
.gift-actions { display: grid; gap: 3px; }
.gift-claim, .gift-home, .gift-pending { display: grid; place-items: center; min-height: 46px; margin: 0; text-align: center; }
.gift-claim { display: flex; justify-content: center; gap: 10px; padding: 9px 13px; border-radius: 10px; color: #fff; background: #254e68; font-weight: 650; text-decoration: none; }
.gift-claim:hover { background: #1c3e54; }
.gift-pending { padding: 9px 13px; border-radius: 10px; background: #eef4f7; color: #4a6577; font-size: .9rem; }
.gift-home { color: #254e68; text-underline-offset: 3px; font-size: .9rem; }
@media (max-width: 460px) {
  .gift-panel { grid-template-columns: 1fr; gap: 17px; }
  .gift-book { grid-template-columns: auto 1fr; align-items: center; min-height: auto; gap: 0 9px; width: min(100%, 194px); }
  .gift-book small { grid-column: 2; }
  .gift-book svg { grid-row: span 2; }
  .gift-book br { display: none; }
}

.gift-page > .privacy-link { align-self: start; margin: 0; }
.gift-photo { display: block; width: 100%; max-height: 245px; object-fit: contain; border-radius: 10px; }
.privacy-panel { width: min(100%, 555px); padding: clamp(20px, 5vw, 30px); background: #fffefd; border-radius: 20px; line-height: 1.7; }
@media (max-width: 460px) { .gift-photo { width: min(100%, 194px); max-height: 210px; } }
