/* Lecaro POS — animated Android device mockup v2 (shared by lecaro.biz.id & kedair3.biz.id)
   Everything inside the device is sized in cqw, so one component scales crisply from 140px to 340px.
   5 scenes: Splash -> Multi-business Login -> Restaurant Floor Plan -> POS + Barcode Scan + Offline -> QRIS Paid + Thermal Receipt. */

.droid-stage {
  position: relative;
  display: grid;
  place-items: center;
  perspective: 1400px;
}

.droid {
  --body: #161a17;
  position: relative;
  width: var(--dw, 300px);
  aspect-ratio: 9 / 19.2;
  container-type: inline-size;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
  animation: droidFloat 6.5s ease-in-out infinite;
  user-select: none;
  -webkit-user-select: none;
}
.droid.is-tilting { transition: transform .12s linear; animation-play-state: paused; }

@keyframes droidFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

/* Hardware */
.droid-body {
  position: absolute; inset: 0;
  border-radius: 13cqw;
  background: linear-gradient(145deg, #2b312c 0%, var(--body) 35%, #0b0d0b 100%);
  padding: 3.2cqw;
  box-shadow:
    0 0 0 .5cqw #3a413b inset,
    0 0 0 1px rgba(255,255,255,.06),
    0 36px 64px -24px rgba(10, 30, 18, .55),
    0 16px 28px -18px rgba(0,0,0,.45);
}
.droid-btn {
  position: absolute; right: -1.1cqw; width: 1.3cqw; border-radius: 0 1cqw 1cqw 0;
  background: linear-gradient(90deg, #0d100e, #3a413b);
}
.droid-btn.pwr { top: 26%; height: 9%; }
.droid-btn.vol { top: 40%; height: 15%; }

.droid-screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 10cqw;
  overflow: hidden;
  background: #F5F1E4;
  isolation: isolate;
}
.droid-screen::after {
  content: ''; position: absolute; inset: -40%; z-index: 40; pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.14) 50%, transparent 58%);
  transform: translateX(-70%);
  animation: droidGlare 7.5s ease-in-out infinite;
}
@keyframes droidGlare { 0%, 58% { transform: translateX(-70%); } 86%, 100% { transform: translateX(70%); } }

/* Status bar + punch-hole */
.droid-status {
  position: absolute; top: 0; left: 0; right: 0; z-index: 30;
  height: 8cqw; padding: 0 7cqw;
  display: flex; align-items: center; justify-content: space-between;
  font: 700 3.3cqw/1 'Jakarta', 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--droid-status, #111411);
  transition: color .4s;
}
.droid-status .ic { display: inline-flex; gap: 1.4cqw; align-items: center; }
.droid-status svg { width: 3.5cqw; height: 3.5cqw; fill: currentColor; }
.droid-batt { width: 5.4cqw; height: 2.7cqw; border: .5cqw solid currentColor; border-radius: .9cqw; position: relative; padding: .4cqw; }
.droid-batt::before { content: ''; display: block; height: 100%; width: 80%; background: currentColor; border-radius: .3cqw; }
.droid-cam {
  position: absolute; top: 2.2cqw; left: 50%; z-index: 35;
  width: 4cqw; height: 4cqw; margin-left: -2cqw; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2c3a4a 0 18%, #050605 40%);
  box-shadow: 0 0 0 .5cqw #0b0d0b;
}
.droid-gesture {
  position: absolute; bottom: 1.6cqw; left: 50%; z-index: 30;
  width: 32cqw; height: 1.1cqw; margin-left: -16cqw; border-radius: 1cqw;
  background: var(--droid-gesture, rgba(17,20,17,.55));
  transition: background .4s;
}

/* Screens — Material shared-axis X transition */
.droid-view {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transform: translateX(14%);
  transition: opacity .36s cubic-bezier(.2,.7,.2,1), transform .46s cubic-bezier(.2,.7,.2,1), visibility 0s .46s;
}
.droid-view.on { opacity: 1; visibility: visible; transform: none; transition-delay: .05s, .05s, 0s; }
.droid-view.out { opacity: 0; visibility: visible; transform: translateX(-14%); }

