.page-head.esbe-page-head {
  display: grid;
  grid-template: 'copy art' auto 'actions art' auto / minmax(0, 1fr) minmax(250px, .9fr);
  gap: 8px 16px;
  align-items: center;
  padding: 15px;
  border: 1px solid #e4d9d8;
  border-radius: 15px;
  background: #fff;
}
.esbe-page-title { grid-area: copy; padding-left: 6px; align-self: end; }
.esbe-page-head .page-actions { grid-area: actions; justify-content: start; padding-left: 6px; align-self: start; }
.esbe-scene {
  grid-area: art;
  position: relative;
  isolation: isolate;
  margin: 0;
  height: 156px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e6d4d0;
  border-radius: 9px;
  background: #f5e9e6;
}
.esbe-scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; visibility: hidden; }
.esbe-scene[data-scene-ready='webgl'] canvas { visibility: visible; }
.esbe-scene[data-scene-ready='webgl'] .esbe-scene-fallback { visibility: hidden; }
.esbe-scene-rotate { position: absolute; z-index: 1; right: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 5px; min-height: 33px; padding: 4px 7px; border: 1px solid #c9adaa; border-radius: 6px; background: #fffaf8; color: #693a42; font-size: 12px; font-weight: 750; }
.esbe-scene-rotate:hover { background: #f8e3df; }
.esbe-scene-rotate span:first-child { font-size: 19px; line-height: .95; }
.esbe-scene-fallback { position: absolute; width: 160px; height: 111px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.esbe-scene-fallback > span { position: absolute; }
.esbe-fallback-base { width: 145px; height: 27px; bottom: 9px; left: 7px; border-radius: 5px; background: #48545d; transform: skewX(-27deg) rotate(-5deg); }
.esbe-fallback-receipt { width: 64px; height: 80px; bottom: 21px; left: 34px; display: grid; align-content: start; gap: 5px; padding: 8px; border: 1px solid #c7aaa5; transform: rotate(-12deg); background: #fff8ed; color: #8a2232; font-size: 11px; }
.esbe-fallback-receipt i { width: 100%; height: 2px; background: #736161; }
.esbe-fallback-receipt i:last-child { width: 60%; }
.esbe-fallback-card { width: 48px; height: 53px; bottom: 21px; right: 12px; display: grid; place-items: center; transform: rotate(12deg); background: #a82d3a; color: #fff7ef; border-radius: 4px; font-size: 11px; font-weight: 800; }
@media (max-width: 900px) {
  .esbe-scene { height: 136px; }
}
@media (max-width: 680px) {
  .page-head.esbe-page-head { grid-template: 'copy art' auto 'actions actions' auto / minmax(0, 1fr) minmax(110px, .85fr); gap: 9px; padding: 10px; }
  .esbe-page-title { align-self: center; padding-left: 0; }
  .esbe-page-head .page-actions { justify-content: start; padding-left: 0; }
  .esbe-scene { height: 104px; }
  .esbe-scene-rotate { bottom: 3px; right: 3px; min-height: 32px; padding-inline: 5px; }
  .esbe-scene-rotate span:nth-child(2) { display: none; }
  .esbe-scene-fallback { transform: translate(-50%, -50%) scale(.7); }
}
