/* NoovaCore V13 mobile ledger — native-app density and predictable wrapping */
@media(max-width:767.98px){
  .nc-tx-page,.nc-tx-shell,.nc-tx-mobile,.nc-ledger-app{min-width:0;max-width:100%;overflow-x:clip}
  .nc-tx-hero{padding:17px!important;border-radius:18px!important}
  .nc-tx-hero h2{font-size:23px!important}
  .nc-tx-hero p{font-size:12px!important;line-height:1.5}
  .nc-tx-shell{padding:12px!important;border-radius:19px!important}
  .nc-tx-toolbar{margin-bottom:12px!important}
  .nc-ledger-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:2px 0 15px;padding:5px;background:#071a2c;border:1px solid #21465a;border-radius:14px}
  .nc-ledger-tabs button{min-width:0;border:0;border-radius:10px;padding:11px 2px;font-size:10px;font-weight:800;line-height:1.15;color:#c9e0ea;background:transparent;white-space:normal}
  .nc-ledger-tabs button.is-active{background:linear-gradient(135deg,#10b981,#48e5b4);color:#052a26;box-shadow:0 4px 12px #00b78d26}
  .nc-tx-mobile-list{display:grid;gap:9px}
  .nc-ledger-entry{background:linear-gradient(145deg,#112c43,#0b2236);border:1px solid #295066;border-radius:17px;overflow:hidden;min-width:0;box-shadow:0 7px 18px #00101c29}
  .nc-ledger-main{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:10px;align-items:center;width:100%;padding:12px 10px;border:0;background:none;color:#fff;text-align:left;min-width:0}
  .nc-ledger-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;color:#82efd0;font-weight:900;background:#0c654f}
  .nc-ledger-entry.debit .nc-ledger-icon{color:#f8d49a;background:#6a5029}
  .nc-ledger-content,.nc-ledger-side{min-width:0;display:flex;flex-direction:column;gap:3px}
  .nc-ledger-title{font-size:12px;line-height:1.35;color:#f3fcff!important;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .nc-ledger-content small{color:#b7d3df;font-size:10px;line-height:1.3}
  .nc-ledger-side{text-align:right;max-width:110px;align-items:flex-end}
  .nc-ledger-side strong{font-size:11px;line-height:1.35;color:#67eac1;overflow-wrap:anywhere}
  .nc-ledger-entry.debit .nc-ledger-side strong{color:#f9d38e}
  .nc-ledger-side small{font-size:10px;color:#b8d3df}
  .nc-ledger-status{font-size:10px;font-weight:800;color:#93e8cf}
  .nc-ledger-status.pending{color:#f3d48e}.nc-ledger-status.failed{color:#cbd8e3}
  .nc-ledger-detail[hidden]{display:none}
  .nc-ledger-detail{padding:6px 13px 13px;border-top:1px solid #24475c;background:#091e30}
  .nc-ledger-detail-row{display:flex;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px solid #18394f;font-size:11px;line-height:1.4}
  .nc-ledger-detail-row:last-child{border:0}
  .nc-ledger-detail-row span{color:#a6c3d2;flex-shrink:0}.nc-ledger-detail-row strong{color:#f5fcff;text-align:right;overflow-wrap:anywhere;min-width:0}
  .nc-ledger-more{display:block;width:100%;border:1px solid #237c69;border-radius:14px;padding:12px 14px;margin-top:14px;background:#0d4c40;color:#e9fff7;font-weight:800;font-size:12px}
  .nc-ledger-more[hidden]{display:none}
  /* Deposit: prevent plugin select and long payment method text from expanding viewport */
  .nc-deposit-page,.nc-deposit-grid,.nc-deposit-form-card,.nc-deposit-review-card,.nc-deposit-steps{min-width:0;max-width:100%}
  .nc-deposit-form-card .nice-select,.nc-deposit-form-card .site-nice-select{width:100%!important;max-width:100%!important;min-width:0!important}
  .nc-deposit-form-card .nice-select .current{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;padding-right:12px}
  .nc-deposit-form-card .nice-select .list{max-width:100%;overflow-x:hidden}
  .nc-deposit-method-preview,.nc-review-list,.nc-review-item{min-width:0;overflow-wrap:anywhere}
  .nc-deposit-review-card .nc-review-item strong{overflow-wrap:anywhere;max-width:60%;text-align:right}
}
