/* Chalan — DS-030 · TheLayoutLoft Parts Line — DESI tag
   UPI pay button + spring bottom-sheet. All .ch- prefixed. */
.ch-btn {
  display:inline-flex; align-items:center; gap:9px;
  padding:13px 22px; border-radius:14px; border:none; cursor:pointer;
  background:linear-gradient(160deg,#2E7CF6,#1D5FD1); color:#FFF;
  font:700 14px/1 ui-sans-serif,system-ui,sans-serif;
  box-shadow:0 6px 20px rgba(46,124,246,.35);
  transition:transform .15s, box-shadow .15s;
}
.ch-btn:hover { transform:translateY(-1px);
  box-shadow:0 8px 26px rgba(46,124,246,.45); }

.ch-back {
  position:fixed; inset:0; z-index:9998; background:rgba(4,6,10,.6);
  backdrop-filter:blur(3px); opacity:0; pointer-events:none;
  transition:opacity .25s;
}
.ch-back.ch-on { opacity:1; pointer-events:auto; }

.ch-sheet {
  position:fixed; left:50%; bottom:0; z-index:9999;
  width:min(360px, 94vw);
  background:#12151E; border:1px solid rgba(255,255,255,.13);
  border-bottom:none; border-radius:22px 22px 0 0;
  padding:10px 22px 26px;
  font:400 14px/1.5 ui-sans-serif,system-ui,sans-serif; color:#C7CDDC;
  box-shadow:0 -10px 50px rgba(0,0,0,.5);
  transform:translate(-50%, 105%);
  transition:transform .34s cubic-bezier(.34,1.3,.5,1);
}
.ch-sheet.ch-on { transform:translate(-50%, 0); }
.ch-grip { width:38px; height:4px; border-radius:99px;
  background:rgba(255,255,255,.16); margin:0 auto 16px; }

.ch-amt { display:flex; align-items:baseline; gap:6px; justify-content:center; }
.ch-amt .ch-rs { color:#FBBF24; font-size:17px; }
.ch-amt b { color:#F8FAFC; font-size:34px; letter-spacing:-.02em; }
.ch-amt i { color:#565D72; font-style:normal; font-size:12.5px; }

.ch-to { text-align:center; font-size:13px; margin:8px 0 16px; }
.ch-to b { color:#F8FAFC; }
.ch-upi { display:inline-block; margin-left:8px; color:#38BDF8;
  font:600 12.5px/1 ui-monospace,monospace; }
.ch-copy { border:none; background:none; color:#565D72; font:700 11px/1 inherit;
  cursor:pointer; margin-left:6px; text-decoration:underline; }
.ch-copy:hover { color:#F8FAFC; }

.ch-apps { display:flex; gap:8px; justify-content:center; margin-bottom:16px; }
.ch-app {
  display:flex; flex-direction:column; align-items:center; gap:5px;
  width:64px; padding:11px 0 9px; border-radius:14px;
  background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1);
  color:#C7CDDC; text-decoration:none; font:700 11.5px/1 inherit;
  transition:background .15s, transform .15s;
}
.ch-app:hover { background:rgba(46,124,246,.15); transform:translateY(-2px);
  border-color:rgba(46,124,246,.4); color:#F8FAFC; }
.ch-app i { width:32px; height:32px; border-radius:10px; font-style:normal;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(160deg,#2E7CF6,#1D5FD1); color:#FFF;
  font:800 14px/1 inherit; }

.ch-qr { display:flex; flex-direction:column; align-items:center; gap:8px;
  padding-top:6px; border-top:1px dashed rgba(255,255,255,.1); }
.ch-qrbox { display:block; padding:10px; border-radius:12px;
  background:#12151E; border:1px solid rgba(255,255,255,.12); }
.ch-qrpix { width:120px; height:120px; display:block; }
.ch-qr i { color:#565D72; font-size:11px; }

.ch-x { position:absolute; top:12px; right:14px; border:none;
  background:none; color:#565D72; font:700 18px/1 inherit; cursor:pointer; }
.ch-x:hover { color:#F8FAFC; }

@media (prefers-reduced-motion:reduce) {
  .ch-sheet { 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; } }
