/* Delivered gift: the close-up is the main print; the uncropped book canvas is its companion. */
.cl-handover { display: grid; gap: .65rem; margin-block: .6rem 1rem; }
.cl-handover #clientWorn {
  display: grid; justify-self: center; width: min(100%, 30rem); min-width: 0;
  padding: .2rem .2rem .35rem; gap: .3rem; box-sizing: border-box;
  background: #fffbf1; color: #544137; font: italic .9rem/1.3 Georgia, serif;
}
#clientWornHero { display: block; width: 100%; height: auto; }
.cl-handover .cl-excerpt { margin: 0; font: italic 1.06rem/1.4 Georgia, serif; text-align: center; }
.cl-handover-prints {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
  gap: .65rem; align-items: center; padding-top: .65rem; border-top: 1px solid var(--rule);
}
.cl-handover #clientPortrait { width: min(100%, 9rem); margin: 0; justify-self: center; }
.cl-handover .cl-views { grid-template-columns: 1fr; }
@media (max-height: 600px) {
  .cl-handover { gap: .35rem; }
  .cl-handover-prints { padding-top: .35rem; }
}
.cl-handover button:focus-visible { outline: 3px solid #714257; outline-offset: 2px; }
#clientMacroMount[height="640"] { width: min(100%, 54vh); }
/* The target stays on the jewellery as the story print scales. */
.gift-scene .gift-print { position:relative; width:min(100%,40vh,21rem); margin:auto; outline:1px solid #bcae95; box-shadow:var(--print-shadow); }
.gift-print canvas { display:block; width:100%; height:auto; }
.gift-scene[data-mode=close] .gift-print { width:min(100%,35rem); }
.gift-print .gift-hotspot { position:absolute; transform:translate(-50%,-50%); padding:0; width:44px; height:44px; min-height:44px; background:transparent; border:0; box-shadow:none; }
.gift-hotspot:focus-visible { outline:2px solid white; box-shadow:0 0 0 4px #375749; }
.gift-tools { display:flex; align-items:center; justify-content:center; gap:.5rem; margin-top:.35rem; }
.cl-repeat-cuts { margin-top:.25rem; font: .9rem/1.25 Georgia,serif; }
.cl-repeat-cuts + .gift-tools { align-items:flex-start; }
.gift-tools button:first-child { flex:1; min-height:44px; }
.gift-scene #clientWorn { width:min(49%,8rem); font-size:.8rem; }
@media(max-height:650px){
  #clientDesk:has(.cl-repeat-cuts) { margin-top:0; }
  .gift-scene .gift-print { width:min(100%,34vh); }
  /* The two-line seed-case title needs room above the print on short phones. */
  .gift-scene[data-gift="3"][data-mode=wide] .gift-print { width:min(100%,31vh); }
}
/* Maya's close-up only: keep the saved grades below the setting, never over the stones. */
.gift-scene:has(.cl-close-grades) { display:flex; flex-direction:column; }
.cl-close-grades { list-style:none; padding:0; margin:4px 0 0; color:var(--ink); font:1rem/1.2 Georgia,serif; }
.cl-close-grades li { padding:2px 0; border-bottom:1px solid var(--rule); }
.gift-scene:has(.cl-close-grades) .cl-repeat-cuts { order:1; }
.cl-handover:has(.cl-close-grades) { grid-template-columns:minmax(0,1fr); }
#clientDesk:has(.cl-close-grades) { padding-inline:8px; }
.gift-scene:has(.cl-close-grades) .gift-tools { margin-top:4px; gap:4px; }
.gift-scene:has(.cl-close-grades) .gift-tools button { min-width:min-content; padding-inline:4px; }
@media(max-height:650px){
  .gift-scene:has(.cl-close-grades) #clientWornHero { max-width:64px; justify-self:center; }
}

