/* ============================================================
   Ingle Scrapbook V1
   Polaroids tell a story. Common objects invite a story.
   ============================================================ */

.ingle-scrapbook-shell {
  margin: 0 0 1rem;
}

.scrapbook-loading,
.scrapbook-empty {
  padding: 2rem;
  border: 1px solid #e7dfca;
  border-radius: 24px;
  background: #fffdf5;
  text-align: center;
  color: #667085;
}

.scrapbook-day {
  overflow: hidden;
  padding: clamp(1.2rem, 3vw, 2.2rem);
  border: 1px solid #e5dcc5;
  border-radius: 26px;
  background-color: #fffdf5;
  background-image:
    radial-gradient(rgba(114, 96, 64, .15) 1px, transparent 1px);
  background-size: 23px 23px;
  box-shadow: 0 16px 42px rgba(57, 46, 25, .08);
}

.scrapbook-day__header {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 1.7rem;
}

.scrapbook-kicker,
.scrapbook-section-label {
  color: #7455e8;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.scrapbook-day__header h2 {
  margin: .1rem 0 .2rem;
  color: #17315f;
  font-family: "Caveat", cursive;
  font-size: clamp(3.4rem, 8vw, 5.6rem);
  line-height: .92;
}

.scrapbook-date {
  margin: .5rem 0 0;
  color: #667085;
  font-weight: 700;
}

.scrapbook-minutes {
  min-width: 115px;
  padding: .9rem 1rem;
  border: 2px dashed rgba(22, 128, 74, .32);
  border-radius: 18px;
  background: rgba(255,255,255,.7);
  text-align: center;
  transform: rotate(2deg);
}

.scrapbook-minutes strong,
.scrapbook-minutes span {
  display: block;
}

.scrapbook-minutes strong {
  color: #16804a;
  font-size: 2.6rem;
  line-height: 1;
}

.scrapbook-minutes span {
  margin-top: .25rem;
  color: #536174;
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.scrapbook-memory {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: center;
  padding: 1.5rem 0 2rem;
  border-bottom: 1px dashed rgba(105, 88, 56, .25);
}

.scrapbook-memory__copy h3,
.scrapbook-object-play h3 {
  margin: .35rem 0 .75rem;
  color: #20314f;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.scrapbook-memory-text {
  margin: 0;
  color: #46546b;
  font-family: "Patrick Hand", cursive;
  font-size: 1.28rem;
  line-height: 1.55;
}

.scrapbook-can-do {
  display: inline-block;
  margin-top: 1rem;
  padding: .55rem .8rem;
  border-radius: 999px;
  background: #eef8ef;
  color: #17663d;
  font-weight: 850;
}

.scrapbook-replay {
  display: inline-flex;
  margin-top: 1rem;
  align-items: center;
  border: 0;
  background: transparent;
  color: #6046d8;
  font: inherit;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.scrapbook-replay.is-muted {
  opacity: .72;
}

.scrapbook-photo-album {
  text-align: center;
}

.scrapbook-polaroid-wrap {
  display: grid;
  place-items: center;
  min-height: 350px;
  padding: 1rem;
}

.scrapbook-polaroid {
  width: min(410px, 88%);
  margin: 0;
  padding: 13px 13px 42px;
  background: white;
  box-shadow: 0 16px 30px rgba(35, 43, 58, .17);
  transform: rotate(-2deg);
}

.scrapbook-polaroid img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 310px;
  object-fit: cover;
}

.scrapbook-photo-nav {
  display: flex;
  justify-content: center;
  gap: .9rem;
  align-items: center;
}

.scrapbook-photo-nav button,
.scrapbook-object-nav {
  width: 44px;
  height: 38px;
  border: 1px solid #d8dce5;
  border-radius: 10px;
  background: white;
  color: #3f4a60;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

.scrapbook-photo-nav span {
  min-width: 56px;
  color: #667085;
  font-size: .88rem;
  font-weight: 800;
}

.scrapbook-object-play {
  padding: 2rem 0;
  border-bottom: 1px dashed rgba(105, 88, 56, .25);
}

.scrapbook-object-stage {
  display: grid;
  grid-template-columns: 52px minmax(220px, 420px) 52px;
  justify-content: center;
  gap: 1rem;
  align-items: center;
  margin: 1.2rem auto;
}

.scrapbook-object-card {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: 1.2rem;
  border-radius: 22px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 10px 25px rgba(51, 42, 24, .07);
}

.scrapbook-object-card img {
  display: block;
  width: 100%;
  max-height: 300px;
  object-fit: contain;
}

.scrapbook-object-count {
  position: absolute;
  right: .8rem;
  bottom: .65rem;
  color: #7a8495;
  font-size: .78rem;
  font-weight: 800;
}

.scrapbook-object-prompt {
  display: grid;
  justify-items: center;
  gap: .35rem;
  padding: 1rem;
  text-align: center;
}

.scrapbook-object-prompt strong {
  font-size: 1.25rem;
}

.scrapbook-object-prompt span {
  color: #667085;
}

.scrapbook-object-prompt button {
  margin-top: .55rem;
  padding: .72rem 1.15rem;
  border: 0;
  border-radius: 999px;
  background: #684ee6;
  color: white;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.scrapbook-object-prompt small {
  margin-top: .35rem;
  color: #7a8495;
}

.scrapbook-notes {
  padding-top: 2rem;
}

.scrapbook-notes textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 115px;
  margin-top: .7rem;
  padding: 1rem;
  resize: vertical;
  border: 1px solid #dfd7c7;
  border-radius: 16px;
  background: rgba(255,255,255,.78);
  font-family: "Patrick Hand", cursive;
  font-size: 1.15rem;
}

.scrapbook-notes-actions {
  display: flex;
  gap: .8rem;
  align-items: center;
  margin-top: .65rem;
}

.scrapbook-notes-actions button {
  padding: .6rem .95rem;
  border: 1px solid #d5cfbf;
  border-radius: 10px;
  background: white;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.scrapbook-notes-actions span {
  color: #667085;
  font-size: .9rem;
}

.scrapbook-empty-photo {
  display: grid;
  place-items: center;
  min-height: 220px;
  color: #8b94a4;
}

@media (max-width: 820px) {
  .scrapbook-memory {
    grid-template-columns: 1fr;
  }

  .scrapbook-day__header {
    align-items: center;
  }

  .scrapbook-polaroid-wrap {
    min-height: 280px;
  }
}

@media (max-width: 560px) {
  .scrapbook-day {
    padding: 1rem;
    border-radius: 20px;
  }

  .scrapbook-day__header {
    gap: .8rem;
  }

  .scrapbook-minutes {
    min-width: 88px;
    padding: .7rem;
  }

  .scrapbook-minutes strong {
    font-size: 2rem;
  }

  .scrapbook-object-stage {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: .5rem;
  }

  .scrapbook-object-nav {
    width: 38px;
  }
}
/* Scrapbook — explicit Notes button treatment */
.scrapbook-notes-actions button {
  color: #334155;
  background: #fff;
}
