#lh74-gift-box.lh788-shop {
  width: min(52rem, calc(100vw - 1rem));
  padding: 0;
  overflow: auto;
}
.lh788-shop-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(19rem, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  gap: .75rem;
  height: min(67vh, 33rem);
  height: min(67dvh, 33rem);
  padding: .85rem;
  box-sizing: border-box;
  background: #243847;
}
.lh788-shop-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  object-fit: cover;
}
#lh74-gift-box .lh788-shop-stage header {
  grid-column: 1 / -1;
  gap: .5rem;
  margin: 0;
  align-items: start;
}
.lh788-shop-stage header h2, .lh788-shop-stage header button {
  background: #172634ed;
  border-radius: .55rem;
  color: #fff4d9;
  padding: .45rem .75rem;
}
.lh788-shop-controls {
  grid-column: 2;
  grid-row: 2;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-color: #aeb7be #263644;
  padding: .7rem;
  background: #1e2f3aeb;
  border: 1px solid #c9a86b9e;
  border-radius: .75rem;
  color: #f6eddf;
}
#lh74-gift-box .lh788-shop-controls .lh75-gift-tabs { margin: 0 0 .35rem; padding: .4rem 0; }
#lh74-gift-box .lh788-shop-controls .lh75-field { margin: .3rem 0; }
.lh788-shop-receipt { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .2rem .8rem; padding: .6rem .9rem; }
#lh74-gift-box .lh788-shop-receipt .lh75-gift-status { flex: 1 1 auto; min-height: 0; margin: 0; color: #ffdfab; }
#lh74-gift-box .lh788-shop-receipt .lh75-gift-status:empty { display: none; }
.lh788-shop-receipt img { display: inline-block; width: 2.5rem; height: 2.5rem; object-fit: contain; margin-right: .45rem; vertical-align: middle; }
.lh788-shop-receipt > span { font-size: .83rem; color: #e4eaf0; margin-inline-start: auto; }
@media (max-width: 650px) {
  .lh788-shop-stage {
    height: min(76vh, 38rem);
    height: min(76dvh, 38rem);
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, .7fr) minmax(0, 2fr);
    padding: .55rem;
    gap: .35rem;
  }
  .lh788-shop-controls { grid-area: 3 / 1; padding: .45rem .6rem; }
  .lh788-shop-stage header button, .lh788-shop-controls button { min-height: 2.75rem; }
}
#lh74-gift-box .lh788-shop-stage header { background: transparent; }
.lh788-shop-controls[hidden] { display: none; }
.lh788-shop-toggle {
  position: absolute;
  left: .85rem;
  bottom: .85rem;
  z-index: 1;
  min-height: 2.75rem;
  color: #fff7e4;
  background: #21313eef;
  border: 1px solid #cab985;
}
@media (max-width: 650px) {
  .lh788-shop-toggle { left: .6rem; bottom: auto; top: .55rem; }
  #lh74-gift-box .lh788-shop-stage header h2 { margin-inline-start: 5.75rem; }
}
#lh74-gift-box .lh788-shop-stage > header { position: relative; z-index: 1; pointer-events: none; }
#lh74-gift-box .lh788-shop-stage > header button { pointer-events: auto; }
#lh74-gift-box .lh788-shop-toggle { z-index: 2; }
