/* VF_MOBILE_SELECTORS_THEMED_SHEET_V2 */
@media(min-width:931px){
  .vfms2-flat,#vfMobileSelectorSheetV2{display:none!important}
}
@media(max-width:930px){
  /* Hide native mobile select only after V2 has enhanced it. */
  select[data-vfms2="1"]{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    opacity:0!important;
    pointer-events:none!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
    clip-path:inset(50%)!important;
    border:0!important;
    padding:0!important;
    margin:0!important;
  }

  .vfms2-host{
    position:relative!important;
    width:100%!important;
    min-width:0!important;
    flex:1 1 auto!important;
  }

  /* Closed state: same clean single-line look as Receive's top "Tether / USDT". */
  .vfms2-flat{
    width:100%!important;
    min-height:54px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    padding:0 4px!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#14203a!important;
    text-align:left!important;
    cursor:pointer!important;
  }
  .vfms2-flattext{
    display:block!important;
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:16px!important;
    line-height:1.2!important;
    font-weight:900!important;
    letter-spacing:-.015em!important;
  }
  .vfms2-chevron{
    flex:0 0 26px!important;
    width:26px!important;
    height:26px!important;
    display:grid!important;
    place-items:center!important;
    color:#263654!important;
    font-size:18px!important;
    font-weight:900!important;
  }

  /* Kill old card-inside-card layers if cached JS recreated them. */
  body[data-section="send"] .vfps-trigger,
  body[data-section="receive"] .vfps-trigger,
  body[data-section="convert"] .vfps-trigger,
  body[data-section="send"] .vfps-menu,
  body[data-section="receive"] .vfps-menu,
  body[data-section="convert"] .vfps-menu,
  #vfReceiveAssetPickerV6,#vfReceiveNetworkPickerV6,
  #vfConvertFromPickerV1,#vfConvertToPickerV1{
    display:none!important;
  }

  #vfMobileSelectorSheetV2{
    position:fixed!important;
    inset:0!important;
    z-index:2147483600!important;
    display:none;
    align-items:flex-end!important;
    background:rgba(13,19,39,.46)!important;
    backdrop-filter:blur(8px)!important;
    -webkit-backdrop-filter:blur(8px)!important;
  }
  #vfMobileSelectorSheetV2.open{display:flex!important}
  #vfMobileSelectorSheetV2 .vfms2-sheet{
    width:100%!important;
    max-height:82dvh!important;
    display:flex!important;
    flex-direction:column!important;
    padding:10px 12px max(14px,env(safe-area-inset-bottom))!important;
    border-radius:26px 26px 0 0!important;
    background:linear-gradient(180deg,#fbfcff,#f6f8ff)!important;
    box-shadow:0 -28px 80px rgba(20,29,68,.30)!important;
    color:#14203a!important;
  }
  .vfms2-grab{width:42px;height:4px;margin:1px auto 10px;border-radius:999px;background:#d1d6e4}
  .vfms2-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:3px 3px 10px}
  .vfms2-head h2{margin:0;font-size:21px;font-weight:950;color:#14203a}
  .vfms2-head p{margin:3px 0 0;font-size:11px;font-weight:650;color:#7b879f}
  .vfms2-close{width:40px;height:40px;border:1px solid #e0e5f1;border-radius:13px;background:#fff;color:#65728d;font-size:23px;box-shadow:0 5px 14px rgba(39,52,99,.06)}
  .vfms2-search-wrap{padding:0 2px 10px}
  .vfms2-search{width:100%;height:48px;padding:0 14px;border:1px solid #dde3f1;border-radius:14px;background:#f2f5fa;color:#14203a;font-size:16px;outline:none}
  .vfms2-list{flex:1;min-height:0;overflow:auto;padding:2px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
  .vfms2-row{
    width:100%!important;
    min-height:70px!important;
    display:grid!important;
    grid-template-columns:42px minmax(0,1fr) 30px!important;
    align-items:center!important;
    gap:11px!important;
    padding:9px 10px!important;
    margin:0 0 6px!important;
    border:1px solid rgba(55,69,110,.08)!important;
    border-radius:16px!important;
    background:#fff!important;
    box-shadow:0 5px 14px rgba(40,53,93,.035)!important;
    text-align:left!important;
  }
  .vfms2-row.selected{background:linear-gradient(145deg,#eef9ff,#f5f0ff)!important;border-color:#d7d2fb!important}
  .vfms2-coin,.vfms2-neticon{
    width:40px;height:40px;display:grid;place-items:center;border-radius:50%;color:#fff;font-weight:950;
    background:linear-gradient(135deg,var(--c1,#4ba7f3),var(--c2,#8052ec));
    box-shadow:0 6px 14px rgba(48,64,124,.16)
  }
  .vfms2-neticon{border-radius:13px;background:linear-gradient(135deg,#4ba7f3,#8052ec)}
  .vfms2-rowtext{min-width:0;display:grid;gap:3px}
  .vfms2-rowtext strong{font-size:14px;font-weight:900;color:#14203a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .vfms2-rowtext small{font-size:10px;font-weight:700;color:#78859d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .vfms2-rowtext em{font-size:10px;font-style:normal;font-weight:800;color:#6f54d8}
  .vfms2-check{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#46b9ef,#7952e9);color:#fff;opacity:0}
  .vfms2-row.selected .vfms2-check{opacity:1}
  .vfms2-empty{padding:34px 12px;text-align:center;color:#7b879e}
  .vfms2-lock{overflow:hidden!important;height:100%!important;touch-action:none!important}
}
