/* ==========================================================================
   Rasid Stack · DS-008 · TheLayoutLoft Parts Line — .rs- prefixed
   ========================================================================== */
.rs { position: relative; }
.rs-card {
  position: absolute; left: 0; right: 0; top: 0;
  background: #F5F1E8; color: #1B1F29; border-radius: 10px;
  border: 1px solid #D9D2C0;
  box-shadow: 0 10px 26px rgba(0,0,0,.4);
  transform-origin: 50% 110%;
  transition: transform .3s cubic-bezier(.3,1.15,.4,1), opacity .25s;
}
.rs-card.rs-gone { pointer-events: none; }
/* receipt skin (default — restyle freely) */
.rs-card .rc-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 16px 18px 12px; border-bottom: 1px dashed #C8BFA8;
}
.rs-card .rc-head b { font: 700 14px/1 ui-monospace, monospace; }
.rs-card .rc-head small { font: 500 11px/1 ui-monospace, monospace;
  color: #6E6754; }
.rs-card .rc-body { padding: 12px 18px; font: 400 13px/1.7
  ui-sans-serif, system-ui, sans-serif; color: #3A362C; }
.rs-card .rc-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 18px 14px;
  font: 700 13px/1 ui-monospace, monospace;
}
.rs-card .rc-foot .stamp { color: #0F766E; }
.rs-sr { position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .rs-card { transition: none; }
}

/* phone view: demo stage is designed ~900px wide — zoom the page down on small screens */
@media (max-width: 430px) { body { zoom: .40; } }
@media (min-width: 431px) and (max-width: 560px) { body { zoom: .52; } }
@media (min-width: 561px) and (max-width: 720px) { body { zoom: .65; } }
@media (min-width: 721px) and (max-width: 860px) { body { zoom: .78; } }
