:root{
  font-family:Arial,Helvetica,sans-serif;
  color:#292d36;background:#f7f7ff;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-height:100vh}
button,input{font:inherit}
button{cursor:pointer}
.header{
  height:60px;background:#fff;
  display:flex;align-items:center;
  justify-content:space-between;
  padding:0 17px;
  position:sticky;top:0;z-index:10;
}
.header h1{font-size:22px;font-weight:500;margin:0}
.back{font-size:37px;line-height:1;color:#292d36;text-decoration:none}
.history-link{font-size:14px;color:#292d36;text-decoration:none}
main{padding:12px 16px 125px}
.balance-card{
  min-height:177px;border-radius:14px;
  background:linear-gradient(115deg,#fc575e,#ff8e86);
  color:#fff;padding:22px 26px;
  position:relative;overflow:hidden;
  margin-bottom:20px;
}
.balance-card:after{
  content:"";position:absolute;width:260px;height:260px;
  border-radius:50%;background:#ffffff0c;
  right:-60px;top:-140px
}
.balance-label{font-size:16px;opacity:.92}
.balance-value{
  display:flex;align-items:center;gap:15px;
  margin-top:14px;position:relative;z-index:1
}
.balance-value strong{font-size:32px}
.balance-value button{
  background:none;border:0;color:#fff;
  font-size:32px;padding:0
}
.balance-decoration{
  position:absolute;bottom:12px;right:15px;
  font-size:12px;letter-spacing:2px;color:#ffffffc9
}
.payment-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;margin-bottom:16px
}
.payment{
  position:relative;min-height:116px;
  background:#fff;border:1px solid transparent;
  border-radius:7px;padding:30px 3px 10px;
  display:flex;flex-direction:column;
  align-items:center;justify-content:center;
  gap:10px;color:#7c818d;font-size:12px;
  text-align:center;overflow:hidden;
}
.payment.active{
  background:linear-gradient(135deg,#fb565f,#ff9990);
  color:#fff
}
.payment-icon{
  display:flex;align-items:center;justify-content:center;
  font-size:31px;font-weight:bold;
  color:#555a64;height:35px
}
.payment.active .payment-icon{color:#fff}
.payment-icon.paytm{font-size:16px;color:#2684b9}
.payment-icon.usdt{
  width:37px;height:37px;background:#18a17e;
  border-radius:50%;color:#fff
}
.payment-icon.arpay{font-size:35px;color:#f1c21e}
.ribbon{
  position:absolute;right:3px;top:0;
  background:#f75159;color:#fff;
  display:flex;flex-direction:column;
  align-items:center;padding:3px 4px 5px;
  font-size:15px;line-height:1.1;
  border-radius:0 0 5px 5px
}
.ribbon small{font-size:11px}
.channel-card{
  display:flex;align-items:center;gap:12px;
  border:1px solid #f1d6d5;
  background:#fff0ef;border-radius:14px;
  padding:17px 13px;margin-bottom:20px;
}
.channel-icon{
  width:53px;height:53px;flex-shrink:0;
  border-radius:12px;
  background:linear-gradient(135deg,#fb575f,#ff9b91);
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-size:29px
}
.channel-card small{display:block;color:#a1a4ae;font-size:13px}
.channel-card strong{display:block;font-size:18px;margin-top:6px}
.assigned{
  margin-left:auto;background:#ffdfdf;color:#d96b71;
  padding:9px;border-radius:30px;
  white-space:nowrap;font-size:12px
}
.panel{background:#fff;border-radius:14px;padding:19px 14px;margin-bottom:20px}
.panel h2,.deposit-history h2{
  display:flex;align-items:center;gap:12px;
  font-size:21px;font-weight:600;margin:0 0 20px
}
.section-icon{color:#ee6068;font-size:25px}
.amount-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;margin-bottom:26px
}
.amount-grid button{
  height:46px;background:#fff;border:1px solid #e8e8ee;
  border-radius:9px;color:#a5a9b2;font-size:17px
}
.amount-grid button span{color:#c85c66;margin-left:15px}
.amount-grid button.selected{
  background:#fff0f0;border-color:#f76b73
}
.amount-input{
  background:#f7f7ff;border-radius:30px;
  height:58px;display:flex;align-items:center;
  gap:15px;padding:0 18px
}
.amount-input>span{font-size:27px;color:#ee5d65;font-weight:bold}
.amount-input input{
  width:100%;min-width:0;flex:1;
  border:0;outline:0;background:transparent;
  font-size:16px;color:#c45e67
}
.amount-input input::placeholder{color:#c8cbd5}
.amount-input button{
  border:1px solid #777d88;background:none;
  border-radius:50%;width:26px;height:26px;
  color:#777d88;font-size:19px;line-height:1
}
.amount-error{font-size:12px;color:#d44b54;min-height:15px;margin:8px 5px 0}
.instruction-box{
  border:1px solid #e9e9ef;border-radius:13px;
  padding:15px 16px;color:#777d88;
  line-height:1.9;font-size:14px
}
.instruction-box p{position:relative;padding-left:22px;margin:13px 0}
.instruction-box p:before{
  content:"◆";position:absolute;left:0;
  color:#f3666e;font-size:11px
}
.deposit-history{margin:18px 3px}
.empty-state{text-align:center;padding:35px 10px 55px;color:#b0b4c0}
.empty-art{
  font-size:100px;line-height:1.3;
  color:#d9dbe5;opacity:.8
}
.deposit-footer{
  position:fixed;bottom:0;left:0;right:0;
  min-height:83px;padding:11px 14px;
  padding-bottom:max(11px,env(safe-area-inset-bottom));
  display:flex;align-items:center;gap:12px;
  background:#fff;z-index:20;
  box-shadow:0 -3px 15px #00000008
}
.footer-info{flex:1;min-width:0;font-size:13px;line-height:1.7}
.footer-info strong{color:#d46068;font-size:14px}
.deposit-footer>button{
  min-width:103px;height:56px;border:0;
  border-radius:9px;background:#c9cbd8;
  color:#fff;font-size:17px
}
.deposit-footer>button:not(:disabled){
  background:linear-gradient(110deg,#f85561,#ff948a)
}
.preview-message{
  position:fixed;bottom:105px;left:50%;
  transform:translateX(-50%);
  width:min(90%,380px);background:#323640;
  color:#fff;border-radius:12px;
  padding:15px;text-align:center;z-index:30;
  font-size:14px
}
@media(min-width:650px){
  .header,main{max-width:550px;margin-left:auto;margin-right:auto}
  .deposit-footer{max-width:550px;margin-left:auto;margin-right:auto}
}
@media(max-width:370px){
  .payment-grid{gap:6px}
  .payment{font-size:10px}
  .assigned{font-size:10px;padding:7px}
}


/* ZUNO DEPOSIT FINAL MOBILE LAYOUT V2 */
@media (max-width:649px) {

  .header {
    height: 48px;
    padding: 0 15px;
  }

  .header h1 {
    font-size: 20px;
  }

  .history-link {
    font-size: 13px;
  }

  main {
    padding: 0 13px 95px;
  }

  .balance-card {
    height: 139px;
    min-height: 139px;
    padding: 15px 19px;
    margin: 12px 0 15px;
    border-radius: 11px;
  }

  .balance-label {
    font-size: 14px;
  }

  .balance-value {
    margin-top: 8px;
    gap: 10px;
  }

  .balance-value strong {
    font-size: 27px;
  }

  .balance-value button {
    font-size: 25px;
  }

  .payment-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
  }

  .payment {
    min-height: 98px;
    height: 98px;
    padding: 21px 2px 7px;
    gap: 5px;
    font-size: 11px;
    border-radius: 6px;
  }

  .payment-icon {
    height: 29px;
    font-size: 25px;
  }

  .payment-icon.usdt {
    width: 32px;
    height: 32px;
    font-size: 23px;
  }

  .payment-icon.paytm {
    font-size: 15px;
  }

  .payment-icon.arpay {
    font-size: 29px;
  }

  .ribbon {
    padding: 2px 3px;
    font-size: 12px;
    right: 2px;
  }

  .ribbon small {
    font-size: 10px;
  }

  .channel-card {
    padding: 10px 11px;
    margin-bottom: 13px;
    min-height: 68px;
    gap: 10px;
    border-radius: 11px;
  }

  .channel-icon {
    width: 44px;
    height: 44px;
    font-size: 25px;
  }

  .channel-card small {
    font-size: 11px;
  }

  .channel-card strong {
    font-size: 16px;
    margin-top: 3px;
  }

  .assigned {
    font-size: 10px;
    padding: 7px 8px;
  }

  .panel {
    padding: 14px 11px;
    margin-bottom: 12px;
    border-radius: 11px;
  }

  .panel h2,
  .deposit-history h2 {
    font-size: 18px;
    gap: 8px;
    margin-bottom: 14px;
  }

  .section-icon {
    font-size: 21px;
  }

  .amount-grid {
    gap: 9px;
    margin-bottom: 18px;
  }

  .amount-grid button {
    height: 36px;
    font-size: 12px;
    border-radius: 6px;
  }

  .amount-grid button span {
    font-size: 16px;
    margin-left: 9px;
  }

  .amount-input {
    height: 46px;
    min-height: 46px;
    gap: 12px;
    padding: 0 14px;
  }

  .amount-input > span {
    font-size: 23px;
  }

  .amount-input input {
    font-size: 14px;
  }

  .instructions {
    padding: 13px 11px;
  }

  .instructions h2 {
    margin-bottom: 12px;
  }

  .instruction-box {
    padding: 12px 11px;
    line-height: 1.5;
  }

  .instruction-box p {
    position: relative;
    margin: 0 0 12px;
    padding-left: 17px;
    font-size: 12px;
    line-height: 1.6;
  }

  .instruction-box p:last-child {
    margin-bottom: 0;
  }

  .instruction-box p::before {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    left: 2px;
    top: 7px;
    background: #f3666e;
    transform: rotate(45deg);
  }

  .deposit-history {
    margin: 12px 2px;
  }

  .empty-state {
    min-height: 195px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 0 12px;
  }

  .empty-art {
    width: 220px;
    max-width: 90%;
    height: auto;
    margin: 0 auto 8px;
  }

  .empty-art svg {
    display: block;
    width: 100%;
    height: auto;
  }

  .empty-state p {
    margin: 0;
    font-size: 13px;
  }

  .deposit-footer {
    min-height: 65px;
    padding: 8px 12px;
    gap: 9px;
  }

  .footer-info {
    font-size: 12px;
    line-height: 1.5;
  }

  .footer-info strong {
    font-size: 12px;
  }

  .deposit-footer > button {
    min-width: 92px;
    height: 47px;
    font-size: 15px;
  }
}