/* 1 · Splash */
.dv-splash {
  background: radial-gradient(120% 80% at 50% 30%, #13784A 0%, #0A4F30 70%, #073822 100%);
  display: grid; place-items: center; align-content: center; gap: 3.6cqw; color: #F5F1E4;
}
.dv-splash .logo {
  width: 25cqw; height: 25cqw; border-radius: 6.8cqw; background: #F5F1E4;
  display: grid; place-items: center; position: relative;
  box-shadow: 0 3cqw 8cqw rgba(0,0,0,.3);
}
.dv-splash .logo img { width: 70%; height: 70%; }
.dv-splash .logo::after {
  content: ''; position: absolute; inset: -3cqw; border-radius: 9cqw;
  border: .6cqw solid rgba(242,183,5,.85); opacity: 0;
}
.dv-splash .name { font: 800 7.4cqw/1 'Bricolage', 'Bricolage Grotesque', sans-serif; letter-spacing: -.02em; }
.dv-splash .tag { font: 600 3.3cqw/1.3 'Jakarta', 'Plus Jakarta Sans', sans-serif; opacity: .82; }
.dv-splash .bar { width: 32cqw; height: 1.2cqw; border-radius: 1cqw; background: rgba(245,241,228,.2); overflow: hidden; margin-top: 3cqw; }
.dv-splash .bar i { display: block; height: 100%; width: 0; background: #F2B705; border-radius: inherit; }
.dv-splash.on .logo { animation: splashPop .65s cubic-bezier(.3,1.6,.5,1) both; }
.dv-splash.on .logo::after { animation: splashRing 1.3s .3s ease-out both; }
.dv-splash.on .name { animation: rise .45s .22s cubic-bezier(.2,.7,.2,1) both; }
.dv-splash.on .tag { animation: rise .45s .34s cubic-bezier(.2,.7,.2,1) both; }
.dv-splash.on .bar i { animation: barFill 1.4s .25s cubic-bezier(.6,0,.3,1) forwards; }
@keyframes splashPop { from { transform: scale(.35) rotate(-10deg); opacity: 0; } }
@keyframes splashRing { 0% { opacity: .9; transform: scale(.8); } 100% { opacity: 0; transform: scale(1.38); } }
@keyframes rise { from { opacity: 0; transform: translateY(3cqw); } }
@keyframes barFill { to { width: 100%; } }

/* 2 · Multi-business Login (matches redesigned Flutter Login) */
.dv-mlogin {
  background: radial-gradient(120% 70% at 50% 0%, #147E4E 0%, #0A4F30 56%, #073822 100%);
  display: flex; flex-direction: column;
}
.dv-ml-hero {
  padding: 10cqw 5.5cqw 4.5cqw;
  color: #F5F1E4;
  flex: 1;
  display: flex; flex-direction: column; justify-content: center; gap: 3.2cqw;
}
.dv-ml-brand { display: flex; align-items: center; gap: 2.6cqw; }
.dv-ml-mark {
  width: 10cqw; height: 10cqw; border-radius: 3cqw; background: #F5F1E4;
  display: grid; place-items: center; flex: none;
}
.dv-ml-mark img { width: 68%; height: 68%; }
.dv-ml-brand b { display: block; font: 800 5.2cqw/1.05 'Bricolage', 'Bricolage Grotesque', sans-serif; }
.dv-ml-brand small { display: block; font: 600 2.9cqw/1.2 'Jakarta', 'Plus Jakarta Sans', sans-serif; color: rgba(245,241,228,.78); }
.dv-ml-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.2cqw;
}
.dv-ml-card {
  background: rgba(14,20,17,.36); border: .4cqw solid rgba(255,255,255,.15);
  border-radius: 3cqw; padding: 2.4cqw 2.8cqw;
  display: flex; align-items: center; gap: 2cqw;
}
.dv-ml-card.hi { background: rgba(242,183,5,.18); border-color: rgba(242,183,5,.65); }
.dv-ml-card i {
  width: 5.2cqw; height: 5.2cqw; border-radius: 1.8cqw;
  background: rgba(245,241,228,.14); display: grid; place-items: center;
  font-style: normal; font-size: 3cqw; flex: none;
}
.dv-ml-card.hi i { background: #F2B705; color: #0E1411; }
.dv-ml-card span { font: 700 2.9cqw/1.15 'Jakarta', 'Plus Jakarta Sans', sans-serif; color: #F5F1E4; }
.dv-ml-card small { display: block; font: 500 2.3cqw/1.15 'Jakarta', 'Plus Jakarta Sans', sans-serif; color: rgba(245,241,228,.7); }
.dv-mlogin.on .dv-ml-card { animation: rise .45s cubic-bezier(.2,.7,.2,1) both; }
.dv-mlogin.on .dv-ml-card:nth-child(2) { animation-delay: .08s; }
.dv-mlogin.on .dv-ml-card:nth-child(3) { animation-delay: .16s; }
.dv-mlogin.on .dv-ml-card:nth-child(4) { animation-delay: .24s; }

.dv-ml-sheet {
  background: #FBF9F3; color: #0E1411;
  border-radius: 7cqw 7cqw 0 0;
  padding: 5.5cqw 6cqw 7cqw;
  box-shadow: 0 -2cqw 6cqw rgba(0,0,0,.22);
}
.dv-ml-sheet h5 { margin: 0 0 3.5cqw; font: 800 5.4cqw/1.1 'Bricolage', 'Bricolage Grotesque', sans-serif; color: #0E1411; }
.dv-ml-lbl { font: 700 2.8cqw/1.2 'Jakarta', 'Plus Jakarta Sans', sans-serif; color: #555D56; margin-bottom: 1.2cqw; }
.dv-ml-inp {
  height: 9.6cqw; border-radius: 2.6cqw; background: #fff;
  border: .5cqw solid #D7D0BC; padding: 0 3cqw; margin-bottom: 3cqw;
  display: flex; align-items: center;
  font: 600 3.3cqw/1 'Jakarta', 'Plus Jakarta Sans', sans-serif; color: #0E1411;
}
.dv-ml-inp span {
  display: inline-block; white-space: nowrap; overflow: hidden; width: 0;
  border-right: .45cqw solid transparent; padding-right: .3cqw;
}
.dv-ml-inp.pw span { letter-spacing: .24em; }
.dv-mlogin.on .dv-ml-inp.u span { animation: typingU .95s .45s steps(15) forwards, caret .45s .45s step-end 2; }
.dv-mlogin.on .dv-ml-inp.pw span { animation: typingPw .65s 1.55s steps(8) forwards, caret .45s 1.55s step-end 3; }
@keyframes typingU { to { width: 32cqw; } }
@keyframes typingPw { to { width: 22cqw; } }
@keyframes caret { 50% { border-right-color: #0F6A41; } }

.dv-ml-btn {
  margin-top: 1.6cqw; height: 10.6cqw; border-radius: 3cqw;
  background: linear-gradient(180deg, #13784A 0%, #0A5433 100%); color: #fff;
  display: grid; place-items: center;
  font: 700 3.6cqw/1 'Jakarta', 'Plus Jakarta Sans', sans-serif;
  box-shadow: 0 1.6cqw 3.4cqw -1cqw rgba(15,106,65,.55);
}
.dv-ml-btn.press { animation: press2 .38s ease; }

/* 3 · Restaurant Floor Plan on Mobile */
.dv-floor {
  background: #F6F2E6; color: #0E1411;
  display: flex; flex-direction: column;
  padding: 9cqw 4.2cqw 5.5cqw; gap: 2.6cqw;
}
.dv-fl-head { display: flex; align-items: center; justify-content: space-between; }
.dv-fl-head b { font: 800 4.8cqw/1.1 'Bricolage', 'Bricolage Grotesque', sans-serif; }
.dv-fl-pill {
  padding: 1.2cqw 2.4cqw; border-radius: 99px;
  background: #DDF3E6; color: #084F30; font: 800 2.6cqw/1 'Jakarta', 'Plus Jakarta Sans', sans-serif;
}
.dv-fl-rooms { display: flex; gap: 1.6cqw; }
.dv-fl-rooms span {
  padding: 1.8cqw 2.8cqw; border-radius: 2.4cqw;
  background: #EAE4D2; color: #3E443E; font: 700 2.8cqw/1 'Jakarta', 'Plus Jakarta Sans', sans-serif;
}
.dv-fl-rooms span.on { background: #0E1411; color: #F2B705; }
.dv-fl-canvas {
  position: relative; flex: 1; border-radius: 4.5cqw;
  background-color: #FBF9F3;
  background-image: radial-gradient(rgba(14,20,17,.14) .4cqw, transparent .4cqw);
  background-size: 6cqw 6cqw;
  border: .45cqw solid #DDD5C0; overflow: hidden;
}
.dv-fl-wm {
  position: absolute; left: 3.4cqw; top: 2.6cqw;
  font: 800 2.5cqw/1 'Bricolage', 'Bricolage Grotesque', sans-serif;
  letter-spacing: .16em; color: rgba(14,20,17,.26);
}
.dv-fl-tbl {
  position: absolute; transform: translate(-50%, -50%);
  width: 24cqw; height: 24cqw; border-radius: 4.5cqw;
  background: #fff; border: .7cqw solid #0B7A48; color: #0E1411;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7cqw;
  box-shadow: 0 2cqw 4cqw -2cqw rgba(10,79,48,.28);
  transition: background .25s, border-color .25s, transform .28s cubic-bezier(.3,1.6,.5,1);
}
.dv-fl-tbl.rnd { border-radius: 99px; }
.dv-fl-tbl.rect { width: 31cqw; height: 21cqw; border-radius: 4cqw; }
.dv-fl-tbl b { font: 800 4.5cqw/1 'Bricolage', 'Bricolage Grotesque', sans-serif; }
.dv-fl-tbl small { font: 700 2.6cqw/1 'Jakarta', 'Plus Jakarta Sans', sans-serif; color: #555D56; font-variant-numeric: tabular-nums; }
.dv-fl-tbl.busy {
  background: #0E1411; border-color: #F2B705; color: #F6F2E6;
  box-shadow: 0 3cqw 6cqw -2cqw rgba(14,20,17,.5);
}
.dv-fl-tbl.busy b { color: #F2B705; }
.dv-fl-tbl.busy small { color: #F6F2E6; }
.dv-fl-tbl.pop { transform: translate(-50%, -50%) scale(1.1); }
.dv-fl-b {
  position: absolute; right: -1.5cqw; top: -1.5cqw;
  min-width: 5.5cqw; height: 5.5cqw; border-radius: 99px;
  background: #F2B705; color: #0E1411; font: 800 2.8cqw/5.5cqw 'Jakarta', sans-serif; text-align: center;
  opacity: 0; transform: scale(.4); transition: opacity .2s, transform .3s cubic-bezier(.3,1.6,.5,1);
}
.dv-fl-tbl.busy .dv-fl-b { opacity: 1; transform: scale(1); }
.dv-fl-sync {
  display: flex; align-items: center; gap: 2cqw;
  padding: 2.6cqw 3.2cqw; border-radius: 3.4cqw;
  background: #0E1411; color: #F6F2E6;
  font: 600 2.9cqw/1.25 'Jakarta', 'Plus Jakarta Sans', sans-serif;
}
.dv-fl-sync i {
  width: 2.2cqw; height: 2.2cqw; border-radius: 50%; background: #22c55e; flex: none;
  box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pingG 1.4s infinite;
}
@keyframes pingG { 70% { box-shadow: 0 0 0 2.2cqw rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

/* 4 · POS + Barcode Scan + Offline Sync (crisp DOM, multi-business) */
.dv-pos2 {
  background: #F5F1E4; color: #0E1411;
  display: flex; flex-direction: column;
  padding: 9cqw 4cqw 0; gap: 2.4cqw;
}
.dv-p2-top {
  display: flex; align-items: center; justify-content: space-between; gap: 2cqw;
}
.dv-p2-tbl {
  display: inline-flex; align-items: center; gap: 1.4cqw;
  padding: 1.4cqw 2.6cqw; border-radius: 99px;
  background: #0E1411; color: #F2B705; font: 800 2.7cqw/1 'Jakarta', 'Plus Jakarta Sans', sans-serif;
}
.dv-p2-tbl.is-kedai { background: #E7F3EC; color: #084F30; border: .4cqw solid rgba(15,106,65,.28); }
.dv-p2-scanbtn {
  padding: 1.4cqw 2.6cqw; border-radius: 2.4cqw;
  background: #0F6A41; color: #fff; font: 700 2.6cqw/1 'Jakarta', 'Plus Jakarta Sans', sans-serif;
}
.dv-p2-scanbtn.is-save { background: #F2B705; color: #0E1411; }
.dv-p2-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.4cqw; position: relative;
}
.dv-p2-card {
  position: relative; background: #fff; border: .45cqw solid #E2DCC8;
  border-radius: 3.6cqw; padding: 2.6cqw; display: flex; flex-direction: column; gap: 1.4cqw;
  transition: border-color .2s, transform .18s;
}
.dv-p2-card.in { border-color: #0F6A41; background: #F5FBF7; }
.dv-p2-pic {
  height: 15cqw; border-radius: 2.4cqw; display: grid; place-items: center;
  font-size: 7.5cqw; background: #F6F2E6;
}
.dv-p2-tag {
  align-self: flex-start;
  padding: 1cqw 2cqw; border-radius: 1.6cqw;
  background: #EFE9D7; color: #4A5149;
  font: 700 2.3cqw/1 'Jakarta', 'Plus Jakarta Sans', sans-serif;
  margin-bottom: 1cqw;
}
.dot-gold { width: 8px; height: 8px; border-radius: 50%; background: #D97706; box-shadow: 0 0 0 3px rgba(242,183,5,.28); }
.dv-p2-card b { font: 700 3.1cqw/1.15 'Jakarta', 'Plus Jakarta Sans', sans-serif; color: #0E1411; }
.dv-p2-card span { font: 800 3.2cqw/1 'Jakarta', 'Plus Jakarta Sans', sans-serif; color: #0F6A41; font-variant-numeric: tabular-nums; }
.dv-p2-qty {
  position: absolute; right: 2cqw; top: 2cqw; min-width: 5.5cqw; height: 5.5cqw;
  border-radius: 99px; background: #0E1411; color: #F2B705;
  font: 800 2.8cqw/5.5cqw 'Jakarta', sans-serif; text-align: center;
  opacity: 0; transform: scale(.4); transition: opacity .2s, transform .25s cubic-bezier(.3,1.6,.5,1);
}
.dv-p2-card.in .dv-p2-qty { opacity: 1; transform: scale(1); }

/* Mini Barcode Scanner Overlay */
.dv-scan {
  position: absolute; inset: 14cqw 5cqw 28cqw; z-index: 12;
  border-radius: 5cqw; background: rgba(14,20,17,.92); color: #F5F1E4;
  border: .6cqw solid rgba(242,183,5,.7);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3cqw;
  padding: 4cqw; box-shadow: 0 4cqw 10cqw rgba(0,0,0,.45);
  opacity: 0; transform: scale(.92); pointer-events: none;
  transition: opacity .25s, transform .28s cubic-bezier(.2,.7,.2,1);
}
.dv-scan.show { opacity: 1; transform: none; }
.dv-scan-box {
  position: relative; width: 64%; aspect-ratio: 1.5;
  border: .6cqw solid rgba(242,183,5,.85); border-radius: 3cqw;
  display: grid; place-items: center; overflow: hidden;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.82) 0 .9cqw, transparent .9cqw 1.8cqw, rgba(255,255,255,.65) 1.8cqw 2.4cqw, transparent 2.4cqw 4.1cqw);
  background-size: 62% 52%; background-repeat: no-repeat; background-position: center;
}
.dv-scan-beam {
  position: absolute; left: 6%; right: 6%; height: .7cqw; border-radius: 2px;
  background: #F2B705; box-shadow: 0 0 2.5cqw #F2B705;
  animation: scanLaser 1.05s ease-in-out infinite alternate;
}
@keyframes scanLaser { from { top: 18%; } to { top: 80%; } }
.dv-scan small { font: 700 2.9cqw/1.2 'Jakarta', 'Plus Jakarta Sans', sans-serif; color: #F2B705; text-align: center; }

.dv-cart {
  position: absolute; left: 3.8%; right: 3.8%; bottom: 4.2cqw; z-index: 8;
  height: 16.5cqw; border-radius: 4.4cqw; background: #111411; color: #F5F1E4;
  display: flex; align-items: center; justify-content: space-between; padding: 0 3cqw 0 4.6cqw;
  box-shadow: 0 3cqw 6cqw -2cqw rgba(0,0,0,.4);
  transform: translateY(135%);
  transition: transform .48s cubic-bezier(.3,1.4,.5,1);
}
.dv-pos2.cart-up .dv-cart { transform: none; }
.dv-cart small { display: block; font: 600 3cqw/1.2 'Jakarta', 'Plus Jakarta Sans', sans-serif; opacity: .75; }
.dv-cart b { display: block; font: 800 5cqw/1.1 'Jakarta', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums; }
.dv-cart b.bump { animation: bump .35s cubic-bezier(.3,1.6,.5,1); }
.dv-cart span.go {
  background: #F2B705; color: #111411; border-radius: 3cqw; padding: 3cqw 4cqw;
  font: 800 3.4cqw/1 'Jakarta', 'Plus Jakarta Sans', sans-serif;
}
.dv-cart span.go.press { animation: press2 .38s ease; }
@keyframes bump { 40% { transform: scale(1.13); color: #F2B705; } }
@keyframes press2 { 50% { transform: scale(.9); filter: brightness(.9); } }

.dv-plus {
  position: absolute; z-index: 15; pointer-events: none;
  font: 800 3.8cqw/1 'Jakarta', 'Plus Jakarta Sans', sans-serif; color: #fff; background: #0F6A41;
  padding: 1.3cqw 2.3cqw; border-radius: 4cqw;
  animation: plusFly .9s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes plusFly { 0% { opacity: 0; transform: translate(-50%, 0) scale(.6); } 22% { opacity: 1; transform: translate(-50%, -4cqw) scale(1); } 100% { opacity: 0; transform: translate(-50%, -15cqw) scale(.9); } }

/* Snackbar (offline / sync) */
.dv-snack {
  position: absolute; left: 4.5%; right: 4.5%; bottom: 23.5cqw; z-index: 10;
  display: flex; align-items: center; gap: 2.2cqw;
  background: #1C211C; color: #F5F1E4; border-radius: 2.6cqw; padding: 2.6cqw 3.4cqw;
  font: 600 3cqw/1.25 'Jakarta', 'Plus Jakarta Sans', sans-serif;
  box-shadow: 0 2cqw 5cqw rgba(0,0,0,.35);
  opacity: 0; transform: translateY(4cqw);
  transition: opacity .3s, transform .4s cubic-bezier(.3,1.4,.5,1);
}
.dv-snack.show { opacity: 1; transform: none; }
.dv-snack i { width: 2.2cqw; height: 2.2cqw; border-radius: 50%; background: #F2B705; flex: none; box-shadow: 0 0 0 0 rgba(242,183,5,.6); animation: ping 1.2s infinite; }
.dv-snack.ok i { background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); }
@keyframes ping { 70% { box-shadow: 0 0 0 2.4cqw rgba(242,183,5,0); } 100% { box-shadow: 0 0 0 0 rgba(242,183,5,0); } }

/* 5 · Payment success + receipt */
.dv-paid {
  background: linear-gradient(180deg, #0F6A41 0%, #0A4F30 45%, #F5F1E4 45%);
  display: flex; flex-direction: column; align-items: center; padding-top: 14cqw; color: #F5F1E4;
}
.dv-paid .check { width: 18cqw; height: 18cqw; }
.dv-paid .check circle { fill: none; stroke: #F2B705; stroke-width: 4; stroke-dasharray: 160; stroke-dashoffset: 160; }
.dv-paid .check path { fill: none; stroke: #F5F1E4; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 50; stroke-dashoffset: 50; }
.dv-paid.on .check circle { animation: draw .55s .15s ease-out forwards; }
.dv-paid.on .check path { animation: draw .38s .65s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.dv-paid h4 { margin: 3.4cqw 0 1cqw; font: 700 3.6cqw/1.2 'Jakarta', 'Plus Jakarta Sans', sans-serif; opacity: .88; }
.dv-paid .amt { font: 800 8.5cqw/1 'Bricolage', 'Bricolage Grotesque', sans-serif; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.dv-paid .meth { margin-top: 2.6cqw; display: flex; gap: 1.4cqw; }
.dv-paid .meth span { font: 700 2.8cqw/1 'Jakarta', 'Plus Jakarta Sans', sans-serif; padding: 1.5cqw 2.5cqw; border-radius: 4cqw; background: rgba(245,241,228,.16); }
.dv-paid .meth span.on { background: #F2B705; color: #111411; }
.dv-paid.on h4, .dv-paid.on .amt, .dv-paid.on .meth { animation: rise .45s .45s cubic-bezier(.2,.7,.2,1) both; }
.dv-paid.on .amt { animation-delay: .55s; }
.dv-paid.on .meth { animation-delay: .65s; }

.dv-receipt {
  margin-top: 5.5cqw; width: 72%; position: relative;
  background: #fff; color: #111411; padding: 3.8cqw 4.2cqw 4.8cqw;
  font: 500 2.8cqw/1.52 ui-monospace, 'SFMono-Regular', Menlo, monospace;
  box-shadow: 0 2cqw 6cqw -1cqw rgba(17,20,17,.3);
  clip-path: inset(0 0 100% 0);
  --zz: radial-gradient(circle at 50% 0, transparent 1.4cqw, #fff 1.5cqw);
}
.dv-receipt::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1.4cqw; height: 1.5cqw;
  background: var(--zz) 0 0 / 3cqw 1.5cqw repeat-x;
}
.dv-paid.on .dv-receipt { animation: printOut2 1.5s 1s steps(14) forwards; }
@keyframes printOut2 { to { clip-path: inset(0 0 -10% 0); } }
.dv-receipt .c { text-align: center; font-weight: 800; }
.dv-receipt .r { display: flex; justify-content: space-between; }
.dv-receipt hr { border: 0; border-top: .4cqw dashed #b7b09b; margin: 1.4cqw 0; }
.dv-receipt .t { font-weight: 800; }

/* Heads-up notification */
.dv-notif {
  position: absolute; top: 9cqw; left: 3.5%; right: 3.5%; z-index: 32;
  display: grid; grid-template-columns: auto 1fr; gap: .6cqw 2.4cqw; align-items: center;
  padding: 2.8cqw 3.2cqw; border-radius: 4.2cqw;
  background: rgba(251,249,243,.97); color: #111411;
  box-shadow: 0 2.4cqw 6cqw -1cqw rgba(0,0,0,.35);
  transform: translateY(-160%); opacity: 0;
  transition: transform .5s cubic-bezier(.3,1.3,.5,1), opacity .3s;
}
.dv-notif.show { transform: none; opacity: 1; }
.dv-notif .ico { grid-row: span 2; width: 7.8cqw; height: 7.8cqw; border-radius: 2.2cqw; background: #0F6A41; display: grid; place-items: center; }
.dv-notif .ico svg { width: 4.8cqw; height: 4.8cqw; fill: none; stroke: #F5F1E4; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dv-notif b { font: 700 3.1cqw/1.15 'Jakarta', 'Plus Jakarta Sans', sans-serif; }
.dv-notif small { font: 500 2.8cqw/1.25 'Jakarta', 'Plus Jakarta Sans', sans-serif; color: #5C615A; }

/* Touch ripple */
.dv-tap {
  position: absolute; z-index: 25; width: 12cqw; height: 12cqw; margin: -6cqw 0 0 -6cqw;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.95) 0 22%, rgba(242,183,5,.45) 23% 60%, transparent 61%);
  animation: tap .55s ease-out forwards;
}
@keyframes tap { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

/* Mode switcher bar + Progress dots under the device */
.droid-modebar {
  display: inline-flex; gap: 4px; padding: 4px; margin-top: 16px;
  border-radius: 99px; background: rgba(14,20,17,.07); border: 1px solid rgba(14,20,17,.1);
}
.droid-modebar button {
  border: 0; border-radius: 99px; padding: 6px 12px;
  background: transparent; color: #3E443E; cursor: pointer;
  font: 700 12px/1 'Jakarta', 'Plus Jakarta Sans', system-ui, sans-serif;
  transition: background .2s, color .2s;
}
.droid-modebar button.on { background: #0E1411; color: #F2B705; }
.droid-steps {
  display: flex; gap: 5px; justify-content: center; margin-top: 10px; padding: 0; list-style: none;
  font: 600 11.5px/1 'Jakarta', 'Plus Jakarta Sans', system-ui, sans-serif; color: #5C615A; flex-wrap: wrap;
}
.droid-steps li button {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 99px; border: 0;
  background: rgba(17,20,17,.06); color: inherit; font: inherit; cursor: pointer;
  transition: background .25s, color .25s;
}
.droid-steps li button::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .4; }
.droid-steps li.on button { background: #0E1411; color: #F5F1E4; }
.droid-steps li.on button::before { background: #F2B705; opacity: 1; }

/* Floating chips around the device */
.droid-chip {
  position: absolute; z-index: 5;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 13px;
  background: #fff; color: #111411; border: 1px solid #E2DCC8;
  font: 700 12.5px/1.15 'Jakarta', 'Plus Jakarta Sans', system-ui, sans-serif; white-space: nowrap;
  box-shadow: 0 14px 28px -14px rgba(17,20,17,.35);
  animation: chipFloat 5s ease-in-out infinite;
  transform: translateZ(40px);
}
.droid-chip small { display: block; font-weight: 500; font-size: 11px; color: #5C615A; }
.droid-chip .em { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 14px; background: #E7F3EC; flex: none; }
.droid-chip.k .em { background: #FDF4D3; }
.droid-chip.dark { background: #0E1411; color: #F5F1E4; border-color: #0E1411; }
.droid-chip.dark small { color: rgba(245,241,228,.7); }
.droid-chip.dark .em { background: rgba(34,197,94,.2); }
.droid-chip.c1 { top: 10%; left: -12%; }
.droid-chip.c2 { top: 44%; right: -16%; animation-delay: -1.7s; }
.droid-chip.c3 { top: 68%; left: -14%; animation-delay: -3.2s; }
.droid-chip.pop { animation: chipPop .45s cubic-bezier(.3,1.6,.5,1), chipFloat 5s .45s ease-in-out infinite; }
@keyframes chipFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes chipPop { from { scale: .75; opacity: .35; } }
.dot-ok { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.22); }

.droid-stage::before {
  content: ''; position: absolute; z-index: -1;
  width: 118%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(15,106,65,.18) 0%, rgba(242,183,5,.10) 40%, transparent 68%);
  animation: glow 8s ease-in-out infinite;
}
@keyframes glow { 50% { transform: scale(1.07); opacity: .82; } }

@media (max-width: 640px) {
  .droid-chip { font-size: 11px; padding: 6px 9px; transform: none; }
  .droid-chip .em { width: 22px; height: 22px; font-size: 12px; }
  .droid-chip.c1 { left: 0; top: 6%; }
  .droid-chip.c2 { right: 0; top: 42%; }
  .droid-chip.c2 small { display: none; }
  .droid-chip.c3 { left: 0; top: 72%; }
}

@media (prefers-reduced-motion: reduce) {
  .droid, .droid-chip, .droid-stage::before, .droid-screen::after, .dv-scan-beam { animation: none !important; }
  .droid-view { transition: none !important; }
}
